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_wxEventBlocker swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileConfig swig_types[54]
2521 #define SWIGTYPE_p_wxFileDataObject swig_types[55]
2522 #define SWIGTYPE_p_wxFileHistory swig_types[56]
2523 #define SWIGTYPE_p_wxFileSystem swig_types[57]
2524 #define SWIGTYPE_p_wxFileType swig_types[58]
2525 #define SWIGTYPE_p_wxFileTypeInfo swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFrame swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGridBagSizer swig_types[66]
2533 #define SWIGTYPE_p_wxGridSizer swig_types[67]
2534 #define SWIGTYPE_p_wxICOHandler swig_types[68]
2535 #define SWIGTYPE_p_wxIcon swig_types[69]
2536 #define SWIGTYPE_p_wxIconizeEvent swig_types[70]
2537 #define SWIGTYPE_p_wxIdleEvent swig_types[71]
2538 #define SWIGTYPE_p_wxImage swig_types[72]
2539 #define SWIGTYPE_p_wxImageHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74]
2541 #define SWIGTYPE_p_wxInitDialogEvent swig_types[75]
2542 #define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2543 #define SWIGTYPE_p_wxJoystick swig_types[77]
2544 #define SWIGTYPE_p_wxJoystickEvent swig_types[78]
2545 #define SWIGTYPE_p_wxKeyEvent swig_types[79]
2546 #define SWIGTYPE_p_wxKillError swig_types[80]
2547 #define SWIGTYPE_p_wxLayoutConstraints swig_types[81]
2548 #define SWIGTYPE_p_wxLog swig_types[82]
2549 #define SWIGTYPE_p_wxLogBuffer swig_types[83]
2550 #define SWIGTYPE_p_wxLogChain swig_types[84]
2551 #define SWIGTYPE_p_wxLogGui swig_types[85]
2552 #define SWIGTYPE_p_wxLogNull swig_types[86]
2553 #define SWIGTYPE_p_wxLogStderr swig_types[87]
2554 #define SWIGTYPE_p_wxLogTextCtrl swig_types[88]
2555 #define SWIGTYPE_p_wxLogWindow swig_types[89]
2556 #define SWIGTYPE_p_wxMaximizeEvent swig_types[90]
2557 #define SWIGTYPE_p_wxMenu swig_types[91]
2558 #define SWIGTYPE_p_wxMenuBar swig_types[92]
2559 #define SWIGTYPE_p_wxMenuEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMenuItem swig_types[94]
2561 #define SWIGTYPE_p_wxMetafile swig_types[95]
2562 #define SWIGTYPE_p_wxMetafileDataObject swig_types[96]
2563 #define SWIGTYPE_p_wxMimeTypesManager swig_types[97]
2564 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseState swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[103]
2570 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNcPaintEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxObject swig_types[107]
2574 #define SWIGTYPE_p_wxOutputStream swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPlatformInfo swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPowerEvent swig_types[117]
2584 #define SWIGTYPE_p_wxProcessEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyArtProvider swig_types[120]
2587 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[121]
2588 #define SWIGTYPE_p_wxPyCommandEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[123]
2590 #define SWIGTYPE_p_wxPyDropSource swig_types[124]
2591 #define SWIGTYPE_p_wxPyDropTarget swig_types[125]
2592 #define SWIGTYPE_p_wxPyEvent swig_types[126]
2593 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[127]
2594 #define SWIGTYPE_p_wxPyImageHandler swig_types[128]
2595 #define SWIGTYPE_p_wxPyLog swig_types[129]
2596 #define SWIGTYPE_p_wxPyProcess swig_types[130]
2597 #define SWIGTYPE_p_wxPySizer swig_types[131]
2598 #define SWIGTYPE_p_wxPyTextDataObject swig_types[132]
2599 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[133]
2600 #define SWIGTYPE_p_wxPyTimer swig_types[134]
2601 #define SWIGTYPE_p_wxPyTipProvider swig_types[135]
2602 #define SWIGTYPE_p_wxPyValidator swig_types[136]
2603 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[137]
2604 #define SWIGTYPE_p_wxRect swig_types[138]
2605 #define SWIGTYPE_p_wxScrollEvent swig_types[139]
2606 #define SWIGTYPE_p_wxScrollWinEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSetCursorEvent swig_types[141]
2608 #define SWIGTYPE_p_wxShowEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[143]
2610 #define SWIGTYPE_p_wxSize swig_types[144]
2611 #define SWIGTYPE_p_wxSizeEvent swig_types[145]
2612 #define SWIGTYPE_p_wxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxSizerItem swig_types[147]
2614 #define SWIGTYPE_p_wxSound swig_types[148]
2615 #define SWIGTYPE_p_wxStandardPaths swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStopWatch swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxSystemOptions swig_types[155]
2622 #define SWIGTYPE_p_wxSystemSettings swig_types[156]
2623 #define SWIGTYPE_p_wxTGAHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTIFFHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextDataObject swig_types[160]
2627 #define SWIGTYPE_p_wxTimeSpan swig_types[161]
2628 #define SWIGTYPE_p_wxTimer swig_types[162]
2629 #define SWIGTYPE_p_wxTimerEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTimerRunner swig_types[164]
2631 #define SWIGTYPE_p_wxTipProvider swig_types[165]
2632 #define SWIGTYPE_p_wxToolTip swig_types[166]
2633 #define SWIGTYPE_p_wxURLDataObject swig_types[167]
2634 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[168]
2635 #define SWIGTYPE_p_wxValidator swig_types[169]
2636 #define SWIGTYPE_p_wxVideoMode swig_types[170]
2637 #define SWIGTYPE_p_wxWindow swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxWindowDisabler swig_types[174]
2641 #define SWIGTYPE_p_wxXPMHandler swig_types[175]
2642 static swig_type_info
*swig_types
[177];
2643 static swig_module_info swig_module
= {swig_types
, 176, 0, 0, 0, 0};
2644 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2645 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2647 /* -------- TYPES TABLE (END) -------- */
2649 #if (PY_VERSION_HEX <= 0x02000000)
2650 # if !defined(SWIG_PYTHON_CLASSIC)
2651 # error "This python version requires to use swig with the '-classic' option"
2654 #if (PY_VERSION_HEX <= 0x02020000)
2655 # error "This python version requires to use swig with the '-nomodern' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodernargs' option"
2661 # error "This python version requires to use swig with the '-nofastunpack' option"
2664 /*-----------------------------------------------
2665 @(target):= _misc_.so
2666 ------------------------------------------------*/
2667 #define SWIG_init init_misc_
2669 #define SWIG_name "_misc_"
2671 #define SWIGVERSION 0x010329
2674 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2675 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2678 #include <stdexcept>
2682 class PyObject_ptr
{
2687 PyObject_ptr() :_obj(0)
2691 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2696 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2698 if (initial_ref
) Py_XINCREF(_obj
);
2701 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2703 Py_XINCREF(item
._obj
);
2714 operator PyObject
*() const
2719 PyObject
*operator->() const
2728 struct PyObject_var
: PyObject_ptr
{
2729 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2731 PyObject_var
& operator = (PyObject
* obj
)
2741 #include "wx/wxPython/wxPython.h"
2742 #include "wx/wxPython/pyclasses.h"
2743 #include "wx/wxPython/pyistream.h"
2745 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 #define SWIG_From_long PyInt_FromLong
2752 SWIGINTERNINLINE PyObject
*
2753 SWIG_From_int (int value
)
2755 return SWIG_From_long (value
);
2761 # define LLONG_MIN LONG_LONG_MIN
2764 # define LLONG_MAX LONG_LONG_MAX
2767 # define ULLONG_MAX ULONG_LONG_MAX
2772 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2774 if (PyNumber_Check(obj
)) {
2775 if (val
) *val
= PyInt_AsLong(obj
);
2778 return SWIG_TypeError
;
2783 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2786 int res
= SWIG_AsVal_long (obj
, &v
);
2787 if (SWIG_IsOK(res
)) {
2788 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2789 return SWIG_OverflowError
;
2791 if (val
) *val
= static_cast< int >(v
);
2797 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2799 #include <wx/stockitem.h>
2801 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2802 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2803 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2806 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2809 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2810 return SWIG_TypeError
;
2813 *val
= (unsigned long)v
;
2819 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2821 if (obj
== Py_True
) {
2822 if (val
) *val
= true;
2824 } else if (obj
== Py_False
) {
2825 if (val
) *val
= false;
2829 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2830 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2836 SWIGINTERNINLINE PyObject
*
2837 SWIG_From_unsigned_SS_long (unsigned long value
)
2839 return (value
> LONG_MAX
) ?
2840 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2844 void* wxGetXDisplay()
2847 return wxGetDisplay();
2854 wxWindow
* FindWindowAtPointer() {
2856 return wxFindWindowAtPointer(unused
);
2860 bool wxThread_IsMain() {
2861 #ifdef WXP_WITH_THREAD
2862 return wxThread::IsMain();
2868 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2872 #include <wx/snglinst.h>
2876 #include <wx/msw/private.h>
2877 #include <wx/dynload.h>
2882 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2893 // This one only partially works. Appears to be an undocumented
2894 // "standard" convention that not all widgets adhear to. For
2895 // example, for some widgets backgrounds or non-client areas may
2897 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2902 // This one works much better, nearly all widgets and their
2903 // children are captured correctly[**]. Prior to the big
2904 // background erase changes that Vadim did in 2004-2005 this
2905 // method failed badly on XP with Themes activated, most native
2906 // widgets draw only partially, if at all. Without themes it
2907 // worked just like on Win2k. After those changes this method
2910 // ** For example the radio buttons in a wxRadioBox are not its
2911 // children by default, but you can capture it via the panel
2912 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2913 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2914 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2915 PRF_ERASEBKGND
| PRF_OWNED
);
2921 // This one is only defined in the latest SDK and is only
2922 // available on XP. MSDN says it is similar to sending WM_PRINT
2923 // so I expect that it will work similar to the above. Since it
2924 // is avaialble only on XP, it can't be compiled like this and
2925 // will have to be loaded dynamically.
2926 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2931 // Use PrintWindow if available, or fallback to WM_PRINT
2932 // otherwise. Unfortunately using PrintWindow is even worse than
2933 // WM_PRINT. For most native widgets nothing is drawn to the dc
2934 // at all, with or without Themes.
2935 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2936 static bool s_triedToLoad
= false;
2937 static PrintWindow_t pfnPrintWindow
= NULL
;
2938 if ( !s_triedToLoad
)
2941 s_triedToLoad
= true;
2942 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2943 if ( dllUser32
.IsLoaded() )
2945 wxLogNull nolog
; // Don't report errors here
2946 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2951 //printf("Using PrintWindow\n");
2952 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2956 //printf("Using WM_PRINT\n");
2957 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2958 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2959 PRF_ERASEBKGND
| PRF_OWNED
);
2970 #include <wx/tipdlg.h>
2973 SWIGINTERNINLINE PyObject
*
2974 SWIG_From_size_t (size_t value
)
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2980 class wxPyTipProvider
: public wxTipProvider
{
2982 wxPyTipProvider(size_t currentTip
)
2983 : wxTipProvider(currentTip
) {}
2985 DEC_PYCALLBACK_STRING__pure(GetTip
);
2986 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2990 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2991 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2994 SWIGINTERNINLINE
int
2995 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2998 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2999 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3004 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3006 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3008 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3009 : wxTimer(owner
, id
)
3015 wxPyTimer::~wxPyTimer()
3017 // printf("-=* ~wxPyTimer\n");
3022 SWIGINTERN swig_type_info
*
3023 SWIG_pchar_descriptor()
3025 static int init
= 0;
3026 static swig_type_info
* info
= 0;
3028 info
= SWIG_TypeQuery("_p_char");
3035 SWIGINTERNINLINE PyObject
*
3036 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3039 if (size
> INT_MAX
) {
3040 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3041 return pchar_descriptor
?
3042 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3044 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3047 return SWIG_Py_Void();
3052 SWIGINTERNINLINE PyObject
*
3053 SWIG_FromCharPtr(const char *cptr
)
3055 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3060 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3063 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3064 if (SWIG_IsOK(res
)) {
3065 if ((v
> UINT_MAX
)) {
3066 return SWIG_OverflowError
;
3068 if (val
) *val
= static_cast< unsigned int >(v
);
3074 SWIGINTERN wxString
wxLog_TimeStamp(){
3076 wxLog::TimeStamp(&msg
);
3079 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3080 // Make some wrappers that double any % signs so they are 'escaped'
3081 void wxPyLogFatalError(const wxString
& msg
)
3084 m
.Replace(wxT("%"), wxT("%%"));
3088 void wxPyLogError(const wxString
& msg
)
3091 m
.Replace(wxT("%"), wxT("%%"));
3095 void wxPyLogWarning(const wxString
& msg
)
3098 m
.Replace(wxT("%"), wxT("%%"));
3102 void wxPyLogMessage(const wxString
& msg
)
3105 m
.Replace(wxT("%"), wxT("%%"));
3109 void wxPyLogInfo(const wxString
& msg
)
3112 m
.Replace(wxT("%"), wxT("%%"));
3116 void wxPyLogDebug(const wxString
& msg
)
3119 m
.Replace(wxT("%"), wxT("%%"));
3123 void wxPyLogVerbose(const wxString
& msg
)
3126 m
.Replace(wxT("%"), wxT("%%"));
3130 void wxPyLogStatus(const wxString
& msg
)
3133 m
.Replace(wxT("%"), wxT("%%"));
3137 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3140 m
.Replace(wxT("%"), wxT("%%"));
3141 wxLogStatus(pFrame
, m
);
3144 void wxPyLogSysError(const wxString
& msg
)
3147 m
.Replace(wxT("%"), wxT("%%"));
3151 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3154 m
.Replace(wxT("%"), wxT("%%"));
3155 wxLogGeneric(level
, m
);
3158 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3161 m
.Replace(wxT("%"), wxT("%%"));
3162 wxLogTrace(mask
, m
);
3165 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3168 m
.Replace(wxT("%"), wxT("%%"));
3169 wxLogTrace(mask
, m
);
3174 // A wxLog class that can be derived from in wxPython
3175 class wxPyLog
: public wxLog
{
3177 wxPyLog() : wxLog() {}
3179 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3181 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3182 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3183 PyObject
* s
= wx2PyString(szString
);
3184 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3187 wxPyEndBlockThreads(blocked
);
3189 wxLog::DoLog(level
, szString
, t
);
3192 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3194 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3195 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3196 PyObject
* s
= wx2PyString(szString
);
3197 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3200 wxPyEndBlockThreads(blocked
);
3202 wxLog::DoLogString(szString
, t
);
3205 DEC_PYCALLBACK_VOID_(Flush
);
3208 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3213 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3216 #include <wx/joystick.h>
3219 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3220 // A C++ stub class for wxJoystick for platforms that don't have it.
3221 class wxJoystick
: public wxObject
{
3223 wxJoystick(int joystick
= wxJOYSTICK1
) {
3224 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3225 PyErr_SetString(PyExc_NotImplementedError
,
3226 "wxJoystick is not available on this platform.");
3227 wxPyEndBlockThreads(blocked
);
3229 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3230 int GetZPosition() { return -1; }
3231 int GetButtonState() { return -1; }
3232 int GetPOVPosition() { return -1; }
3233 int GetPOVCTSPosition() { return -1; }
3234 int GetRudderPosition() { return -1; }
3235 int GetUPosition() { return -1; }
3236 int GetVPosition() { return -1; }
3237 int GetMovementThreshold() { return -1; }
3238 void SetMovementThreshold(int threshold
) {}
3240 bool IsOk(void) { return false; }
3241 int GetNumberJoysticks() { return -1; }
3242 int GetManufacturerId() { return -1; }
3243 int GetProductId() { return -1; }
3244 wxString
GetProductName() { return wxEmptyString
; }
3245 int GetXMin() { return -1; }
3246 int GetYMin() { return -1; }
3247 int GetZMin() { return -1; }
3248 int GetXMax() { return -1; }
3249 int GetYMax() { return -1; }
3250 int GetZMax() { return -1; }
3251 int GetNumberButtons() { return -1; }
3252 int GetNumberAxes() { return -1; }
3253 int GetMaxButtons() { return -1; }
3254 int GetMaxAxes() { return -1; }
3255 int GetPollingMin() { return -1; }
3256 int GetPollingMax() { return -1; }
3257 int GetRudderMin() { return -1; }
3258 int GetRudderMax() { return -1; }
3259 int GetUMin() { return -1; }
3260 int GetUMax() { return -1; }
3261 int GetVMin() { return -1; }
3262 int GetVMax() { return -1; }
3264 bool HasRudder() { return false; }
3265 bool HasZ() { return false; }
3266 bool HasU() { return false; }
3267 bool HasV() { return false; }
3268 bool HasPOV() { return false; }
3269 bool HasPOV4Dir() { return false; }
3270 bool HasPOVCTS() { return false; }
3272 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3273 bool ReleaseCapture() { return false; }
3278 #include <wx/sound.h>
3282 // A C++ stub class for wxWave for platforms that don't have it.
3283 class wxSound
: public wxObject
3287 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3288 PyErr_SetString(PyExc_NotImplementedError
,
3289 "wxSound is not available on this platform.");
3290 wxPyEndBlockThreads(blocked
);
3292 wxSound(const wxString
&/*, bool*/) {
3293 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3294 PyErr_SetString(PyExc_NotImplementedError
,
3295 "wxSound is not available on this platform.");
3296 wxPyEndBlockThreads(blocked
);
3298 wxSound(int, const wxByte
*) {
3299 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3300 PyErr_SetString(PyExc_NotImplementedError
,
3301 "wxSound is not available on this platform.");
3302 wxPyEndBlockThreads(blocked
);
3307 bool Create(const wxString
&/*, bool*/) { return false; }
3308 bool Create(int, const wxByte
*) { return false; };
3309 bool IsOk() { return false; };
3310 bool Play(unsigned) const { return false; }
3311 static bool Play(const wxString
&, unsigned) { return false; }
3312 static void Stop() {}
3317 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3318 if (fileName
.Length() == 0)
3321 return new wxSound(fileName
);
3323 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3324 unsigned char* buffer
; int size
;
3325 wxSound
*sound
= NULL
;
3327 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3328 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3330 sound
= new wxSound(size
, buffer
);
3332 wxPyEndBlockThreads(blocked
);
3335 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3337 unsigned char* buffer
;
3341 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3342 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3344 rv
= self
->Create(size
, buffer
);
3346 wxPyEndBlockThreads(blocked
);
3349 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3350 PyErr_SetString(PyExc_NotImplementedError
,
3351 "Create from data is not available on this platform.");
3352 wxPyEndBlockThreads(blocked
);
3357 #include <wx/mimetype.h>
3359 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3361 if (self
->GetMimeType(&str
))
3362 return wx2PyString(str
);
3366 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3368 if (self
->GetMimeTypes(arr
))
3369 return wxArrayString2PyList_helper(arr
);
3373 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3375 if (self
->GetExtensions(arr
))
3376 return wxArrayString2PyList_helper(arr
);
3380 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3382 if (self
->GetIcon(&loc
))
3383 return new wxIcon(loc
);
3387 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3389 if (self
->GetIcon(&loc
)) {
3390 wxString iconFile
= loc
.GetFileName();
3395 // Make a tuple and put the values in it
3396 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3397 PyObject
* tuple
= PyTuple_New(3);
3398 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3399 wxT("wxIcon"), true));
3400 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3401 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3402 wxPyEndBlockThreads(blocked
);
3408 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3410 if (self
->GetDescription(&str
))
3411 return wx2PyString(str
);
3415 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3417 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3418 return wx2PyString(str
);
3422 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3424 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3425 return wx2PyString(str
);
3429 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3430 wxArrayString verbs
;
3431 wxArrayString commands
;
3432 if (self
->GetAllCommands(&verbs
, &commands
,
3433 wxFileType::MessageParameters(filename
, mimetype
))) {
3434 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3435 PyObject
* tuple
= PyTuple_New(2);
3436 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3437 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3438 wxPyEndBlockThreads(blocked
);
3444 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3445 return wxFileType::ExpandCommand(command
,
3446 wxFileType::MessageParameters(filename
, mimetype
));
3448 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3450 self
->EnumAllFileTypes(arr
);
3451 return wxArrayString2PyList_helper(arr
);
3454 #include <wx/artprov.h>
3456 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3457 static const wxString
wxPyART_MENU(wxART_MENU
);
3458 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3459 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3460 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3461 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3462 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3463 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3464 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3465 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3466 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3467 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3468 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3469 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3470 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3471 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3472 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3473 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3474 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3475 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3476 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3477 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3478 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3479 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3480 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3481 static const wxString
wxPyART_HELP(wxART_HELP
);
3482 static const wxString
wxPyART_TIP(wxART_TIP
);
3483 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3484 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3485 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3486 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3487 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3488 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3489 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3490 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3491 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3492 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3493 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3494 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3495 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3496 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3497 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3498 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3499 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3500 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3501 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3502 static const wxString
wxPyART_COPY(wxART_COPY
);
3503 static const wxString
wxPyART_CUT(wxART_CUT
);
3504 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3505 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3506 static const wxString
wxPyART_NEW(wxART_NEW
);
3507 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3508 static const wxString
wxPyART_REDO(wxART_REDO
);
3509 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3510 static const wxString
wxPyART_FIND(wxART_FIND
);
3511 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3512 // Python aware wxArtProvider
3513 class wxPyArtProvider
: public wxArtProvider
{
3516 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3517 const wxArtClient
& client
,
3518 const wxSize
& size
) {
3519 wxBitmap rval
= wxNullBitmap
;
3520 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3521 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3522 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3526 s1
= wx2PyString(id
);
3527 s2
= wx2PyString(client
);
3528 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3533 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3538 wxPyEndBlockThreads(blocked
);
3545 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3549 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3550 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3551 PyObject
* ret
= PyTuple_New(3);
3553 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3554 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3555 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3557 wxPyEndBlockThreads(blocked
);
3561 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3566 cont
= self
->GetFirstGroup(value
, index
);
3567 return __EnumerationHelper(cont
, value
, index
);
3569 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3573 cont
= self
->GetNextGroup(value
, index
);
3574 return __EnumerationHelper(cont
, value
, index
);
3576 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3581 cont
= self
->GetFirstEntry(value
, index
);
3582 return __EnumerationHelper(cont
, value
, index
);
3584 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3588 cont
= self
->GetNextEntry(value
, index
);
3589 return __EnumerationHelper(cont
, value
, index
);
3591 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3593 self
->Read(key
, &rv
, defaultVal
);
3598 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3600 if (PyNumber_Check(obj
)) {
3601 if (val
) *val
= PyFloat_AsDouble(obj
);
3604 return SWIG_TypeError
;
3607 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3609 self
->Read(key
, &rv
, defaultVal
);
3613 #define SWIG_From_double PyFloat_FromDouble
3615 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3617 self
->Read(key
, &rv
, defaultVal
);
3621 #include <wx/datetime.h>
3623 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3624 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3626 #define LOCAL_TZ wxDateTime::Local
3628 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3631 wxDateTime::GetAmPmStrings(&am
, &pm
);
3632 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3633 PyObject
* tup
= PyTuple_New(2);
3634 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3635 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3636 wxPyEndBlockThreads(blocked
);
3640 SWIGINTERNINLINE PyObject
*
3641 SWIG_From_unsigned_SS_int (unsigned int value
)
3643 return SWIG_From_unsigned_SS_long (value
);
3646 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3647 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3648 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3649 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3650 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3651 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3652 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3653 return (*self
< *other
);
3655 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3656 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3657 return (*self
<= *other
);
3659 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3660 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3661 return (*self
> *other
);
3663 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3664 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3665 return (*self
>= *other
);
3667 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3668 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3669 return (*self
== *other
);
3671 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3672 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3673 return (*self
!= *other
);
3675 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3677 const wxChar
* _date
= date
;
3678 rv
= self
->ParseRfc822Date(_date
);
3679 if (rv
== NULL
) return -1;
3682 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3684 const wxChar
* _date
= date
;
3685 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3686 if (rv
== NULL
) return -1;
3689 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3691 const wxChar
* _datetime
= datetime
;
3692 rv
= self
->ParseDateTime(_datetime
);
3693 if (rv
== NULL
) return -1;
3694 return rv
- _datetime
;
3696 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3698 const wxChar
* _date
= date
;
3699 rv
= self
->ParseDate(_date
);
3700 if (rv
== NULL
) return -1;
3703 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3705 const wxChar
* _time
= time
;
3706 rv
= self
->ParseTime(_time
);
3707 if (rv
== NULL
) return -1;
3710 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3711 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3712 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3713 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3714 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3715 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3716 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3717 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3718 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3719 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3720 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3721 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3722 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3723 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3724 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3725 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3727 #include <wx/dataobj.h>
3729 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3730 size_t count
= self
->GetFormatCount(dir
);
3731 wxDataFormat
* formats
= new wxDataFormat
[count
];
3732 self
->GetAllFormats(formats
, dir
);
3734 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3735 PyObject
* list
= PyList_New(count
);
3736 for (size_t i
=0; i
<count
; i
++) {
3737 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3738 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3739 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3741 wxPyEndBlockThreads(blocked
);
3745 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3746 PyObject
* rval
= NULL
;
3747 size_t size
= self
->GetDataSize(format
);
3748 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3750 char* buf
= new char[size
];
3751 if (self
->GetDataHere(format
, buf
))
3752 rval
= PyString_FromStringAndSize(buf
, size
);
3759 wxPyEndBlockThreads(blocked
);
3762 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3764 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3765 if (PyString_Check(data
)) {
3766 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3769 // raise a TypeError if not a string
3770 PyErr_SetString(PyExc_TypeError
, "String expected.");
3773 wxPyEndBlockThreads(blocked
);
3776 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3777 PyObject
* rval
= NULL
;
3778 size_t size
= self
->GetDataSize();
3779 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3781 char* buf
= new char[size
];
3782 if (self
->GetDataHere(buf
))
3783 rval
= PyString_FromStringAndSize(buf
, size
);
3790 wxPyEndBlockThreads(blocked
);
3793 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3795 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3796 if (PyString_Check(data
)) {
3797 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3800 // raise a TypeError if not a string
3801 PyErr_SetString(PyExc_TypeError
, "String expected.");
3804 wxPyEndBlockThreads(blocked
);
3807 // Create a new class for wxPython to use
3808 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3810 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3811 : wxDataObjectSimple(format
) {}
3813 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3814 bool GetDataHere(void *buf
) const;
3815 bool SetData(size_t len
, const void *buf
);
3819 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3821 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3822 // We need to get the data for this object and write it to buf. I think
3823 // the best way to do this for wxPython is to have the Python method
3824 // return either a string or None and then act appropriately with the
3828 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3829 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3831 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3833 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3835 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3839 wxPyEndBlockThreads(blocked
);
3843 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3844 // For this one we simply need to make a string from buf and len
3845 // and send it to the Python method.
3847 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3848 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3849 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3850 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3853 wxPyEndBlockThreads(blocked
);
3857 // Create a new class for wxPython to use
3858 class wxPyTextDataObject
: public wxTextDataObject
{
3860 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3861 : wxTextDataObject(text
) {}
3863 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3864 DEC_PYCALLBACK_STRING__const(GetText
);
3865 DEC_PYCALLBACK__STRING(SetText
);
3869 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3870 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3871 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3874 // Create a new class for wxPython to use
3875 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3877 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3878 : wxBitmapDataObject(bitmap
) {}
3880 wxBitmap
GetBitmap() const;
3881 void SetBitmap(const wxBitmap
& bitmap
);
3885 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3886 wxBitmap
* rval
= &wxNullBitmap
;
3887 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3888 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3891 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3893 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3898 wxPyEndBlockThreads(blocked
);
3902 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3903 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3904 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3905 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3906 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3909 wxPyEndBlockThreads(blocked
);
3912 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3913 return new wxCustomDataObject(wxDataFormat(formatName
));
3915 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3917 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3918 if (PyString_Check(data
)) {
3919 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3922 // raise a TypeError if not a string
3923 PyErr_SetString(PyExc_TypeError
, "String expected.");
3926 wxPyEndBlockThreads(blocked
);
3929 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3931 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3932 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3933 wxPyEndBlockThreads(blocked
);
3937 #include <wx/metafile.h>
3940 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3943 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3944 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3945 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3946 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3947 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3950 class wxPyTextDropTarget
: public wxTextDropTarget
{
3952 wxPyTextDropTarget() {}
3954 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3956 DEC_PYCALLBACK__(OnLeave
);
3957 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3958 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3959 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3960 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3965 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3966 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3967 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3968 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3969 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3970 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3974 class wxPyFileDropTarget
: public wxFileDropTarget
{
3976 wxPyFileDropTarget() {}
3978 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3980 DEC_PYCALLBACK__(OnLeave
);
3981 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3982 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3983 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3984 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3989 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3990 const wxArrayString
& filenames
) {
3992 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3993 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3994 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3995 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3998 wxPyEndBlockThreads(blocked
);
4004 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4005 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4006 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4007 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4008 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4013 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4015 #include <wx/display.h>
4016 #include <wx/vidmode.h>
4018 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4019 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4022 const wxVideoMode wxDefaultVideoMode
;
4025 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4027 PyObject
* pyList
= NULL
;
4028 wxArrayVideoModes arr
= self
->GetModes(mode
);
4029 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4030 pyList
= PyList_New(0);
4031 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4033 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4034 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4035 PyList_Append(pyList
, pyObj
);
4038 wxPyEndBlockThreads(blocked
);
4041 wxPyRaiseNotImplemented();
4045 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4047 return self
->GetCurrentMode();
4049 wxPyRaiseNotImplemented();
4050 return wxDefaultVideoMode
;
4053 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4055 return self
->ChangeMode(mode
);
4057 wxPyRaiseNotImplemented();
4061 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4065 wxPyRaiseNotImplemented();
4069 #include <wx/stdpaths.h>
4071 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4072 return (wxStandardPaths
*) &wxStandardPaths::Get();
4074 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4075 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4077 #ifndef wxHAS_POWER_EVENTS
4078 // Dummy class and other definitions for platforms that don't have them
4080 // See wxPython_int.h for wxPowerEvent
4083 wxEVT_POWER_SUSPENDING
,
4084 wxEVT_POWER_SUSPENDED
,
4085 wxEVT_POWER_SUSPEND_CANCEL
,
4089 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4090 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4095 #include <wx/aboutdlg.h>
4100 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
= 0;
4102 wxSystemColour arg1
;
4106 PyObject
* obj0
= 0 ;
4107 char * kwnames
[] = {
4108 (char *) "index", NULL
4111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4112 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4113 if (!SWIG_IsOK(ecode1
)) {
4114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4116 arg1
= static_cast< wxSystemColour
>(val1
);
4118 if (!wxPyCheckForApp()) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= wxSystemSettings::GetColour(arg1
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4131 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
= 0;
4137 PyObject
* obj0
= 0 ;
4138 char * kwnames
[] = {
4139 (char *) "index", NULL
4142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4144 if (!SWIG_IsOK(ecode1
)) {
4145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4147 arg1
= static_cast< wxSystemFont
>(val1
);
4149 if (!wxPyCheckForApp()) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= wxSystemSettings::GetFont(arg1
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4162 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
= 0;
4164 wxSystemMetric arg1
;
4165 wxWindow
*arg2
= (wxWindow
*) NULL
;
4171 PyObject
* obj0
= 0 ;
4172 PyObject
* obj1
= 0 ;
4173 char * kwnames
[] = {
4174 (char *) "index",(char *) "win", NULL
4177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4178 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4179 if (!SWIG_IsOK(ecode1
)) {
4180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4182 arg1
= static_cast< wxSystemMetric
>(val1
);
4184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4185 if (!SWIG_IsOK(res2
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4188 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4191 if (!wxPyCheckForApp()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= SWIG_From_int(static_cast< int >(result
));
4204 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
= 0;
4206 wxSystemFeature arg1
;
4210 PyObject
* obj0
= 0 ;
4211 char * kwnames
[] = {
4212 (char *) "index", NULL
4215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4216 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4217 if (!SWIG_IsOK(ecode1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4220 arg1
= static_cast< wxSystemFeature
>(val1
);
4222 if (!wxPyCheckForApp()) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4237 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4238 PyObject
*resultobj
= 0;
4239 wxSystemScreenType result
;
4241 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4243 if (!wxPyCheckForApp()) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= SWIG_From_int(static_cast< int >(result
));
4256 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
= 0;
4258 wxSystemScreenType arg1
;
4261 PyObject
* obj0
= 0 ;
4262 char * kwnames
[] = {
4263 (char *) "screen", NULL
4266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4267 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4268 if (!SWIG_IsOK(ecode1
)) {
4269 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4271 arg1
= static_cast< wxSystemScreenType
>(val1
);
4273 if (!wxPyCheckForApp()) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 wxSystemSettings::SetScreenType(arg1
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4279 resultobj
= SWIG_Py_Void();
4286 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4289 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4290 return SWIG_Py_Void();
4293 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4294 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4299 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4300 PyObject
*pyobj
= 0;
4304 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4306 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4313 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4314 PyObject
*resultobj
= 0;
4315 wxSystemOptions
*result
= 0 ;
4317 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= (wxSystemOptions
*)new wxSystemOptions();
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4331 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
= 0;
4333 wxString
*arg1
= 0 ;
4334 wxString
*arg2
= 0 ;
4335 bool temp1
= false ;
4336 bool temp2
= false ;
4337 PyObject
* obj0
= 0 ;
4338 PyObject
* obj1
= 0 ;
4339 char * kwnames
[] = {
4340 (char *) "name",(char *) "value", NULL
4343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4345 arg1
= wxString_in_helper(obj0
);
4346 if (arg1
== NULL
) SWIG_fail
;
4350 arg2
= wxString_in_helper(obj1
);
4351 if (arg2
== NULL
) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= SWIG_Py_Void();
4383 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
= 0;
4385 wxString
*arg1
= 0 ;
4387 bool temp1
= false ;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4392 char * kwnames
[] = {
4393 (char *) "name",(char *) "value", NULL
4396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4398 arg1
= wxString_in_helper(obj0
);
4399 if (arg1
== NULL
) SWIG_fail
;
4402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4403 if (!SWIG_IsOK(ecode2
)) {
4404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4406 arg2
= static_cast< int >(val2
);
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_Py_Void();
4428 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
= 0;
4430 wxString
*arg1
= 0 ;
4432 bool temp1
= false ;
4433 PyObject
* obj0
= 0 ;
4434 char * kwnames
[] = {
4435 (char *) "name", NULL
4438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4440 arg1
= wxString_in_helper(obj0
);
4441 if (arg1
== NULL
) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4471 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
= 0;
4473 wxString
*arg1
= 0 ;
4475 bool temp1
= false ;
4476 PyObject
* obj0
= 0 ;
4477 char * kwnames
[] = {
4478 (char *) "name", NULL
4481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4483 arg1
= wxString_in_helper(obj0
);
4484 if (arg1
== NULL
) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= SWIG_From_int(static_cast< int >(result
));
4508 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
= 0;
4510 wxString
*arg1
= 0 ;
4512 bool temp1
= false ;
4513 PyObject
* obj0
= 0 ;
4514 char * kwnames
[] = {
4515 (char *) "name", NULL
4518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4520 arg1
= wxString_in_helper(obj0
);
4521 if (arg1
== NULL
) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4547 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
= 0;
4549 wxString
*arg1
= 0 ;
4551 bool temp1
= false ;
4552 PyObject
* obj0
= 0 ;
4553 char * kwnames
[] = {
4554 (char *) "name", NULL
4557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4559 arg1
= wxString_in_helper(obj0
);
4560 if (arg1
== NULL
) SWIG_fail
;
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4586 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4589 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4590 return SWIG_Py_Void();
4593 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4594 return SWIG_Python_InitShadowInstance(args
);
4597 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4598 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4603 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4604 PyObject
*pyobj
= 0;
4608 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4610 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4617 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4618 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4623 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4624 PyObject
*pyobj
= 0;
4628 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4630 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4637 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4638 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4643 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4644 PyObject
*pyobj
= 0;
4648 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4650 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4657 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4658 PyObject
*resultobj
= 0;
4661 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (long)wxNewId();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_From_long(static_cast< long >(result
));
4675 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
= 0;
4680 PyObject
* obj0
= 0 ;
4681 char * kwnames
[] = {
4685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4686 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4687 if (!SWIG_IsOK(ecode1
)) {
4688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4690 arg1
= static_cast< long >(val1
);
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_Py_Void();
4704 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4705 PyObject
*resultobj
= 0;
4708 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (long)wxGetCurrentId();
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_From_long(static_cast< long >(result
));
4722 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
= 0;
4728 PyObject
* obj0
= 0 ;
4729 char * kwnames
[] = {
4733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4734 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4735 if (!SWIG_IsOK(ecode1
)) {
4736 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4738 arg1
= static_cast< int >(val1
);
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (bool)wxIsStockID(arg1
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4754 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
= 0;
4757 wxString
*arg2
= 0 ;
4761 bool temp2
= false ;
4762 PyObject
* obj0
= 0 ;
4763 PyObject
* obj1
= 0 ;
4764 char * kwnames
[] = {
4765 (char *) "id",(char *) "label", NULL
4768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4769 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4770 if (!SWIG_IsOK(ecode1
)) {
4771 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4773 arg1
= static_cast< int >(val1
);
4775 arg2
= wxString_in_helper(obj1
);
4776 if (arg2
== NULL
) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4802 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
= 0;
4805 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4811 PyObject
* obj0
= 0 ;
4812 PyObject
* obj1
= 0 ;
4813 char * kwnames
[] = {
4814 (char *) "id",(char *) "flags", NULL
4817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4818 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4819 if (!SWIG_IsOK(ecode1
)) {
4820 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4822 arg1
= static_cast< int >(val1
);
4824 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4825 if (!SWIG_IsOK(ecode2
)) {
4826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4828 arg2
= static_cast< long >(val2
);
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= wxGetStockLabel(arg1
,arg2
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4849 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
= 0;
4852 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 char * kwnames
[] = {
4861 (char *) "id",(char *) "client", NULL
4864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4865 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4866 if (!SWIG_IsOK(ecode1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4869 arg1
= static_cast< int >(val1
);
4871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4872 if (!SWIG_IsOK(ecode2
)) {
4873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4875 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= wxGetStockHelpString(arg1
,arg2
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4896 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4897 PyObject
*resultobj
= 0;
4899 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4901 if (!wxPyCheckForApp()) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_Py_Void();
4914 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4915 PyObject
*resultobj
= 0;
4917 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4919 if (!wxPyCheckForApp()) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= SWIG_Py_Void();
4932 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4933 PyObject
*resultobj
= 0;
4936 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 result
= (bool)wxIsBusy();
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4952 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4953 PyObject
*resultobj
= 0;
4956 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4976 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
= 0;
4978 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4979 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4981 bool temp1
= false ;
4982 PyObject
* obj0
= 0 ;
4983 char * kwnames
[] = {
4984 (char *) "command", NULL
4987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4990 arg1
= wxString_in_helper(obj0
);
4991 if (arg1
== NULL
) SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 result
= (bool)wxShell((wxString
const &)*arg1
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5018 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5019 PyObject
*resultobj
= 0;
5020 int *arg1
= (int *) 0 ;
5021 int *arg2
= (int *) 0 ;
5024 int res1
= SWIG_TMPOBJ
;
5026 int res2
= SWIG_TMPOBJ
;
5030 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (int)wxGetOsVersion(arg1
,arg2
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 resultobj
= SWIG_From_int(static_cast< int >(result
));
5038 if (SWIG_IsTmpObj(res1
)) {
5039 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5041 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5044 if (SWIG_IsTmpObj(res2
)) {
5045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5047 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5048 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5056 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5057 PyObject
*resultobj
= 0;
5060 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= wxGetOsDescription();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5080 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5081 PyObject
*resultobj
= 0;
5084 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 result
= (bool)wxIsPlatformLittleEndian();
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5100 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5101 PyObject
*resultobj
= 0;
5104 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 result
= (bool)wxIsPlatform64Bit();
5108 wxPyEndAllowThreads(__tstate
);
5109 if (PyErr_Occurred()) SWIG_fail
;
5112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5120 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5121 PyObject
*resultobj
= 0;
5122 wxMemorySize result
;
5124 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= wxGetFreeMemory();
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5135 resultobj
= PyInt_FromLong(result
);
5144 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
= 0;
5146 wxShutdownFlags arg1
;
5150 PyObject
* obj0
= 0 ;
5151 char * kwnames
[] = {
5152 (char *) "wFlags", NULL
5155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5156 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5157 if (!SWIG_IsOK(ecode1
)) {
5158 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5160 arg1
= static_cast< wxShutdownFlags
>(val1
);
5162 if (!wxPyCheckForApp()) SWIG_fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (bool)wxShutdown(arg1
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5177 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
= 0;
5182 PyObject
* obj0
= 0 ;
5183 char * kwnames
[] = {
5184 (char *) "secs", NULL
5187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5188 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5189 if (!SWIG_IsOK(ecode1
)) {
5190 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5192 arg1
= static_cast< int >(val1
);
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= SWIG_Py_Void();
5206 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
= 0;
5208 unsigned long arg1
;
5209 unsigned long val1
;
5211 PyObject
* obj0
= 0 ;
5212 char * kwnames
[] = {
5213 (char *) "milliseconds", NULL
5216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5217 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5218 if (!SWIG_IsOK(ecode1
)) {
5219 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5221 arg1
= static_cast< unsigned long >(val1
);
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_Py_Void();
5235 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
= 0;
5237 unsigned long arg1
;
5238 unsigned long val1
;
5240 PyObject
* obj0
= 0 ;
5241 char * kwnames
[] = {
5242 (char *) "microseconds", NULL
5245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5246 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5247 if (!SWIG_IsOK(ecode1
)) {
5248 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5250 arg1
= static_cast< unsigned long >(val1
);
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= SWIG_Py_Void();
5264 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
= 0;
5269 PyObject
* obj0
= 0 ;
5270 char * kwnames
[] = {
5271 (char *) "enable", NULL
5274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5275 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5276 if (!SWIG_IsOK(ecode1
)) {
5277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5279 arg1
= static_cast< bool >(val1
);
5281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 wxEnableTopLevelWindows(arg1
);
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 resultobj
= SWIG_Py_Void();
5293 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
= 0;
5295 wxString
*arg1
= 0 ;
5297 bool temp1
= false ;
5298 PyObject
* obj0
= 0 ;
5299 char * kwnames
[] = {
5303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5305 arg1
= wxString_in_helper(obj0
);
5306 if (arg1
== NULL
) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5336 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5337 PyObject
*resultobj
= 0;
5340 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= wxGetEmailAddress();
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5360 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5361 PyObject
*resultobj
= 0;
5364 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= wxGetHostName();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5384 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5385 PyObject
*resultobj
= 0;
5388 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= wxGetFullHostName();
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5408 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5409 PyObject
*resultobj
= 0;
5412 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= wxGetUserId();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5432 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5433 PyObject
*resultobj
= 0;
5436 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 result
= wxGetUserName();
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5456 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5457 PyObject
*resultobj
= 0;
5460 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= wxGetHomeDir();
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5480 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
= 0;
5482 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5483 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5485 bool temp1
= false ;
5486 PyObject
* obj0
= 0 ;
5487 char * kwnames
[] = {
5488 (char *) "user", NULL
5491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5494 arg1
= wxString_in_helper(obj0
);
5495 if (arg1
== NULL
) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= wxGetUserHome((wxString
const &)*arg1
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5526 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5527 PyObject
*resultobj
= 0;
5528 unsigned long result
;
5530 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (unsigned long)wxGetProcessId();
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5544 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5545 PyObject
*resultobj
= 0;
5547 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_Py_Void();
5561 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
= 0;
5563 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5564 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5565 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5566 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5567 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5568 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5569 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5570 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5571 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5572 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5573 int arg6
= (int) 0 ;
5574 wxWindow
*arg7
= (wxWindow
*) NULL
;
5575 int arg8
= (int) -1 ;
5576 int arg9
= (int) -1 ;
5578 bool temp1
= false ;
5579 bool temp2
= false ;
5580 bool temp3
= false ;
5581 bool temp4
= false ;
5582 bool temp5
= false ;
5591 PyObject
* obj0
= 0 ;
5592 PyObject
* obj1
= 0 ;
5593 PyObject
* obj2
= 0 ;
5594 PyObject
* obj3
= 0 ;
5595 PyObject
* obj4
= 0 ;
5596 PyObject
* obj5
= 0 ;
5597 PyObject
* obj6
= 0 ;
5598 PyObject
* obj7
= 0 ;
5599 PyObject
* obj8
= 0 ;
5600 char * kwnames
[] = {
5601 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5607 arg1
= wxString_in_helper(obj0
);
5608 if (arg1
== NULL
) SWIG_fail
;
5614 arg2
= wxString_in_helper(obj1
);
5615 if (arg2
== NULL
) SWIG_fail
;
5621 arg3
= wxString_in_helper(obj2
);
5622 if (arg3
== NULL
) SWIG_fail
;
5628 arg4
= wxString_in_helper(obj3
);
5629 if (arg4
== NULL
) SWIG_fail
;
5635 arg5
= wxString_in_helper(obj4
);
5636 if (arg5
== NULL
) SWIG_fail
;
5641 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5642 if (!SWIG_IsOK(ecode6
)) {
5643 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5645 arg6
= static_cast< int >(val6
);
5648 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5649 if (!SWIG_IsOK(res7
)) {
5650 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5652 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5655 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5656 if (!SWIG_IsOK(ecode8
)) {
5657 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5659 arg8
= static_cast< int >(val8
);
5662 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5663 if (!SWIG_IsOK(ecode9
)) {
5664 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5666 arg9
= static_cast< int >(val9
);
5669 if (!wxPyCheckForApp()) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5728 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5729 PyObject
*resultobj
= 0;
5730 wxString
*arg1
= 0 ;
5731 wxString
*arg2
= 0 ;
5732 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5733 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5734 wxWindow
*arg4
= (wxWindow
*) NULL
;
5736 bool temp1
= false ;
5737 bool temp2
= false ;
5738 bool temp3
= false ;
5741 PyObject
* obj0
= 0 ;
5742 PyObject
* obj1
= 0 ;
5743 PyObject
* obj2
= 0 ;
5744 PyObject
* obj3
= 0 ;
5745 char * kwnames
[] = {
5746 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5751 arg1
= wxString_in_helper(obj0
);
5752 if (arg1
== NULL
) SWIG_fail
;
5756 arg2
= wxString_in_helper(obj1
);
5757 if (arg2
== NULL
) SWIG_fail
;
5762 arg3
= wxString_in_helper(obj2
);
5763 if (arg3
== NULL
) SWIG_fail
;
5768 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5769 if (!SWIG_IsOK(res4
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5772 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5775 if (!wxPyCheckForApp()) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5818 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
= 0;
5820 wxString
*arg1
= 0 ;
5821 wxString
*arg2
= 0 ;
5822 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5823 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5824 wxWindow
*arg4
= (wxWindow
*) NULL
;
5826 bool temp1
= false ;
5827 bool temp2
= false ;
5828 bool temp3
= false ;
5831 PyObject
* obj0
= 0 ;
5832 PyObject
* obj1
= 0 ;
5833 PyObject
* obj2
= 0 ;
5834 PyObject
* obj3
= 0 ;
5835 char * kwnames
[] = {
5836 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5841 arg1
= wxString_in_helper(obj0
);
5842 if (arg1
== NULL
) SWIG_fail
;
5846 arg2
= wxString_in_helper(obj1
);
5847 if (arg2
== NULL
) SWIG_fail
;
5852 arg3
= wxString_in_helper(obj2
);
5853 if (arg3
== NULL
) SWIG_fail
;
5858 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5859 if (!SWIG_IsOK(res4
)) {
5860 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5862 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5865 if (!wxPyCheckForApp()) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5908 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
= 0;
5910 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5911 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5912 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5913 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5914 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5915 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5916 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5917 wxWindow
*arg5
= (wxWindow
*) NULL
;
5919 bool temp1
= false ;
5920 bool temp2
= false ;
5926 PyObject
* obj0
= 0 ;
5927 PyObject
* obj1
= 0 ;
5928 PyObject
* obj2
= 0 ;
5929 PyObject
* obj3
= 0 ;
5930 PyObject
* obj4
= 0 ;
5931 char * kwnames
[] = {
5932 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5938 arg1
= wxString_in_helper(obj0
);
5939 if (arg1
== NULL
) SWIG_fail
;
5945 arg2
= wxString_in_helper(obj1
);
5946 if (arg2
== NULL
) SWIG_fail
;
5951 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5952 if (!SWIG_IsOK(ecode3
)) {
5953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5955 arg3
= static_cast< long >(val3
);
5960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5964 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5965 if (!SWIG_IsOK(res5
)) {
5966 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5968 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5971 if (!wxPyCheckForApp()) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6006 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
= 0;
6008 wxString
*arg1
= 0 ;
6009 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6010 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6011 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6012 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6013 wxWindow
*arg4
= (wxWindow
*) NULL
;
6014 int arg5
= (int) -1 ;
6015 int arg6
= (int) -1 ;
6016 bool arg7
= (bool) true ;
6018 bool temp1
= false ;
6019 bool temp2
= false ;
6020 bool temp3
= false ;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj1
= 0 ;
6031 PyObject
* obj2
= 0 ;
6032 PyObject
* obj3
= 0 ;
6033 PyObject
* obj4
= 0 ;
6034 PyObject
* obj5
= 0 ;
6035 PyObject
* obj6
= 0 ;
6036 char * kwnames
[] = {
6037 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6042 arg1
= wxString_in_helper(obj0
);
6043 if (arg1
== NULL
) SWIG_fail
;
6048 arg2
= wxString_in_helper(obj1
);
6049 if (arg2
== NULL
) SWIG_fail
;
6055 arg3
= wxString_in_helper(obj2
);
6056 if (arg3
== NULL
) SWIG_fail
;
6061 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6062 if (!SWIG_IsOK(res4
)) {
6063 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6065 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6068 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6069 if (!SWIG_IsOK(ecode5
)) {
6070 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6072 arg5
= static_cast< int >(val5
);
6075 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6076 if (!SWIG_IsOK(ecode6
)) {
6077 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6079 arg6
= static_cast< int >(val6
);
6082 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6083 if (!SWIG_IsOK(ecode7
)) {
6084 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6086 arg7
= static_cast< bool >(val7
);
6089 if (!wxPyCheckForApp()) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6132 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
= 0;
6134 wxString
*arg1
= 0 ;
6135 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6136 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6137 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6138 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6139 wxWindow
*arg4
= (wxWindow
*) NULL
;
6141 bool temp1
= false ;
6142 bool temp2
= false ;
6143 bool temp3
= false ;
6146 PyObject
* obj0
= 0 ;
6147 PyObject
* obj1
= 0 ;
6148 PyObject
* obj2
= 0 ;
6149 PyObject
* obj3
= 0 ;
6150 char * kwnames
[] = {
6151 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6156 arg1
= wxString_in_helper(obj0
);
6157 if (arg1
== NULL
) SWIG_fail
;
6162 arg2
= wxString_in_helper(obj1
);
6163 if (arg2
== NULL
) SWIG_fail
;
6169 arg3
= wxString_in_helper(obj2
);
6170 if (arg3
== NULL
) SWIG_fail
;
6175 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6176 if (!SWIG_IsOK(res4
)) {
6177 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6179 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6182 if (!wxPyCheckForApp()) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6225 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
= 0;
6227 wxString
*arg1
= 0 ;
6228 wxString
*arg2
= 0 ;
6230 wxString
*arg4
= (wxString
*) 0 ;
6231 wxWindow
*arg5
= (wxWindow
*) NULL
;
6232 int arg6
= (int) -1 ;
6233 int arg7
= (int) -1 ;
6234 bool arg8
= (bool) true ;
6235 int arg9
= (int) 150 ;
6236 int arg10
= (int) 200 ;
6238 bool temp1
= false ;
6239 bool temp2
= false ;
6252 PyObject
* obj0
= 0 ;
6253 PyObject
* obj1
= 0 ;
6254 PyObject
* obj2
= 0 ;
6255 PyObject
* obj3
= 0 ;
6256 PyObject
* obj4
= 0 ;
6257 PyObject
* obj5
= 0 ;
6258 PyObject
* obj6
= 0 ;
6259 PyObject
* obj7
= 0 ;
6260 PyObject
* obj8
= 0 ;
6261 char * kwnames
[] = {
6262 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6267 arg1
= wxString_in_helper(obj0
);
6268 if (arg1
== NULL
) SWIG_fail
;
6272 arg2
= wxString_in_helper(obj1
);
6273 if (arg2
== NULL
) SWIG_fail
;
6277 arg3
= PyList_Size(obj2
);
6278 arg4
= wxString_LIST_helper(obj2
);
6279 if (arg4
== NULL
) SWIG_fail
;
6282 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6283 if (!SWIG_IsOK(res5
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6286 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6289 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6290 if (!SWIG_IsOK(ecode6
)) {
6291 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6293 arg6
= static_cast< int >(val6
);
6296 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6297 if (!SWIG_IsOK(ecode7
)) {
6298 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6300 arg7
= static_cast< int >(val7
);
6303 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6304 if (!SWIG_IsOK(ecode8
)) {
6305 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6307 arg8
= static_cast< bool >(val8
);
6310 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6311 if (!SWIG_IsOK(ecode9
)) {
6312 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6314 arg9
= static_cast< int >(val9
);
6317 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6318 if (!SWIG_IsOK(ecode10
)) {
6319 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6321 arg10
= static_cast< int >(val10
);
6324 if (!wxPyCheckForApp()) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6346 if (arg4
) delete [] arg4
;
6359 if (arg4
) delete [] arg4
;
6365 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
= 0;
6367 wxString
*arg1
= 0 ;
6368 wxString
*arg2
= 0 ;
6370 wxString
*arg4
= (wxString
*) 0 ;
6371 wxWindow
*arg5
= (wxWindow
*) NULL
;
6372 int arg6
= (int) -1 ;
6373 int arg7
= (int) -1 ;
6374 bool arg8
= (bool) true ;
6375 int arg9
= (int) 150 ;
6376 int arg10
= (int) 200 ;
6378 bool temp1
= false ;
6379 bool temp2
= false ;
6392 PyObject
* obj0
= 0 ;
6393 PyObject
* obj1
= 0 ;
6394 PyObject
* obj2
= 0 ;
6395 PyObject
* obj3
= 0 ;
6396 PyObject
* obj4
= 0 ;
6397 PyObject
* obj5
= 0 ;
6398 PyObject
* obj6
= 0 ;
6399 PyObject
* obj7
= 0 ;
6400 PyObject
* obj8
= 0 ;
6401 char * kwnames
[] = {
6402 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6407 arg1
= wxString_in_helper(obj0
);
6408 if (arg1
== NULL
) SWIG_fail
;
6412 arg2
= wxString_in_helper(obj1
);
6413 if (arg2
== NULL
) SWIG_fail
;
6417 arg3
= PyList_Size(obj2
);
6418 arg4
= wxString_LIST_helper(obj2
);
6419 if (arg4
== NULL
) SWIG_fail
;
6422 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6423 if (!SWIG_IsOK(res5
)) {
6424 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6426 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6429 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6430 if (!SWIG_IsOK(ecode6
)) {
6431 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6433 arg6
= static_cast< int >(val6
);
6436 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6437 if (!SWIG_IsOK(ecode7
)) {
6438 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6440 arg7
= static_cast< int >(val7
);
6443 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6444 if (!SWIG_IsOK(ecode8
)) {
6445 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6447 arg8
= static_cast< bool >(val8
);
6450 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6451 if (!SWIG_IsOK(ecode9
)) {
6452 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6454 arg9
= static_cast< int >(val9
);
6457 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6458 if (!SWIG_IsOK(ecode10
)) {
6459 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6461 arg10
= static_cast< int >(val10
);
6464 if (!wxPyCheckForApp()) SWIG_fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= SWIG_From_int(static_cast< int >(result
));
6480 if (arg4
) delete [] arg4
;
6493 if (arg4
) delete [] arg4
;
6499 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
= 0;
6501 wxString
*arg1
= 0 ;
6502 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6503 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6504 int arg3
= (int) wxOK
|wxCENTRE
;
6505 wxWindow
*arg4
= (wxWindow
*) NULL
;
6506 int arg5
= (int) -1 ;
6507 int arg6
= (int) -1 ;
6509 bool temp1
= false ;
6510 bool temp2
= false ;
6519 PyObject
* obj0
= 0 ;
6520 PyObject
* obj1
= 0 ;
6521 PyObject
* obj2
= 0 ;
6522 PyObject
* obj3
= 0 ;
6523 PyObject
* obj4
= 0 ;
6524 PyObject
* obj5
= 0 ;
6525 char * kwnames
[] = {
6526 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6531 arg1
= wxString_in_helper(obj0
);
6532 if (arg1
== NULL
) SWIG_fail
;
6537 arg2
= wxString_in_helper(obj1
);
6538 if (arg2
== NULL
) SWIG_fail
;
6543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6544 if (!SWIG_IsOK(ecode3
)) {
6545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6547 arg3
= static_cast< int >(val3
);
6550 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6551 if (!SWIG_IsOK(res4
)) {
6552 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6554 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6557 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6558 if (!SWIG_IsOK(ecode5
)) {
6559 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6561 arg5
= static_cast< int >(val5
);
6564 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6565 if (!SWIG_IsOK(ecode6
)) {
6566 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6568 arg6
= static_cast< int >(val6
);
6571 if (!wxPyCheckForApp()) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= SWIG_From_int(static_cast< int >(result
));
6600 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
= 0;
6602 wxString
*arg1
= 0 ;
6603 wxString
*arg2
= 0 ;
6604 wxString
*arg3
= 0 ;
6606 long arg5
= (long) 0 ;
6607 long arg6
= (long) 100 ;
6608 wxWindow
*arg7
= (wxWindow
*) NULL
;
6609 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6610 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6612 bool temp1
= false ;
6613 bool temp2
= false ;
6614 bool temp3
= false ;
6624 PyObject
* obj0
= 0 ;
6625 PyObject
* obj1
= 0 ;
6626 PyObject
* obj2
= 0 ;
6627 PyObject
* obj3
= 0 ;
6628 PyObject
* obj4
= 0 ;
6629 PyObject
* obj5
= 0 ;
6630 PyObject
* obj6
= 0 ;
6631 PyObject
* obj7
= 0 ;
6632 char * kwnames
[] = {
6633 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6638 arg1
= wxString_in_helper(obj0
);
6639 if (arg1
== NULL
) SWIG_fail
;
6643 arg2
= wxString_in_helper(obj1
);
6644 if (arg2
== NULL
) SWIG_fail
;
6648 arg3
= wxString_in_helper(obj2
);
6649 if (arg3
== NULL
) SWIG_fail
;
6652 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6653 if (!SWIG_IsOK(ecode4
)) {
6654 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6656 arg4
= static_cast< long >(val4
);
6658 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6659 if (!SWIG_IsOK(ecode5
)) {
6660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6662 arg5
= static_cast< long >(val5
);
6665 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6666 if (!SWIG_IsOK(ecode6
)) {
6667 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6669 arg6
= static_cast< long >(val6
);
6672 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6673 if (!SWIG_IsOK(res7
)) {
6674 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6676 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6681 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6685 if (!wxPyCheckForApp()) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 resultobj
= SWIG_From_long(static_cast< long >(result
));
6722 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6723 PyObject
*resultobj
= 0;
6726 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6728 if (!wxPyCheckForApp()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= (bool)wxColourDisplay();
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6743 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6744 PyObject
*resultobj
= 0;
6747 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6749 if (!wxPyCheckForApp()) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 result
= (int)wxDisplayDepth();
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= SWIG_From_int(static_cast< int >(result
));
6762 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6763 PyObject
*resultobj
= 0;
6766 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6768 if (!wxPyCheckForApp()) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (int)wxGetDisplayDepth();
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= SWIG_From_int(static_cast< int >(result
));
6781 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6782 PyObject
*resultobj
= 0;
6783 int *arg1
= (int *) 0 ;
6784 int *arg2
= (int *) 0 ;
6786 int res1
= SWIG_TMPOBJ
;
6788 int res2
= SWIG_TMPOBJ
;
6792 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6794 if (!wxPyCheckForApp()) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 wxDisplaySize(arg1
,arg2
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_Py_Void();
6801 if (SWIG_IsTmpObj(res1
)) {
6802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6804 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6807 if (SWIG_IsTmpObj(res2
)) {
6808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6810 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6811 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6819 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6820 PyObject
*resultobj
= 0;
6823 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6825 if (!wxPyCheckForApp()) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= wxGetDisplaySize();
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6838 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6839 PyObject
*resultobj
= 0;
6840 int *arg1
= (int *) 0 ;
6841 int *arg2
= (int *) 0 ;
6843 int res1
= SWIG_TMPOBJ
;
6845 int res2
= SWIG_TMPOBJ
;
6849 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6851 if (!wxPyCheckForApp()) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 wxDisplaySizeMM(arg1
,arg2
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_Py_Void();
6858 if (SWIG_IsTmpObj(res1
)) {
6859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6861 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6864 if (SWIG_IsTmpObj(res2
)) {
6865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6867 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6868 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6876 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6877 PyObject
*resultobj
= 0;
6880 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6882 if (!wxPyCheckForApp()) SWIG_fail
;
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 result
= wxGetDisplaySizeMM();
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6895 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6896 PyObject
*resultobj
= 0;
6897 int *arg1
= (int *) 0 ;
6898 int *arg2
= (int *) 0 ;
6899 int *arg3
= (int *) 0 ;
6900 int *arg4
= (int *) 0 ;
6902 int res1
= SWIG_TMPOBJ
;
6904 int res2
= SWIG_TMPOBJ
;
6906 int res3
= SWIG_TMPOBJ
;
6908 int res4
= SWIG_TMPOBJ
;
6914 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6916 if (!wxPyCheckForApp()) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_Py_Void();
6923 if (SWIG_IsTmpObj(res1
)) {
6924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6926 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6929 if (SWIG_IsTmpObj(res2
)) {
6930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6932 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6935 if (SWIG_IsTmpObj(res3
)) {
6936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6938 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6941 if (SWIG_IsTmpObj(res4
)) {
6942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6944 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6953 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6954 PyObject
*resultobj
= 0;
6957 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6959 if (!wxPyCheckForApp()) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= wxGetClientDisplayRect();
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6972 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
= 0;
6974 wxCursor
*arg1
= 0 ;
6977 PyObject
* obj0
= 0 ;
6978 char * kwnames
[] = {
6979 (char *) "cursor", NULL
6982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6983 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6984 if (!SWIG_IsOK(res1
)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6990 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6992 if (!wxPyCheckForApp()) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= SWIG_Py_Void();
7005 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7006 PyObject
*resultobj
= 0;
7009 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7011 if (!wxPyCheckForApp()) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (void *)wxGetXDisplay();
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7024 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
= 0;
7026 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7029 PyObject
* obj0
= 0 ;
7030 char * kwnames
[] = {
7031 (char *) "cursor", NULL
7034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7037 if (!SWIG_IsOK(res1
)) {
7038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7040 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7043 if (!wxPyCheckForApp()) SWIG_fail
;
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 wxBeginBusyCursor(arg1
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_Py_Void();
7056 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7057 PyObject
*resultobj
= 0;
7060 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7062 if (!wxPyCheckForApp()) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 result
= wxGetMousePosition();
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7075 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7076 PyObject
*resultobj
= 0;
7077 wxWindow
*result
= 0 ;
7079 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7081 if (!wxPyCheckForApp()) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 result
= (wxWindow
*)FindWindowAtPointer();
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7088 resultobj
= wxPyMake_wxObject(result
, 0);
7096 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7097 PyObject
*resultobj
= 0;
7098 wxWindow
*result
= 0 ;
7100 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7102 if (!wxPyCheckForApp()) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (wxWindow
*)wxGetActiveWindow();
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= wxPyMake_wxObject(result
, 0);
7117 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
= 0;
7120 wxWindow
*result
= 0 ;
7122 PyObject
* obj0
= 0 ;
7123 char * kwnames
[] = {
7127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7130 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7133 if (!wxPyCheckForApp()) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= wxPyMake_wxObject(result
, 0);
7148 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
= 0;
7151 wxWindow
*result
= 0 ;
7153 PyObject
* obj0
= 0 ;
7154 char * kwnames
[] = {
7158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7161 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7164 if (!wxPyCheckForApp()) SWIG_fail
;
7165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7166 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= wxPyMake_wxObject(result
, 0);
7179 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
= 0;
7181 wxWindow
*arg1
= (wxWindow
*) 0 ;
7182 wxWindow
*result
= 0 ;
7185 PyObject
* obj0
= 0 ;
7186 char * kwnames
[] = {
7187 (char *) "win", NULL
7190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7192 if (!SWIG_IsOK(res1
)) {
7193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7195 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7197 if (!wxPyCheckForApp()) SWIG_fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= wxPyMake_wxObject(result
, 0);
7212 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
= 0;
7214 wxString
*arg1
= 0 ;
7216 bool temp1
= false ;
7217 PyObject
* obj0
= 0 ;
7218 char * kwnames
[] = {
7219 (char *) "url", NULL
7222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7224 arg1
= wxString_in_helper(obj0
);
7225 if (arg1
== NULL
) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7251 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
= 0;
7257 PyObject
* obj0
= 0 ;
7258 char * kwnames
[] = {
7259 (char *) "key", NULL
7262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7263 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7264 if (!SWIG_IsOK(ecode1
)) {
7265 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7267 arg1
= static_cast< wxKeyCode
>(val1
);
7269 if (!wxPyCheckForApp()) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 result
= (bool)wxGetKeyState(arg1
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7284 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7285 PyObject
*resultobj
= 0;
7286 wxMouseState
*result
= 0 ;
7288 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 result
= (wxMouseState
*)new wxMouseState();
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7302 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7303 PyObject
*resultobj
= 0;
7304 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7307 PyObject
*swig_obj
[1] ;
7309 if (!args
) SWIG_fail
;
7311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7312 if (!SWIG_IsOK(res1
)) {
7313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7315 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= SWIG_Py_Void();
7330 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7331 PyObject
*resultobj
= 0;
7332 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7336 PyObject
*swig_obj
[1] ;
7338 if (!args
) SWIG_fail
;
7340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7341 if (!SWIG_IsOK(res1
)) {
7342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7344 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (int)(arg1
)->GetX();
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= SWIG_From_int(static_cast< int >(result
));
7358 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7359 PyObject
*resultobj
= 0;
7360 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7364 PyObject
*swig_obj
[1] ;
7366 if (!args
) SWIG_fail
;
7368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7369 if (!SWIG_IsOK(res1
)) {
7370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7372 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (int)(arg1
)->GetY();
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= SWIG_From_int(static_cast< int >(result
));
7386 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7387 PyObject
*resultobj
= 0;
7388 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7392 PyObject
*swig_obj
[1] ;
7394 if (!args
) SWIG_fail
;
7396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7397 if (!SWIG_IsOK(res1
)) {
7398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7400 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (bool)(arg1
)->LeftDown();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7416 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7417 PyObject
*resultobj
= 0;
7418 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7422 PyObject
*swig_obj
[1] ;
7424 if (!args
) SWIG_fail
;
7426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7427 if (!SWIG_IsOK(res1
)) {
7428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7430 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 result
= (bool)(arg1
)->MiddleDown();
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7446 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7447 PyObject
*resultobj
= 0;
7448 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7452 PyObject
*swig_obj
[1] ;
7454 if (!args
) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7460 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= (bool)(arg1
)->RightDown();
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7476 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7477 PyObject
*resultobj
= 0;
7478 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7482 PyObject
*swig_obj
[1] ;
7484 if (!args
) SWIG_fail
;
7486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7487 if (!SWIG_IsOK(res1
)) {
7488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7490 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 result
= (bool)(arg1
)->ControlDown();
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7506 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7507 PyObject
*resultobj
= 0;
7508 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7512 PyObject
*swig_obj
[1] ;
7514 if (!args
) SWIG_fail
;
7516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7517 if (!SWIG_IsOK(res1
)) {
7518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7520 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= (bool)(arg1
)->ShiftDown();
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7536 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7537 PyObject
*resultobj
= 0;
7538 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7542 PyObject
*swig_obj
[1] ;
7544 if (!args
) SWIG_fail
;
7546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7547 if (!SWIG_IsOK(res1
)) {
7548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7550 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7553 result
= (bool)(arg1
)->AltDown();
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7566 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7567 PyObject
*resultobj
= 0;
7568 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7572 PyObject
*swig_obj
[1] ;
7574 if (!args
) SWIG_fail
;
7576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7577 if (!SWIG_IsOK(res1
)) {
7578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7580 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (bool)(arg1
)->MetaDown();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7596 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7597 PyObject
*resultobj
= 0;
7598 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7602 PyObject
*swig_obj
[1] ;
7604 if (!args
) SWIG_fail
;
7606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7607 if (!SWIG_IsOK(res1
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7610 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 result
= (bool)(arg1
)->CmdDown();
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7626 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
= 0;
7628 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7634 PyObject
* obj0
= 0 ;
7635 PyObject
* obj1
= 0 ;
7636 char * kwnames
[] = {
7637 (char *) "self",(char *) "x", NULL
7640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7642 if (!SWIG_IsOK(res1
)) {
7643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7645 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7647 if (!SWIG_IsOK(ecode2
)) {
7648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7650 arg2
= static_cast< int >(val2
);
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= SWIG_Py_Void();
7664 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
= 0;
7666 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7674 char * kwnames
[] = {
7675 (char *) "self",(char *) "y", NULL
7678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7680 if (!SWIG_IsOK(res1
)) {
7681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7683 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7685 if (!SWIG_IsOK(ecode2
)) {
7686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7688 arg2
= static_cast< int >(val2
);
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= SWIG_Py_Void();
7702 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
= 0;
7704 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7711 PyObject
* obj1
= 0 ;
7712 char * kwnames
[] = {
7713 (char *) "self",(char *) "down", NULL
7716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7718 if (!SWIG_IsOK(res1
)) {
7719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7721 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7722 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7723 if (!SWIG_IsOK(ecode2
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7726 arg2
= static_cast< bool >(val2
);
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 (arg1
)->SetLeftDown(arg2
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_Py_Void();
7740 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
= 0;
7742 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7749 PyObject
* obj1
= 0 ;
7750 char * kwnames
[] = {
7751 (char *) "self",(char *) "down", NULL
7754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7756 if (!SWIG_IsOK(res1
)) {
7757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7759 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7760 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7761 if (!SWIG_IsOK(ecode2
)) {
7762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7764 arg2
= static_cast< bool >(val2
);
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 (arg1
)->SetMiddleDown(arg2
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= SWIG_Py_Void();
7778 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
= 0;
7780 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7788 char * kwnames
[] = {
7789 (char *) "self",(char *) "down", NULL
7792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7794 if (!SWIG_IsOK(res1
)) {
7795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7797 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7798 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7799 if (!SWIG_IsOK(ecode2
)) {
7800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7802 arg2
= static_cast< bool >(val2
);
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 (arg1
)->SetRightDown(arg2
);
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7809 resultobj
= SWIG_Py_Void();
7816 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
= 0;
7818 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7826 char * kwnames
[] = {
7827 (char *) "self",(char *) "down", NULL
7830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7832 if (!SWIG_IsOK(res1
)) {
7833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7835 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7836 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7837 if (!SWIG_IsOK(ecode2
)) {
7838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7840 arg2
= static_cast< bool >(val2
);
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 (arg1
)->SetControlDown(arg2
);
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_Py_Void();
7854 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
*resultobj
= 0;
7856 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7862 PyObject
* obj0
= 0 ;
7863 PyObject
* obj1
= 0 ;
7864 char * kwnames
[] = {
7865 (char *) "self",(char *) "down", NULL
7868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7870 if (!SWIG_IsOK(res1
)) {
7871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7873 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7874 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7875 if (!SWIG_IsOK(ecode2
)) {
7876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7878 arg2
= static_cast< bool >(val2
);
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 (arg1
)->SetShiftDown(arg2
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= SWIG_Py_Void();
7892 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
= 0;
7894 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7900 PyObject
* obj0
= 0 ;
7901 PyObject
* obj1
= 0 ;
7902 char * kwnames
[] = {
7903 (char *) "self",(char *) "down", NULL
7906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7908 if (!SWIG_IsOK(res1
)) {
7909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7911 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7912 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7913 if (!SWIG_IsOK(ecode2
)) {
7914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7916 arg2
= static_cast< bool >(val2
);
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 (arg1
)->SetAltDown(arg2
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 resultobj
= SWIG_Py_Void();
7930 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
= 0;
7932 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7940 char * kwnames
[] = {
7941 (char *) "self",(char *) "down", NULL
7944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7946 if (!SWIG_IsOK(res1
)) {
7947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7949 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7950 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7951 if (!SWIG_IsOK(ecode2
)) {
7952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7954 arg2
= static_cast< bool >(val2
);
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 (arg1
)->SetMetaDown(arg2
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= SWIG_Py_Void();
7968 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7971 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7972 return SWIG_Py_Void();
7975 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7976 return SWIG_Python_InitShadowInstance(args
);
7979 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7980 PyObject
*resultobj
= 0;
7981 wxMouseState result
;
7983 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= wxGetMouseState();
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7997 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7998 PyObject
*resultobj
= 0;
8000 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8002 if (!wxPyCheckForApp()) SWIG_fail
;
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 wxWakeUpMainThread();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 resultobj
= SWIG_Py_Void();
8015 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8016 PyObject
*resultobj
= 0;
8018 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8020 if (!wxPyCheckForApp()) SWIG_fail
;
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8026 resultobj
= SWIG_Py_Void();
8033 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8034 PyObject
*resultobj
= 0;
8036 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8038 if (!wxPyCheckForApp()) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 resultobj
= SWIG_Py_Void();
8051 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8052 PyObject
*resultobj
= 0;
8053 wxMutexGuiLocker
*result
= 0 ;
8055 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8057 if (!wxPyCheckForApp()) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8070 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8071 PyObject
*resultobj
= 0;
8072 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8075 PyObject
*swig_obj
[1] ;
8077 if (!args
) SWIG_fail
;
8079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8080 if (!SWIG_IsOK(res1
)) {
8081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8083 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_Py_Void();
8098 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8101 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8102 return SWIG_Py_Void();
8105 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8106 return SWIG_Python_InitShadowInstance(args
);
8109 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8110 PyObject
*resultobj
= 0;
8113 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 result
= (bool)wxThread_IsMain();
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8129 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
= 0;
8131 wxString
*arg1
= 0 ;
8132 wxToolTip
*result
= 0 ;
8133 bool temp1
= false ;
8134 PyObject
* obj0
= 0 ;
8135 char * kwnames
[] = {
8136 (char *) "tip", NULL
8139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8141 arg1
= wxString_in_helper(obj0
);
8142 if (arg1
== NULL
) SWIG_fail
;
8146 if (!wxPyCheckForApp()) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8167 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8168 PyObject
*resultobj
= 0;
8169 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8172 PyObject
*swig_obj
[1] ;
8174 if (!args
) SWIG_fail
;
8176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8177 if (!SWIG_IsOK(res1
)) {
8178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8180 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_Py_Void();
8195 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
= 0;
8197 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8198 wxString
*arg2
= 0 ;
8201 bool temp2
= false ;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8204 char * kwnames
[] = {
8205 (char *) "self",(char *) "tip", NULL
8208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8210 if (!SWIG_IsOK(res1
)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8213 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8215 arg2
= wxString_in_helper(obj1
);
8216 if (arg2
== NULL
) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 (arg1
)->SetTip((wxString
const &)*arg2
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= SWIG_Py_Void();
8240 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8241 PyObject
*resultobj
= 0;
8242 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8246 PyObject
*swig_obj
[1] ;
8248 if (!args
) SWIG_fail
;
8250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8251 if (!SWIG_IsOK(res1
)) {
8252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8254 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (arg1
)->GetTip();
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8274 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8275 PyObject
*resultobj
= 0;
8276 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8277 wxWindow
*result
= 0 ;
8280 PyObject
*swig_obj
[1] ;
8282 if (!args
) SWIG_fail
;
8284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8285 if (!SWIG_IsOK(res1
)) {
8286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8288 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= (wxWindow
*)(arg1
)->GetWindow();
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8296 resultobj
= wxPyMake_wxObject(result
, 0);
8304 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
= 0;
8309 PyObject
* obj0
= 0 ;
8310 char * kwnames
[] = {
8311 (char *) "flag", NULL
8314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8315 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8316 if (!SWIG_IsOK(ecode1
)) {
8317 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8319 arg1
= static_cast< bool >(val1
);
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 wxToolTip::Enable(arg1
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= SWIG_Py_Void();
8333 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
= 0;
8338 PyObject
* obj0
= 0 ;
8339 char * kwnames
[] = {
8340 (char *) "milliseconds", NULL
8343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8344 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8345 if (!SWIG_IsOK(ecode1
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8348 arg1
= static_cast< long >(val1
);
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 wxToolTip::SetDelay(arg1
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_Py_Void();
8362 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8365 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8366 return SWIG_Py_Void();
8369 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8370 return SWIG_Python_InitShadowInstance(args
);
8373 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
= 0;
8375 wxWindow
*arg1
= (wxWindow
*) 0 ;
8377 wxCaret
*result
= 0 ;
8381 PyObject
* obj0
= 0 ;
8382 PyObject
* obj1
= 0 ;
8383 char * kwnames
[] = {
8384 (char *) "window",(char *) "size", NULL
8387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8389 if (!SWIG_IsOK(res1
)) {
8390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8392 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8395 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8398 if (!wxPyCheckForApp()) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8411 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8412 PyObject
*resultobj
= 0;
8413 wxCaret
*arg1
= (wxCaret
*) 0 ;
8416 PyObject
*swig_obj
[1] ;
8418 if (!args
) SWIG_fail
;
8420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8421 if (!SWIG_IsOK(res1
)) {
8422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8424 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 resultobj
= SWIG_Py_Void();
8439 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8440 PyObject
*resultobj
= 0;
8441 wxCaret
*arg1
= (wxCaret
*) 0 ;
8444 PyObject
*swig_obj
[1] ;
8446 if (!args
) SWIG_fail
;
8448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8449 if (!SWIG_IsOK(res1
)) {
8450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8452 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8455 wxCaret_Destroy(arg1
);
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= SWIG_Py_Void();
8466 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8467 PyObject
*resultobj
= 0;
8468 wxCaret
*arg1
= (wxCaret
*) 0 ;
8472 PyObject
*swig_obj
[1] ;
8474 if (!args
) SWIG_fail
;
8476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8477 if (!SWIG_IsOK(res1
)) {
8478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8480 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (bool)(arg1
)->IsOk();
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8496 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8497 PyObject
*resultobj
= 0;
8498 wxCaret
*arg1
= (wxCaret
*) 0 ;
8502 PyObject
*swig_obj
[1] ;
8504 if (!args
) SWIG_fail
;
8506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8507 if (!SWIG_IsOK(res1
)) {
8508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8510 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 result
= (bool)(arg1
)->IsVisible();
8514 wxPyEndAllowThreads(__tstate
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8526 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8527 PyObject
*resultobj
= 0;
8528 wxCaret
*arg1
= (wxCaret
*) 0 ;
8532 PyObject
*swig_obj
[1] ;
8534 if (!args
) SWIG_fail
;
8536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8537 if (!SWIG_IsOK(res1
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8540 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (arg1
)->GetPosition();
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8554 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8555 PyObject
*resultobj
= 0;
8556 wxCaret
*arg1
= (wxCaret
*) 0 ;
8557 int *arg2
= (int *) 0 ;
8558 int *arg3
= (int *) 0 ;
8562 int res2
= SWIG_TMPOBJ
;
8564 int res3
= SWIG_TMPOBJ
;
8565 PyObject
*swig_obj
[1] ;
8569 if (!args
) SWIG_fail
;
8571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8572 if (!SWIG_IsOK(res1
)) {
8573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8575 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 (arg1
)->GetPosition(arg2
,arg3
);
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 resultobj
= SWIG_Py_Void();
8583 if (SWIG_IsTmpObj(res2
)) {
8584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8586 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8589 if (SWIG_IsTmpObj(res3
)) {
8590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8592 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8601 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8602 PyObject
*resultobj
= 0;
8603 wxCaret
*arg1
= (wxCaret
*) 0 ;
8607 PyObject
*swig_obj
[1] ;
8609 if (!args
) SWIG_fail
;
8611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8612 if (!SWIG_IsOK(res1
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8615 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (arg1
)->GetSize();
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8629 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8630 PyObject
*resultobj
= 0;
8631 wxCaret
*arg1
= (wxCaret
*) 0 ;
8632 int *arg2
= (int *) 0 ;
8633 int *arg3
= (int *) 0 ;
8637 int res2
= SWIG_TMPOBJ
;
8639 int res3
= SWIG_TMPOBJ
;
8640 PyObject
*swig_obj
[1] ;
8644 if (!args
) SWIG_fail
;
8646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8647 if (!SWIG_IsOK(res1
)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8650 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 (arg1
)->GetSize(arg2
,arg3
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_Py_Void();
8658 if (SWIG_IsTmpObj(res2
)) {
8659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8661 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8664 if (SWIG_IsTmpObj(res3
)) {
8665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8667 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8676 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8677 PyObject
*resultobj
= 0;
8678 wxCaret
*arg1
= (wxCaret
*) 0 ;
8679 wxWindow
*result
= 0 ;
8682 PyObject
*swig_obj
[1] ;
8684 if (!args
) SWIG_fail
;
8686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8687 if (!SWIG_IsOK(res1
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8690 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (wxWindow
*)(arg1
)->GetWindow();
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= wxPyMake_wxObject(result
, 0);
8706 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
= 0;
8708 wxCaret
*arg1
= (wxCaret
*) 0 ;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 PyObject
* obj2
= 0 ;
8720 char * kwnames
[] = {
8721 (char *) "self",(char *) "x",(char *) "y", NULL
8724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8726 if (!SWIG_IsOK(res1
)) {
8727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8729 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8731 if (!SWIG_IsOK(ecode2
)) {
8732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8734 arg2
= static_cast< int >(val2
);
8735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8736 if (!SWIG_IsOK(ecode3
)) {
8737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8739 arg3
= static_cast< int >(val3
);
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 (arg1
)->Move(arg2
,arg3
);
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= SWIG_Py_Void();
8753 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
= 0;
8755 wxCaret
*arg1
= (wxCaret
*) 0 ;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8762 char * kwnames
[] = {
8763 (char *) "self",(char *) "pt", NULL
8766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8768 if (!SWIG_IsOK(res1
)) {
8769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8771 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8774 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 (arg1
)->Move((wxPoint
const &)*arg2
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= SWIG_Py_Void();
8789 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
= 0;
8791 wxCaret
*arg1
= (wxCaret
*) 0 ;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8802 PyObject
* obj2
= 0 ;
8803 char * kwnames
[] = {
8804 (char *) "self",(char *) "width",(char *) "height", NULL
8807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8812 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8814 if (!SWIG_IsOK(ecode2
)) {
8815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8817 arg2
= static_cast< int >(val2
);
8818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8819 if (!SWIG_IsOK(ecode3
)) {
8820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8822 arg3
= static_cast< int >(val3
);
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 (arg1
)->SetSize(arg2
,arg3
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= SWIG_Py_Void();
8836 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
*resultobj
= 0;
8838 wxCaret
*arg1
= (wxCaret
*) 0 ;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8845 char * kwnames
[] = {
8846 (char *) "self",(char *) "size", NULL
8849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8851 if (!SWIG_IsOK(res1
)) {
8852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8854 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8857 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 (arg1
)->SetSize((wxSize
const &)*arg2
);
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= SWIG_Py_Void();
8872 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
= 0;
8874 wxCaret
*arg1
= (wxCaret
*) 0 ;
8875 int arg2
= (int) true ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 char * kwnames
[] = {
8883 (char *) "self",(char *) "show", NULL
8886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8888 if (!SWIG_IsOK(res1
)) {
8889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8891 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8894 if (!SWIG_IsOK(ecode2
)) {
8895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8897 arg2
= static_cast< int >(val2
);
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= SWIG_Py_Void();
8912 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8913 PyObject
*resultobj
= 0;
8914 wxCaret
*arg1
= (wxCaret
*) 0 ;
8917 PyObject
*swig_obj
[1] ;
8919 if (!args
) SWIG_fail
;
8921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8922 if (!SWIG_IsOK(res1
)) {
8923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8925 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 resultobj
= SWIG_Py_Void();
8939 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8940 PyObject
*resultobj
= 0;
8943 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (int)wxCaret::GetBlinkTime();
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= SWIG_From_int(static_cast< int >(result
));
8957 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
= 0;
8962 PyObject
* obj0
= 0 ;
8963 char * kwnames
[] = {
8964 (char *) "milliseconds", NULL
8967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8968 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8969 if (!SWIG_IsOK(ecode1
)) {
8970 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8972 arg1
= static_cast< int >(val1
);
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 wxCaret::SetBlinkTime(arg1
);
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= SWIG_Py_Void();
8986 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8989 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8990 return SWIG_Py_Void();
8993 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8994 return SWIG_Python_InitShadowInstance(args
);
8997 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
= 0;
8999 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9000 wxBusyCursor
*result
= 0 ;
9003 PyObject
* obj0
= 0 ;
9004 char * kwnames
[] = {
9005 (char *) "cursor", NULL
9008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9011 if (!SWIG_IsOK(res1
)) {
9012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9014 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9017 if (!wxPyCheckForApp()) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9030 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9031 PyObject
*resultobj
= 0;
9032 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9035 PyObject
*swig_obj
[1] ;
9037 if (!args
) SWIG_fail
;
9039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9040 if (!SWIG_IsOK(res1
)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9043 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= SWIG_Py_Void();
9058 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9061 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9062 return SWIG_Py_Void();
9065 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9066 return SWIG_Python_InitShadowInstance(args
);
9069 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
= 0;
9071 wxWindow
*arg1
= (wxWindow
*) NULL
;
9072 wxWindowDisabler
*result
= 0 ;
9075 PyObject
* obj0
= 0 ;
9076 char * kwnames
[] = {
9077 (char *) "winToSkip", NULL
9080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9083 if (!SWIG_IsOK(res1
)) {
9084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9086 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9089 if (!wxPyCheckForApp()) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9102 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9103 PyObject
*resultobj
= 0;
9104 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9107 PyObject
*swig_obj
[1] ;
9109 if (!args
) SWIG_fail
;
9111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9112 if (!SWIG_IsOK(res1
)) {
9113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9115 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= SWIG_Py_Void();
9130 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9133 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9134 return SWIG_Py_Void();
9137 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9138 return SWIG_Python_InitShadowInstance(args
);
9141 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
= 0;
9143 wxString
*arg1
= 0 ;
9144 wxWindow
*arg2
= (wxWindow
*) NULL
;
9145 wxBusyInfo
*result
= 0 ;
9146 bool temp1
= false ;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9151 char * kwnames
[] = {
9152 (char *) "message",(char *) "parent", NULL
9155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BusyInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9157 arg1
= wxString_in_helper(obj0
);
9158 if (arg1
== NULL
) SWIG_fail
;
9162 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9163 if (!SWIG_IsOK(res2
)) {
9164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BusyInfo" "', expected argument " "2"" of type '" "wxWindow *""'");
9166 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9169 if (!wxPyCheckForApp()) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
,arg2
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) SWIG_fail
;
9175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9190 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9191 PyObject
*resultobj
= 0;
9192 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9195 PyObject
*swig_obj
[1] ;
9197 if (!args
) SWIG_fail
;
9199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9200 if (!SWIG_IsOK(res1
)) {
9201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9203 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_Py_Void();
9218 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9221 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9222 return SWIG_Py_Void();
9225 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9226 return SWIG_Python_InitShadowInstance(args
);
9229 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9230 PyObject
*resultobj
= 0;
9231 wxStopWatch
*result
= 0 ;
9233 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (wxStopWatch
*)new wxStopWatch();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9247 SWIGINTERN PyObject
*_wrap_delete_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9248 PyObject
*resultobj
= 0;
9249 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9252 PyObject
*swig_obj
[1] ;
9254 if (!args
) SWIG_fail
;
9256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_DISOWN
| 0 );
9257 if (!SWIG_IsOK(res1
)) {
9258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StopWatch" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9260 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_Py_Void();
9275 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
= 0;
9277 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9278 long arg2
= (long) 0 ;
9283 PyObject
* obj0
= 0 ;
9284 PyObject
* obj1
= 0 ;
9285 char * kwnames
[] = {
9286 (char *) "self",(char *) "t0", NULL
9289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9291 if (!SWIG_IsOK(res1
)) {
9292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9294 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9296 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9297 if (!SWIG_IsOK(ecode2
)) {
9298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9300 arg2
= static_cast< long >(val2
);
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 (arg1
)->Start(arg2
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_Py_Void();
9315 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9316 PyObject
*resultobj
= 0;
9317 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9320 PyObject
*swig_obj
[1] ;
9322 if (!args
) SWIG_fail
;
9324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9325 if (!SWIG_IsOK(res1
)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9328 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 resultobj
= SWIG_Py_Void();
9342 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9343 PyObject
*resultobj
= 0;
9344 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9347 PyObject
*swig_obj
[1] ;
9349 if (!args
) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9355 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_Py_Void();
9369 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9370 PyObject
*resultobj
= 0;
9371 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9375 PyObject
*swig_obj
[1] ;
9377 if (!args
) SWIG_fail
;
9379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9380 if (!SWIG_IsOK(res1
)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9383 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= SWIG_From_long(static_cast< long >(result
));
9397 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9400 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9401 return SWIG_Py_Void();
9404 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9405 return SWIG_Python_InitShadowInstance(args
);
9408 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
*resultobj
= 0;
9410 int arg1
= (int) 9 ;
9411 int arg2
= (int) wxID_FILE1
;
9412 wxFileHistory
*result
= 0 ;
9417 PyObject
* obj0
= 0 ;
9418 PyObject
* obj1
= 0 ;
9419 char * kwnames
[] = {
9420 (char *) "maxFiles",(char *) "idBase", NULL
9423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9425 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9426 if (!SWIG_IsOK(ecode1
)) {
9427 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9429 arg1
= static_cast< int >(val1
);
9432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9433 if (!SWIG_IsOK(ecode2
)) {
9434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9436 arg2
= static_cast< int >(val2
);
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9451 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9452 PyObject
*resultobj
= 0;
9453 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9456 PyObject
*swig_obj
[1] ;
9458 if (!args
) SWIG_fail
;
9460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9461 if (!SWIG_IsOK(res1
)) {
9462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9464 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= SWIG_Py_Void();
9479 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
= 0;
9481 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9482 wxString
*arg2
= 0 ;
9485 bool temp2
= false ;
9486 PyObject
* obj0
= 0 ;
9487 PyObject
* obj1
= 0 ;
9488 char * kwnames
[] = {
9489 (char *) "self",(char *) "file", NULL
9492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9494 if (!SWIG_IsOK(res1
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9497 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9499 arg2
= wxString_in_helper(obj1
);
9500 if (arg2
== NULL
) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= SWIG_Py_Void();
9524 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
= 0;
9526 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 char * kwnames
[] = {
9535 (char *) "self",(char *) "i", NULL
9538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9540 if (!SWIG_IsOK(res1
)) {
9541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9543 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9545 if (!SWIG_IsOK(ecode2
)) {
9546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9548 arg2
= static_cast< int >(val2
);
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 (arg1
)->RemoveFileFromHistory(arg2
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= SWIG_Py_Void();
9562 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9563 PyObject
*resultobj
= 0;
9564 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9568 PyObject
*swig_obj
[1] ;
9570 if (!args
) SWIG_fail
;
9572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9573 if (!SWIG_IsOK(res1
)) {
9574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9576 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_From_int(static_cast< int >(result
));
9590 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
= 0;
9592 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9593 wxMenu
*arg2
= (wxMenu
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 char * kwnames
[] = {
9601 (char *) "self",(char *) "menu", NULL
9604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9606 if (!SWIG_IsOK(res1
)) {
9607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9609 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9610 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9611 if (!SWIG_IsOK(res2
)) {
9612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9614 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 (arg1
)->UseMenu(arg2
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 resultobj
= SWIG_Py_Void();
9628 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
= 0;
9630 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9631 wxMenu
*arg2
= (wxMenu
*) 0 ;
9636 PyObject
* obj0
= 0 ;
9637 PyObject
* obj1
= 0 ;
9638 char * kwnames
[] = {
9639 (char *) "self",(char *) "menu", NULL
9642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9644 if (!SWIG_IsOK(res1
)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9647 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9649 if (!SWIG_IsOK(res2
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9652 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 (arg1
)->RemoveMenu(arg2
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_Py_Void();
9666 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
= 0;
9668 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9669 wxConfigBase
*arg2
= 0 ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 char * kwnames
[] = {
9677 (char *) "self",(char *) "config", NULL
9680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9682 if (!SWIG_IsOK(res1
)) {
9683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9685 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9686 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9687 if (!SWIG_IsOK(res2
)) {
9688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9693 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 (arg1
)->Load(*arg2
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_Py_Void();
9707 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
*resultobj
= 0;
9709 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9710 wxConfigBase
*arg2
= 0 ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9717 char * kwnames
[] = {
9718 (char *) "self",(char *) "config", NULL
9721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9723 if (!SWIG_IsOK(res1
)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9726 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9728 if (!SWIG_IsOK(res2
)) {
9729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9734 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 (arg1
)->Save(*arg2
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= SWIG_Py_Void();
9748 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9749 PyObject
*resultobj
= 0;
9750 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9753 PyObject
*swig_obj
[1] ;
9755 if (!args
) SWIG_fail
;
9757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9758 if (!SWIG_IsOK(res1
)) {
9759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9761 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 (arg1
)->AddFilesToMenu();
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_Py_Void();
9775 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
= 0;
9777 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9778 wxMenu
*arg2
= (wxMenu
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9784 PyObject
* obj1
= 0 ;
9785 char * kwnames
[] = {
9786 (char *) "self",(char *) "menu", NULL
9789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9791 if (!SWIG_IsOK(res1
)) {
9792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9794 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9796 if (!SWIG_IsOK(res2
)) {
9797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9799 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 (arg1
)->AddFilesToMenu(arg2
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_Py_Void();
9813 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
= 0;
9815 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9822 PyObject
* obj0
= 0 ;
9823 PyObject
* obj1
= 0 ;
9824 char * kwnames
[] = {
9825 (char *) "self",(char *) "i", NULL
9828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9830 if (!SWIG_IsOK(res1
)) {
9831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9833 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9835 if (!SWIG_IsOK(ecode2
)) {
9836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9838 arg2
= static_cast< int >(val2
);
9840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9858 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9859 PyObject
*resultobj
= 0;
9860 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9864 PyObject
*swig_obj
[1] ;
9866 if (!args
) SWIG_fail
;
9868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9869 if (!SWIG_IsOK(res1
)) {
9870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9872 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= SWIG_From_int(static_cast< int >(result
));
9886 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9888 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9889 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9890 return SWIG_Py_Void();
9893 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9894 return SWIG_Python_InitShadowInstance(args
);
9897 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
= 0;
9899 wxString
*arg1
= 0 ;
9900 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9901 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9902 wxSingleInstanceChecker
*result
= 0 ;
9903 bool temp1
= false ;
9904 bool temp2
= false ;
9905 PyObject
* obj0
= 0 ;
9906 PyObject
* obj1
= 0 ;
9907 char * kwnames
[] = {
9908 (char *) "name",(char *) "path", NULL
9911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9913 arg1
= wxString_in_helper(obj0
);
9914 if (arg1
== NULL
) SWIG_fail
;
9919 arg2
= wxString_in_helper(obj1
);
9920 if (arg2
== NULL
) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9953 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9954 PyObject
*resultobj
= 0;
9955 wxSingleInstanceChecker
*result
= 0 ;
9957 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9971 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9972 PyObject
*resultobj
= 0;
9973 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9976 PyObject
*swig_obj
[1] ;
9978 if (!args
) SWIG_fail
;
9980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9981 if (!SWIG_IsOK(res1
)) {
9982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9984 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 resultobj
= SWIG_Py_Void();
9999 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
= 0;
10001 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10002 wxString
*arg2
= 0 ;
10003 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10004 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10008 bool temp2
= false ;
10009 bool temp3
= false ;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 PyObject
* obj2
= 0 ;
10013 char * kwnames
[] = {
10014 (char *) "self",(char *) "name",(char *) "path", NULL
10017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10019 if (!SWIG_IsOK(res1
)) {
10020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10022 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10024 arg2
= wxString_in_helper(obj1
);
10025 if (arg2
== NULL
) SWIG_fail
;
10030 arg3
= wxString_in_helper(obj2
);
10031 if (arg3
== NULL
) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10066 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10067 PyObject
*resultobj
= 0;
10068 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10072 PyObject
*swig_obj
[1] ;
10074 if (!args
) SWIG_fail
;
10075 swig_obj
[0] = args
;
10076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10077 if (!SWIG_IsOK(res1
)) {
10078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10080 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10096 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10099 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10100 return SWIG_Py_Void();
10103 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10104 return SWIG_Python_InitShadowInstance(args
);
10107 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10108 PyObject
*resultobj
= 0;
10109 wxPlatformInfo
*result
= 0 ;
10111 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10125 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
= 0;
10127 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10128 wxPlatformInfo
*arg2
= 0 ;
10134 PyObject
* obj0
= 0 ;
10135 PyObject
* obj1
= 0 ;
10136 char * kwnames
[] = {
10137 (char *) "self",(char *) "t", NULL
10140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10142 if (!SWIG_IsOK(res1
)) {
10143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10145 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10147 if (!SWIG_IsOK(res2
)) {
10148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10153 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10169 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
*resultobj
= 0;
10171 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10172 wxPlatformInfo
*arg2
= 0 ;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 char * kwnames
[] = {
10181 (char *) "self",(char *) "t", NULL
10184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10186 if (!SWIG_IsOK(res1
)) {
10187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10189 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10191 if (!SWIG_IsOK(res2
)) {
10192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10197 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10213 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10214 PyObject
*resultobj
= 0;
10215 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10219 PyObject
*swig_obj
[1] ;
10221 if (!args
) SWIG_fail
;
10222 swig_obj
[0] = args
;
10223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10224 if (!SWIG_IsOK(res1
)) {
10225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10227 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_From_int(static_cast< int >(result
));
10241 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10242 PyObject
*resultobj
= 0;
10243 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10247 PyObject
*swig_obj
[1] ;
10249 if (!args
) SWIG_fail
;
10250 swig_obj
[0] = args
;
10251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10252 if (!SWIG_IsOK(res1
)) {
10253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10255 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_From_int(static_cast< int >(result
));
10269 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
= 0;
10271 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10281 PyObject
* obj0
= 0 ;
10282 PyObject
* obj1
= 0 ;
10283 PyObject
* obj2
= 0 ;
10284 char * kwnames
[] = {
10285 (char *) "self",(char *) "major",(char *) "minor", NULL
10288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10290 if (!SWIG_IsOK(res1
)) {
10291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10293 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10295 if (!SWIG_IsOK(ecode2
)) {
10296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "2"" of type '" "int""'");
10298 arg2
= static_cast< int >(val2
);
10299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10300 if (!SWIG_IsOK(ecode3
)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "3"" of type '" "int""'");
10303 arg3
= static_cast< int >(val3
);
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckOSVersion(arg2
,arg3
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10319 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10320 PyObject
*resultobj
= 0;
10321 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10325 PyObject
*swig_obj
[1] ;
10327 if (!args
) SWIG_fail
;
10328 swig_obj
[0] = args
;
10329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10330 if (!SWIG_IsOK(res1
)) {
10331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10333 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= SWIG_From_int(static_cast< int >(result
));
10347 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10348 PyObject
*resultobj
= 0;
10349 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10353 PyObject
*swig_obj
[1] ;
10355 if (!args
) SWIG_fail
;
10356 swig_obj
[0] = args
;
10357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10358 if (!SWIG_IsOK(res1
)) {
10359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10361 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= SWIG_From_int(static_cast< int >(result
));
10375 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
= 0;
10377 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10387 PyObject
* obj0
= 0 ;
10388 PyObject
* obj1
= 0 ;
10389 PyObject
* obj2
= 0 ;
10390 char * kwnames
[] = {
10391 (char *) "self",(char *) "major",(char *) "minor", NULL
10394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10396 if (!SWIG_IsOK(res1
)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10399 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10401 if (!SWIG_IsOK(ecode2
)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10404 arg2
= static_cast< int >(val2
);
10405 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10406 if (!SWIG_IsOK(ecode3
)) {
10407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10409 arg3
= static_cast< int >(val3
);
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckToolkitVersion(arg2
,arg3
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10425 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10426 PyObject
*resultobj
= 0;
10427 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10431 PyObject
*swig_obj
[1] ;
10433 if (!args
) SWIG_fail
;
10434 swig_obj
[0] = args
;
10435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10436 if (!SWIG_IsOK(res1
)) {
10437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10439 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10455 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10456 PyObject
*resultobj
= 0;
10457 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10458 wxOperatingSystemId result
;
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_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10469 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_From_int(static_cast< int >(result
));
10483 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10484 PyObject
*resultobj
= 0;
10485 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10489 PyObject
*swig_obj
[1] ;
10491 if (!args
) SWIG_fail
;
10492 swig_obj
[0] = args
;
10493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10494 if (!SWIG_IsOK(res1
)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10497 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= SWIG_From_int(static_cast< int >(result
));
10511 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10512 PyObject
*resultobj
= 0;
10513 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10514 wxArchitecture result
;
10517 PyObject
*swig_obj
[1] ;
10519 if (!args
) SWIG_fail
;
10520 swig_obj
[0] = args
;
10521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10522 if (!SWIG_IsOK(res1
)) {
10523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10525 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= SWIG_From_int(static_cast< int >(result
));
10539 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10540 PyObject
*resultobj
= 0;
10541 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10542 wxEndianness result
;
10545 PyObject
*swig_obj
[1] ;
10547 if (!args
) SWIG_fail
;
10548 swig_obj
[0] = args
;
10549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10550 if (!SWIG_IsOK(res1
)) {
10551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10553 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= SWIG_From_int(static_cast< int >(result
));
10567 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10568 PyObject
*resultobj
= 0;
10569 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10573 PyObject
*swig_obj
[1] ;
10575 if (!args
) SWIG_fail
;
10576 swig_obj
[0] = args
;
10577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10578 if (!SWIG_IsOK(res1
)) {
10579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10581 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10601 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10602 PyObject
*resultobj
= 0;
10603 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10607 PyObject
*swig_obj
[1] ;
10609 if (!args
) SWIG_fail
;
10610 swig_obj
[0] = args
;
10611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10612 if (!SWIG_IsOK(res1
)) {
10613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10615 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10635 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10636 PyObject
*resultobj
= 0;
10637 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10641 PyObject
*swig_obj
[1] ;
10643 if (!args
) SWIG_fail
;
10644 swig_obj
[0] = args
;
10645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10646 if (!SWIG_IsOK(res1
)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10649 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10669 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10670 PyObject
*resultobj
= 0;
10671 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10675 PyObject
*swig_obj
[1] ;
10677 if (!args
) SWIG_fail
;
10678 swig_obj
[0] = args
;
10679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10680 if (!SWIG_IsOK(res1
)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10683 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10687 wxPyEndAllowThreads(__tstate
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10703 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10704 PyObject
*resultobj
= 0;
10705 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10709 PyObject
*swig_obj
[1] ;
10711 if (!args
) SWIG_fail
;
10712 swig_obj
[0] = args
;
10713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10714 if (!SWIG_IsOK(res1
)) {
10715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10717 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10737 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10738 PyObject
*resultobj
= 0;
10739 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10743 PyObject
*swig_obj
[1] ;
10745 if (!args
) SWIG_fail
;
10746 swig_obj
[0] = args
;
10747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10748 if (!SWIG_IsOK(res1
)) {
10749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10751 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10771 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
= 0;
10773 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 PyObject
* obj1
= 0 ;
10784 PyObject
* obj2
= 0 ;
10785 char * kwnames
[] = {
10786 (char *) "self",(char *) "major",(char *) "minor", NULL
10789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10791 if (!SWIG_IsOK(res1
)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10794 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10796 if (!SWIG_IsOK(ecode2
)) {
10797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10799 arg2
= static_cast< int >(val2
);
10800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10801 if (!SWIG_IsOK(ecode3
)) {
10802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10804 arg3
= static_cast< int >(val3
);
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 (arg1
)->SetOSVersion(arg2
,arg3
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 resultobj
= SWIG_Py_Void();
10818 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
= 0;
10820 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 PyObject
* obj2
= 0 ;
10832 char * kwnames
[] = {
10833 (char *) "self",(char *) "major",(char *) "minor", NULL
10836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10838 if (!SWIG_IsOK(res1
)) {
10839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10841 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10843 if (!SWIG_IsOK(ecode2
)) {
10844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10846 arg2
= static_cast< int >(val2
);
10847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10848 if (!SWIG_IsOK(ecode3
)) {
10849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10851 arg3
= static_cast< int >(val3
);
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= SWIG_Py_Void();
10865 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
= 0;
10867 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10868 wxOperatingSystemId arg2
;
10873 PyObject
* obj0
= 0 ;
10874 PyObject
* obj1
= 0 ;
10875 char * kwnames
[] = {
10876 (char *) "self",(char *) "n", NULL
10879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10881 if (!SWIG_IsOK(res1
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10884 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10886 if (!SWIG_IsOK(ecode2
)) {
10887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10889 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 (arg1
)->SetOperatingSystemId(arg2
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= SWIG_Py_Void();
10903 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
= 0;
10905 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 char * kwnames
[] = {
10914 (char *) "self",(char *) "n", NULL
10917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10919 if (!SWIG_IsOK(res1
)) {
10920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10922 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10924 if (!SWIG_IsOK(ecode2
)) {
10925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10927 arg2
= static_cast< wxPortId
>(val2
);
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 (arg1
)->SetPortId(arg2
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 resultobj
= SWIG_Py_Void();
10941 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
= 0;
10943 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10944 wxArchitecture arg2
;
10949 PyObject
* obj0
= 0 ;
10950 PyObject
* obj1
= 0 ;
10951 char * kwnames
[] = {
10952 (char *) "self",(char *) "n", NULL
10955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10957 if (!SWIG_IsOK(res1
)) {
10958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10960 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10962 if (!SWIG_IsOK(ecode2
)) {
10963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
10965 arg2
= static_cast< wxArchitecture
>(val2
);
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 (arg1
)->SetArchitecture(arg2
);
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10972 resultobj
= SWIG_Py_Void();
10979 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
= 0;
10981 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10982 wxEndianness arg2
;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char * kwnames
[] = {
10990 (char *) "self",(char *) "n", NULL
10993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10995 if (!SWIG_IsOK(res1
)) {
10996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10998 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11000 if (!SWIG_IsOK(ecode2
)) {
11001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
11003 arg2
= static_cast< wxEndianness
>(val2
);
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 (arg1
)->SetEndianness(arg2
);
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= SWIG_Py_Void();
11017 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11018 PyObject
*resultobj
= 0;
11019 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11023 PyObject
*swig_obj
[1] ;
11025 if (!args
) SWIG_fail
;
11026 swig_obj
[0] = args
;
11027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11028 if (!SWIG_IsOK(res1
)) {
11029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
11031 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11047 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11050 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
11051 return SWIG_Py_Void();
11054 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11055 return SWIG_Python_InitShadowInstance(args
);
11058 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
*resultobj
= 0;
11060 wxWindow
*arg1
= (wxWindow
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 char * kwnames
[] = {
11070 (char *) "window",(char *) "dc", NULL
11073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11075 if (!SWIG_IsOK(res1
)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
11078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
11080 if (!SWIG_IsOK(res2
)) {
11081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11086 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
11090 wxPyEndAllowThreads(__tstate
);
11091 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11102 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11103 PyObject
*resultobj
= 0;
11104 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11107 PyObject
*swig_obj
[1] ;
11109 if (!args
) SWIG_fail
;
11110 swig_obj
[0] = args
;
11111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11112 if (!SWIG_IsOK(res1
)) {
11113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11115 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11123 resultobj
= SWIG_Py_Void();
11130 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11131 PyObject
*resultobj
= 0;
11132 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11136 PyObject
*swig_obj
[1] ;
11138 if (!args
) SWIG_fail
;
11139 swig_obj
[0] = args
;
11140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11141 if (!SWIG_IsOK(res1
)) {
11142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11144 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (arg1
)->GetTip();
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11164 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11165 PyObject
*resultobj
= 0;
11166 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11170 PyObject
*swig_obj
[1] ;
11172 if (!args
) SWIG_fail
;
11173 swig_obj
[0] = args
;
11174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11175 if (!SWIG_IsOK(res1
)) {
11176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11178 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (size_t)(arg1
)->GetCurrentTip();
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11192 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
= 0;
11194 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11195 wxString
*arg2
= 0 ;
11199 bool temp2
= false ;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 char * kwnames
[] = {
11203 (char *) "self",(char *) "tip", NULL
11206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11208 if (!SWIG_IsOK(res1
)) {
11209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11211 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11213 arg2
= wxString_in_helper(obj1
);
11214 if (arg2
== NULL
) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11244 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11246 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11247 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11248 return SWIG_Py_Void();
11251 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
= 0;
11254 wxPyTipProvider
*result
= 0 ;
11257 PyObject
* obj0
= 0 ;
11258 char * kwnames
[] = {
11259 (char *) "currentTip", NULL
11262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11263 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11264 if (!SWIG_IsOK(ecode1
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11267 arg1
= static_cast< size_t >(val1
);
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11281 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
= 0;
11283 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11284 PyObject
*arg2
= (PyObject
*) 0 ;
11285 PyObject
*arg3
= (PyObject
*) 0 ;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 PyObject
* obj2
= 0 ;
11291 char * kwnames
[] = {
11292 (char *) "self",(char *) "self",(char *) "_class", NULL
11295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11297 if (!SWIG_IsOK(res1
)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11300 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= SWIG_Py_Void();
11316 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11318 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11319 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11320 return SWIG_Py_Void();
11323 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11324 return SWIG_Python_InitShadowInstance(args
);
11327 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
= 0;
11329 wxWindow
*arg1
= (wxWindow
*) 0 ;
11330 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11331 bool arg3
= (bool) true ;
11339 PyObject
* obj0
= 0 ;
11340 PyObject
* obj1
= 0 ;
11341 PyObject
* obj2
= 0 ;
11342 char * kwnames
[] = {
11343 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11348 if (!SWIG_IsOK(res1
)) {
11349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11351 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11353 if (!SWIG_IsOK(res2
)) {
11354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11356 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11358 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11359 if (!SWIG_IsOK(ecode3
)) {
11360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11362 arg3
= static_cast< bool >(val3
);
11365 if (!wxPyCheckForApp()) SWIG_fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11380 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11381 PyObject
*resultobj
= 0;
11382 wxString
*arg1
= 0 ;
11384 wxTipProvider
*result
= 0 ;
11385 bool temp1
= false ;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 char * kwnames
[] = {
11391 (char *) "filename",(char *) "currentTip", NULL
11394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11396 arg1
= wxString_in_helper(obj0
);
11397 if (arg1
== NULL
) SWIG_fail
;
11400 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11401 if (!SWIG_IsOK(ecode2
)) {
11402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11404 arg2
= static_cast< size_t >(val2
);
11406 if (!wxPyCheckForApp()) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11427 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
= 0;
11429 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11430 int arg2
= (int) wxID_ANY
;
11431 wxPyTimer
*result
= 0 ;
11436 PyObject
* obj0
= 0 ;
11437 PyObject
* obj1
= 0 ;
11438 char * kwnames
[] = {
11439 (char *) "owner",(char *) "id", NULL
11442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11445 if (!SWIG_IsOK(res1
)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11448 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11452 if (!SWIG_IsOK(ecode2
)) {
11453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11455 arg2
= static_cast< int >(val2
);
11458 if (!wxPyCheckForApp()) SWIG_fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11471 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11472 PyObject
*resultobj
= 0;
11473 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11476 PyObject
*swig_obj
[1] ;
11478 if (!args
) SWIG_fail
;
11479 swig_obj
[0] = args
;
11480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11481 if (!SWIG_IsOK(res1
)) {
11482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11484 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= SWIG_Py_Void();
11499 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
= 0;
11501 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11502 PyObject
*arg2
= (PyObject
*) 0 ;
11503 PyObject
*arg3
= (PyObject
*) 0 ;
11504 int arg4
= (int) 0 ;
11509 PyObject
* obj0
= 0 ;
11510 PyObject
* obj1
= 0 ;
11511 PyObject
* obj2
= 0 ;
11512 PyObject
* obj3
= 0 ;
11513 char * kwnames
[] = {
11514 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11519 if (!SWIG_IsOK(res1
)) {
11520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11522 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11526 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11527 if (!SWIG_IsOK(ecode4
)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11530 arg4
= static_cast< int >(val4
);
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= SWIG_Py_Void();
11545 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
= 0;
11547 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11548 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11549 int arg3
= (int) wxID_ANY
;
11556 PyObject
* obj0
= 0 ;
11557 PyObject
* obj1
= 0 ;
11558 PyObject
* obj2
= 0 ;
11559 char * kwnames
[] = {
11560 (char *) "self",(char *) "owner",(char *) "id", NULL
11563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11565 if (!SWIG_IsOK(res1
)) {
11566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11568 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11570 if (!SWIG_IsOK(res2
)) {
11571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11573 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11576 if (!SWIG_IsOK(ecode3
)) {
11577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11579 arg3
= static_cast< int >(val3
);
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 (arg1
)->SetOwner(arg2
,arg3
);
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_Py_Void();
11594 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11595 PyObject
*resultobj
= 0;
11596 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11597 wxEvtHandler
*result
= 0 ;
11600 PyObject
*swig_obj
[1] ;
11602 if (!args
) SWIG_fail
;
11603 swig_obj
[0] = args
;
11604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11605 if (!SWIG_IsOK(res1
)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11608 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= wxPyMake_wxObject(result
, 0);
11624 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
= 0;
11626 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11627 int arg2
= (int) -1 ;
11628 bool arg3
= (bool) false ;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 PyObject
* obj2
= 0 ;
11639 char * kwnames
[] = {
11640 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11645 if (!SWIG_IsOK(res1
)) {
11646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11648 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11651 if (!SWIG_IsOK(ecode2
)) {
11652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11654 arg2
= static_cast< int >(val2
);
11657 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11658 if (!SWIG_IsOK(ecode3
)) {
11659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11661 arg3
= static_cast< bool >(val3
);
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11666 wxPyEndAllowThreads(__tstate
);
11667 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11678 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 PyObject
*resultobj
= 0;
11680 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11683 PyObject
*swig_obj
[1] ;
11685 if (!args
) SWIG_fail
;
11686 swig_obj
[0] = args
;
11687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11688 if (!SWIG_IsOK(res1
)) {
11689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11691 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= SWIG_Py_Void();
11705 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11706 PyObject
*resultobj
= 0;
11707 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11710 PyObject
*swig_obj
[1] ;
11712 if (!args
) SWIG_fail
;
11713 swig_obj
[0] = args
;
11714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11715 if (!SWIG_IsOK(res1
)) {
11716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11718 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= SWIG_Py_Void();
11732 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11733 PyObject
*resultobj
= 0;
11734 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11738 PyObject
*swig_obj
[1] ;
11740 if (!args
) SWIG_fail
;
11741 swig_obj
[0] = args
;
11742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11743 if (!SWIG_IsOK(res1
)) {
11744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11746 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11762 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(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_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11776 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11780 wxPyEndAllowThreads(__tstate
);
11781 if (PyErr_Occurred()) SWIG_fail
;
11783 resultobj
= SWIG_From_int(static_cast< int >(result
));
11790 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11791 PyObject
*resultobj
= 0;
11792 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11796 PyObject
*swig_obj
[1] ;
11798 if (!args
) SWIG_fail
;
11799 swig_obj
[0] = args
;
11800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11801 if (!SWIG_IsOK(res1
)) {
11802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11804 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= SWIG_From_int(static_cast< int >(result
));
11818 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11819 PyObject
*resultobj
= 0;
11820 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11824 PyObject
*swig_obj
[1] ;
11826 if (!args
) SWIG_fail
;
11827 swig_obj
[0] = args
;
11828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11829 if (!SWIG_IsOK(res1
)) {
11830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11832 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11848 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11851 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11852 return SWIG_Py_Void();
11855 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11856 return SWIG_Python_InitShadowInstance(args
);
11859 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
= 0;
11861 int arg1
= (int) 0 ;
11862 int arg2
= (int) 0 ;
11863 wxTimerEvent
*result
= 0 ;
11868 PyObject
* obj0
= 0 ;
11869 PyObject
* obj1
= 0 ;
11870 char * kwnames
[] = {
11871 (char *) "timerid",(char *) "interval", NULL
11874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11876 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11877 if (!SWIG_IsOK(ecode1
)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11880 arg1
= static_cast< int >(val1
);
11883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11884 if (!SWIG_IsOK(ecode2
)) {
11885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11887 arg2
= static_cast< int >(val2
);
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11902 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11903 PyObject
*resultobj
= 0;
11904 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11908 PyObject
*swig_obj
[1] ;
11910 if (!args
) SWIG_fail
;
11911 swig_obj
[0] = args
;
11912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11913 if (!SWIG_IsOK(res1
)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11916 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= SWIG_From_int(static_cast< int >(result
));
11930 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11933 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11934 return SWIG_Py_Void();
11937 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11938 return SWIG_Python_InitShadowInstance(args
);
11941 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11942 PyObject
*resultobj
= 0;
11943 wxTimer
*arg1
= 0 ;
11944 wxTimerRunner
*result
= 0 ;
11948 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11950 if (!SWIG_IsOK(res1
)) {
11951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11956 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11958 if (!wxPyCheckForApp()) SWIG_fail
;
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
11971 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11972 PyObject
*resultobj
= 0;
11973 wxTimer
*arg1
= 0 ;
11975 bool arg3
= (bool) false ;
11976 wxTimerRunner
*result
= 0 ;
11984 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
11985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11986 if (!SWIG_IsOK(res1
)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11992 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11993 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
11994 if (!SWIG_IsOK(ecode2
)) {
11995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
11997 arg2
= static_cast< int >(val2
);
11999 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
12000 if (!SWIG_IsOK(ecode3
)) {
12001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
12003 arg3
= static_cast< bool >(val3
);
12006 if (!wxPyCheckForApp()) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12019 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
12023 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
12026 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
12028 if ((argc
>= 2) && (argc
<= 3)) {
12029 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
12033 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
12038 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12039 PyObject
*resultobj
= 0;
12040 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12043 PyObject
*swig_obj
[1] ;
12045 if (!args
) SWIG_fail
;
12046 swig_obj
[0] = args
;
12047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
12048 if (!SWIG_IsOK(res1
)) {
12049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12051 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= SWIG_Py_Void();
12066 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
= 0;
12068 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12070 bool arg3
= (bool) false ;
12077 PyObject
* obj0
= 0 ;
12078 PyObject
* obj1
= 0 ;
12079 PyObject
* obj2
= 0 ;
12080 char * kwnames
[] = {
12081 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
12084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
12086 if (!SWIG_IsOK(res1
)) {
12087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12089 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12091 if (!SWIG_IsOK(ecode2
)) {
12092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
12094 arg2
= static_cast< int >(val2
);
12096 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12097 if (!SWIG_IsOK(ecode3
)) {
12098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
12100 arg3
= static_cast< bool >(val3
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 (arg1
)->Start(arg2
,arg3
);
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_Py_Void();
12115 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12118 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12119 return SWIG_Py_Void();
12122 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12123 return SWIG_Python_InitShadowInstance(args
);
12126 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12127 PyObject
*resultobj
= 0;
12128 wxLog
*result
= 0 ;
12130 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (wxLog
*)new wxLog();
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12144 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12145 PyObject
*resultobj
= 0;
12146 wxLog
*arg1
= (wxLog
*) 0 ;
12149 PyObject
*swig_obj
[1] ;
12151 if (!args
) SWIG_fail
;
12152 swig_obj
[0] = args
;
12153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12154 if (!SWIG_IsOK(res1
)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12157 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_Py_Void();
12172 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12173 PyObject
*resultobj
= 0;
12176 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (bool)wxLog::IsEnabled();
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12192 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
= 0;
12194 bool arg1
= (bool) true ;
12198 PyObject
* obj0
= 0 ;
12199 char * kwnames
[] = {
12200 (char *) "doIt", NULL
12203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12205 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12206 if (!SWIG_IsOK(ecode1
)) {
12207 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12209 arg1
= static_cast< bool >(val1
);
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 result
= (bool)wxLog::EnableLogging(arg1
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12226 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
= 0;
12229 wxChar
*arg2
= (wxChar
*) 0 ;
12231 unsigned long val1
;
12235 unsigned int val3
;
12237 PyObject
* obj0
= 0 ;
12238 PyObject
* obj1
= 0 ;
12239 PyObject
* obj2
= 0 ;
12240 char * kwnames
[] = {
12241 (char *) "level",(char *) "szString",(char *) "t", NULL
12244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12245 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12246 if (!SWIG_IsOK(ecode1
)) {
12247 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12249 arg1
= static_cast< wxLogLevel
>(val1
);
12250 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12251 if (!SWIG_IsOK(res2
)) {
12252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12254 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12255 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12256 if (!SWIG_IsOK(ecode3
)) {
12257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12259 arg3
= static_cast< time_t >(val3
);
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= SWIG_Py_Void();
12273 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12274 PyObject
*resultobj
= 0;
12275 wxLog
*arg1
= (wxLog
*) 0 ;
12278 PyObject
*swig_obj
[1] ;
12280 if (!args
) SWIG_fail
;
12281 swig_obj
[0] = args
;
12282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12286 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= SWIG_Py_Void();
12300 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12301 PyObject
*resultobj
= 0;
12303 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 wxLog::FlushActive();
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= SWIG_Py_Void();
12317 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12318 PyObject
*resultobj
= 0;
12319 wxLog
*result
= 0 ;
12321 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (wxLog
*)wxLog::GetActiveTarget();
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12335 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
= 0;
12337 wxLog
*arg1
= (wxLog
*) 0 ;
12338 wxLog
*result
= 0 ;
12340 PyObject
* obj0
= 0 ;
12341 char * kwnames
[] = {
12342 (char *) "pLogger", NULL
12345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12346 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12347 if (!SWIG_IsOK(res1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12363 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12364 PyObject
*resultobj
= 0;
12366 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= SWIG_Py_Void();
12380 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12381 PyObject
*resultobj
= 0;
12383 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= SWIG_Py_Void();
12397 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
= 0;
12399 bool arg1
= (bool) true ;
12402 PyObject
* obj0
= 0 ;
12403 char * kwnames
[] = {
12404 (char *) "bVerbose", NULL
12407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12409 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12410 if (!SWIG_IsOK(ecode1
)) {
12411 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12413 arg1
= static_cast< bool >(val1
);
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 wxLog::SetVerbose(arg1
);
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= SWIG_Py_Void();
12428 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12429 PyObject
*resultobj
= 0;
12431 unsigned long val1
;
12433 PyObject
* obj0
= 0 ;
12434 char * kwnames
[] = {
12435 (char *) "logLevel", NULL
12438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12439 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12440 if (!SWIG_IsOK(ecode1
)) {
12441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12443 arg1
= static_cast< wxLogLevel
>(val1
);
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 wxLog::SetLogLevel(arg1
);
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 resultobj
= SWIG_Py_Void();
12457 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12458 PyObject
*resultobj
= 0;
12460 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 wxLog::DontCreateOnDemand();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_Py_Void();
12474 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
= 0;
12476 bool arg1
= (bool) true ;
12479 PyObject
* obj0
= 0 ;
12480 char * kwnames
[] = {
12481 (char *) "bRepetCounting", NULL
12484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12486 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12487 if (!SWIG_IsOK(ecode1
)) {
12488 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12490 arg1
= static_cast< bool >(val1
);
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 wxLog::SetRepetitionCounting(arg1
);
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_Py_Void();
12505 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12506 PyObject
*resultobj
= 0;
12509 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (bool)wxLog::GetRepetitionCounting();
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12525 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
= 0;
12528 unsigned long val1
;
12530 PyObject
* obj0
= 0 ;
12531 char * kwnames
[] = {
12532 (char *) "ulMask", NULL
12535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12536 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12537 if (!SWIG_IsOK(ecode1
)) {
12538 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12540 arg1
= static_cast< wxTraceMask
>(val1
);
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 wxLog::SetTraceMask(arg1
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= SWIG_Py_Void();
12554 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
= 0;
12556 wxString
*arg1
= 0 ;
12557 bool temp1
= false ;
12558 PyObject
* obj0
= 0 ;
12559 char * kwnames
[] = {
12560 (char *) "str", NULL
12563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12565 arg1
= wxString_in_helper(obj0
);
12566 if (arg1
== NULL
) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 wxLog::AddTraceMask((wxString
const &)*arg1
);
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= SWIG_Py_Void();
12590 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12591 PyObject
*resultobj
= 0;
12592 wxString
*arg1
= 0 ;
12593 bool temp1
= false ;
12594 PyObject
* obj0
= 0 ;
12595 char * kwnames
[] = {
12596 (char *) "str", NULL
12599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12601 arg1
= wxString_in_helper(obj0
);
12602 if (arg1
== NULL
) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 resultobj
= SWIG_Py_Void();
12626 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12627 PyObject
*resultobj
= 0;
12629 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 wxLog::ClearTraceMasks();
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_Py_Void();
12643 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12644 PyObject
*resultobj
= 0;
12645 wxArrayString
*result
= 0 ;
12647 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12652 result
= (wxArrayString
*) &_result_ref
;
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12658 resultobj
= wxArrayString2PyList_helper(*result
);
12666 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
= 0;
12668 wxChar
*arg1
= (wxChar
*) 0 ;
12671 PyObject
* obj0
= 0 ;
12672 char * kwnames
[] = {
12673 (char *) "ts", NULL
12676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12681 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 wxLog::SetTimestamp((wxChar
const *)arg1
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_Py_Void();
12695 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12696 PyObject
*resultobj
= 0;
12699 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (bool)wxLog::GetVerbose();
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12715 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12716 PyObject
*resultobj
= 0;
12717 wxTraceMask result
;
12719 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (wxTraceMask
)wxLog::GetTraceMask();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12733 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
= 0;
12735 wxChar
*arg1
= (wxChar
*) 0 ;
12739 PyObject
* obj0
= 0 ;
12740 char * kwnames
[] = {
12741 (char *) "mask", NULL
12744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12746 if (!SWIG_IsOK(res1
)) {
12747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12749 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12752 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12765 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12766 PyObject
*resultobj
= 0;
12769 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (wxLogLevel
)wxLog::GetLogLevel();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12783 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12784 PyObject
*resultobj
= 0;
12785 wxChar
*result
= 0 ;
12787 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12790 result
= (wxChar
*)wxLog::GetTimestamp();
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12801 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12802 PyObject
*resultobj
= 0;
12805 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= wxLog_TimeStamp();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12825 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12826 PyObject
*resultobj
= 0;
12827 wxLog
*arg1
= (wxLog
*) 0 ;
12830 PyObject
*swig_obj
[1] ;
12832 if (!args
) SWIG_fail
;
12833 swig_obj
[0] = args
;
12834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12835 if (!SWIG_IsOK(res1
)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12838 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 wxLog_Destroy(arg1
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= SWIG_Py_Void();
12852 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12855 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12856 return SWIG_Py_Void();
12859 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12860 return SWIG_Python_InitShadowInstance(args
);
12863 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12864 PyObject
*resultobj
= 0;
12865 wxLogStderr
*result
= 0 ;
12867 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (wxLogStderr
*)new wxLogStderr();
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12881 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12884 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12885 return SWIG_Py_Void();
12888 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12889 return SWIG_Python_InitShadowInstance(args
);
12892 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
= 0;
12894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12895 wxLogTextCtrl
*result
= 0 ;
12898 PyObject
* obj0
= 0 ;
12899 char * kwnames
[] = {
12900 (char *) "pTextCtrl", NULL
12903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12905 if (!SWIG_IsOK(res1
)) {
12906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12908 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12922 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12924 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12925 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12926 return SWIG_Py_Void();
12929 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12930 return SWIG_Python_InitShadowInstance(args
);
12933 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12934 PyObject
*resultobj
= 0;
12935 wxLogGui
*result
= 0 ;
12937 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 result
= (wxLogGui
*)new wxLogGui();
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
12951 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12954 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
12955 return SWIG_Py_Void();
12958 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12959 return SWIG_Python_InitShadowInstance(args
);
12962 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
= 0;
12964 wxFrame
*arg1
= (wxFrame
*) 0 ;
12965 wxString
*arg2
= 0 ;
12966 bool arg3
= (bool) true ;
12967 bool arg4
= (bool) true ;
12968 wxLogWindow
*result
= 0 ;
12971 bool temp2
= false ;
12976 PyObject
* obj0
= 0 ;
12977 PyObject
* obj1
= 0 ;
12978 PyObject
* obj2
= 0 ;
12979 PyObject
* obj3
= 0 ;
12980 char * kwnames
[] = {
12981 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
12984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12986 if (!SWIG_IsOK(res1
)) {
12987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
12989 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12991 arg2
= wxString_in_helper(obj1
);
12992 if (arg2
== NULL
) SWIG_fail
;
12996 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12997 if (!SWIG_IsOK(ecode3
)) {
12998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
13000 arg3
= static_cast< bool >(val3
);
13003 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13004 if (!SWIG_IsOK(ecode4
)) {
13005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
13007 arg4
= static_cast< bool >(val4
);
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
13030 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
= 0;
13032 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13033 bool arg2
= (bool) true ;
13038 PyObject
* obj0
= 0 ;
13039 PyObject
* obj1
= 0 ;
13040 char * kwnames
[] = {
13041 (char *) "self",(char *) "bShow", NULL
13044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13046 if (!SWIG_IsOK(res1
)) {
13047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13049 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13051 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13052 if (!SWIG_IsOK(ecode2
)) {
13053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
13055 arg2
= static_cast< bool >(val2
);
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 (arg1
)->Show(arg2
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_Py_Void();
13070 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13071 PyObject
*resultobj
= 0;
13072 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13073 wxFrame
*result
= 0 ;
13076 PyObject
*swig_obj
[1] ;
13078 if (!args
) SWIG_fail
;
13079 swig_obj
[0] = args
;
13080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13081 if (!SWIG_IsOK(res1
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13084 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= wxPyMake_wxObject(result
, (bool)0);
13100 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13101 PyObject
*resultobj
= 0;
13102 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13103 wxLog
*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_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13114 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13128 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13129 PyObject
*resultobj
= 0;
13130 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13134 PyObject
*swig_obj
[1] ;
13136 if (!args
) SWIG_fail
;
13137 swig_obj
[0] = args
;
13138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13139 if (!SWIG_IsOK(res1
)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13142 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13158 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
= 0;
13160 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13166 PyObject
* obj0
= 0 ;
13167 PyObject
* obj1
= 0 ;
13168 char * kwnames
[] = {
13169 (char *) "self",(char *) "bDoPass", NULL
13172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13174 if (!SWIG_IsOK(res1
)) {
13175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13177 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13178 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13179 if (!SWIG_IsOK(ecode2
)) {
13180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13182 arg2
= static_cast< bool >(val2
);
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 (arg1
)->PassMessages(arg2
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= SWIG_Py_Void();
13196 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13199 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13200 return SWIG_Py_Void();
13203 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13204 return SWIG_Python_InitShadowInstance(args
);
13207 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
= 0;
13209 wxLog
*arg1
= (wxLog
*) 0 ;
13210 wxLogChain
*result
= 0 ;
13213 PyObject
* obj0
= 0 ;
13214 char * kwnames
[] = {
13215 (char *) "logger", NULL
13218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13220 if (!SWIG_IsOK(res1
)) {
13221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13223 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 result
= (wxLogChain
*)new wxLogChain(arg1
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13237 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
= 0;
13239 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13240 wxLog
*arg2
= (wxLog
*) 0 ;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 char * kwnames
[] = {
13248 (char *) "self",(char *) "logger", NULL
13251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13253 if (!SWIG_IsOK(res1
)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13256 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13258 if (!SWIG_IsOK(res2
)) {
13259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13261 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 (arg1
)->SetLog(arg2
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_Py_Void();
13275 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
= 0;
13277 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 char * kwnames
[] = {
13286 (char *) "self",(char *) "bDoPass", NULL
13289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13291 if (!SWIG_IsOK(res1
)) {
13292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13294 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13295 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13296 if (!SWIG_IsOK(ecode2
)) {
13297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13299 arg2
= static_cast< bool >(val2
);
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 (arg1
)->PassMessages(arg2
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= SWIG_Py_Void();
13313 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 PyObject
*resultobj
= 0;
13315 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13319 PyObject
*swig_obj
[1] ;
13321 if (!args
) SWIG_fail
;
13322 swig_obj
[0] = args
;
13323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13324 if (!SWIG_IsOK(res1
)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13327 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (bool)(arg1
)->IsPassingMessages();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13343 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13344 PyObject
*resultobj
= 0;
13345 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13346 wxLog
*result
= 0 ;
13349 PyObject
*swig_obj
[1] ;
13351 if (!args
) SWIG_fail
;
13352 swig_obj
[0] = args
;
13353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13354 if (!SWIG_IsOK(res1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13357 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 result
= (wxLog
*)(arg1
)->GetOldLog();
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13371 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13374 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13375 return SWIG_Py_Void();
13378 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13379 return SWIG_Python_InitShadowInstance(args
);
13382 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 PyObject
*resultobj
= 0;
13384 wxLogBuffer
*result
= 0 ;
13386 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (wxLogBuffer
*)new wxLogBuffer();
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13400 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13401 PyObject
*resultobj
= 0;
13402 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13403 wxString
*result
= 0 ;
13406 PyObject
*swig_obj
[1] ;
13408 if (!args
) SWIG_fail
;
13409 swig_obj
[0] = args
;
13410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13411 if (!SWIG_IsOK(res1
)) {
13412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13414 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13419 result
= (wxString
*) &_result_ref
;
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13428 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13437 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13440 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13441 return SWIG_Py_Void();
13444 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13445 return SWIG_Python_InitShadowInstance(args
);
13448 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13449 PyObject
*resultobj
= 0;
13450 unsigned long result
;
13452 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (unsigned long)wxSysErrorCode();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13466 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
= 0;
13468 unsigned long arg1
= (unsigned long) 0 ;
13470 unsigned long val1
;
13472 PyObject
* obj0
= 0 ;
13473 char * kwnames
[] = {
13474 (char *) "nErrCode", NULL
13477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13479 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13480 if (!SWIG_IsOK(ecode1
)) {
13481 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13483 arg1
= static_cast< unsigned long >(val1
);
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= wxSysErrorMsg(arg1
);
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13504 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
= 0;
13506 wxString
*arg1
= 0 ;
13507 bool temp1
= false ;
13508 PyObject
* obj0
= 0 ;
13509 char * kwnames
[] = {
13510 (char *) "msg", NULL
13513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13515 arg1
= wxString_in_helper(obj0
);
13516 if (arg1
== NULL
) SWIG_fail
;
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 wxPyLogFatalError((wxString
const &)*arg1
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= SWIG_Py_Void();
13540 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
= 0;
13542 wxString
*arg1
= 0 ;
13543 bool temp1
= false ;
13544 PyObject
* obj0
= 0 ;
13545 char * kwnames
[] = {
13546 (char *) "msg", NULL
13549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13551 arg1
= wxString_in_helper(obj0
);
13552 if (arg1
== NULL
) SWIG_fail
;
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13557 wxPyLogError((wxString
const &)*arg1
);
13558 wxPyEndAllowThreads(__tstate
);
13559 if (PyErr_Occurred()) SWIG_fail
;
13561 resultobj
= SWIG_Py_Void();
13576 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
= 0;
13578 wxString
*arg1
= 0 ;
13579 bool temp1
= false ;
13580 PyObject
* obj0
= 0 ;
13581 char * kwnames
[] = {
13582 (char *) "msg", NULL
13585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13587 arg1
= wxString_in_helper(obj0
);
13588 if (arg1
== NULL
) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 wxPyLogWarning((wxString
const &)*arg1
);
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= SWIG_Py_Void();
13612 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13613 PyObject
*resultobj
= 0;
13614 wxString
*arg1
= 0 ;
13615 bool temp1
= false ;
13616 PyObject
* obj0
= 0 ;
13617 char * kwnames
[] = {
13618 (char *) "msg", NULL
13621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13623 arg1
= wxString_in_helper(obj0
);
13624 if (arg1
== NULL
) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 wxPyLogMessage((wxString
const &)*arg1
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_Py_Void();
13648 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
= 0;
13650 wxString
*arg1
= 0 ;
13651 bool temp1
= false ;
13652 PyObject
* obj0
= 0 ;
13653 char * kwnames
[] = {
13654 (char *) "msg", NULL
13657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13659 arg1
= wxString_in_helper(obj0
);
13660 if (arg1
== NULL
) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 wxPyLogInfo((wxString
const &)*arg1
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= SWIG_Py_Void();
13684 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
= 0;
13686 wxString
*arg1
= 0 ;
13687 bool temp1
= false ;
13688 PyObject
* obj0
= 0 ;
13689 char * kwnames
[] = {
13690 (char *) "msg", NULL
13693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13695 arg1
= wxString_in_helper(obj0
);
13696 if (arg1
== NULL
) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 wxPyLogDebug((wxString
const &)*arg1
);
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= SWIG_Py_Void();
13720 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
= 0;
13722 wxString
*arg1
= 0 ;
13723 bool temp1
= false ;
13724 PyObject
* obj0
= 0 ;
13725 char * kwnames
[] = {
13726 (char *) "msg", NULL
13729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13731 arg1
= wxString_in_helper(obj0
);
13732 if (arg1
== NULL
) SWIG_fail
;
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 wxPyLogVerbose((wxString
const &)*arg1
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= SWIG_Py_Void();
13756 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
= 0;
13758 wxString
*arg1
= 0 ;
13759 bool temp1
= false ;
13760 PyObject
* obj0
= 0 ;
13761 char * kwnames
[] = {
13762 (char *) "msg", NULL
13765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13767 arg1
= wxString_in_helper(obj0
);
13768 if (arg1
== NULL
) SWIG_fail
;
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 wxPyLogStatus((wxString
const &)*arg1
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_Py_Void();
13792 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
= 0;
13794 wxFrame
*arg1
= (wxFrame
*) 0 ;
13795 wxString
*arg2
= 0 ;
13798 bool temp2
= false ;
13799 PyObject
* obj0
= 0 ;
13800 PyObject
* obj1
= 0 ;
13801 char * kwnames
[] = {
13802 (char *) "pFrame",(char *) "msg", NULL
13805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13807 if (!SWIG_IsOK(res1
)) {
13808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13810 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13812 arg2
= wxString_in_helper(obj1
);
13813 if (arg2
== NULL
) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_Py_Void();
13837 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13838 PyObject
*resultobj
= 0;
13839 wxString
*arg1
= 0 ;
13840 bool temp1
= false ;
13841 PyObject
* obj0
= 0 ;
13842 char * kwnames
[] = {
13843 (char *) "msg", NULL
13846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13848 arg1
= wxString_in_helper(obj0
);
13849 if (arg1
== NULL
) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 wxPyLogSysError((wxString
const &)*arg1
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_Py_Void();
13873 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
= 0;
13875 unsigned long arg1
;
13876 wxString
*arg2
= 0 ;
13877 unsigned long val1
;
13879 bool temp2
= false ;
13880 PyObject
* obj0
= 0 ;
13881 PyObject
* obj1
= 0 ;
13882 char * kwnames
[] = {
13883 (char *) "level",(char *) "msg", NULL
13886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13887 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13888 if (!SWIG_IsOK(ecode1
)) {
13889 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13891 arg1
= static_cast< unsigned long >(val1
);
13893 arg2
= wxString_in_helper(obj1
);
13894 if (arg2
== NULL
) SWIG_fail
;
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_Py_Void();
13918 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13919 PyObject
*resultobj
= 0;
13920 unsigned long arg1
;
13921 wxString
*arg2
= 0 ;
13922 unsigned long val1
;
13924 bool temp2
= false ;
13926 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13927 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13928 if (!SWIG_IsOK(ecode1
)) {
13929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13931 arg1
= static_cast< unsigned long >(val1
);
13933 arg2
= wxString_in_helper(swig_obj
[1]);
13934 if (arg2
== NULL
) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= SWIG_Py_Void();
13958 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13959 PyObject
*resultobj
= 0;
13960 wxString
*arg1
= 0 ;
13961 wxString
*arg2
= 0 ;
13962 bool temp1
= false ;
13963 bool temp2
= false ;
13965 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13967 arg1
= wxString_in_helper(swig_obj
[0]);
13968 if (arg1
== NULL
) SWIG_fail
;
13972 arg2
= wxString_in_helper(swig_obj
[1]);
13973 if (arg2
== NULL
) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= SWIG_Py_Void();
14005 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
14009 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
14015 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
14018 if (!_v
) goto check_1
;
14019 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
14024 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
14028 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
14033 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
= 0;
14035 wxString
*arg1
= 0 ;
14036 wxString
*arg2
= 0 ;
14037 bool temp1
= false ;
14038 bool temp2
= false ;
14039 PyObject
* obj0
= 0 ;
14040 PyObject
* obj1
= 0 ;
14041 char * kwnames
[] = {
14042 (char *) "title",(char *) "text", NULL
14045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14047 arg1
= wxString_in_helper(obj0
);
14048 if (arg1
== NULL
) SWIG_fail
;
14052 arg2
= wxString_in_helper(obj1
);
14053 if (arg2
== NULL
) SWIG_fail
;
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= SWIG_Py_Void();
14085 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14086 PyObject
*resultobj
= 0;
14087 wxLogNull
*result
= 0 ;
14089 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (wxLogNull
*)new wxLogNull();
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14103 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14104 PyObject
*resultobj
= 0;
14105 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14108 PyObject
*swig_obj
[1] ;
14110 if (!args
) SWIG_fail
;
14111 swig_obj
[0] = args
;
14112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14113 if (!SWIG_IsOK(res1
)) {
14114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14116 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_Py_Void();
14131 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14134 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14135 return SWIG_Py_Void();
14138 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14139 return SWIG_Python_InitShadowInstance(args
);
14142 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14143 PyObject
*resultobj
= 0;
14144 wxPyLog
*result
= 0 ;
14146 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (wxPyLog
*)new wxPyLog();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14160 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
= 0;
14162 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14163 PyObject
*arg2
= (PyObject
*) 0 ;
14164 PyObject
*arg3
= (PyObject
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 PyObject
* obj1
= 0 ;
14169 PyObject
* obj2
= 0 ;
14170 char * kwnames
[] = {
14171 (char *) "self",(char *) "self",(char *) "_class", NULL
14174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14176 if (!SWIG_IsOK(res1
)) {
14177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14179 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14184 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= SWIG_Py_Void();
14195 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14197 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14198 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14199 return SWIG_Py_Void();
14202 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14203 return SWIG_Python_InitShadowInstance(args
);
14206 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
= 0;
14209 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14210 int arg3
= (int) wxKILL_NOCHILDREN
;
14211 wxKillError result
;
14218 PyObject
* obj0
= 0 ;
14219 PyObject
* obj1
= 0 ;
14220 PyObject
* obj2
= 0 ;
14221 char * kwnames
[] = {
14222 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14227 if (!SWIG_IsOK(ecode1
)) {
14228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14230 arg1
= static_cast< int >(val1
);
14232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14233 if (!SWIG_IsOK(ecode2
)) {
14234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14236 arg2
= static_cast< wxSignal
>(val2
);
14239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14240 if (!SWIG_IsOK(ecode3
)) {
14241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14243 arg3
= static_cast< int >(val3
);
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= SWIG_From_int(static_cast< int >(result
));
14258 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
= 0;
14264 PyObject
* obj0
= 0 ;
14265 char * kwnames
[] = {
14266 (char *) "pid", NULL
14269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14270 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14271 if (!SWIG_IsOK(ecode1
)) {
14272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14274 arg1
= static_cast< int >(val1
);
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (bool)wxPyProcess::Exists(arg1
);
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14290 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
= 0;
14292 wxString
*arg1
= 0 ;
14293 int arg2
= (int) wxEXEC_ASYNC
;
14294 wxPyProcess
*result
= 0 ;
14295 bool temp1
= false ;
14298 PyObject
* obj0
= 0 ;
14299 PyObject
* obj1
= 0 ;
14300 char * kwnames
[] = {
14301 (char *) "cmd",(char *) "flags", NULL
14304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14306 arg1
= wxString_in_helper(obj0
);
14307 if (arg1
== NULL
) SWIG_fail
;
14311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14312 if (!SWIG_IsOK(ecode2
)) {
14313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14315 arg2
= static_cast< int >(val2
);
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14338 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
= 0;
14340 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14341 int arg2
= (int) -1 ;
14342 wxPyProcess
*result
= 0 ;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 char * kwnames
[] = {
14350 (char *) "parent",(char *) "id", NULL
14353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14356 if (!SWIG_IsOK(res1
)) {
14357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14359 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14363 if (!SWIG_IsOK(ecode2
)) {
14364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14366 arg2
= static_cast< int >(val2
);
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14381 SWIGINTERN PyObject
*_wrap_delete_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14382 PyObject
*resultobj
= 0;
14383 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14386 PyObject
*swig_obj
[1] ;
14388 if (!args
) SWIG_fail
;
14389 swig_obj
[0] = args
;
14390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_DISOWN
| 0 );
14391 if (!SWIG_IsOK(res1
)) {
14392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Process" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14394 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_Py_Void();
14409 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
= 0;
14411 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14412 PyObject
*arg2
= (PyObject
*) 0 ;
14413 PyObject
*arg3
= (PyObject
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 PyObject
* obj2
= 0 ;
14419 char * kwnames
[] = {
14420 (char *) "self",(char *) "self",(char *) "_class", NULL
14423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14425 if (!SWIG_IsOK(res1
)) {
14426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14428 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_Py_Void();
14444 SWIGINTERN PyObject
*_wrap_Process_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14445 PyObject
*resultobj
= 0;
14446 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14450 PyObject
*swig_obj
[1] ;
14452 if (!args
) SWIG_fail
;
14453 swig_obj
[0] = args
;
14454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14455 if (!SWIG_IsOK(res1
)) {
14456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetPid" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14458 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (long)((wxPyProcess
const *)arg1
)->GetPid();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= SWIG_From_long(static_cast< long >(result
));
14472 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
= 0;
14474 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 PyObject
* obj2
= 0 ;
14486 char * kwnames
[] = {
14487 (char *) "self",(char *) "pid",(char *) "status", NULL
14490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14492 if (!SWIG_IsOK(res1
)) {
14493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14495 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14497 if (!SWIG_IsOK(ecode2
)) {
14498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14500 arg2
= static_cast< int >(val2
);
14501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14502 if (!SWIG_IsOK(ecode3
)) {
14503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14505 arg3
= static_cast< int >(val3
);
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 (arg1
)->OnTerminate(arg2
,arg3
);
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14512 resultobj
= SWIG_Py_Void();
14519 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14520 PyObject
*resultobj
= 0;
14521 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14524 PyObject
*swig_obj
[1] ;
14526 if (!args
) SWIG_fail
;
14527 swig_obj
[0] = args
;
14528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14529 if (!SWIG_IsOK(res1
)) {
14530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14532 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14535 (arg1
)->Redirect();
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_Py_Void();
14546 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14547 PyObject
*resultobj
= 0;
14548 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14552 PyObject
*swig_obj
[1] ;
14554 if (!args
) SWIG_fail
;
14555 swig_obj
[0] = args
;
14556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14557 if (!SWIG_IsOK(res1
)) {
14558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14560 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (bool)(arg1
)->IsRedirected();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14576 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14577 PyObject
*resultobj
= 0;
14578 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14581 PyObject
*swig_obj
[1] ;
14583 if (!args
) SWIG_fail
;
14584 swig_obj
[0] = args
;
14585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14586 if (!SWIG_IsOK(res1
)) {
14587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14589 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 resultobj
= SWIG_Py_Void();
14603 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14604 PyObject
*resultobj
= 0;
14605 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14606 wxInputStream
*result
= 0 ;
14609 PyObject
*swig_obj
[1] ;
14611 if (!args
) SWIG_fail
;
14612 swig_obj
[0] = args
;
14613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14614 if (!SWIG_IsOK(res1
)) {
14615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14617 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14625 wxPyInputStream
* _ptr
= NULL
;
14628 _ptr
= new wxPyInputStream(result
);
14630 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14638 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14639 PyObject
*resultobj
= 0;
14640 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14641 wxInputStream
*result
= 0 ;
14644 PyObject
*swig_obj
[1] ;
14646 if (!args
) SWIG_fail
;
14647 swig_obj
[0] = args
;
14648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14649 if (!SWIG_IsOK(res1
)) {
14650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14652 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14660 wxPyInputStream
* _ptr
= NULL
;
14663 _ptr
= new wxPyInputStream(result
);
14665 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14673 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14674 PyObject
*resultobj
= 0;
14675 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14676 wxOutputStream
*result
= 0 ;
14679 PyObject
*swig_obj
[1] ;
14681 if (!args
) SWIG_fail
;
14682 swig_obj
[0] = args
;
14683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14684 if (!SWIG_IsOK(res1
)) {
14685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14687 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14701 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14702 PyObject
*resultobj
= 0;
14703 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14706 PyObject
*swig_obj
[1] ;
14708 if (!args
) SWIG_fail
;
14709 swig_obj
[0] = args
;
14710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14711 if (!SWIG_IsOK(res1
)) {
14712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14714 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->CloseOutput();
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 resultobj
= SWIG_Py_Void();
14728 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14729 PyObject
*resultobj
= 0;
14730 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14734 PyObject
*swig_obj
[1] ;
14736 if (!args
) SWIG_fail
;
14737 swig_obj
[0] = args
;
14738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14739 if (!SWIG_IsOK(res1
)) {
14740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14742 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14758 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(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_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14772 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14788 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(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_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14802 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14818 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14821 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14822 return SWIG_Py_Void();
14825 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14826 return SWIG_Python_InitShadowInstance(args
);
14829 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14830 PyObject
*resultobj
= 0;
14831 int arg1
= (int) 0 ;
14832 int arg2
= (int) 0 ;
14833 int arg3
= (int) 0 ;
14834 wxProcessEvent
*result
= 0 ;
14841 PyObject
* obj0
= 0 ;
14842 PyObject
* obj1
= 0 ;
14843 PyObject
* obj2
= 0 ;
14844 char * kwnames
[] = {
14845 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14850 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14851 if (!SWIG_IsOK(ecode1
)) {
14852 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14854 arg1
= static_cast< int >(val1
);
14857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14858 if (!SWIG_IsOK(ecode2
)) {
14859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14861 arg2
= static_cast< int >(val2
);
14864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14865 if (!SWIG_IsOK(ecode3
)) {
14866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14868 arg3
= static_cast< int >(val3
);
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14883 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14884 PyObject
*resultobj
= 0;
14885 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14889 PyObject
*swig_obj
[1] ;
14891 if (!args
) SWIG_fail
;
14892 swig_obj
[0] = args
;
14893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14894 if (!SWIG_IsOK(res1
)) {
14895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14897 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 result
= (int)(arg1
)->GetPid();
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14904 resultobj
= SWIG_From_int(static_cast< int >(result
));
14911 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14912 PyObject
*resultobj
= 0;
14913 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14917 PyObject
*swig_obj
[1] ;
14919 if (!args
) SWIG_fail
;
14920 swig_obj
[0] = args
;
14921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14922 if (!SWIG_IsOK(res1
)) {
14923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14925 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= (int)(arg1
)->GetExitCode();
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 resultobj
= SWIG_From_int(static_cast< int >(result
));
14939 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14940 PyObject
*resultobj
= 0;
14941 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14947 PyObject
*swig_obj
[2] ;
14949 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14951 if (!SWIG_IsOK(res1
)) {
14952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14954 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14955 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14956 if (!SWIG_IsOK(ecode2
)) {
14957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
14959 arg2
= static_cast< int >(val2
);
14960 if (arg1
) (arg1
)->m_pid
= arg2
;
14962 resultobj
= SWIG_Py_Void();
14969 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14970 PyObject
*resultobj
= 0;
14971 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14975 PyObject
*swig_obj
[1] ;
14977 if (!args
) SWIG_fail
;
14978 swig_obj
[0] = args
;
14979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14980 if (!SWIG_IsOK(res1
)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14983 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14984 result
= (int) ((arg1
)->m_pid
);
14985 resultobj
= SWIG_From_int(static_cast< int >(result
));
14992 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14993 PyObject
*resultobj
= 0;
14994 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15000 PyObject
*swig_obj
[2] ;
15002 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
15003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15004 if (!SWIG_IsOK(res1
)) {
15005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15007 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15008 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15009 if (!SWIG_IsOK(ecode2
)) {
15010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
15012 arg2
= static_cast< int >(val2
);
15013 if (arg1
) (arg1
)->m_exitcode
= arg2
;
15015 resultobj
= SWIG_Py_Void();
15022 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15023 PyObject
*resultobj
= 0;
15024 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15028 PyObject
*swig_obj
[1] ;
15030 if (!args
) SWIG_fail
;
15031 swig_obj
[0] = args
;
15032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15033 if (!SWIG_IsOK(res1
)) {
15034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15036 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15037 result
= (int) ((arg1
)->m_exitcode
);
15038 resultobj
= SWIG_From_int(static_cast< int >(result
));
15045 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15048 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
15049 return SWIG_Py_Void();
15052 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15053 return SWIG_Python_InitShadowInstance(args
);
15056 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
= 0;
15058 wxString
*arg1
= 0 ;
15059 int arg2
= (int) wxEXEC_ASYNC
;
15060 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
15062 bool temp1
= false ;
15067 PyObject
* obj0
= 0 ;
15068 PyObject
* obj1
= 0 ;
15069 PyObject
* obj2
= 0 ;
15070 char * kwnames
[] = {
15071 (char *) "command",(char *) "flags",(char *) "process", NULL
15074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15076 arg1
= wxString_in_helper(obj0
);
15077 if (arg1
== NULL
) SWIG_fail
;
15081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15082 if (!SWIG_IsOK(ecode2
)) {
15083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
15085 arg2
= static_cast< int >(val2
);
15088 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
15089 if (!SWIG_IsOK(res3
)) {
15090 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
15092 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
15095 if (!wxPyCheckForApp()) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_From_long(static_cast< long >(result
));
15116 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
= 0;
15119 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
15120 wxKillError
*arg3
= (wxKillError
*) 0 ;
15121 int arg4
= (int) wxKILL_NOCHILDREN
;
15127 wxKillError temp3
;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 PyObject
* obj2
= 0 ;
15133 char * kwnames
[] = {
15134 (char *) "pid",(char *) "sig",(char *) "flags", NULL
15140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15141 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
15142 if (!SWIG_IsOK(ecode1
)) {
15143 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
15145 arg1
= static_cast< long >(val1
);
15147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15148 if (!SWIG_IsOK(ecode2
)) {
15149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
15151 arg2
= static_cast< wxSignal
>(val2
);
15154 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
15155 if (!SWIG_IsOK(ecode4
)) {
15156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
15158 arg4
= static_cast< int >(val4
);
15161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_From_int(static_cast< int >(result
));
15169 o
= PyInt_FromLong((long) (*arg3
));
15173 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15182 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
= 0;
15184 int arg1
= (int) wxJOYSTICK1
;
15185 wxJoystick
*result
= 0 ;
15188 PyObject
* obj0
= 0 ;
15189 char * kwnames
[] = {
15190 (char *) "joystick", NULL
15193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15195 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15196 if (!SWIG_IsOK(ecode1
)) {
15197 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15199 arg1
= static_cast< int >(val1
);
15202 if (!wxPyCheckForApp()) SWIG_fail
;
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15204 result
= (wxJoystick
*)new wxJoystick(arg1
);
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15215 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15216 PyObject
*resultobj
= 0;
15217 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15220 PyObject
*swig_obj
[1] ;
15222 if (!args
) SWIG_fail
;
15223 swig_obj
[0] = args
;
15224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15225 if (!SWIG_IsOK(res1
)) {
15226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15228 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= SWIG_Py_Void();
15243 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15244 PyObject
*resultobj
= 0;
15245 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15249 PyObject
*swig_obj
[1] ;
15251 if (!args
) SWIG_fail
;
15252 swig_obj
[0] = args
;
15253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15254 if (!SWIG_IsOK(res1
)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15257 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (arg1
)->GetPosition();
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15271 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15272 PyObject
*resultobj
= 0;
15273 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15277 PyObject
*swig_obj
[1] ;
15279 if (!args
) SWIG_fail
;
15280 swig_obj
[0] = args
;
15281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15282 if (!SWIG_IsOK(res1
)) {
15283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15285 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (int)(arg1
)->GetZPosition();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= SWIG_From_int(static_cast< int >(result
));
15299 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15300 PyObject
*resultobj
= 0;
15301 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15305 PyObject
*swig_obj
[1] ;
15307 if (!args
) SWIG_fail
;
15308 swig_obj
[0] = args
;
15309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15310 if (!SWIG_IsOK(res1
)) {
15311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15313 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (int)(arg1
)->GetButtonState();
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= SWIG_From_int(static_cast< int >(result
));
15327 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15328 PyObject
*resultobj
= 0;
15329 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15333 PyObject
*swig_obj
[1] ;
15335 if (!args
) SWIG_fail
;
15336 swig_obj
[0] = args
;
15337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15338 if (!SWIG_IsOK(res1
)) {
15339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15341 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (int)(arg1
)->GetPOVPosition();
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= SWIG_From_int(static_cast< int >(result
));
15355 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15356 PyObject
*resultobj
= 0;
15357 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15361 PyObject
*swig_obj
[1] ;
15363 if (!args
) SWIG_fail
;
15364 swig_obj
[0] = args
;
15365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15366 if (!SWIG_IsOK(res1
)) {
15367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15369 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (int)(arg1
)->GetPOVCTSPosition();
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= SWIG_From_int(static_cast< int >(result
));
15383 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15384 PyObject
*resultobj
= 0;
15385 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15389 PyObject
*swig_obj
[1] ;
15391 if (!args
) SWIG_fail
;
15392 swig_obj
[0] = args
;
15393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15394 if (!SWIG_IsOK(res1
)) {
15395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15397 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (int)(arg1
)->GetRudderPosition();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_From_int(static_cast< int >(result
));
15411 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15412 PyObject
*resultobj
= 0;
15413 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15417 PyObject
*swig_obj
[1] ;
15419 if (!args
) SWIG_fail
;
15420 swig_obj
[0] = args
;
15421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15422 if (!SWIG_IsOK(res1
)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15425 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (int)(arg1
)->GetUPosition();
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15432 resultobj
= SWIG_From_int(static_cast< int >(result
));
15439 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15440 PyObject
*resultobj
= 0;
15441 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15445 PyObject
*swig_obj
[1] ;
15447 if (!args
) SWIG_fail
;
15448 swig_obj
[0] = args
;
15449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15450 if (!SWIG_IsOK(res1
)) {
15451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15453 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= (int)(arg1
)->GetVPosition();
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= SWIG_From_int(static_cast< int >(result
));
15467 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15468 PyObject
*resultobj
= 0;
15469 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15473 PyObject
*swig_obj
[1] ;
15475 if (!args
) SWIG_fail
;
15476 swig_obj
[0] = args
;
15477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15478 if (!SWIG_IsOK(res1
)) {
15479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15481 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (int)(arg1
)->GetMovementThreshold();
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15488 resultobj
= SWIG_From_int(static_cast< int >(result
));
15495 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15496 PyObject
*resultobj
= 0;
15497 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15503 PyObject
* obj0
= 0 ;
15504 PyObject
* obj1
= 0 ;
15505 char * kwnames
[] = {
15506 (char *) "self",(char *) "threshold", NULL
15509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15511 if (!SWIG_IsOK(res1
)) {
15512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15514 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15516 if (!SWIG_IsOK(ecode2
)) {
15517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15519 arg2
= static_cast< int >(val2
);
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 (arg1
)->SetMovementThreshold(arg2
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= SWIG_Py_Void();
15533 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15534 PyObject
*resultobj
= 0;
15535 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15539 PyObject
*swig_obj
[1] ;
15541 if (!args
) SWIG_fail
;
15542 swig_obj
[0] = args
;
15543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15544 if (!SWIG_IsOK(res1
)) {
15545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15547 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 result
= (bool)(arg1
)->IsOk();
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15563 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(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_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15577 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (int)(arg1
)->GetNumberJoysticks();
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= SWIG_From_int(static_cast< int >(result
));
15591 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15592 PyObject
*resultobj
= 0;
15593 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15597 PyObject
*swig_obj
[1] ;
15599 if (!args
) SWIG_fail
;
15600 swig_obj
[0] = args
;
15601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15602 if (!SWIG_IsOK(res1
)) {
15603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15605 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (int)(arg1
)->GetManufacturerId();
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15612 resultobj
= SWIG_From_int(static_cast< int >(result
));
15619 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15620 PyObject
*resultobj
= 0;
15621 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15625 PyObject
*swig_obj
[1] ;
15627 if (!args
) SWIG_fail
;
15628 swig_obj
[0] = args
;
15629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15630 if (!SWIG_IsOK(res1
)) {
15631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15633 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (int)(arg1
)->GetProductId();
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= SWIG_From_int(static_cast< int >(result
));
15647 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15648 PyObject
*resultobj
= 0;
15649 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15653 PyObject
*swig_obj
[1] ;
15655 if (!args
) SWIG_fail
;
15656 swig_obj
[0] = args
;
15657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15658 if (!SWIG_IsOK(res1
)) {
15659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15661 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (arg1
)->GetProductName();
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15681 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15682 PyObject
*resultobj
= 0;
15683 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15687 PyObject
*swig_obj
[1] ;
15689 if (!args
) SWIG_fail
;
15690 swig_obj
[0] = args
;
15691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15692 if (!SWIG_IsOK(res1
)) {
15693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15695 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (int)(arg1
)->GetXMin();
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 resultobj
= SWIG_From_int(static_cast< int >(result
));
15709 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15710 PyObject
*resultobj
= 0;
15711 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15715 PyObject
*swig_obj
[1] ;
15717 if (!args
) SWIG_fail
;
15718 swig_obj
[0] = args
;
15719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15720 if (!SWIG_IsOK(res1
)) {
15721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15723 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (int)(arg1
)->GetYMin();
15727 wxPyEndAllowThreads(__tstate
);
15728 if (PyErr_Occurred()) SWIG_fail
;
15730 resultobj
= SWIG_From_int(static_cast< int >(result
));
15737 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15738 PyObject
*resultobj
= 0;
15739 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15743 PyObject
*swig_obj
[1] ;
15745 if (!args
) SWIG_fail
;
15746 swig_obj
[0] = args
;
15747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15748 if (!SWIG_IsOK(res1
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15751 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 result
= (int)(arg1
)->GetZMin();
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= SWIG_From_int(static_cast< int >(result
));
15765 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15766 PyObject
*resultobj
= 0;
15767 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15771 PyObject
*swig_obj
[1] ;
15773 if (!args
) SWIG_fail
;
15774 swig_obj
[0] = args
;
15775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15776 if (!SWIG_IsOK(res1
)) {
15777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15779 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15782 result
= (int)(arg1
)->GetXMax();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= SWIG_From_int(static_cast< int >(result
));
15793 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15794 PyObject
*resultobj
= 0;
15795 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15799 PyObject
*swig_obj
[1] ;
15801 if (!args
) SWIG_fail
;
15802 swig_obj
[0] = args
;
15803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15804 if (!SWIG_IsOK(res1
)) {
15805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15807 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (int)(arg1
)->GetYMax();
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= SWIG_From_int(static_cast< int >(result
));
15821 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15822 PyObject
*resultobj
= 0;
15823 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15827 PyObject
*swig_obj
[1] ;
15829 if (!args
) SWIG_fail
;
15830 swig_obj
[0] = args
;
15831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15832 if (!SWIG_IsOK(res1
)) {
15833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15835 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 result
= (int)(arg1
)->GetZMax();
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= SWIG_From_int(static_cast< int >(result
));
15849 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15850 PyObject
*resultobj
= 0;
15851 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15855 PyObject
*swig_obj
[1] ;
15857 if (!args
) SWIG_fail
;
15858 swig_obj
[0] = args
;
15859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15860 if (!SWIG_IsOK(res1
)) {
15861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15863 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (int)(arg1
)->GetNumberButtons();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_From_int(static_cast< int >(result
));
15877 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15878 PyObject
*resultobj
= 0;
15879 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15883 PyObject
*swig_obj
[1] ;
15885 if (!args
) SWIG_fail
;
15886 swig_obj
[0] = args
;
15887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15888 if (!SWIG_IsOK(res1
)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15891 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (int)(arg1
)->GetNumberAxes();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= SWIG_From_int(static_cast< int >(result
));
15905 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15906 PyObject
*resultobj
= 0;
15907 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15911 PyObject
*swig_obj
[1] ;
15913 if (!args
) SWIG_fail
;
15914 swig_obj
[0] = args
;
15915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15916 if (!SWIG_IsOK(res1
)) {
15917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15919 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (int)(arg1
)->GetMaxButtons();
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_From_int(static_cast< int >(result
));
15933 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15934 PyObject
*resultobj
= 0;
15935 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15939 PyObject
*swig_obj
[1] ;
15941 if (!args
) SWIG_fail
;
15942 swig_obj
[0] = args
;
15943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15944 if (!SWIG_IsOK(res1
)) {
15945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15947 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (int)(arg1
)->GetMaxAxes();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_From_int(static_cast< int >(result
));
15961 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15962 PyObject
*resultobj
= 0;
15963 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15967 PyObject
*swig_obj
[1] ;
15969 if (!args
) SWIG_fail
;
15970 swig_obj
[0] = args
;
15971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15972 if (!SWIG_IsOK(res1
)) {
15973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15975 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 result
= (int)(arg1
)->GetPollingMin();
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15982 resultobj
= SWIG_From_int(static_cast< int >(result
));
15989 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15990 PyObject
*resultobj
= 0;
15991 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15995 PyObject
*swig_obj
[1] ;
15997 if (!args
) SWIG_fail
;
15998 swig_obj
[0] = args
;
15999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16000 if (!SWIG_IsOK(res1
)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16003 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (int)(arg1
)->GetPollingMax();
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= SWIG_From_int(static_cast< int >(result
));
16017 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16018 PyObject
*resultobj
= 0;
16019 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16023 PyObject
*swig_obj
[1] ;
16025 if (!args
) SWIG_fail
;
16026 swig_obj
[0] = args
;
16027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16028 if (!SWIG_IsOK(res1
)) {
16029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16031 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 result
= (int)(arg1
)->GetRudderMin();
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= SWIG_From_int(static_cast< int >(result
));
16045 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16046 PyObject
*resultobj
= 0;
16047 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16051 PyObject
*swig_obj
[1] ;
16053 if (!args
) SWIG_fail
;
16054 swig_obj
[0] = args
;
16055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16056 if (!SWIG_IsOK(res1
)) {
16057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16059 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= (int)(arg1
)->GetRudderMax();
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16066 resultobj
= SWIG_From_int(static_cast< int >(result
));
16073 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16074 PyObject
*resultobj
= 0;
16075 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16079 PyObject
*swig_obj
[1] ;
16081 if (!args
) SWIG_fail
;
16082 swig_obj
[0] = args
;
16083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16084 if (!SWIG_IsOK(res1
)) {
16085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16087 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16090 result
= (int)(arg1
)->GetUMin();
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= SWIG_From_int(static_cast< int >(result
));
16101 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16102 PyObject
*resultobj
= 0;
16103 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16107 PyObject
*swig_obj
[1] ;
16109 if (!args
) SWIG_fail
;
16110 swig_obj
[0] = args
;
16111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16112 if (!SWIG_IsOK(res1
)) {
16113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16115 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 result
= (int)(arg1
)->GetUMax();
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= SWIG_From_int(static_cast< int >(result
));
16129 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16130 PyObject
*resultobj
= 0;
16131 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16135 PyObject
*swig_obj
[1] ;
16137 if (!args
) SWIG_fail
;
16138 swig_obj
[0] = args
;
16139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16140 if (!SWIG_IsOK(res1
)) {
16141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16143 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 result
= (int)(arg1
)->GetVMin();
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= SWIG_From_int(static_cast< int >(result
));
16157 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16158 PyObject
*resultobj
= 0;
16159 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16163 PyObject
*swig_obj
[1] ;
16165 if (!args
) SWIG_fail
;
16166 swig_obj
[0] = args
;
16167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16168 if (!SWIG_IsOK(res1
)) {
16169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16171 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 result
= (int)(arg1
)->GetVMax();
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= SWIG_From_int(static_cast< int >(result
));
16185 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16186 PyObject
*resultobj
= 0;
16187 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16191 PyObject
*swig_obj
[1] ;
16193 if (!args
) SWIG_fail
;
16194 swig_obj
[0] = args
;
16195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16196 if (!SWIG_IsOK(res1
)) {
16197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16199 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16202 result
= (bool)(arg1
)->HasRudder();
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16215 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(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_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16229 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (bool)(arg1
)->HasZ();
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16245 SWIGINTERN PyObject
*_wrap_Joystick_HasU(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_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16259 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (bool)(arg1
)->HasU();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16275 SWIGINTERN PyObject
*_wrap_Joystick_HasV(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_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16289 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 result
= (bool)(arg1
)->HasV();
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16305 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(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_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16319 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= (bool)(arg1
)->HasPOV();
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16335 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(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_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16349 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 result
= (bool)(arg1
)->HasPOV4Dir();
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16365 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(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_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16379 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (bool)(arg1
)->HasPOVCTS();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16395 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
= 0;
16397 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16398 wxWindow
*arg2
= (wxWindow
*) 0 ;
16399 int arg3
= (int) 0 ;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 PyObject
* obj2
= 0 ;
16410 char * kwnames
[] = {
16411 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16416 if (!SWIG_IsOK(res1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16419 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16421 if (!SWIG_IsOK(res2
)) {
16422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16424 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16427 if (!SWIG_IsOK(ecode3
)) {
16428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16430 arg3
= static_cast< int >(val3
);
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16447 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16448 PyObject
*resultobj
= 0;
16449 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16453 PyObject
*swig_obj
[1] ;
16455 if (!args
) SWIG_fail
;
16456 swig_obj
[0] = args
;
16457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16458 if (!SWIG_IsOK(res1
)) {
16459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16461 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 result
= (bool)(arg1
)->ReleaseCapture();
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16477 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16480 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16481 return SWIG_Py_Void();
16484 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16485 return SWIG_Python_InitShadowInstance(args
);
16488 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
= 0;
16490 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16491 int arg2
= (int) 0 ;
16492 int arg3
= (int) wxJOYSTICK1
;
16493 int arg4
= (int) 0 ;
16494 wxJoystickEvent
*result
= 0 ;
16503 PyObject
* obj0
= 0 ;
16504 PyObject
* obj1
= 0 ;
16505 PyObject
* obj2
= 0 ;
16506 PyObject
* obj3
= 0 ;
16507 char * kwnames
[] = {
16508 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16513 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16514 if (!SWIG_IsOK(ecode1
)) {
16515 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16517 arg1
= static_cast< wxEventType
>(val1
);
16520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16521 if (!SWIG_IsOK(ecode2
)) {
16522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16524 arg2
= static_cast< int >(val2
);
16527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16528 if (!SWIG_IsOK(ecode3
)) {
16529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16531 arg3
= static_cast< int >(val3
);
16534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16535 if (!SWIG_IsOK(ecode4
)) {
16536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16538 arg4
= static_cast< int >(val4
);
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16553 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16554 PyObject
*resultobj
= 0;
16555 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16559 PyObject
*swig_obj
[1] ;
16561 if (!args
) SWIG_fail
;
16562 swig_obj
[0] = args
;
16563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16564 if (!SWIG_IsOK(res1
)) {
16565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16567 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16581 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16582 PyObject
*resultobj
= 0;
16583 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16587 PyObject
*swig_obj
[1] ;
16589 if (!args
) SWIG_fail
;
16590 swig_obj
[0] = args
;
16591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16592 if (!SWIG_IsOK(res1
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16595 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16602 resultobj
= SWIG_From_int(static_cast< int >(result
));
16609 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16610 PyObject
*resultobj
= 0;
16611 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16615 PyObject
*swig_obj
[1] ;
16617 if (!args
) SWIG_fail
;
16618 swig_obj
[0] = args
;
16619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16620 if (!SWIG_IsOK(res1
)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16623 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= SWIG_From_int(static_cast< int >(result
));
16637 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16638 PyObject
*resultobj
= 0;
16639 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16643 PyObject
*swig_obj
[1] ;
16645 if (!args
) SWIG_fail
;
16646 swig_obj
[0] = args
;
16647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16648 if (!SWIG_IsOK(res1
)) {
16649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16651 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16658 resultobj
= SWIG_From_int(static_cast< int >(result
));
16665 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16666 PyObject
*resultobj
= 0;
16667 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16671 PyObject
*swig_obj
[1] ;
16673 if (!args
) SWIG_fail
;
16674 swig_obj
[0] = args
;
16675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16676 if (!SWIG_IsOK(res1
)) {
16677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16679 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= SWIG_From_int(static_cast< int >(result
));
16693 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
= 0;
16695 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16701 PyObject
* obj0
= 0 ;
16702 PyObject
* obj1
= 0 ;
16703 char * kwnames
[] = {
16704 (char *) "self",(char *) "stick", NULL
16707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16709 if (!SWIG_IsOK(res1
)) {
16710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16712 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16714 if (!SWIG_IsOK(ecode2
)) {
16715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16717 arg2
= static_cast< int >(val2
);
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 (arg1
)->SetJoystick(arg2
);
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= SWIG_Py_Void();
16731 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
= 0;
16733 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 char * kwnames
[] = {
16742 (char *) "self",(char *) "state", NULL
16745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16747 if (!SWIG_IsOK(res1
)) {
16748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16750 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16752 if (!SWIG_IsOK(ecode2
)) {
16753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16755 arg2
= static_cast< int >(val2
);
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 (arg1
)->SetButtonState(arg2
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_Py_Void();
16769 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
= 0;
16771 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 PyObject
* obj1
= 0 ;
16779 char * kwnames
[] = {
16780 (char *) "self",(char *) "change", NULL
16783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16785 if (!SWIG_IsOK(res1
)) {
16786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16788 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16790 if (!SWIG_IsOK(ecode2
)) {
16791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16793 arg2
= static_cast< int >(val2
);
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 (arg1
)->SetButtonChange(arg2
);
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= SWIG_Py_Void();
16807 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16808 PyObject
*resultobj
= 0;
16809 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16810 wxPoint
*arg2
= 0 ;
16814 PyObject
* obj0
= 0 ;
16815 PyObject
* obj1
= 0 ;
16816 char * kwnames
[] = {
16817 (char *) "self",(char *) "pos", NULL
16820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16822 if (!SWIG_IsOK(res1
)) {
16823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16825 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16828 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= SWIG_Py_Void();
16843 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
= 0;
16845 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 char * kwnames
[] = {
16854 (char *) "self",(char *) "zPos", NULL
16857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16859 if (!SWIG_IsOK(res1
)) {
16860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16862 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16864 if (!SWIG_IsOK(ecode2
)) {
16865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16867 arg2
= static_cast< int >(val2
);
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 (arg1
)->SetZPosition(arg2
);
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 resultobj
= SWIG_Py_Void();
16881 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16882 PyObject
*resultobj
= 0;
16883 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16887 PyObject
*swig_obj
[1] ;
16889 if (!args
) SWIG_fail
;
16890 swig_obj
[0] = args
;
16891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16892 if (!SWIG_IsOK(res1
)) {
16893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16895 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16911 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(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_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16925 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16941 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(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_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16955 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16958 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16971 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
= 0;
16973 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16974 int arg2
= (int) wxJOY_BUTTON_ANY
;
16980 PyObject
* obj0
= 0 ;
16981 PyObject
* obj1
= 0 ;
16982 char * kwnames
[] = {
16983 (char *) "self",(char *) "but", NULL
16986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16988 if (!SWIG_IsOK(res1
)) {
16989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16991 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16994 if (!SWIG_IsOK(ecode2
)) {
16995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
16997 arg2
= static_cast< int >(val2
);
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17014 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
= 0;
17016 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17017 int arg2
= (int) wxJOY_BUTTON_ANY
;
17023 PyObject
* obj0
= 0 ;
17024 PyObject
* obj1
= 0 ;
17025 char * kwnames
[] = {
17026 (char *) "self",(char *) "but", NULL
17029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17031 if (!SWIG_IsOK(res1
)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17034 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17037 if (!SWIG_IsOK(ecode2
)) {
17038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
17040 arg2
= static_cast< int >(val2
);
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17057 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
= 0;
17059 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17060 int arg2
= (int) wxJOY_BUTTON_ANY
;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 char * kwnames
[] = {
17069 (char *) "self",(char *) "but", NULL
17072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17074 if (!SWIG_IsOK(res1
)) {
17075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17077 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17080 if (!SWIG_IsOK(ecode2
)) {
17081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
17083 arg2
= static_cast< int >(val2
);
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17100 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17103 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
17104 return SWIG_Py_Void();
17107 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17108 return SWIG_Python_InitShadowInstance(args
);
17111 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
= 0;
17113 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17114 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17115 wxSound
*result
= 0 ;
17116 bool temp1
= false ;
17117 PyObject
* obj0
= 0 ;
17118 char * kwnames
[] = {
17119 (char *) "fileName", NULL
17122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
17125 arg1
= wxString_in_helper(obj0
);
17126 if (arg1
== NULL
) SWIG_fail
;
17131 if (!wxPyCheckForApp()) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
17152 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17153 PyObject
*resultobj
= 0;
17154 PyObject
*arg1
= (PyObject
*) 0 ;
17155 wxSound
*result
= 0 ;
17156 PyObject
* obj0
= 0 ;
17157 char * kwnames
[] = {
17158 (char *) "data", NULL
17161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17164 if (!wxPyCheckForApp()) SWIG_fail
;
17165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17166 result
= (wxSound
*)new_wxSound(arg1
);
17167 wxPyEndAllowThreads(__tstate
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17177 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17178 PyObject
*resultobj
= 0;
17179 wxSound
*arg1
= (wxSound
*) 0 ;
17182 PyObject
*swig_obj
[1] ;
17184 if (!args
) SWIG_fail
;
17185 swig_obj
[0] = args
;
17186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17187 if (!SWIG_IsOK(res1
)) {
17188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17190 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= SWIG_Py_Void();
17205 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
= 0;
17207 wxSound
*arg1
= (wxSound
*) 0 ;
17208 wxString
*arg2
= 0 ;
17212 bool temp2
= false ;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 char * kwnames
[] = {
17216 (char *) "self",(char *) "fileName", NULL
17219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17221 if (!SWIG_IsOK(res1
)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17224 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17226 arg2
= wxString_in_helper(obj1
);
17227 if (arg2
== NULL
) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17253 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
= 0;
17255 wxSound
*arg1
= (wxSound
*) 0 ;
17256 PyObject
*arg2
= (PyObject
*) 0 ;
17260 PyObject
* obj0
= 0 ;
17261 PyObject
* obj1
= 0 ;
17262 char * kwnames
[] = {
17263 (char *) "self",(char *) "data", NULL
17266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17268 if (!SWIG_IsOK(res1
)) {
17269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17271 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17288 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17289 PyObject
*resultobj
= 0;
17290 wxSound
*arg1
= (wxSound
*) 0 ;
17294 PyObject
*swig_obj
[1] ;
17296 if (!args
) SWIG_fail
;
17297 swig_obj
[0] = args
;
17298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17299 if (!SWIG_IsOK(res1
)) {
17300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17302 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= (bool)(arg1
)->IsOk();
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17318 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
= 0;
17320 wxSound
*arg1
= (wxSound
*) 0 ;
17321 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17325 unsigned int val2
;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 char * kwnames
[] = {
17330 (char *) "self",(char *) "flags", NULL
17333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17335 if (!SWIG_IsOK(res1
)) {
17336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17338 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17340 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17341 if (!SWIG_IsOK(ecode2
)) {
17342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17344 arg2
= static_cast< unsigned int >(val2
);
17347 if (!wxPyCheckForApp()) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17350 wxPyEndAllowThreads(__tstate
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17362 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
= 0;
17364 wxString
*arg1
= 0 ;
17365 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17367 bool temp1
= false ;
17368 unsigned int val2
;
17370 PyObject
* obj0
= 0 ;
17371 PyObject
* obj1
= 0 ;
17372 char * kwnames
[] = {
17373 (char *) "filename",(char *) "flags", NULL
17376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17378 arg1
= wxString_in_helper(obj0
);
17379 if (arg1
== NULL
) SWIG_fail
;
17383 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17384 if (!SWIG_IsOK(ecode2
)) {
17385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17387 arg2
= static_cast< unsigned int >(val2
);
17390 if (!wxPyCheckForApp()) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17413 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17414 PyObject
*resultobj
= 0;
17416 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17418 if (!wxPyCheckForApp()) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 wxPyEndAllowThreads(__tstate
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= SWIG_Py_Void();
17431 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17434 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17435 return SWIG_Py_Void();
17438 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17439 return SWIG_Python_InitShadowInstance(args
);
17442 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
= 0;
17444 wxString
*arg1
= 0 ;
17445 wxString
*arg2
= 0 ;
17446 wxString
*arg3
= 0 ;
17447 wxString
*arg4
= 0 ;
17448 wxFileTypeInfo
*result
= 0 ;
17449 bool temp1
= false ;
17450 bool temp2
= false ;
17451 bool temp3
= false ;
17452 bool temp4
= false ;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 PyObject
* obj2
= 0 ;
17456 PyObject
* obj3
= 0 ;
17457 char * kwnames
[] = {
17458 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17463 arg1
= wxString_in_helper(obj0
);
17464 if (arg1
== NULL
) SWIG_fail
;
17468 arg2
= wxString_in_helper(obj1
);
17469 if (arg2
== NULL
) SWIG_fail
;
17473 arg3
= wxString_in_helper(obj2
);
17474 if (arg3
== NULL
) SWIG_fail
;
17478 arg4
= wxString_in_helper(obj3
);
17479 if (arg4
== NULL
) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17527 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxArrayString
*arg1
= 0 ;
17530 wxFileTypeInfo
*result
= 0 ;
17531 bool temp1
= false ;
17532 PyObject
* obj0
= 0 ;
17533 char * kwnames
[] = {
17534 (char *) "sArray", NULL
17537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17539 if (! PySequence_Check(obj0
)) {
17540 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17543 arg1
= new wxArrayString
;
17545 int i
, len
=PySequence_Length(obj0
);
17546 for (i
=0; i
<len
; i
++) {
17547 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17548 wxString
* s
= wxString_in_helper(item
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17563 if (temp1
) delete arg1
;
17568 if (temp1
) delete arg1
;
17574 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17575 PyObject
*resultobj
= 0;
17576 wxFileTypeInfo
*result
= 0 ;
17578 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17592 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17593 PyObject
*resultobj
= 0;
17594 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17598 PyObject
*swig_obj
[1] ;
17600 if (!args
) SWIG_fail
;
17601 swig_obj
[0] = args
;
17602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17603 if (!SWIG_IsOK(res1
)) {
17604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17606 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17622 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
= 0;
17624 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17625 wxString
*arg2
= 0 ;
17626 int arg3
= (int) 0 ;
17629 bool temp2
= false ;
17632 PyObject
* obj0
= 0 ;
17633 PyObject
* obj1
= 0 ;
17634 PyObject
* obj2
= 0 ;
17635 char * kwnames
[] = {
17636 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17641 if (!SWIG_IsOK(res1
)) {
17642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17644 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17646 arg2
= wxString_in_helper(obj1
);
17647 if (arg2
== NULL
) SWIG_fail
;
17651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17652 if (!SWIG_IsOK(ecode3
)) {
17653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17655 arg3
= static_cast< int >(val3
);
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= SWIG_Py_Void();
17678 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
= 0;
17680 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17681 wxString
*arg2
= 0 ;
17684 bool temp2
= false ;
17685 PyObject
* obj0
= 0 ;
17686 PyObject
* obj1
= 0 ;
17687 char * kwnames
[] = {
17688 (char *) "self",(char *) "shortDesc", NULL
17691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17693 if (!SWIG_IsOK(res1
)) {
17694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17696 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17698 arg2
= wxString_in_helper(obj1
);
17699 if (arg2
== NULL
) SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= SWIG_Py_Void();
17723 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17724 PyObject
*resultobj
= 0;
17725 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17726 wxString
*result
= 0 ;
17729 PyObject
*swig_obj
[1] ;
17731 if (!args
) SWIG_fail
;
17732 swig_obj
[0] = args
;
17733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17734 if (!SWIG_IsOK(res1
)) {
17735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17737 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17742 result
= (wxString
*) &_result_ref
;
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17751 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17760 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17761 PyObject
*resultobj
= 0;
17762 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17763 wxString
*result
= 0 ;
17766 PyObject
*swig_obj
[1] ;
17768 if (!args
) SWIG_fail
;
17769 swig_obj
[0] = args
;
17770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17771 if (!SWIG_IsOK(res1
)) {
17772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17774 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17778 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17779 result
= (wxString
*) &_result_ref
;
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17788 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17797 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17798 PyObject
*resultobj
= 0;
17799 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17800 wxString
*result
= 0 ;
17803 PyObject
*swig_obj
[1] ;
17805 if (!args
) SWIG_fail
;
17806 swig_obj
[0] = args
;
17807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17808 if (!SWIG_IsOK(res1
)) {
17809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17811 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17816 result
= (wxString
*) &_result_ref
;
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17825 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17834 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17835 PyObject
*resultobj
= 0;
17836 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17837 wxString
*result
= 0 ;
17840 PyObject
*swig_obj
[1] ;
17842 if (!args
) SWIG_fail
;
17843 swig_obj
[0] = args
;
17844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17845 if (!SWIG_IsOK(res1
)) {
17846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17848 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17853 result
= (wxString
*) &_result_ref
;
17855 wxPyEndAllowThreads(__tstate
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17862 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17871 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17872 PyObject
*resultobj
= 0;
17873 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17874 wxString
*result
= 0 ;
17877 PyObject
*swig_obj
[1] ;
17879 if (!args
) SWIG_fail
;
17880 swig_obj
[0] = args
;
17881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17882 if (!SWIG_IsOK(res1
)) {
17883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17885 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17890 result
= (wxString
*) &_result_ref
;
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17899 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17908 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17909 PyObject
*resultobj
= 0;
17910 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17911 wxArrayString
*result
= 0 ;
17914 PyObject
*swig_obj
[1] ;
17916 if (!args
) SWIG_fail
;
17917 swig_obj
[0] = args
;
17918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17919 if (!SWIG_IsOK(res1
)) {
17920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17922 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17927 result
= (wxArrayString
*) &_result_ref
;
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17933 resultobj
= wxArrayString2PyList_helper(*result
);
17941 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17942 PyObject
*resultobj
= 0;
17943 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17947 PyObject
*swig_obj
[1] ;
17949 if (!args
) SWIG_fail
;
17950 swig_obj
[0] = args
;
17951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17952 if (!SWIG_IsOK(res1
)) {
17953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17955 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
17969 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17970 PyObject
*resultobj
= 0;
17971 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17972 wxString
*result
= 0 ;
17975 PyObject
*swig_obj
[1] ;
17977 if (!args
) SWIG_fail
;
17978 swig_obj
[0] = args
;
17979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17980 if (!SWIG_IsOK(res1
)) {
17981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17983 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
17988 result
= (wxString
*) &_result_ref
;
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17997 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18006 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18007 PyObject
*resultobj
= 0;
18008 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18012 PyObject
*swig_obj
[1] ;
18014 if (!args
) SWIG_fail
;
18015 swig_obj
[0] = args
;
18016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18017 if (!SWIG_IsOK(res1
)) {
18018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18020 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
18024 wxPyEndAllowThreads(__tstate
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 resultobj
= SWIG_From_int(static_cast< int >(result
));
18034 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18037 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
18038 return SWIG_Py_Void();
18041 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18042 return SWIG_Python_InitShadowInstance(args
);
18045 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
= 0;
18047 wxFileTypeInfo
*arg1
= 0 ;
18048 wxFileType
*result
= 0 ;
18051 PyObject
* obj0
= 0 ;
18052 char * kwnames
[] = {
18053 (char *) "ftInfo", NULL
18056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
18057 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18058 if (!SWIG_IsOK(res1
)) {
18059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18064 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
18078 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18079 PyObject
*resultobj
= 0;
18080 wxFileType
*arg1
= (wxFileType
*) 0 ;
18083 PyObject
*swig_obj
[1] ;
18085 if (!args
) SWIG_fail
;
18086 swig_obj
[0] = args
;
18087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
18088 if (!SWIG_IsOK(res1
)) {
18089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
18091 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 wxPyEndAllowThreads(__tstate
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18099 resultobj
= SWIG_Py_Void();
18106 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18107 PyObject
*resultobj
= 0;
18108 wxFileType
*arg1
= (wxFileType
*) 0 ;
18109 PyObject
*result
= 0 ;
18112 PyObject
*swig_obj
[1] ;
18114 if (!args
) SWIG_fail
;
18115 swig_obj
[0] = args
;
18116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18117 if (!SWIG_IsOK(res1
)) {
18118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
18120 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= result
;
18134 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18135 PyObject
*resultobj
= 0;
18136 wxFileType
*arg1
= (wxFileType
*) 0 ;
18137 PyObject
*result
= 0 ;
18140 PyObject
*swig_obj
[1] ;
18142 if (!args
) SWIG_fail
;
18143 swig_obj
[0] = args
;
18144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18145 if (!SWIG_IsOK(res1
)) {
18146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
18148 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= result
;
18162 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18163 PyObject
*resultobj
= 0;
18164 wxFileType
*arg1
= (wxFileType
*) 0 ;
18165 PyObject
*result
= 0 ;
18168 PyObject
*swig_obj
[1] ;
18170 if (!args
) SWIG_fail
;
18171 swig_obj
[0] = args
;
18172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18173 if (!SWIG_IsOK(res1
)) {
18174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18176 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= result
;
18190 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18191 PyObject
*resultobj
= 0;
18192 wxFileType
*arg1
= (wxFileType
*) 0 ;
18193 wxIcon
*result
= 0 ;
18196 PyObject
*swig_obj
[1] ;
18198 if (!args
) SWIG_fail
;
18199 swig_obj
[0] = args
;
18200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18201 if (!SWIG_IsOK(res1
)) {
18202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18204 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18208 wxPyEndAllowThreads(__tstate
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18218 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18219 PyObject
*resultobj
= 0;
18220 wxFileType
*arg1
= (wxFileType
*) 0 ;
18221 PyObject
*result
= 0 ;
18224 PyObject
*swig_obj
[1] ;
18226 if (!args
) SWIG_fail
;
18227 swig_obj
[0] = args
;
18228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18229 if (!SWIG_IsOK(res1
)) {
18230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18232 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18235 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= result
;
18246 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18247 PyObject
*resultobj
= 0;
18248 wxFileType
*arg1
= (wxFileType
*) 0 ;
18249 PyObject
*result
= 0 ;
18252 PyObject
*swig_obj
[1] ;
18254 if (!args
) SWIG_fail
;
18255 swig_obj
[0] = args
;
18256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18257 if (!SWIG_IsOK(res1
)) {
18258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18260 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= result
;
18274 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
= 0;
18276 wxFileType
*arg1
= (wxFileType
*) 0 ;
18277 wxString
*arg2
= 0 ;
18278 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18279 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18280 PyObject
*result
= 0 ;
18283 bool temp2
= false ;
18284 bool temp3
= false ;
18285 PyObject
* obj0
= 0 ;
18286 PyObject
* obj1
= 0 ;
18287 PyObject
* obj2
= 0 ;
18288 char * kwnames
[] = {
18289 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18294 if (!SWIG_IsOK(res1
)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18297 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18299 arg2
= wxString_in_helper(obj1
);
18300 if (arg2
== NULL
) SWIG_fail
;
18305 arg3
= wxString_in_helper(obj2
);
18306 if (arg3
== NULL
) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= result
;
18339 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
= 0;
18341 wxFileType
*arg1
= (wxFileType
*) 0 ;
18342 wxString
*arg2
= 0 ;
18343 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18344 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18345 PyObject
*result
= 0 ;
18348 bool temp2
= false ;
18349 bool temp3
= false ;
18350 PyObject
* obj0
= 0 ;
18351 PyObject
* obj1
= 0 ;
18352 PyObject
* obj2
= 0 ;
18353 char * kwnames
[] = {
18354 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18359 if (!SWIG_IsOK(res1
)) {
18360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18362 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18364 arg2
= wxString_in_helper(obj1
);
18365 if (arg2
== NULL
) SWIG_fail
;
18370 arg3
= wxString_in_helper(obj2
);
18371 if (arg3
== NULL
) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= result
;
18404 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
= 0;
18406 wxFileType
*arg1
= (wxFileType
*) 0 ;
18407 wxString
*arg2
= 0 ;
18408 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18409 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18410 PyObject
*result
= 0 ;
18413 bool temp2
= false ;
18414 bool temp3
= false ;
18415 PyObject
* obj0
= 0 ;
18416 PyObject
* obj1
= 0 ;
18417 PyObject
* obj2
= 0 ;
18418 char * kwnames
[] = {
18419 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18424 if (!SWIG_IsOK(res1
)) {
18425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18427 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18429 arg2
= wxString_in_helper(obj1
);
18430 if (arg2
== NULL
) SWIG_fail
;
18435 arg3
= wxString_in_helper(obj2
);
18436 if (arg3
== NULL
) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= result
;
18469 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
= 0;
18471 wxFileType
*arg1
= (wxFileType
*) 0 ;
18472 wxString
*arg2
= 0 ;
18473 wxString
*arg3
= 0 ;
18474 bool arg4
= (bool) true ;
18478 bool temp2
= false ;
18479 bool temp3
= false ;
18482 PyObject
* obj0
= 0 ;
18483 PyObject
* obj1
= 0 ;
18484 PyObject
* obj2
= 0 ;
18485 PyObject
* obj3
= 0 ;
18486 char * kwnames
[] = {
18487 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18492 if (!SWIG_IsOK(res1
)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18495 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18497 arg2
= wxString_in_helper(obj1
);
18498 if (arg2
== NULL
) SWIG_fail
;
18502 arg3
= wxString_in_helper(obj2
);
18503 if (arg3
== NULL
) SWIG_fail
;
18507 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18508 if (!SWIG_IsOK(ecode4
)) {
18509 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18511 arg4
= static_cast< bool >(val4
);
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18544 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
= 0;
18546 wxFileType
*arg1
= (wxFileType
*) 0 ;
18547 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18548 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18549 int arg3
= (int) 0 ;
18553 bool temp2
= false ;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 PyObject
* obj2
= 0 ;
18559 char * kwnames
[] = {
18560 (char *) "self",(char *) "cmd",(char *) "index", NULL
18563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18565 if (!SWIG_IsOK(res1
)) {
18566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18568 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18571 arg2
= wxString_in_helper(obj1
);
18572 if (arg2
== NULL
) SWIG_fail
;
18577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18578 if (!SWIG_IsOK(ecode3
)) {
18579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18581 arg3
= static_cast< int >(val3
);
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18606 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18607 PyObject
*resultobj
= 0;
18608 wxFileType
*arg1
= (wxFileType
*) 0 ;
18612 PyObject
*swig_obj
[1] ;
18614 if (!args
) SWIG_fail
;
18615 swig_obj
[0] = args
;
18616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18617 if (!SWIG_IsOK(res1
)) {
18618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18620 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (bool)(arg1
)->Unassociate();
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18636 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18637 PyObject
*resultobj
= 0;
18638 wxString
*arg1
= 0 ;
18639 wxString
*arg2
= 0 ;
18640 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18641 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18643 bool temp1
= false ;
18644 bool temp2
= false ;
18645 bool temp3
= false ;
18646 PyObject
* obj0
= 0 ;
18647 PyObject
* obj1
= 0 ;
18648 PyObject
* obj2
= 0 ;
18649 char * kwnames
[] = {
18650 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18655 arg1
= wxString_in_helper(obj0
);
18656 if (arg1
== NULL
) SWIG_fail
;
18660 arg2
= wxString_in_helper(obj1
);
18661 if (arg2
== NULL
) SWIG_fail
;
18666 arg3
= wxString_in_helper(obj2
);
18667 if (arg3
== NULL
) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18714 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18717 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18718 return SWIG_Py_Void();
18721 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18722 return SWIG_Python_InitShadowInstance(args
);
18725 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18726 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18731 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18732 PyObject
*pyobj
= 0;
18734 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18739 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
= 0;
18741 wxString
*arg1
= 0 ;
18742 wxString
*arg2
= 0 ;
18744 bool temp1
= false ;
18745 bool temp2
= false ;
18746 PyObject
* obj0
= 0 ;
18747 PyObject
* obj1
= 0 ;
18748 char * kwnames
[] = {
18749 (char *) "mimeType",(char *) "wildcard", NULL
18752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18754 arg1
= wxString_in_helper(obj0
);
18755 if (arg1
== NULL
) SWIG_fail
;
18759 arg2
= wxString_in_helper(obj1
);
18760 if (arg2
== NULL
) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18794 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18795 PyObject
*resultobj
= 0;
18796 wxMimeTypesManager
*result
= 0 ;
18798 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18802 wxPyEndAllowThreads(__tstate
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18812 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
= 0;
18814 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18815 int arg2
= (int) wxMAILCAP_ALL
;
18816 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18817 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18822 bool temp3
= false ;
18823 PyObject
* obj0
= 0 ;
18824 PyObject
* obj1
= 0 ;
18825 PyObject
* obj2
= 0 ;
18826 char * kwnames
[] = {
18827 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18832 if (!SWIG_IsOK(res1
)) {
18833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18835 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18838 if (!SWIG_IsOK(ecode2
)) {
18839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18841 arg2
= static_cast< int >(val2
);
18845 arg3
= wxString_in_helper(obj2
);
18846 if (arg3
== NULL
) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_Py_Void();
18871 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18872 PyObject
*resultobj
= 0;
18873 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18876 PyObject
*swig_obj
[1] ;
18878 if (!args
) SWIG_fail
;
18879 swig_obj
[0] = args
;
18880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18881 if (!SWIG_IsOK(res1
)) {
18882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18884 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 (arg1
)->ClearData();
18888 wxPyEndAllowThreads(__tstate
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18891 resultobj
= SWIG_Py_Void();
18898 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
= 0;
18900 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18901 wxString
*arg2
= 0 ;
18902 wxFileType
*result
= 0 ;
18905 bool temp2
= false ;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 char * kwnames
[] = {
18909 (char *) "self",(char *) "ext", NULL
18912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18914 if (!SWIG_IsOK(res1
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18917 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18919 arg2
= wxString_in_helper(obj1
);
18920 if (arg2
== NULL
) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18944 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
= 0;
18946 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18947 wxString
*arg2
= 0 ;
18948 wxFileType
*result
= 0 ;
18951 bool temp2
= false ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char * kwnames
[] = {
18955 (char *) "self",(char *) "mimeType", NULL
18958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18960 if (!SWIG_IsOK(res1
)) {
18961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18963 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18965 arg2
= wxString_in_helper(obj1
);
18966 if (arg2
== NULL
) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18990 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
= 0;
18992 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18993 wxString
*arg2
= 0 ;
18994 bool arg3
= (bool) false ;
18998 bool temp2
= false ;
19001 PyObject
* obj0
= 0 ;
19002 PyObject
* obj1
= 0 ;
19003 PyObject
* obj2
= 0 ;
19004 char * kwnames
[] = {
19005 (char *) "self",(char *) "filename",(char *) "fallback", NULL
19008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19010 if (!SWIG_IsOK(res1
)) {
19011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19013 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19015 arg2
= wxString_in_helper(obj1
);
19016 if (arg2
== NULL
) SWIG_fail
;
19020 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19021 if (!SWIG_IsOK(ecode3
)) {
19022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
19024 arg3
= static_cast< bool >(val3
);
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19049 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
= 0;
19051 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19052 wxString
*arg2
= 0 ;
19056 bool temp2
= false ;
19057 PyObject
* obj0
= 0 ;
19058 PyObject
* obj1
= 0 ;
19059 char * kwnames
[] = {
19060 (char *) "self",(char *) "filename", NULL
19063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19065 if (!SWIG_IsOK(res1
)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19068 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19070 arg2
= wxString_in_helper(obj1
);
19071 if (arg2
== NULL
) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19097 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19098 PyObject
*resultobj
= 0;
19099 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19100 PyObject
*result
= 0 ;
19103 PyObject
*swig_obj
[1] ;
19105 if (!args
) SWIG_fail
;
19106 swig_obj
[0] = args
;
19107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19108 if (!SWIG_IsOK(res1
)) {
19109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19111 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= result
;
19125 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
= 0;
19127 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19128 wxFileTypeInfo
*arg2
= 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char * kwnames
[] = {
19136 (char *) "self",(char *) "ft", NULL
19139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19141 if (!SWIG_IsOK(res1
)) {
19142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19144 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19146 if (!SWIG_IsOK(res2
)) {
19147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19152 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_Py_Void();
19166 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
= 0;
19168 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19169 wxFileTypeInfo
*arg2
= 0 ;
19170 wxFileType
*result
= 0 ;
19175 PyObject
* obj0
= 0 ;
19176 PyObject
* obj1
= 0 ;
19177 char * kwnames
[] = {
19178 (char *) "self",(char *) "ftInfo", NULL
19181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19183 if (!SWIG_IsOK(res1
)) {
19184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19186 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19188 if (!SWIG_IsOK(res2
)) {
19189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19194 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19208 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
= 0;
19210 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19211 wxFileType
*arg2
= (wxFileType
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 PyObject
* obj1
= 0 ;
19219 char * kwnames
[] = {
19220 (char *) "self",(char *) "ft", NULL
19223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19225 if (!SWIG_IsOK(res1
)) {
19226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19228 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19230 if (!SWIG_IsOK(res2
)) {
19231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19233 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 result
= (bool)(arg1
)->Unassociate(arg2
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19249 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19250 PyObject
*resultobj
= 0;
19251 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19254 PyObject
*swig_obj
[1] ;
19256 if (!args
) SWIG_fail
;
19257 swig_obj
[0] = args
;
19258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19259 if (!SWIG_IsOK(res1
)) {
19260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19262 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19270 resultobj
= SWIG_Py_Void();
19277 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19280 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19281 return SWIG_Py_Void();
19284 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19285 return SWIG_Python_InitShadowInstance(args
);
19288 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19289 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19294 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19295 PyObject
*pyobj
= 0;
19299 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19301 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19308 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19309 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19314 SWIGINTERN PyObject
*ART_MENU_get(void) {
19315 PyObject
*pyobj
= 0;
19319 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19321 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19328 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19329 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19334 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19335 PyObject
*pyobj
= 0;
19339 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19341 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19348 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19349 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19354 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19355 PyObject
*pyobj
= 0;
19359 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19361 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19368 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19369 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19374 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19375 PyObject
*pyobj
= 0;
19379 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19381 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19388 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19389 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19394 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19395 PyObject
*pyobj
= 0;
19399 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19401 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19408 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19409 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19414 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19415 PyObject
*pyobj
= 0;
19419 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19421 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19428 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19429 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19434 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19435 PyObject
*pyobj
= 0;
19439 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19441 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19448 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19449 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19454 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19455 PyObject
*pyobj
= 0;
19459 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19461 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19468 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19469 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19474 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19475 PyObject
*pyobj
= 0;
19479 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19481 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19488 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19489 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19494 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19495 PyObject
*pyobj
= 0;
19499 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19501 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19508 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19509 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19514 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19515 PyObject
*pyobj
= 0;
19519 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19521 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19528 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19529 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19534 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19535 PyObject
*pyobj
= 0;
19539 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19541 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19548 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19549 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19554 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19555 PyObject
*pyobj
= 0;
19559 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19561 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19568 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19569 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19574 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19575 PyObject
*pyobj
= 0;
19579 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19581 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19588 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19589 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19594 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19595 PyObject
*pyobj
= 0;
19599 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19601 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19608 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19609 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19614 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19615 PyObject
*pyobj
= 0;
19619 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19621 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19628 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19629 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19634 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19635 PyObject
*pyobj
= 0;
19639 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19641 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19648 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19649 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19654 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19655 PyObject
*pyobj
= 0;
19659 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19661 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19668 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19669 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19674 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19675 PyObject
*pyobj
= 0;
19679 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19681 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19688 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19689 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19694 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19695 PyObject
*pyobj
= 0;
19699 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19701 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19708 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19709 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19714 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19715 PyObject
*pyobj
= 0;
19719 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19721 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19728 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19729 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19734 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19735 PyObject
*pyobj
= 0;
19739 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19741 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19748 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19749 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19754 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19755 PyObject
*pyobj
= 0;
19759 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19761 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19768 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19769 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19774 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19775 PyObject
*pyobj
= 0;
19779 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19781 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19788 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19789 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19794 SWIGINTERN PyObject
*ART_HELP_get(void) {
19795 PyObject
*pyobj
= 0;
19799 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19801 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19808 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19809 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19814 SWIGINTERN PyObject
*ART_TIP_get(void) {
19815 PyObject
*pyobj
= 0;
19819 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19821 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19828 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19829 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19834 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19835 PyObject
*pyobj
= 0;
19839 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19841 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19848 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19849 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19854 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19855 PyObject
*pyobj
= 0;
19859 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19861 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19868 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19869 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19874 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19875 PyObject
*pyobj
= 0;
19879 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19881 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19888 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19889 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19894 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19895 PyObject
*pyobj
= 0;
19899 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19901 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19908 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19909 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19914 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19915 PyObject
*pyobj
= 0;
19919 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19921 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19928 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19929 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19934 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19935 PyObject
*pyobj
= 0;
19939 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19941 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19948 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
19949 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
19954 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
19955 PyObject
*pyobj
= 0;
19959 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19961 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19968 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
19969 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
19974 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
19975 PyObject
*pyobj
= 0;
19979 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19981 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19988 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
19989 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
19994 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
19995 PyObject
*pyobj
= 0;
19999 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20001 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20008 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
20009 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
20014 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
20015 PyObject
*pyobj
= 0;
20019 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20021 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20028 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
20029 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
20034 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
20035 PyObject
*pyobj
= 0;
20039 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20041 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20048 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
20049 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
20054 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
20055 PyObject
*pyobj
= 0;
20059 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20061 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20068 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
20069 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
20074 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
20075 PyObject
*pyobj
= 0;
20079 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20081 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20088 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
20089 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
20094 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
20095 PyObject
*pyobj
= 0;
20099 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20101 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20108 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
20109 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
20114 SWIGINTERN PyObject
*ART_ERROR_get(void) {
20115 PyObject
*pyobj
= 0;
20119 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20121 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20128 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
20129 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
20134 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
20135 PyObject
*pyobj
= 0;
20139 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20141 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20148 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
20149 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
20154 SWIGINTERN PyObject
*ART_WARNING_get(void) {
20155 PyObject
*pyobj
= 0;
20159 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20161 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20168 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20169 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20174 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20175 PyObject
*pyobj
= 0;
20179 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20181 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20188 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20189 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20194 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20195 PyObject
*pyobj
= 0;
20199 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20201 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20208 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20209 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20214 SWIGINTERN PyObject
*ART_COPY_get(void) {
20215 PyObject
*pyobj
= 0;
20219 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20221 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20228 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20229 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20234 SWIGINTERN PyObject
*ART_CUT_get(void) {
20235 PyObject
*pyobj
= 0;
20239 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20241 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20248 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20249 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20254 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20255 PyObject
*pyobj
= 0;
20259 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20261 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20268 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20269 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20274 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20275 PyObject
*pyobj
= 0;
20279 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20281 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20288 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20289 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20294 SWIGINTERN PyObject
*ART_NEW_get(void) {
20295 PyObject
*pyobj
= 0;
20299 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20301 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20308 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20309 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20314 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20315 PyObject
*pyobj
= 0;
20319 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20321 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20328 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20329 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20334 SWIGINTERN PyObject
*ART_REDO_get(void) {
20335 PyObject
*pyobj
= 0;
20339 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20341 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20348 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20349 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20354 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20355 PyObject
*pyobj
= 0;
20359 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20361 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20368 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20369 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20374 SWIGINTERN PyObject
*ART_FIND_get(void) {
20375 PyObject
*pyobj
= 0;
20379 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20381 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20388 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20389 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20394 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20395 PyObject
*pyobj
= 0;
20399 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20401 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20408 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20409 PyObject
*resultobj
= 0;
20410 wxPyArtProvider
*result
= 0 ;
20412 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20414 if (!wxPyCheckForApp()) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20427 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20428 PyObject
*resultobj
= 0;
20429 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20432 PyObject
*swig_obj
[1] ;
20434 if (!args
) SWIG_fail
;
20435 swig_obj
[0] = args
;
20436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20437 if (!SWIG_IsOK(res1
)) {
20438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20440 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 resultobj
= SWIG_Py_Void();
20455 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
= 0;
20457 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20458 PyObject
*arg2
= (PyObject
*) 0 ;
20459 PyObject
*arg3
= (PyObject
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20464 PyObject
* obj2
= 0 ;
20465 char * kwnames
[] = {
20466 (char *) "self",(char *) "self",(char *) "_class", NULL
20469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20471 if (!SWIG_IsOK(res1
)) {
20472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20474 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20479 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= SWIG_Py_Void();
20490 SWIGINTERN PyObject
*_wrap_ArtProvider_Push(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
= 0;
20492 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20494 PyObject
* obj0
= 0 ;
20495 char * kwnames
[] = {
20496 (char *) "provider", NULL
20499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Push",kwnames
,&obj0
)) SWIG_fail
;
20500 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20501 if (!SWIG_IsOK(res1
)) {
20502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Push" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 wxPyArtProvider::Push(arg1
);
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_Py_Void();
20517 SWIGINTERN PyObject
*_wrap_ArtProvider_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
= 0;
20519 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20521 PyObject
* obj0
= 0 ;
20522 char * kwnames
[] = {
20523 (char *) "provider", NULL
20526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Insert",kwnames
,&obj0
)) SWIG_fail
;
20527 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20528 if (!SWIG_IsOK(res1
)) {
20529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Insert" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 wxPyArtProvider::Insert(arg1
);
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= SWIG_Py_Void();
20544 SWIGINTERN PyObject
*_wrap_ArtProvider_Pop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20545 PyObject
*resultobj
= 0;
20548 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_Pop",0,0,0)) SWIG_fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 result
= (bool)wxPyArtProvider::Pop();
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20564 SWIGINTERN PyObject
*_wrap_ArtProvider_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
= 0;
20566 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 char * kwnames
[] = {
20572 (char *) "provider", NULL
20575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Delete",kwnames
,&obj0
)) SWIG_fail
;
20576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20577 if (!SWIG_IsOK(res1
)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Delete" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20580 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= (bool)wxPyArtProvider::Delete(arg1
);
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20596 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
= 0;
20598 wxString
*arg1
= 0 ;
20599 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20600 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20601 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20602 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20604 bool temp1
= false ;
20605 bool temp2
= false ;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20609 PyObject
* obj2
= 0 ;
20610 char * kwnames
[] = {
20611 (char *) "id",(char *) "client",(char *) "size", NULL
20614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20616 arg1
= wxString_in_helper(obj0
);
20617 if (arg1
== NULL
) SWIG_fail
;
20622 arg2
= wxString_in_helper(obj1
);
20623 if (arg2
== NULL
) SWIG_fail
;
20630 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20634 if (!wxPyCheckForApp()) SWIG_fail
;
20635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20636 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20640 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20663 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
= 0;
20665 wxString
*arg1
= 0 ;
20666 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20667 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20668 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20669 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20671 bool temp1
= false ;
20672 bool temp2
= false ;
20674 PyObject
* obj0
= 0 ;
20675 PyObject
* obj1
= 0 ;
20676 PyObject
* obj2
= 0 ;
20677 char * kwnames
[] = {
20678 (char *) "id",(char *) "client",(char *) "size", NULL
20681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20683 arg1
= wxString_in_helper(obj0
);
20684 if (arg1
== NULL
) SWIG_fail
;
20689 arg2
= wxString_in_helper(obj1
);
20690 if (arg2
== NULL
) SWIG_fail
;
20697 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20701 if (!wxPyCheckForApp()) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20730 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
= 0;
20732 wxString
*arg1
= 0 ;
20733 bool arg2
= (bool) false ;
20735 bool temp1
= false ;
20738 PyObject
* obj0
= 0 ;
20739 PyObject
* obj1
= 0 ;
20740 char * kwnames
[] = {
20741 (char *) "client",(char *) "platform_dependent", NULL
20744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20746 arg1
= wxString_in_helper(obj0
);
20747 if (arg1
== NULL
) SWIG_fail
;
20751 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20752 if (!SWIG_IsOK(ecode2
)) {
20753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20755 arg2
= static_cast< bool >(val2
);
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20778 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20779 PyObject
*resultobj
= 0;
20780 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20783 PyObject
*swig_obj
[1] ;
20785 if (!args
) SWIG_fail
;
20786 swig_obj
[0] = args
;
20787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20788 if (!SWIG_IsOK(res1
)) {
20789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20791 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 wxPyArtProvider_Destroy(arg1
);
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 resultobj
= SWIG_Py_Void();
20805 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20808 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20809 return SWIG_Py_Void();
20812 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20813 return SWIG_Python_InitShadowInstance(args
);
20816 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20817 PyObject
*resultobj
= 0;
20818 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20821 PyObject
*swig_obj
[1] ;
20823 if (!args
) SWIG_fail
;
20824 swig_obj
[0] = args
;
20825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20826 if (!SWIG_IsOK(res1
)) {
20827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20829 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= SWIG_Py_Void();
20844 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
= 0;
20846 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20847 wxConfigBase
*result
= 0 ;
20849 PyObject
* obj0
= 0 ;
20850 char * kwnames
[] = {
20851 (char *) "config", NULL
20854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20855 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20856 if (!SWIG_IsOK(res1
)) {
20857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20872 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
= 0;
20874 bool arg1
= (bool) true ;
20875 wxConfigBase
*result
= 0 ;
20878 PyObject
* obj0
= 0 ;
20879 char * kwnames
[] = {
20880 (char *) "createOnDemand", NULL
20883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20885 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20886 if (!SWIG_IsOK(ecode1
)) {
20887 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20889 arg1
= static_cast< bool >(val1
);
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20904 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20905 PyObject
*resultobj
= 0;
20906 wxConfigBase
*result
= 0 ;
20908 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (wxConfigBase
*)wxConfigBase::Create();
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20922 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20923 PyObject
*resultobj
= 0;
20925 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 wxConfigBase::DontCreateOnDemand();
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= SWIG_Py_Void();
20939 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20940 PyObject
*resultobj
= 0;
20941 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20942 wxString
*arg2
= 0 ;
20945 bool temp2
= false ;
20946 PyObject
* obj0
= 0 ;
20947 PyObject
* obj1
= 0 ;
20948 char * kwnames
[] = {
20949 (char *) "self",(char *) "path", NULL
20952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20954 if (!SWIG_IsOK(res1
)) {
20955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20957 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20959 arg2
= wxString_in_helper(obj1
);
20960 if (arg2
== NULL
) SWIG_fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 (arg1
)->SetPath((wxString
const &)*arg2
);
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= SWIG_Py_Void();
20984 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20985 PyObject
*resultobj
= 0;
20986 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20987 wxString
*result
= 0 ;
20990 PyObject
*swig_obj
[1] ;
20992 if (!args
) SWIG_fail
;
20993 swig_obj
[0] = args
;
20994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20995 if (!SWIG_IsOK(res1
)) {
20996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20998 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
21003 result
= (wxString
*) &_result_ref
;
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21012 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21021 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21022 PyObject
*resultobj
= 0;
21023 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21024 PyObject
*result
= 0 ;
21027 PyObject
*swig_obj
[1] ;
21029 if (!args
) SWIG_fail
;
21030 swig_obj
[0] = args
;
21031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21032 if (!SWIG_IsOK(res1
)) {
21033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21035 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 resultobj
= result
;
21049 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
= 0;
21051 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21053 PyObject
*result
= 0 ;
21058 PyObject
* obj0
= 0 ;
21059 PyObject
* obj1
= 0 ;
21060 char * kwnames
[] = {
21061 (char *) "self",(char *) "index", NULL
21064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21066 if (!SWIG_IsOK(res1
)) {
21067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21069 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21070 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21071 if (!SWIG_IsOK(ecode2
)) {
21072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
21074 arg2
= static_cast< long >(val2
);
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
21078 wxPyEndAllowThreads(__tstate
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21081 resultobj
= result
;
21088 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21089 PyObject
*resultobj
= 0;
21090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21091 PyObject
*result
= 0 ;
21094 PyObject
*swig_obj
[1] ;
21096 if (!args
) SWIG_fail
;
21097 swig_obj
[0] = args
;
21098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21099 if (!SWIG_IsOK(res1
)) {
21100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21102 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= result
;
21116 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
= 0;
21118 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21120 PyObject
*result
= 0 ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 char * kwnames
[] = {
21128 (char *) "self",(char *) "index", NULL
21131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21133 if (!SWIG_IsOK(res1
)) {
21134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21136 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21137 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21138 if (!SWIG_IsOK(ecode2
)) {
21139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
21141 arg2
= static_cast< long >(val2
);
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 resultobj
= result
;
21155 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21156 PyObject
*resultobj
= 0;
21157 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21158 bool arg2
= (bool) false ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 char * kwnames
[] = {
21167 (char *) "self",(char *) "recursive", NULL
21170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21172 if (!SWIG_IsOK(res1
)) {
21173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21175 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21177 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21178 if (!SWIG_IsOK(ecode2
)) {
21179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21181 arg2
= static_cast< bool >(val2
);
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21196 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
= 0;
21198 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21199 bool arg2
= (bool) false ;
21205 PyObject
* obj0
= 0 ;
21206 PyObject
* obj1
= 0 ;
21207 char * kwnames
[] = {
21208 (char *) "self",(char *) "recursive", NULL
21211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21213 if (!SWIG_IsOK(res1
)) {
21214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21216 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21218 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21219 if (!SWIG_IsOK(ecode2
)) {
21220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21222 arg2
= static_cast< bool >(val2
);
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21237 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
= 0;
21239 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21240 wxString
*arg2
= 0 ;
21244 bool temp2
= false ;
21245 PyObject
* obj0
= 0 ;
21246 PyObject
* obj1
= 0 ;
21247 char * kwnames
[] = {
21248 (char *) "self",(char *) "name", NULL
21251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21253 if (!SWIG_IsOK(res1
)) {
21254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21256 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21258 arg2
= wxString_in_helper(obj1
);
21259 if (arg2
== NULL
) SWIG_fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21285 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21286 PyObject
*resultobj
= 0;
21287 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21288 wxString
*arg2
= 0 ;
21292 bool temp2
= false ;
21293 PyObject
* obj0
= 0 ;
21294 PyObject
* obj1
= 0 ;
21295 char * kwnames
[] = {
21296 (char *) "self",(char *) "name", NULL
21299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21301 if (!SWIG_IsOK(res1
)) {
21302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21304 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21306 arg2
= wxString_in_helper(obj1
);
21307 if (arg2
== NULL
) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21333 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
= 0;
21335 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21336 wxString
*arg2
= 0 ;
21340 bool temp2
= false ;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 char * kwnames
[] = {
21344 (char *) "self",(char *) "name", NULL
21347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21349 if (!SWIG_IsOK(res1
)) {
21350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21352 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21354 arg2
= wxString_in_helper(obj1
);
21355 if (arg2
== NULL
) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21381 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
= 0;
21383 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21384 wxString
*arg2
= 0 ;
21385 wxConfigBase::EntryType result
;
21388 bool temp2
= false ;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 char * kwnames
[] = {
21392 (char *) "self",(char *) "name", NULL
21395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21397 if (!SWIG_IsOK(res1
)) {
21398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21400 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21402 arg2
= wxString_in_helper(obj1
);
21403 if (arg2
== NULL
) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= SWIG_From_int(static_cast< int >(result
));
21427 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
= 0;
21429 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21430 wxString
*arg2
= 0 ;
21431 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21432 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21436 bool temp2
= false ;
21437 bool temp3
= false ;
21438 PyObject
* obj0
= 0 ;
21439 PyObject
* obj1
= 0 ;
21440 PyObject
* obj2
= 0 ;
21441 char * kwnames
[] = {
21442 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21447 if (!SWIG_IsOK(res1
)) {
21448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21450 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21452 arg2
= wxString_in_helper(obj1
);
21453 if (arg2
== NULL
) SWIG_fail
;
21458 arg3
= wxString_in_helper(obj2
);
21459 if (arg3
== NULL
) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21498 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
= 0;
21500 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21501 wxString
*arg2
= 0 ;
21502 long arg3
= (long) 0 ;
21506 bool temp2
= false ;
21509 PyObject
* obj0
= 0 ;
21510 PyObject
* obj1
= 0 ;
21511 PyObject
* obj2
= 0 ;
21512 char * kwnames
[] = {
21513 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21518 if (!SWIG_IsOK(res1
)) {
21519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21521 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21523 arg2
= wxString_in_helper(obj1
);
21524 if (arg2
== NULL
) SWIG_fail
;
21528 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21529 if (!SWIG_IsOK(ecode3
)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21532 arg3
= static_cast< long >(val3
);
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 resultobj
= SWIG_From_long(static_cast< long >(result
));
21555 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
= 0;
21557 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21558 wxString
*arg2
= 0 ;
21559 double arg3
= (double) 0.0 ;
21563 bool temp2
= false ;
21566 PyObject
* obj0
= 0 ;
21567 PyObject
* obj1
= 0 ;
21568 PyObject
* obj2
= 0 ;
21569 char * kwnames
[] = {
21570 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21575 if (!SWIG_IsOK(res1
)) {
21576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21578 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21580 arg2
= wxString_in_helper(obj1
);
21581 if (arg2
== NULL
) SWIG_fail
;
21585 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21586 if (!SWIG_IsOK(ecode3
)) {
21587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21589 arg3
= static_cast< double >(val3
);
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= SWIG_From_double(static_cast< double >(result
));
21612 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
= 0;
21614 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21615 wxString
*arg2
= 0 ;
21616 bool arg3
= (bool) false ;
21620 bool temp2
= false ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 PyObject
* obj2
= 0 ;
21626 char * kwnames
[] = {
21627 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21632 if (!SWIG_IsOK(res1
)) {
21633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21635 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21637 arg2
= wxString_in_helper(obj1
);
21638 if (arg2
== NULL
) SWIG_fail
;
21642 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21643 if (!SWIG_IsOK(ecode3
)) {
21644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21646 arg3
= static_cast< bool >(val3
);
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21671 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
= 0;
21673 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21674 wxString
*arg2
= 0 ;
21675 wxString
*arg3
= 0 ;
21679 bool temp2
= false ;
21680 bool temp3
= false ;
21681 PyObject
* obj0
= 0 ;
21682 PyObject
* obj1
= 0 ;
21683 PyObject
* obj2
= 0 ;
21684 char * kwnames
[] = {
21685 (char *) "self",(char *) "key",(char *) "value", NULL
21688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21690 if (!SWIG_IsOK(res1
)) {
21691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21693 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21695 arg2
= wxString_in_helper(obj1
);
21696 if (arg2
== NULL
) SWIG_fail
;
21700 arg3
= wxString_in_helper(obj2
);
21701 if (arg3
== NULL
) SWIG_fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21735 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
= 0;
21737 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21738 wxString
*arg2
= 0 ;
21743 bool temp2
= false ;
21746 PyObject
* obj0
= 0 ;
21747 PyObject
* obj1
= 0 ;
21748 PyObject
* obj2
= 0 ;
21749 char * kwnames
[] = {
21750 (char *) "self",(char *) "key",(char *) "value", NULL
21753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21755 if (!SWIG_IsOK(res1
)) {
21756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21758 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21760 arg2
= wxString_in_helper(obj1
);
21761 if (arg2
== NULL
) SWIG_fail
;
21764 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21765 if (!SWIG_IsOK(ecode3
)) {
21766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21768 arg3
= static_cast< long >(val3
);
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21792 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
= 0;
21794 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21795 wxString
*arg2
= 0 ;
21800 bool temp2
= false ;
21803 PyObject
* obj0
= 0 ;
21804 PyObject
* obj1
= 0 ;
21805 PyObject
* obj2
= 0 ;
21806 char * kwnames
[] = {
21807 (char *) "self",(char *) "key",(char *) "value", NULL
21810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21812 if (!SWIG_IsOK(res1
)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21815 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21817 arg2
= wxString_in_helper(obj1
);
21818 if (arg2
== NULL
) SWIG_fail
;
21821 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21822 if (!SWIG_IsOK(ecode3
)) {
21823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21825 arg3
= static_cast< double >(val3
);
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21849 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
= 0;
21851 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21852 wxString
*arg2
= 0 ;
21857 bool temp2
= false ;
21860 PyObject
* obj0
= 0 ;
21861 PyObject
* obj1
= 0 ;
21862 PyObject
* obj2
= 0 ;
21863 char * kwnames
[] = {
21864 (char *) "self",(char *) "key",(char *) "value", NULL
21867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21869 if (!SWIG_IsOK(res1
)) {
21870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21872 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21874 arg2
= wxString_in_helper(obj1
);
21875 if (arg2
== NULL
) SWIG_fail
;
21878 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21879 if (!SWIG_IsOK(ecode3
)) {
21880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21882 arg3
= static_cast< bool >(val3
);
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21906 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
= 0;
21908 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21909 bool arg2
= (bool) false ;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char * kwnames
[] = {
21918 (char *) "self",(char *) "currentOnly", NULL
21921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21923 if (!SWIG_IsOK(res1
)) {
21924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21926 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21928 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21929 if (!SWIG_IsOK(ecode2
)) {
21930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21932 arg2
= static_cast< bool >(val2
);
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= (bool)(arg1
)->Flush(arg2
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21949 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
= 0;
21951 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21952 wxString
*arg2
= 0 ;
21953 wxString
*arg3
= 0 ;
21957 bool temp2
= false ;
21958 bool temp3
= false ;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 PyObject
* obj2
= 0 ;
21962 char * kwnames
[] = {
21963 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21968 if (!SWIG_IsOK(res1
)) {
21969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21971 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21973 arg2
= wxString_in_helper(obj1
);
21974 if (arg2
== NULL
) SWIG_fail
;
21978 arg3
= wxString_in_helper(obj2
);
21979 if (arg3
== NULL
) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21985 wxPyEndAllowThreads(__tstate
);
21986 if (PyErr_Occurred()) SWIG_fail
;
21989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22013 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
= 0;
22015 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22016 wxString
*arg2
= 0 ;
22017 wxString
*arg3
= 0 ;
22021 bool temp2
= false ;
22022 bool temp3
= false ;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 PyObject
* obj2
= 0 ;
22026 char * kwnames
[] = {
22027 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22032 if (!SWIG_IsOK(res1
)) {
22033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22035 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22037 arg2
= wxString_in_helper(obj1
);
22038 if (arg2
== NULL
) SWIG_fail
;
22042 arg3
= wxString_in_helper(obj2
);
22043 if (arg3
== NULL
) SWIG_fail
;
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22077 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
= 0;
22079 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22080 wxString
*arg2
= 0 ;
22081 bool arg3
= (bool) true ;
22085 bool temp2
= false ;
22088 PyObject
* obj0
= 0 ;
22089 PyObject
* obj1
= 0 ;
22090 PyObject
* obj2
= 0 ;
22091 char * kwnames
[] = {
22092 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
22095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22097 if (!SWIG_IsOK(res1
)) {
22098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22100 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22102 arg2
= wxString_in_helper(obj1
);
22103 if (arg2
== NULL
) SWIG_fail
;
22107 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22108 if (!SWIG_IsOK(ecode3
)) {
22109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
22111 arg3
= static_cast< bool >(val3
);
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22136 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
= 0;
22138 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22139 wxString
*arg2
= 0 ;
22143 bool temp2
= false ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 char * kwnames
[] = {
22147 (char *) "self",(char *) "key", NULL
22150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22152 if (!SWIG_IsOK(res1
)) {
22153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22155 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22157 arg2
= wxString_in_helper(obj1
);
22158 if (arg2
== NULL
) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22184 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22185 PyObject
*resultobj
= 0;
22186 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22190 PyObject
*swig_obj
[1] ;
22192 if (!args
) SWIG_fail
;
22193 swig_obj
[0] = args
;
22194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22195 if (!SWIG_IsOK(res1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22198 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (bool)(arg1
)->DeleteAll();
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22214 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
= 0;
22216 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22217 bool arg2
= (bool) true ;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 char * kwnames
[] = {
22225 (char *) "self",(char *) "doIt", NULL
22228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22230 if (!SWIG_IsOK(res1
)) {
22231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22233 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22235 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22236 if (!SWIG_IsOK(ecode2
)) {
22237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22239 arg2
= static_cast< bool >(val2
);
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 (arg1
)->SetExpandEnvVars(arg2
);
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= SWIG_Py_Void();
22254 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22255 PyObject
*resultobj
= 0;
22256 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22260 PyObject
*swig_obj
[1] ;
22262 if (!args
) SWIG_fail
;
22263 swig_obj
[0] = args
;
22264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22265 if (!SWIG_IsOK(res1
)) {
22266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22268 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22284 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22285 PyObject
*resultobj
= 0;
22286 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22287 bool arg2
= (bool) true ;
22292 PyObject
* obj0
= 0 ;
22293 PyObject
* obj1
= 0 ;
22294 char * kwnames
[] = {
22295 (char *) "self",(char *) "doIt", NULL
22298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22300 if (!SWIG_IsOK(res1
)) {
22301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22303 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22305 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22306 if (!SWIG_IsOK(ecode2
)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22309 arg2
= static_cast< bool >(val2
);
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 (arg1
)->SetRecordDefaults(arg2
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= SWIG_Py_Void();
22324 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22325 PyObject
*resultobj
= 0;
22326 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22330 PyObject
*swig_obj
[1] ;
22332 if (!args
) SWIG_fail
;
22333 swig_obj
[0] = args
;
22334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22335 if (!SWIG_IsOK(res1
)) {
22336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22338 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22354 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
= 0;
22356 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22357 wxString
*arg2
= 0 ;
22361 bool temp2
= false ;
22362 PyObject
* obj0
= 0 ;
22363 PyObject
* obj1
= 0 ;
22364 char * kwnames
[] = {
22365 (char *) "self",(char *) "str", NULL
22368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22370 if (!SWIG_IsOK(res1
)) {
22371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22373 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22375 arg2
= wxString_in_helper(obj1
);
22376 if (arg2
== NULL
) SWIG_fail
;
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22406 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22407 PyObject
*resultobj
= 0;
22408 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22412 PyObject
*swig_obj
[1] ;
22414 if (!args
) SWIG_fail
;
22415 swig_obj
[0] = args
;
22416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22417 if (!SWIG_IsOK(res1
)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22420 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22440 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22441 PyObject
*resultobj
= 0;
22442 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22446 PyObject
*swig_obj
[1] ;
22448 if (!args
) SWIG_fail
;
22449 swig_obj
[0] = args
;
22450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22451 if (!SWIG_IsOK(res1
)) {
22452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22454 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22474 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
= 0;
22476 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22477 wxString
*arg2
= 0 ;
22480 bool temp2
= false ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 char * kwnames
[] = {
22484 (char *) "self",(char *) "appName", NULL
22487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22489 if (!SWIG_IsOK(res1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22492 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22494 arg2
= wxString_in_helper(obj1
);
22495 if (arg2
== NULL
) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 (arg1
)->SetAppName((wxString
const &)*arg2
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= SWIG_Py_Void();
22519 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
= 0;
22521 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22522 wxString
*arg2
= 0 ;
22525 bool temp2
= false ;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22528 char * kwnames
[] = {
22529 (char *) "self",(char *) "vendorName", NULL
22532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22534 if (!SWIG_IsOK(res1
)) {
22535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22537 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22539 arg2
= wxString_in_helper(obj1
);
22540 if (arg2
== NULL
) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22546 wxPyEndAllowThreads(__tstate
);
22547 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= SWIG_Py_Void();
22564 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
= 0;
22566 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 char * kwnames
[] = {
22575 (char *) "self",(char *) "style", NULL
22578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22580 if (!SWIG_IsOK(res1
)) {
22581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22583 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22584 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22585 if (!SWIG_IsOK(ecode2
)) {
22586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22588 arg2
= static_cast< long >(val2
);
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 (arg1
)->SetStyle(arg2
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 resultobj
= SWIG_Py_Void();
22602 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22603 PyObject
*resultobj
= 0;
22604 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22608 PyObject
*swig_obj
[1] ;
22610 if (!args
) SWIG_fail
;
22611 swig_obj
[0] = args
;
22612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22613 if (!SWIG_IsOK(res1
)) {
22614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22616 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_From_long(static_cast< long >(result
));
22630 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22633 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22634 return SWIG_Py_Void();
22637 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
= 0;
22639 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22640 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22641 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22642 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22643 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22644 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22645 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22646 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22647 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22648 wxConfig
*result
= 0 ;
22649 bool temp1
= false ;
22650 bool temp2
= false ;
22651 bool temp3
= false ;
22652 bool temp4
= false ;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 PyObject
* obj2
= 0 ;
22658 PyObject
* obj3
= 0 ;
22659 PyObject
* obj4
= 0 ;
22660 char * kwnames
[] = {
22661 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22667 arg1
= wxString_in_helper(obj0
);
22668 if (arg1
== NULL
) SWIG_fail
;
22674 arg2
= wxString_in_helper(obj1
);
22675 if (arg2
== NULL
) SWIG_fail
;
22681 arg3
= wxString_in_helper(obj2
);
22682 if (arg3
== NULL
) SWIG_fail
;
22688 arg4
= wxString_in_helper(obj3
);
22689 if (arg4
== NULL
) SWIG_fail
;
22694 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22695 if (!SWIG_IsOK(ecode5
)) {
22696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22698 arg5
= static_cast< long >(val5
);
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22745 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22746 PyObject
*resultobj
= 0;
22747 wxConfig
*arg1
= (wxConfig
*) 0 ;
22750 PyObject
*swig_obj
[1] ;
22752 if (!args
) SWIG_fail
;
22753 swig_obj
[0] = args
;
22754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22755 if (!SWIG_IsOK(res1
)) {
22756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22758 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_Py_Void();
22773 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22776 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22777 return SWIG_Py_Void();
22780 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22781 return SWIG_Python_InitShadowInstance(args
);
22784 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
= 0;
22786 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22787 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22788 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22789 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22790 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22791 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22792 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22793 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22794 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22795 wxFileConfig
*result
= 0 ;
22796 bool temp1
= false ;
22797 bool temp2
= false ;
22798 bool temp3
= false ;
22799 bool temp4
= false ;
22802 PyObject
* obj0
= 0 ;
22803 PyObject
* obj1
= 0 ;
22804 PyObject
* obj2
= 0 ;
22805 PyObject
* obj3
= 0 ;
22806 PyObject
* obj4
= 0 ;
22807 char * kwnames
[] = {
22808 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22814 arg1
= wxString_in_helper(obj0
);
22815 if (arg1
== NULL
) SWIG_fail
;
22821 arg2
= wxString_in_helper(obj1
);
22822 if (arg2
== NULL
) SWIG_fail
;
22828 arg3
= wxString_in_helper(obj2
);
22829 if (arg3
== NULL
) SWIG_fail
;
22835 arg4
= wxString_in_helper(obj3
);
22836 if (arg4
== NULL
) SWIG_fail
;
22841 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22842 if (!SWIG_IsOK(ecode5
)) {
22843 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22845 arg5
= static_cast< long >(val5
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22892 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22893 PyObject
*resultobj
= 0;
22894 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22897 PyObject
*swig_obj
[1] ;
22899 if (!args
) SWIG_fail
;
22900 swig_obj
[0] = args
;
22901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22905 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= SWIG_Py_Void();
22920 SWIGINTERN PyObject
*_wrap_FileConfig_GetGlobalFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
= 0;
22922 wxString
*arg1
= 0 ;
22924 bool temp1
= false ;
22925 PyObject
* obj0
= 0 ;
22926 char * kwnames
[] = {
22927 (char *) "szFile", NULL
22930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileConfig_GetGlobalFileName",kwnames
,&obj0
)) SWIG_fail
;
22932 arg1
= wxString_in_helper(obj0
);
22933 if (arg1
== NULL
) SWIG_fail
;
22937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22938 result
= wxFileConfig::GetGlobalFileName((wxString
const &)*arg1
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22963 SWIGINTERN PyObject
*_wrap_FileConfig_GetLocalFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
= 0;
22965 wxString
*arg1
= 0 ;
22966 int arg2
= (int) 0 ;
22968 bool temp1
= false ;
22971 PyObject
* obj0
= 0 ;
22972 PyObject
* obj1
= 0 ;
22973 char * kwnames
[] = {
22974 (char *) "szFile",(char *) "style", NULL
22977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FileConfig_GetLocalFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22979 arg1
= wxString_in_helper(obj0
);
22980 if (arg1
== NULL
) SWIG_fail
;
22984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22985 if (!SWIG_IsOK(ecode2
)) {
22986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileConfig_GetLocalFileName" "', expected argument " "2"" of type '" "int""'");
22988 arg2
= static_cast< int >(val2
);
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= wxFileConfig::GetLocalFileName((wxString
const &)*arg1
,arg2
);
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23017 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23020 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
23021 return SWIG_Py_Void();
23024 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23025 return SWIG_Python_InitShadowInstance(args
);
23028 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
= 0;
23030 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
23031 wxString
*arg2
= 0 ;
23032 wxConfigPathChanger
*result
= 0 ;
23035 bool temp2
= false ;
23036 PyObject
* obj0
= 0 ;
23037 PyObject
* obj1
= 0 ;
23038 char * kwnames
[] = {
23039 (char *) "config",(char *) "entry", NULL
23042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
23044 if (!SWIG_IsOK(res1
)) {
23045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
23047 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
23049 arg2
= wxString_in_helper(obj1
);
23050 if (arg2
== NULL
) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
23074 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23075 PyObject
*resultobj
= 0;
23076 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23079 PyObject
*swig_obj
[1] ;
23081 if (!args
) SWIG_fail
;
23082 swig_obj
[0] = args
;
23083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
23084 if (!SWIG_IsOK(res1
)) {
23085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
23087 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= SWIG_Py_Void();
23102 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23103 PyObject
*resultobj
= 0;
23104 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23105 wxString
*result
= 0 ;
23108 PyObject
*swig_obj
[1] ;
23110 if (!args
) SWIG_fail
;
23111 swig_obj
[0] = args
;
23112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
23113 if (!SWIG_IsOK(res1
)) {
23114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
23116 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
23121 result
= (wxString
*) &_result_ref
;
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23130 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23139 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23142 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
23143 return SWIG_Py_Void();
23146 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23147 return SWIG_Python_InitShadowInstance(args
);
23150 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
= 0;
23152 wxString
*arg1
= 0 ;
23154 bool temp1
= false ;
23155 PyObject
* obj0
= 0 ;
23156 char * kwnames
[] = {
23157 (char *) "sz", NULL
23160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
23162 arg1
= wxString_in_helper(obj0
);
23163 if (arg1
== NULL
) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= wxExpandEnvVars((wxString
const &)*arg1
);
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23193 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
23194 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
23199 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
23200 PyObject
*pyobj
= 0;
23204 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23206 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23213 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
23214 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
23219 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
23220 PyObject
*pyobj
= 0;
23224 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23226 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23233 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
= 0;
23235 wxDateTime::Country arg1
;
23238 PyObject
* obj0
= 0 ;
23239 char * kwnames
[] = {
23240 (char *) "country", NULL
23243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
23244 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23245 if (!SWIG_IsOK(ecode1
)) {
23246 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23248 arg1
= static_cast< wxDateTime::Country
>(val1
);
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 wxDateTime::SetCountry(arg1
);
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 resultobj
= SWIG_Py_Void();
23262 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23263 PyObject
*resultobj
= 0;
23264 wxDateTime::Country result
;
23266 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= SWIG_From_int(static_cast< int >(result
));
23280 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
= 0;
23282 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23286 PyObject
* obj0
= 0 ;
23287 char * kwnames
[] = {
23288 (char *) "country", NULL
23291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23293 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23294 if (!SWIG_IsOK(ecode1
)) {
23295 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23297 arg1
= static_cast< wxDateTime::Country
>(val1
);
23300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23301 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23314 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
= 0;
23316 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23320 PyObject
* obj0
= 0 ;
23321 char * kwnames
[] = {
23322 (char *) "cal", NULL
23325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23327 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23328 if (!SWIG_IsOK(ecode1
)) {
23329 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23331 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= SWIG_From_int(static_cast< int >(result
));
23346 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
= 0;
23352 PyObject
* obj0
= 0 ;
23353 char * kwnames
[] = {
23354 (char *) "year", NULL
23357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23358 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23359 if (!SWIG_IsOK(ecode1
)) {
23360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23362 arg1
= static_cast< int >(val1
);
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23369 resultobj
= SWIG_From_int(static_cast< int >(result
));
23376 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23377 PyObject
*resultobj
= 0;
23378 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23379 wxDateTime::Month result
;
23382 PyObject
* obj0
= 0 ;
23383 char * kwnames
[] = {
23384 (char *) "cal", NULL
23387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23390 if (!SWIG_IsOK(ecode1
)) {
23391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23393 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 resultobj
= SWIG_From_int(static_cast< int >(result
));
23408 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
= 0;
23410 int arg1
= (int) wxDateTime::Inv_Year
;
23411 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 char * kwnames
[] = {
23420 (char *) "year",(char *) "cal", NULL
23423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23425 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23426 if (!SWIG_IsOK(ecode1
)) {
23427 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23429 arg1
= static_cast< int >(val1
);
23432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23433 if (!SWIG_IsOK(ecode2
)) {
23434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23436 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23440 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23453 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
= 0;
23455 int arg1
= (int) wxDateTime::Inv_Year
;
23459 PyObject
* obj0
= 0 ;
23460 char * kwnames
[] = {
23461 (char *) "year", NULL
23464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23466 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23467 if (!SWIG_IsOK(ecode1
)) {
23468 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23470 arg1
= static_cast< int >(val1
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (int)wxDateTime::GetCentury(arg1
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_From_int(static_cast< int >(result
));
23485 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
= 0;
23488 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23496 char * kwnames
[] = {
23497 (char *) "year",(char *) "cal", NULL
23500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23501 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23502 if (!SWIG_IsOK(ecode1
)) {
23503 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23505 arg1
= static_cast< int >(val1
);
23507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23508 if (!SWIG_IsOK(ecode2
)) {
23509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23511 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23519 resultobj
= SWIG_From_int(static_cast< int >(result
));
23526 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
= 0;
23528 wxDateTime::Month arg1
;
23529 int arg2
= (int) wxDateTime::Inv_Year
;
23530 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 PyObject
* obj2
= 0 ;
23541 char * kwnames
[] = {
23542 (char *) "month",(char *) "year",(char *) "cal", NULL
23545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23546 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23547 if (!SWIG_IsOK(ecode1
)) {
23548 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23550 arg1
= static_cast< wxDateTime::Month
>(val1
);
23552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23553 if (!SWIG_IsOK(ecode2
)) {
23554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23556 arg2
= static_cast< int >(val2
);
23559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23560 if (!SWIG_IsOK(ecode3
)) {
23561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23563 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= SWIG_From_int(static_cast< int >(result
));
23578 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
= 0;
23580 wxDateTime::Month arg1
;
23581 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23587 PyObject
* obj0
= 0 ;
23588 PyObject
* obj1
= 0 ;
23589 char * kwnames
[] = {
23590 (char *) "month",(char *) "flags", NULL
23593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23594 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23595 if (!SWIG_IsOK(ecode1
)) {
23596 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23598 arg1
= static_cast< wxDateTime::Month
>(val1
);
23600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23601 if (!SWIG_IsOK(ecode2
)) {
23602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23604 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23625 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
= 0;
23627 wxDateTime::WeekDay arg1
;
23628 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23634 PyObject
* obj0
= 0 ;
23635 PyObject
* obj1
= 0 ;
23636 char * kwnames
[] = {
23637 (char *) "weekday",(char *) "flags", NULL
23640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23641 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23642 if (!SWIG_IsOK(ecode1
)) {
23643 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23645 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23648 if (!SWIG_IsOK(ecode2
)) {
23649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23651 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23663 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23672 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23673 PyObject
*resultobj
= 0;
23674 PyObject
*result
= 0 ;
23676 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23680 wxPyEndAllowThreads(__tstate
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 resultobj
= result
;
23690 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23691 PyObject
*resultobj
= 0;
23692 int arg1
= (int) wxDateTime::Inv_Year
;
23693 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23699 PyObject
* obj0
= 0 ;
23700 PyObject
* obj1
= 0 ;
23701 char * kwnames
[] = {
23702 (char *) "year",(char *) "country", NULL
23705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23707 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23708 if (!SWIG_IsOK(ecode1
)) {
23709 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23711 arg1
= static_cast< int >(val1
);
23714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23715 if (!SWIG_IsOK(ecode2
)) {
23716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23718 arg2
= static_cast< wxDateTime::Country
>(val2
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23735 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
= 0;
23737 int arg1
= (int) wxDateTime::Inv_Year
;
23738 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23744 PyObject
* obj0
= 0 ;
23745 PyObject
* obj1
= 0 ;
23746 char * kwnames
[] = {
23747 (char *) "year",(char *) "country", NULL
23750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23752 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23753 if (!SWIG_IsOK(ecode1
)) {
23754 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23756 arg1
= static_cast< int >(val1
);
23759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23760 if (!SWIG_IsOK(ecode2
)) {
23761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23763 arg2
= static_cast< wxDateTime::Country
>(val2
);
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23778 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
= 0;
23780 int arg1
= (int) wxDateTime::Inv_Year
;
23781 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23787 PyObject
* obj0
= 0 ;
23788 PyObject
* obj1
= 0 ;
23789 char * kwnames
[] = {
23790 (char *) "year",(char *) "country", NULL
23793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23795 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23796 if (!SWIG_IsOK(ecode1
)) {
23797 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23799 arg1
= static_cast< int >(val1
);
23802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23803 if (!SWIG_IsOK(ecode2
)) {
23804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23806 arg2
= static_cast< wxDateTime::Country
>(val2
);
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23821 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23822 PyObject
*resultobj
= 0;
23825 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 result
= wxDateTime::Now();
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23839 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23840 PyObject
*resultobj
= 0;
23843 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 result
= wxDateTime::UNow();
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23857 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23858 PyObject
*resultobj
= 0;
23861 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= wxDateTime::Today();
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23875 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23876 PyObject
*resultobj
= 0;
23877 wxDateTime
*result
= 0 ;
23879 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= (wxDateTime
*)new wxDateTime();
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23893 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
= 0;
23896 wxDateTime
*result
= 0 ;
23897 unsigned int val1
;
23899 PyObject
* obj0
= 0 ;
23900 char * kwnames
[] = {
23901 (char *) "timet", NULL
23904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23905 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23906 if (!SWIG_IsOK(ecode1
)) {
23907 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23909 arg1
= static_cast< time_t >(val1
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (wxDateTime
*)new wxDateTime(arg1
);
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23923 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
= 0;
23926 wxDateTime
*result
= 0 ;
23929 PyObject
* obj0
= 0 ;
23930 char * kwnames
[] = {
23931 (char *) "jdn", NULL
23934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23935 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23936 if (!SWIG_IsOK(ecode1
)) {
23937 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23939 arg1
= static_cast< double >(val1
);
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= (wxDateTime
*)new wxDateTime(arg1
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23953 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
= 0;
23956 int arg2
= (int) 0 ;
23957 int arg3
= (int) 0 ;
23958 int arg4
= (int) 0 ;
23959 wxDateTime
*result
= 0 ;
23968 PyObject
* obj0
= 0 ;
23969 PyObject
* obj1
= 0 ;
23970 PyObject
* obj2
= 0 ;
23971 PyObject
* obj3
= 0 ;
23972 char * kwnames
[] = {
23973 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23977 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23978 if (!SWIG_IsOK(ecode1
)) {
23979 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23981 arg1
= static_cast< int >(val1
);
23983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23984 if (!SWIG_IsOK(ecode2
)) {
23985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23987 arg2
= static_cast< int >(val2
);
23990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23991 if (!SWIG_IsOK(ecode3
)) {
23992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23994 arg3
= static_cast< int >(val3
);
23997 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23998 if (!SWIG_IsOK(ecode4
)) {
23999 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
24001 arg4
= static_cast< int >(val4
);
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24016 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24017 PyObject
*resultobj
= 0;
24019 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24020 int arg3
= (int) wxDateTime::Inv_Year
;
24021 int arg4
= (int) 0 ;
24022 int arg5
= (int) 0 ;
24023 int arg6
= (int) 0 ;
24024 int arg7
= (int) 0 ;
24025 wxDateTime
*result
= 0 ;
24040 PyObject
* obj0
= 0 ;
24041 PyObject
* obj1
= 0 ;
24042 PyObject
* obj2
= 0 ;
24043 PyObject
* obj3
= 0 ;
24044 PyObject
* obj4
= 0 ;
24045 PyObject
* obj5
= 0 ;
24046 PyObject
* obj6
= 0 ;
24047 char * kwnames
[] = {
24048 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24052 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24053 if (!SWIG_IsOK(ecode1
)) {
24054 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
24056 arg1
= static_cast< int >(val1
);
24058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24059 if (!SWIG_IsOK(ecode2
)) {
24060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24062 arg2
= static_cast< wxDateTime::Month
>(val2
);
24065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24066 if (!SWIG_IsOK(ecode3
)) {
24067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
24069 arg3
= static_cast< int >(val3
);
24072 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24073 if (!SWIG_IsOK(ecode4
)) {
24074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
24076 arg4
= static_cast< int >(val4
);
24079 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24080 if (!SWIG_IsOK(ecode5
)) {
24081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
24083 arg5
= static_cast< int >(val5
);
24086 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24087 if (!SWIG_IsOK(ecode6
)) {
24088 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
24090 arg6
= static_cast< int >(val6
);
24093 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24094 if (!SWIG_IsOK(ecode7
)) {
24095 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
24097 arg7
= static_cast< int >(val7
);
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24112 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
= 0;
24114 wxDateTime
*arg1
= 0 ;
24115 wxDateTime
*result
= 0 ;
24118 PyObject
* obj0
= 0 ;
24119 char * kwnames
[] = {
24120 (char *) "date", NULL
24123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
24124 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
24125 if (!SWIG_IsOK(res1
)) {
24126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24131 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24145 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24146 PyObject
*resultobj
= 0;
24147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24150 PyObject
*swig_obj
[1] ;
24152 if (!args
) SWIG_fail
;
24153 swig_obj
[0] = args
;
24154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24158 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_Py_Void();
24173 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24174 PyObject
*resultobj
= 0;
24175 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24176 wxDateTime
*result
= 0 ;
24179 PyObject
*swig_obj
[1] ;
24181 if (!args
) SWIG_fail
;
24182 swig_obj
[0] = args
;
24183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24184 if (!SWIG_IsOK(res1
)) {
24185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
24187 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
24192 result
= (wxDateTime
*) &_result_ref
;
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24204 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24205 PyObject
*resultobj
= 0;
24206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24208 wxDateTime
*result
= 0 ;
24211 unsigned int val2
;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char * kwnames
[] = {
24216 (char *) "self",(char *) "timet", NULL
24219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24221 if (!SWIG_IsOK(res1
)) {
24222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24224 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24225 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
24226 if (!SWIG_IsOK(ecode2
)) {
24227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
24229 arg2
= static_cast< time_t >(val2
);
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24234 result
= (wxDateTime
*) &_result_ref
;
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24246 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
= 0;
24248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24250 wxDateTime
*result
= 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 char * kwnames
[] = {
24258 (char *) "self",(char *) "jdn", NULL
24261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24263 if (!SWIG_IsOK(res1
)) {
24264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24266 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24267 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24268 if (!SWIG_IsOK(ecode2
)) {
24269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24271 arg2
= static_cast< double >(val2
);
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24276 result
= (wxDateTime
*) &_result_ref
;
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24288 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24289 PyObject
*resultobj
= 0;
24290 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24292 int arg3
= (int) 0 ;
24293 int arg4
= (int) 0 ;
24294 int arg5
= (int) 0 ;
24295 wxDateTime
*result
= 0 ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 PyObject
* obj2
= 0 ;
24309 PyObject
* obj3
= 0 ;
24310 PyObject
* obj4
= 0 ;
24311 char * kwnames
[] = {
24312 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24317 if (!SWIG_IsOK(res1
)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24320 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24322 if (!SWIG_IsOK(ecode2
)) {
24323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24325 arg2
= static_cast< int >(val2
);
24327 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24328 if (!SWIG_IsOK(ecode3
)) {
24329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24331 arg3
= static_cast< int >(val3
);
24334 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24335 if (!SWIG_IsOK(ecode4
)) {
24336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24338 arg4
= static_cast< int >(val4
);
24341 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24342 if (!SWIG_IsOK(ecode5
)) {
24343 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24345 arg5
= static_cast< int >(val5
);
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24351 result
= (wxDateTime
*) &_result_ref
;
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24363 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
= 0;
24365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24367 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24368 int arg4
= (int) wxDateTime::Inv_Year
;
24369 int arg5
= (int) 0 ;
24370 int arg6
= (int) 0 ;
24371 int arg7
= (int) 0 ;
24372 int arg8
= (int) 0 ;
24373 wxDateTime
*result
= 0 ;
24390 PyObject
* obj0
= 0 ;
24391 PyObject
* obj1
= 0 ;
24392 PyObject
* obj2
= 0 ;
24393 PyObject
* obj3
= 0 ;
24394 PyObject
* obj4
= 0 ;
24395 PyObject
* obj5
= 0 ;
24396 PyObject
* obj6
= 0 ;
24397 PyObject
* obj7
= 0 ;
24398 char * kwnames
[] = {
24399 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24404 if (!SWIG_IsOK(res1
)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24407 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24409 if (!SWIG_IsOK(ecode2
)) {
24410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24412 arg2
= static_cast< int >(val2
);
24414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24415 if (!SWIG_IsOK(ecode3
)) {
24416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24418 arg3
= static_cast< wxDateTime::Month
>(val3
);
24421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24422 if (!SWIG_IsOK(ecode4
)) {
24423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24425 arg4
= static_cast< int >(val4
);
24428 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24429 if (!SWIG_IsOK(ecode5
)) {
24430 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24432 arg5
= static_cast< int >(val5
);
24435 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24436 if (!SWIG_IsOK(ecode6
)) {
24437 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24439 arg6
= static_cast< int >(val6
);
24442 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24443 if (!SWIG_IsOK(ecode7
)) {
24444 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24446 arg7
= static_cast< int >(val7
);
24449 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24450 if (!SWIG_IsOK(ecode8
)) {
24451 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24453 arg8
= static_cast< int >(val8
);
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24459 result
= (wxDateTime
*) &_result_ref
;
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24471 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24472 PyObject
*resultobj
= 0;
24473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24474 wxDateTime
*result
= 0 ;
24477 PyObject
*swig_obj
[1] ;
24479 if (!args
) SWIG_fail
;
24480 swig_obj
[0] = args
;
24481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24482 if (!SWIG_IsOK(res1
)) {
24483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24485 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24490 result
= (wxDateTime
*) &_result_ref
;
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24502 SWIGINTERN PyObject
*_wrap_DateTime_GetDateOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24503 PyObject
*resultobj
= 0;
24504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24508 PyObject
*swig_obj
[1] ;
24510 if (!args
) SWIG_fail
;
24511 swig_obj
[0] = args
;
24512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24513 if (!SWIG_IsOK(res1
)) {
24514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDateOnly" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24516 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 result
= ((wxDateTime
const *)arg1
)->GetDateOnly();
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24530 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
= 0;
24532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24534 wxDateTime
*result
= 0 ;
24539 PyObject
* obj0
= 0 ;
24540 PyObject
* obj1
= 0 ;
24541 char * kwnames
[] = {
24542 (char *) "self",(char *) "year", NULL
24545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24547 if (!SWIG_IsOK(res1
)) {
24548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24550 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24552 if (!SWIG_IsOK(ecode2
)) {
24553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24555 arg2
= static_cast< int >(val2
);
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24560 result
= (wxDateTime
*) &_result_ref
;
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24572 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
= 0;
24574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24575 wxDateTime::Month arg2
;
24576 wxDateTime
*result
= 0 ;
24581 PyObject
* obj0
= 0 ;
24582 PyObject
* obj1
= 0 ;
24583 char * kwnames
[] = {
24584 (char *) "self",(char *) "month", NULL
24587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24589 if (!SWIG_IsOK(res1
)) {
24590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24592 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24594 if (!SWIG_IsOK(ecode2
)) {
24595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24597 arg2
= static_cast< wxDateTime::Month
>(val2
);
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24602 result
= (wxDateTime
*) &_result_ref
;
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24614 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
= 0;
24616 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24618 wxDateTime
*result
= 0 ;
24623 PyObject
* obj0
= 0 ;
24624 PyObject
* obj1
= 0 ;
24625 char * kwnames
[] = {
24626 (char *) "self",(char *) "day", NULL
24629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24631 if (!SWIG_IsOK(res1
)) {
24632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24634 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24636 if (!SWIG_IsOK(ecode2
)) {
24637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24639 arg2
= static_cast< int >(val2
);
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24644 result
= (wxDateTime
*) &_result_ref
;
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24656 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
= 0;
24658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24660 wxDateTime
*result
= 0 ;
24665 PyObject
* obj0
= 0 ;
24666 PyObject
* obj1
= 0 ;
24667 char * kwnames
[] = {
24668 (char *) "self",(char *) "hour", NULL
24671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24673 if (!SWIG_IsOK(res1
)) {
24674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24676 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24678 if (!SWIG_IsOK(ecode2
)) {
24679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24681 arg2
= static_cast< int >(val2
);
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24686 result
= (wxDateTime
*) &_result_ref
;
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24698 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
= 0;
24700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24702 wxDateTime
*result
= 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 char * kwnames
[] = {
24710 (char *) "self",(char *) "minute", NULL
24713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24715 if (!SWIG_IsOK(res1
)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24718 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24720 if (!SWIG_IsOK(ecode2
)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24723 arg2
= static_cast< int >(val2
);
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24728 result
= (wxDateTime
*) &_result_ref
;
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24740 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
= 0;
24742 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24744 wxDateTime
*result
= 0 ;
24749 PyObject
* obj0
= 0 ;
24750 PyObject
* obj1
= 0 ;
24751 char * kwnames
[] = {
24752 (char *) "self",(char *) "second", NULL
24755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24757 if (!SWIG_IsOK(res1
)) {
24758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24760 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24762 if (!SWIG_IsOK(ecode2
)) {
24763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24765 arg2
= static_cast< int >(val2
);
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
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_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
= 0;
24784 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24786 wxDateTime
*result
= 0 ;
24791 PyObject
* obj0
= 0 ;
24792 PyObject
* obj1
= 0 ;
24793 char * kwnames
[] = {
24794 (char *) "self",(char *) "millisecond", NULL
24797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24799 if (!SWIG_IsOK(res1
)) {
24800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24802 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24804 if (!SWIG_IsOK(ecode2
)) {
24805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24807 arg2
= static_cast< int >(val2
);
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24812 result
= (wxDateTime
*) &_result_ref
;
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24824 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
= 0;
24826 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24827 wxDateTime::WeekDay arg2
;
24828 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24829 wxDateTime
*result
= 0 ;
24836 PyObject
* obj0
= 0 ;
24837 PyObject
* obj1
= 0 ;
24838 PyObject
* obj2
= 0 ;
24839 char * kwnames
[] = {
24840 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24845 if (!SWIG_IsOK(res1
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24848 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24850 if (!SWIG_IsOK(ecode2
)) {
24851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24853 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24856 if (!SWIG_IsOK(ecode3
)) {
24857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24859 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24865 result
= (wxDateTime
*) &_result_ref
;
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24877 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
= 0;
24879 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24880 wxDateTime::WeekDay arg2
;
24881 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 PyObject
* obj2
= 0 ;
24892 char * kwnames
[] = {
24893 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24898 if (!SWIG_IsOK(res1
)) {
24899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24901 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24903 if (!SWIG_IsOK(ecode2
)) {
24904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24906 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24908 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24909 if (!SWIG_IsOK(ecode3
)) {
24910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24912 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24917 wxPyEndAllowThreads(__tstate
);
24918 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24927 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
= 0;
24929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24930 wxDateTime::WeekDay arg2
;
24931 wxDateTime
*result
= 0 ;
24936 PyObject
* obj0
= 0 ;
24937 PyObject
* obj1
= 0 ;
24938 char * kwnames
[] = {
24939 (char *) "self",(char *) "weekday", NULL
24942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24944 if (!SWIG_IsOK(res1
)) {
24945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24947 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24949 if (!SWIG_IsOK(ecode2
)) {
24950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24952 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24957 result
= (wxDateTime
*) &_result_ref
;
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24969 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
= 0;
24971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24972 wxDateTime::WeekDay arg2
;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 char * kwnames
[] = {
24981 (char *) "self",(char *) "weekday", NULL
24984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24986 if (!SWIG_IsOK(res1
)) {
24987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24989 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24991 if (!SWIG_IsOK(ecode2
)) {
24992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24994 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (arg1
)->GetNextWeekDay(arg2
);
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25008 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
= 0;
25010 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25011 wxDateTime::WeekDay arg2
;
25012 wxDateTime
*result
= 0 ;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 char * kwnames
[] = {
25020 (char *) "self",(char *) "weekday", NULL
25023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25025 if (!SWIG_IsOK(res1
)) {
25026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25028 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25030 if (!SWIG_IsOK(ecode2
)) {
25031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25033 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
25038 result
= (wxDateTime
*) &_result_ref
;
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25050 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
= 0;
25052 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25053 wxDateTime::WeekDay arg2
;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 char * kwnames
[] = {
25062 (char *) "self",(char *) "weekday", NULL
25065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25067 if (!SWIG_IsOK(res1
)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25070 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25072 if (!SWIG_IsOK(ecode2
)) {
25073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25075 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 result
= (arg1
)->GetPrevWeekDay(arg2
);
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25089 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
= 0;
25091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25092 wxDateTime::WeekDay arg2
;
25093 int arg3
= (int) 1 ;
25094 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25095 int arg5
= (int) wxDateTime::Inv_Year
;
25107 PyObject
* obj0
= 0 ;
25108 PyObject
* obj1
= 0 ;
25109 PyObject
* obj2
= 0 ;
25110 PyObject
* obj3
= 0 ;
25111 PyObject
* obj4
= 0 ;
25112 char * kwnames
[] = {
25113 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
25116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25118 if (!SWIG_IsOK(res1
)) {
25119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25121 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25123 if (!SWIG_IsOK(ecode2
)) {
25124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25126 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25128 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25129 if (!SWIG_IsOK(ecode3
)) {
25130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
25132 arg3
= static_cast< int >(val3
);
25135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25136 if (!SWIG_IsOK(ecode4
)) {
25137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
25139 arg4
= static_cast< wxDateTime::Month
>(val4
);
25142 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25143 if (!SWIG_IsOK(ecode5
)) {
25144 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
25146 arg5
= static_cast< int >(val5
);
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25150 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25163 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
= 0;
25165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25166 wxDateTime::WeekDay arg2
;
25167 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25168 int arg4
= (int) wxDateTime::Inv_Year
;
25178 PyObject
* obj0
= 0 ;
25179 PyObject
* obj1
= 0 ;
25180 PyObject
* obj2
= 0 ;
25181 PyObject
* obj3
= 0 ;
25182 char * kwnames
[] = {
25183 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25188 if (!SWIG_IsOK(res1
)) {
25189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25191 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25193 if (!SWIG_IsOK(ecode2
)) {
25194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25196 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25199 if (!SWIG_IsOK(ecode3
)) {
25200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25202 arg3
= static_cast< wxDateTime::Month
>(val3
);
25205 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25206 if (!SWIG_IsOK(ecode4
)) {
25207 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25209 arg4
= static_cast< int >(val4
);
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25226 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
= 0;
25228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25229 wxDateTime::WeekDay arg2
;
25230 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25231 int arg4
= (int) wxDateTime::Inv_Year
;
25241 PyObject
* obj0
= 0 ;
25242 PyObject
* obj1
= 0 ;
25243 PyObject
* obj2
= 0 ;
25244 PyObject
* obj3
= 0 ;
25245 char * kwnames
[] = {
25246 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25251 if (!SWIG_IsOK(res1
)) {
25252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25254 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25256 if (!SWIG_IsOK(ecode2
)) {
25257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25259 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25262 if (!SWIG_IsOK(ecode3
)) {
25263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25265 arg3
= static_cast< wxDateTime::Month
>(val3
);
25268 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25269 if (!SWIG_IsOK(ecode4
)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25272 arg4
= static_cast< int >(val4
);
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25287 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
= 0;
25291 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25299 PyObject
* obj0
= 0 ;
25300 PyObject
* obj1
= 0 ;
25301 PyObject
* obj2
= 0 ;
25302 char * kwnames
[] = {
25303 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25307 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25308 if (!SWIG_IsOK(ecode1
)) {
25309 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25311 arg1
= static_cast< int >(val1
);
25312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25313 if (!SWIG_IsOK(ecode2
)) {
25314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25316 arg2
= static_cast< int >(val2
);
25318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25319 if (!SWIG_IsOK(ecode3
)) {
25320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25322 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25337 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
= 0;
25339 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25340 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25341 int arg3
= (int) wxDateTime::Inv_Year
;
25342 wxDateTime
*result
= 0 ;
25349 PyObject
* obj0
= 0 ;
25350 PyObject
* obj1
= 0 ;
25351 PyObject
* obj2
= 0 ;
25352 char * kwnames
[] = {
25353 (char *) "self",(char *) "month",(char *) "year", NULL
25356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25358 if (!SWIG_IsOK(res1
)) {
25359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25361 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25364 if (!SWIG_IsOK(ecode2
)) {
25365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25367 arg2
= static_cast< wxDateTime::Month
>(val2
);
25370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25371 if (!SWIG_IsOK(ecode3
)) {
25372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25374 arg3
= static_cast< int >(val3
);
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25380 result
= (wxDateTime
*) &_result_ref
;
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25392 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25393 PyObject
*resultobj
= 0;
25394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25395 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25396 int arg3
= (int) wxDateTime::Inv_Year
;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 PyObject
* obj2
= 0 ;
25407 char * kwnames
[] = {
25408 (char *) "self",(char *) "month",(char *) "year", NULL
25411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25413 if (!SWIG_IsOK(res1
)) {
25414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25416 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25419 if (!SWIG_IsOK(ecode2
)) {
25420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25422 arg2
= static_cast< wxDateTime::Month
>(val2
);
25425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25426 if (!SWIG_IsOK(ecode3
)) {
25427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25429 arg3
= static_cast< int >(val3
);
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25444 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
= 0;
25446 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25448 wxDateTime
*result
= 0 ;
25453 PyObject
* obj0
= 0 ;
25454 PyObject
* obj1
= 0 ;
25455 char * kwnames
[] = {
25456 (char *) "self",(char *) "yday", NULL
25459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25461 if (!SWIG_IsOK(res1
)) {
25462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25464 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25466 if (!SWIG_IsOK(ecode2
)) {
25467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25469 arg2
= static_cast< int >(val2
);
25471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25474 result
= (wxDateTime
*) &_result_ref
;
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25486 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
= 0;
25488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 PyObject
* obj1
= 0 ;
25497 char * kwnames
[] = {
25498 (char *) "self",(char *) "yday", NULL
25501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25503 if (!SWIG_IsOK(res1
)) {
25504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25506 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25508 if (!SWIG_IsOK(ecode2
)) {
25509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25511 arg2
= static_cast< int >(val2
);
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 result
= (arg1
)->GetYearDay(arg2
);
25515 wxPyEndAllowThreads(__tstate
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25525 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25526 PyObject
*resultobj
= 0;
25527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25531 PyObject
*swig_obj
[1] ;
25533 if (!args
) SWIG_fail
;
25534 swig_obj
[0] = args
;
25535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25536 if (!SWIG_IsOK(res1
)) {
25537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25539 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25542 result
= (double)(arg1
)->GetJulianDayNumber();
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= SWIG_From_double(static_cast< double >(result
));
25553 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25554 PyObject
*resultobj
= 0;
25555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25559 PyObject
*swig_obj
[1] ;
25561 if (!args
) SWIG_fail
;
25562 swig_obj
[0] = args
;
25563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25564 if (!SWIG_IsOK(res1
)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25567 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25570 result
= (double)(arg1
)->GetJDN();
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= SWIG_From_double(static_cast< double >(result
));
25581 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25582 PyObject
*resultobj
= 0;
25583 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25587 PyObject
*swig_obj
[1] ;
25589 if (!args
) SWIG_fail
;
25590 swig_obj
[0] = args
;
25591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25592 if (!SWIG_IsOK(res1
)) {
25593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25595 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= SWIG_From_double(static_cast< double >(result
));
25609 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25610 PyObject
*resultobj
= 0;
25611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25615 PyObject
*swig_obj
[1] ;
25617 if (!args
) SWIG_fail
;
25618 swig_obj
[0] = args
;
25619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25620 if (!SWIG_IsOK(res1
)) {
25621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25623 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (double)(arg1
)->GetMJD();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= SWIG_From_double(static_cast< double >(result
));
25637 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25638 PyObject
*resultobj
= 0;
25639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25643 PyObject
*swig_obj
[1] ;
25645 if (!args
) SWIG_fail
;
25646 swig_obj
[0] = args
;
25647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25648 if (!SWIG_IsOK(res1
)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25651 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= (double)(arg1
)->GetRataDie();
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= SWIG_From_double(static_cast< double >(result
));
25665 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
= 0;
25667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25668 wxDateTime::TimeZone
*arg2
= 0 ;
25669 bool arg3
= (bool) false ;
25673 bool temp2
= false ;
25676 PyObject
* obj0
= 0 ;
25677 PyObject
* obj1
= 0 ;
25678 PyObject
* obj2
= 0 ;
25679 char * kwnames
[] = {
25680 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25685 if (!SWIG_IsOK(res1
)) {
25686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25688 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25690 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25694 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25695 if (!SWIG_IsOK(ecode3
)) {
25696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25698 arg3
= static_cast< bool >(val3
);
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25708 if (temp2
) delete arg2
;
25713 if (temp2
) delete arg2
;
25719 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
= 0;
25721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25722 wxDateTime::TimeZone
*arg2
= 0 ;
25723 bool arg3
= (bool) false ;
25724 wxDateTime
*result
= 0 ;
25727 bool temp2
= false ;
25730 PyObject
* obj0
= 0 ;
25731 PyObject
* obj1
= 0 ;
25732 PyObject
* obj2
= 0 ;
25733 char * kwnames
[] = {
25734 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25739 if (!SWIG_IsOK(res1
)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25742 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25744 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25748 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25749 if (!SWIG_IsOK(ecode3
)) {
25750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25752 arg3
= static_cast< bool >(val3
);
25755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25758 result
= (wxDateTime
*) &_result_ref
;
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25765 if (temp2
) delete arg2
;
25770 if (temp2
) delete arg2
;
25776 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
= 0;
25778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25779 wxDateTime::TimeZone
*arg2
= 0 ;
25780 bool arg3
= (bool) false ;
25784 bool temp2
= false ;
25787 PyObject
* obj0
= 0 ;
25788 PyObject
* obj1
= 0 ;
25789 PyObject
* obj2
= 0 ;
25790 char * kwnames
[] = {
25791 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25796 if (!SWIG_IsOK(res1
)) {
25797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25799 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25801 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25805 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25806 if (!SWIG_IsOK(ecode3
)) {
25807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25809 arg3
= static_cast< bool >(val3
);
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25817 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25819 if (temp2
) delete arg2
;
25824 if (temp2
) delete arg2
;
25830 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
= 0;
25832 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25833 wxDateTime::TimeZone
*arg2
= 0 ;
25834 bool arg3
= (bool) false ;
25835 wxDateTime
*result
= 0 ;
25838 bool temp2
= false ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 PyObject
* obj2
= 0 ;
25844 char * kwnames
[] = {
25845 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25850 if (!SWIG_IsOK(res1
)) {
25851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25853 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25855 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25859 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25860 if (!SWIG_IsOK(ecode3
)) {
25861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25863 arg3
= static_cast< bool >(val3
);
25866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25869 result
= (wxDateTime
*) &_result_ref
;
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25876 if (temp2
) delete arg2
;
25881 if (temp2
) delete arg2
;
25887 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25888 PyObject
*resultobj
= 0;
25889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25890 bool arg2
= (bool) false ;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj1
= 0 ;
25898 char * kwnames
[] = {
25899 (char *) "self",(char *) "noDST", NULL
25902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25904 if (!SWIG_IsOK(res1
)) {
25905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25907 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25909 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25910 if (!SWIG_IsOK(ecode2
)) {
25911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25913 arg2
= static_cast< bool >(val2
);
25916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25917 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25928 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
= 0;
25930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25931 bool arg2
= (bool) false ;
25932 wxDateTime
*result
= 0 ;
25937 PyObject
* obj0
= 0 ;
25938 PyObject
* obj1
= 0 ;
25939 char * kwnames
[] = {
25940 (char *) "self",(char *) "noDST", NULL
25943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25945 if (!SWIG_IsOK(res1
)) {
25946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25948 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25950 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25951 if (!SWIG_IsOK(ecode2
)) {
25952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
25954 arg2
= static_cast< bool >(val2
);
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
25960 result
= (wxDateTime
*) &_result_ref
;
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25972 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
= 0;
25974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25975 bool arg2
= (bool) false ;
25981 PyObject
* obj0
= 0 ;
25982 PyObject
* obj1
= 0 ;
25983 char * kwnames
[] = {
25984 (char *) "self",(char *) "noDST", NULL
25987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25989 if (!SWIG_IsOK(res1
)) {
25990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25992 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25994 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25995 if (!SWIG_IsOK(ecode2
)) {
25996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
25998 arg2
= static_cast< bool >(val2
);
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26013 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
= 0;
26015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26016 bool arg2
= (bool) false ;
26017 wxDateTime
*result
= 0 ;
26022 PyObject
* obj0
= 0 ;
26023 PyObject
* obj1
= 0 ;
26024 char * kwnames
[] = {
26025 (char *) "self",(char *) "noDST", NULL
26028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26030 if (!SWIG_IsOK(res1
)) {
26031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
26033 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26035 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26036 if (!SWIG_IsOK(ecode2
)) {
26037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
26039 arg2
= static_cast< bool >(val2
);
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
26045 result
= (wxDateTime
*) &_result_ref
;
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26057 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
= 0;
26059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26060 bool arg2
= (bool) false ;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 char * kwnames
[] = {
26069 (char *) "self",(char *) "noDST", NULL
26072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26074 if (!SWIG_IsOK(res1
)) {
26075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26077 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26079 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26080 if (!SWIG_IsOK(ecode2
)) {
26081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
26083 arg2
= static_cast< bool >(val2
);
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26098 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
= 0;
26100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26101 bool arg2
= (bool) false ;
26102 wxDateTime
*result
= 0 ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 char * kwnames
[] = {
26110 (char *) "self",(char *) "noDST", NULL
26113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26115 if (!SWIG_IsOK(res1
)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26118 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26120 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26121 if (!SWIG_IsOK(ecode2
)) {
26122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
26124 arg2
= static_cast< bool >(val2
);
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
26130 result
= (wxDateTime
*) &_result_ref
;
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26142 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
= 0;
26144 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26145 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 char * kwnames
[] = {
26154 (char *) "self",(char *) "country", NULL
26157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26159 if (!SWIG_IsOK(res1
)) {
26160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26162 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26165 if (!SWIG_IsOK(ecode2
)) {
26166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26168 arg2
= static_cast< wxDateTime::Country
>(val2
);
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 result
= (int)(arg1
)->IsDST(arg2
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= SWIG_From_int(static_cast< int >(result
));
26183 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26184 PyObject
*resultobj
= 0;
26185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26189 PyObject
*swig_obj
[1] ;
26191 if (!args
) SWIG_fail
;
26192 swig_obj
[0] = args
;
26193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26194 if (!SWIG_IsOK(res1
)) {
26195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26197 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26201 wxPyEndAllowThreads(__tstate
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26213 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26214 PyObject
*resultobj
= 0;
26215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26219 PyObject
*swig_obj
[1] ;
26221 if (!args
) SWIG_fail
;
26222 swig_obj
[0] = args
;
26223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26224 if (!SWIG_IsOK(res1
)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26227 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26241 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
= 0;
26243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26244 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26245 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26249 bool temp2
= false ;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 char * kwnames
[] = {
26253 (char *) "self",(char *) "tz", NULL
26256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26258 if (!SWIG_IsOK(res1
)) {
26259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26261 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26264 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26271 wxPyEndAllowThreads(__tstate
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 resultobj
= SWIG_From_int(static_cast< int >(result
));
26276 if (temp2
) delete arg2
;
26281 if (temp2
) delete arg2
;
26287 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26288 PyObject
*resultobj
= 0;
26289 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26290 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26291 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26292 wxDateTime::Month result
;
26295 bool temp2
= false ;
26296 PyObject
* obj0
= 0 ;
26297 PyObject
* obj1
= 0 ;
26298 char * kwnames
[] = {
26299 (char *) "self",(char *) "tz", NULL
26302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26304 if (!SWIG_IsOK(res1
)) {
26305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26307 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26310 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26317 wxPyEndAllowThreads(__tstate
);
26318 if (PyErr_Occurred()) SWIG_fail
;
26320 resultobj
= SWIG_From_int(static_cast< int >(result
));
26322 if (temp2
) delete arg2
;
26327 if (temp2
) delete arg2
;
26333 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
= 0;
26335 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26336 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26337 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26341 bool temp2
= false ;
26342 PyObject
* obj0
= 0 ;
26343 PyObject
* obj1
= 0 ;
26344 char * kwnames
[] = {
26345 (char *) "self",(char *) "tz", NULL
26348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26350 if (!SWIG_IsOK(res1
)) {
26351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26353 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26356 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26366 resultobj
= SWIG_From_int(static_cast< int >(result
));
26368 if (temp2
) delete arg2
;
26373 if (temp2
) delete arg2
;
26379 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26380 PyObject
*resultobj
= 0;
26381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26382 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26383 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26384 wxDateTime::WeekDay result
;
26387 bool temp2
= false ;
26388 PyObject
* obj0
= 0 ;
26389 PyObject
* obj1
= 0 ;
26390 char * kwnames
[] = {
26391 (char *) "self",(char *) "tz", NULL
26394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26396 if (!SWIG_IsOK(res1
)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26399 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26402 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= SWIG_From_int(static_cast< int >(result
));
26414 if (temp2
) delete arg2
;
26419 if (temp2
) delete arg2
;
26425 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
= 0;
26427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26428 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26429 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26433 bool temp2
= false ;
26434 PyObject
* obj0
= 0 ;
26435 PyObject
* obj1
= 0 ;
26436 char * kwnames
[] = {
26437 (char *) "self",(char *) "tz", NULL
26440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26442 if (!SWIG_IsOK(res1
)) {
26443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26445 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26448 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26458 resultobj
= SWIG_From_int(static_cast< int >(result
));
26460 if (temp2
) delete arg2
;
26465 if (temp2
) delete arg2
;
26471 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26472 PyObject
*resultobj
= 0;
26473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26474 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26475 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26479 bool temp2
= false ;
26480 PyObject
* obj0
= 0 ;
26481 PyObject
* obj1
= 0 ;
26482 char * kwnames
[] = {
26483 (char *) "self",(char *) "tz", NULL
26486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26488 if (!SWIG_IsOK(res1
)) {
26489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26491 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26494 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 resultobj
= SWIG_From_int(static_cast< int >(result
));
26506 if (temp2
) delete arg2
;
26511 if (temp2
) delete arg2
;
26517 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26518 PyObject
*resultobj
= 0;
26519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26520 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26521 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26525 bool temp2
= false ;
26526 PyObject
* obj0
= 0 ;
26527 PyObject
* obj1
= 0 ;
26528 char * kwnames
[] = {
26529 (char *) "self",(char *) "tz", NULL
26532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26534 if (!SWIG_IsOK(res1
)) {
26535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26537 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26540 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 resultobj
= SWIG_From_int(static_cast< int >(result
));
26552 if (temp2
) delete arg2
;
26557 if (temp2
) delete arg2
;
26563 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
= 0;
26565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26566 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26567 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26571 bool temp2
= false ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char * kwnames
[] = {
26575 (char *) "self",(char *) "tz", NULL
26578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26580 if (!SWIG_IsOK(res1
)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26583 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26586 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= SWIG_From_int(static_cast< int >(result
));
26598 if (temp2
) delete arg2
;
26603 if (temp2
) delete arg2
;
26609 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
= 0;
26611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26612 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26613 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26617 bool temp2
= false ;
26618 PyObject
* obj0
= 0 ;
26619 PyObject
* obj1
= 0 ;
26620 char * kwnames
[] = {
26621 (char *) "self",(char *) "tz", NULL
26624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26626 if (!SWIG_IsOK(res1
)) {
26627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26629 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26632 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= SWIG_From_int(static_cast< int >(result
));
26644 if (temp2
) delete arg2
;
26649 if (temp2
) delete arg2
;
26655 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
= 0;
26657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26658 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26659 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26660 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26666 bool temp3
= false ;
26667 PyObject
* obj0
= 0 ;
26668 PyObject
* obj1
= 0 ;
26669 PyObject
* obj2
= 0 ;
26670 char * kwnames
[] = {
26671 (char *) "self",(char *) "flags",(char *) "tz", NULL
26674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26676 if (!SWIG_IsOK(res1
)) {
26677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26679 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26682 if (!SWIG_IsOK(ecode2
)) {
26683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26685 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26689 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 resultobj
= SWIG_From_int(static_cast< int >(result
));
26701 if (temp3
) delete arg3
;
26706 if (temp3
) delete arg3
;
26712 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
= 0;
26714 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26715 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26716 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26717 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26723 bool temp3
= false ;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 PyObject
* obj2
= 0 ;
26727 char * kwnames
[] = {
26728 (char *) "self",(char *) "flags",(char *) "tz", NULL
26731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26733 if (!SWIG_IsOK(res1
)) {
26734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26736 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26739 if (!SWIG_IsOK(ecode2
)) {
26740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26742 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26746 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26752 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= SWIG_From_int(static_cast< int >(result
));
26758 if (temp3
) delete arg3
;
26763 if (temp3
) delete arg3
;
26769 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
= 0;
26771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26772 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26778 PyObject
* obj0
= 0 ;
26779 PyObject
* obj1
= 0 ;
26780 char * kwnames
[] = {
26781 (char *) "self",(char *) "country", NULL
26784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26786 if (!SWIG_IsOK(res1
)) {
26787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26789 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26792 if (!SWIG_IsOK(ecode2
)) {
26793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26795 arg2
= static_cast< wxDateTime::Country
>(val2
);
26798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26799 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26812 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
= 0;
26814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26815 wxDateTime
*arg2
= 0 ;
26821 PyObject
* obj0
= 0 ;
26822 PyObject
* obj1
= 0 ;
26823 char * kwnames
[] = {
26824 (char *) "self",(char *) "datetime", NULL
26827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26829 if (!SWIG_IsOK(res1
)) {
26830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26832 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26834 if (!SWIG_IsOK(res2
)) {
26835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26840 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26856 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26857 PyObject
*resultobj
= 0;
26858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26859 wxDateTime
*arg2
= 0 ;
26865 PyObject
* obj0
= 0 ;
26866 PyObject
* obj1
= 0 ;
26867 char * kwnames
[] = {
26868 (char *) "self",(char *) "datetime", NULL
26871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26873 if (!SWIG_IsOK(res1
)) {
26874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26876 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26878 if (!SWIG_IsOK(res2
)) {
26879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26884 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26900 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
= 0;
26902 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26903 wxDateTime
*arg2
= 0 ;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 char * kwnames
[] = {
26912 (char *) "self",(char *) "datetime", NULL
26915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26917 if (!SWIG_IsOK(res1
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26920 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26922 if (!SWIG_IsOK(res2
)) {
26923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26928 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26931 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
26932 wxPyEndAllowThreads(__tstate
);
26933 if (PyErr_Occurred()) SWIG_fail
;
26936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26944 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
= 0;
26946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26947 wxDateTime
*arg2
= 0 ;
26948 wxDateTime
*arg3
= 0 ;
26956 PyObject
* obj0
= 0 ;
26957 PyObject
* obj1
= 0 ;
26958 PyObject
* obj2
= 0 ;
26959 char * kwnames
[] = {
26960 (char *) "self",(char *) "t1",(char *) "t2", NULL
26963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26965 if (!SWIG_IsOK(res1
)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26968 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26969 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26970 if (!SWIG_IsOK(res2
)) {
26971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26974 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26976 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26977 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26978 if (!SWIG_IsOK(res3
)) {
26979 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26984 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26988 wxPyEndAllowThreads(__tstate
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27000 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
= 0;
27002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27003 wxDateTime
*arg2
= 0 ;
27004 wxDateTime
*arg3
= 0 ;
27012 PyObject
* obj0
= 0 ;
27013 PyObject
* obj1
= 0 ;
27014 PyObject
* obj2
= 0 ;
27015 char * kwnames
[] = {
27016 (char *) "self",(char *) "t1",(char *) "t2", NULL
27019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27021 if (!SWIG_IsOK(res1
)) {
27022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27024 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27026 if (!SWIG_IsOK(res2
)) {
27027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27032 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27033 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27034 if (!SWIG_IsOK(res3
)) {
27035 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27040 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27056 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27057 PyObject
*resultobj
= 0;
27058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27059 wxDateTime
*arg2
= 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char * kwnames
[] = {
27068 (char *) "self",(char *) "dt", NULL
27071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27073 if (!SWIG_IsOK(res1
)) {
27074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27076 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27078 if (!SWIG_IsOK(res2
)) {
27079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27084 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27100 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27101 PyObject
*resultobj
= 0;
27102 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27103 wxDateTime
*arg2
= 0 ;
27109 PyObject
* obj0
= 0 ;
27110 PyObject
* obj1
= 0 ;
27111 char * kwnames
[] = {
27112 (char *) "self",(char *) "dt", NULL
27115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27117 if (!SWIG_IsOK(res1
)) {
27118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27120 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27122 if (!SWIG_IsOK(res2
)) {
27123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27128 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27144 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27145 PyObject
*resultobj
= 0;
27146 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27147 wxDateTime
*arg2
= 0 ;
27148 wxTimeSpan
*arg3
= 0 ;
27156 PyObject
* obj0
= 0 ;
27157 PyObject
* obj1
= 0 ;
27158 PyObject
* obj2
= 0 ;
27159 char * kwnames
[] = {
27160 (char *) "self",(char *) "dt",(char *) "ts", NULL
27163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27165 if (!SWIG_IsOK(res1
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27168 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27170 if (!SWIG_IsOK(res2
)) {
27171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27176 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27177 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27178 if (!SWIG_IsOK(res3
)) {
27179 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27184 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27200 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
= 0;
27202 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27203 wxTimeSpan
*arg2
= 0 ;
27204 wxDateTime
*result
= 0 ;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char * kwnames
[] = {
27212 (char *) "self",(char *) "diff", NULL
27215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27217 if (!SWIG_IsOK(res1
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27220 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27221 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27222 if (!SWIG_IsOK(res2
)) {
27223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27228 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27232 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27233 result
= (wxDateTime
*) &_result_ref
;
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27245 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
= 0;
27247 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27248 wxDateSpan
*arg2
= 0 ;
27249 wxDateTime
*result
= 0 ;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 char * kwnames
[] = {
27257 (char *) "self",(char *) "diff", NULL
27260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27262 if (!SWIG_IsOK(res1
)) {
27263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27265 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27267 if (!SWIG_IsOK(res2
)) {
27268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27273 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27277 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27278 result
= (wxDateTime
*) &_result_ref
;
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27290 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27291 PyObject
*resultobj
= 0;
27292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27293 wxTimeSpan
*arg2
= 0 ;
27294 wxDateTime
*result
= 0 ;
27299 PyObject
* obj0
= 0 ;
27300 PyObject
* obj1
= 0 ;
27301 char * kwnames
[] = {
27302 (char *) "self",(char *) "diff", NULL
27305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27307 if (!SWIG_IsOK(res1
)) {
27308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27310 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27312 if (!SWIG_IsOK(res2
)) {
27313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27318 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27323 result
= (wxDateTime
*) &_result_ref
;
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27335 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
= 0;
27337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27338 wxDateSpan
*arg2
= 0 ;
27339 wxDateTime
*result
= 0 ;
27344 PyObject
* obj0
= 0 ;
27345 PyObject
* obj1
= 0 ;
27346 char * kwnames
[] = {
27347 (char *) "self",(char *) "diff", NULL
27350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27352 if (!SWIG_IsOK(res1
)) {
27353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27355 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27357 if (!SWIG_IsOK(res2
)) {
27358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27363 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27368 result
= (wxDateTime
*) &_result_ref
;
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27380 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27381 PyObject
*resultobj
= 0;
27382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27383 wxDateTime
*arg2
= 0 ;
27389 PyObject
* obj0
= 0 ;
27390 PyObject
* obj1
= 0 ;
27391 char * kwnames
[] = {
27392 (char *) "self",(char *) "dt", NULL
27395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27397 if (!SWIG_IsOK(res1
)) {
27398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27400 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27402 if (!SWIG_IsOK(res2
)) {
27403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27408 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27422 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27423 PyObject
*resultobj
= 0;
27424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27425 wxTimeSpan
*arg2
= 0 ;
27426 wxDateTime
*result
= 0 ;
27432 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27434 if (!SWIG_IsOK(res1
)) {
27435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27437 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27438 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27439 if (!SWIG_IsOK(res2
)) {
27440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27445 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27450 result
= (wxDateTime
*) &_result_ref
;
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27462 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27463 PyObject
*resultobj
= 0;
27464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27465 wxDateSpan
*arg2
= 0 ;
27466 wxDateTime
*result
= 0 ;
27472 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27474 if (!SWIG_IsOK(res1
)) {
27475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27477 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27478 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27479 if (!SWIG_IsOK(res2
)) {
27480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27485 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27490 result
= (wxDateTime
*) &_result_ref
;
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27502 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27506 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27511 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27512 _v
= SWIG_CheckState(res
);
27514 if (!_v
) goto check_1
;
27515 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27520 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27524 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27529 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27530 PyObject
*resultobj
= 0;
27531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27532 wxTimeSpan
*arg2
= 0 ;
27533 wxDateTime
*result
= 0 ;
27539 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27541 if (!SWIG_IsOK(res1
)) {
27542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27544 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27545 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27546 if (!SWIG_IsOK(res2
)) {
27547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27552 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27557 result
= (wxDateTime
*) &_result_ref
;
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27569 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27570 PyObject
*resultobj
= 0;
27571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27572 wxDateSpan
*arg2
= 0 ;
27573 wxDateTime
*result
= 0 ;
27579 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27581 if (!SWIG_IsOK(res1
)) {
27582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27584 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27585 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27586 if (!SWIG_IsOK(res2
)) {
27587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27592 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27596 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27597 result
= (wxDateTime
*) &_result_ref
;
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27609 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27613 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27618 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27619 _v
= SWIG_CheckState(res
);
27621 if (!_v
) goto check_1
;
27622 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27627 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27631 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27636 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27637 PyObject
*resultobj
= 0;
27638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27639 wxTimeSpan
*arg2
= 0 ;
27646 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27648 if (!SWIG_IsOK(res1
)) {
27649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27651 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27652 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27653 if (!SWIG_IsOK(res2
)) {
27654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27659 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27673 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27674 PyObject
*resultobj
= 0;
27675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27676 wxDateSpan
*arg2
= 0 ;
27683 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27685 if (!SWIG_IsOK(res1
)) {
27686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27688 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27689 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27690 if (!SWIG_IsOK(res2
)) {
27691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27696 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27703 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27710 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27714 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27719 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27720 _v
= SWIG_CheckState(res
);
27722 if (!_v
) goto check_1
;
27723 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27728 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27732 Py_INCREF(Py_NotImplemented
);
27733 return Py_NotImplemented
;
27737 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27738 PyObject
*resultobj
= 0;
27739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27740 wxDateTime
*arg2
= 0 ;
27747 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27749 if (!SWIG_IsOK(res1
)) {
27750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27752 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27753 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27754 if (!SWIG_IsOK(res2
)) {
27755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27760 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27764 wxPyEndAllowThreads(__tstate
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27774 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27775 PyObject
*resultobj
= 0;
27776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27777 wxTimeSpan
*arg2
= 0 ;
27784 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27786 if (!SWIG_IsOK(res1
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27789 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27790 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27791 if (!SWIG_IsOK(res2
)) {
27792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27797 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27811 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27812 PyObject
*resultobj
= 0;
27813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27814 wxDateSpan
*arg2
= 0 ;
27821 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27823 if (!SWIG_IsOK(res1
)) {
27824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27826 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27827 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27828 if (!SWIG_IsOK(res2
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27834 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27837 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27838 wxPyEndAllowThreads(__tstate
);
27839 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27848 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27852 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27857 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27858 _v
= SWIG_CheckState(res
);
27860 if (!_v
) goto check_1
;
27861 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27868 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27869 _v
= SWIG_CheckState(res
);
27871 if (!_v
) goto check_2
;
27872 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27877 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27881 Py_INCREF(Py_NotImplemented
);
27882 return Py_NotImplemented
;
27886 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
= 0;
27888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27889 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27895 PyObject
* obj0
= 0 ;
27896 PyObject
* obj1
= 0 ;
27897 char * kwnames
[] = {
27898 (char *) "self",(char *) "other", NULL
27901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27903 if (!SWIG_IsOK(res1
)) {
27904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27906 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27908 if (!SWIG_IsOK(res2
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27911 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27914 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27927 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
= 0;
27929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27930 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27936 PyObject
* obj0
= 0 ;
27937 PyObject
* obj1
= 0 ;
27938 char * kwnames
[] = {
27939 (char *) "self",(char *) "other", NULL
27942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27944 if (!SWIG_IsOK(res1
)) {
27945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27947 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27949 if (!SWIG_IsOK(res2
)) {
27950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27952 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27968 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
= 0;
27970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27971 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27977 PyObject
* obj0
= 0 ;
27978 PyObject
* obj1
= 0 ;
27979 char * kwnames
[] = {
27980 (char *) "self",(char *) "other", NULL
27983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27985 if (!SWIG_IsOK(res1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27988 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27990 if (!SWIG_IsOK(res2
)) {
27991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27993 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27996 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28009 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
= 0;
28011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28012 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28018 PyObject
* obj0
= 0 ;
28019 PyObject
* obj1
= 0 ;
28020 char * kwnames
[] = {
28021 (char *) "self",(char *) "other", NULL
28024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28026 if (!SWIG_IsOK(res1
)) {
28027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28029 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28030 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28031 if (!SWIG_IsOK(res2
)) {
28032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28034 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28037 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28050 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
= 0;
28052 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28053 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 char * kwnames
[] = {
28062 (char *) "self",(char *) "other", NULL
28065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28067 if (!SWIG_IsOK(res1
)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28070 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28071 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28072 if (!SWIG_IsOK(res2
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28075 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28078 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28091 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
= 0;
28093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28094 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28100 PyObject
* obj0
= 0 ;
28101 PyObject
* obj1
= 0 ;
28102 char * kwnames
[] = {
28103 (char *) "self",(char *) "other", NULL
28106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28111 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28112 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28113 if (!SWIG_IsOK(res2
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28116 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28132 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
= 0;
28134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28135 wxString
*arg2
= 0 ;
28139 bool temp2
= false ;
28140 PyObject
* obj0
= 0 ;
28141 PyObject
* obj1
= 0 ;
28142 char * kwnames
[] = {
28143 (char *) "self",(char *) "date", NULL
28146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28148 if (!SWIG_IsOK(res1
)) {
28149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
28151 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28153 arg2
= wxString_in_helper(obj1
);
28154 if (arg2
== NULL
) SWIG_fail
;
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= SWIG_From_int(static_cast< int >(result
));
28178 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28179 PyObject
*resultobj
= 0;
28180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28181 wxString
*arg2
= 0 ;
28182 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28183 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28184 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28185 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28189 bool temp2
= false ;
28190 bool temp3
= false ;
28193 PyObject
* obj0
= 0 ;
28194 PyObject
* obj1
= 0 ;
28195 PyObject
* obj2
= 0 ;
28196 PyObject
* obj3
= 0 ;
28197 char * kwnames
[] = {
28198 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28203 if (!SWIG_IsOK(res1
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28206 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28208 arg2
= wxString_in_helper(obj1
);
28209 if (arg2
== NULL
) SWIG_fail
;
28214 arg3
= wxString_in_helper(obj2
);
28215 if (arg3
== NULL
) SWIG_fail
;
28220 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28221 if (!SWIG_IsOK(res4
)) {
28222 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28227 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28231 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28232 wxPyEndAllowThreads(__tstate
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 resultobj
= SWIG_From_int(static_cast< int >(result
));
28258 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
= 0;
28260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28261 wxString
*arg2
= 0 ;
28265 bool temp2
= false ;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char * kwnames
[] = {
28269 (char *) "self",(char *) "datetime", NULL
28272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28274 if (!SWIG_IsOK(res1
)) {
28275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28277 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28279 arg2
= wxString_in_helper(obj1
);
28280 if (arg2
== NULL
) SWIG_fail
;
28284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28285 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28289 resultobj
= SWIG_From_int(static_cast< int >(result
));
28304 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28305 PyObject
*resultobj
= 0;
28306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28307 wxString
*arg2
= 0 ;
28311 bool temp2
= false ;
28312 PyObject
* obj0
= 0 ;
28313 PyObject
* obj1
= 0 ;
28314 char * kwnames
[] = {
28315 (char *) "self",(char *) "date", NULL
28318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28320 if (!SWIG_IsOK(res1
)) {
28321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28323 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28325 arg2
= wxString_in_helper(obj1
);
28326 if (arg2
== NULL
) SWIG_fail
;
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28331 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28332 wxPyEndAllowThreads(__tstate
);
28333 if (PyErr_Occurred()) SWIG_fail
;
28335 resultobj
= SWIG_From_int(static_cast< int >(result
));
28350 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
= 0;
28352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28353 wxString
*arg2
= 0 ;
28357 bool temp2
= false ;
28358 PyObject
* obj0
= 0 ;
28359 PyObject
* obj1
= 0 ;
28360 char * kwnames
[] = {
28361 (char *) "self",(char *) "time", NULL
28364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28366 if (!SWIG_IsOK(res1
)) {
28367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28369 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28371 arg2
= wxString_in_helper(obj1
);
28372 if (arg2
== NULL
) SWIG_fail
;
28376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28377 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28381 resultobj
= SWIG_From_int(static_cast< int >(result
));
28396 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
= 0;
28398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28399 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28400 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28401 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28402 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28406 bool temp2
= false ;
28407 bool temp3
= false ;
28408 PyObject
* obj0
= 0 ;
28409 PyObject
* obj1
= 0 ;
28410 PyObject
* obj2
= 0 ;
28411 char * kwnames
[] = {
28412 (char *) "self",(char *) "format",(char *) "tz", NULL
28415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28417 if (!SWIG_IsOK(res1
)) {
28418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28420 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28423 arg2
= wxString_in_helper(obj1
);
28424 if (arg2
== NULL
) SWIG_fail
;
28430 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28436 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28437 wxPyEndAllowThreads(__tstate
);
28438 if (PyErr_Occurred()) SWIG_fail
;
28442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28452 if (temp3
) delete arg3
;
28461 if (temp3
) delete arg3
;
28467 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28468 PyObject
*resultobj
= 0;
28469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28473 PyObject
*swig_obj
[1] ;
28475 if (!args
) SWIG_fail
;
28476 swig_obj
[0] = args
;
28477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28478 if (!SWIG_IsOK(res1
)) {
28479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28481 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28484 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28485 wxPyEndAllowThreads(__tstate
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28490 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28492 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28501 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28502 PyObject
*resultobj
= 0;
28503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28507 PyObject
*swig_obj
[1] ;
28509 if (!args
) SWIG_fail
;
28510 swig_obj
[0] = args
;
28511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28512 if (!SWIG_IsOK(res1
)) {
28513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28515 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28535 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28536 PyObject
*resultobj
= 0;
28537 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28541 PyObject
*swig_obj
[1] ;
28543 if (!args
) SWIG_fail
;
28544 swig_obj
[0] = args
;
28545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28546 if (!SWIG_IsOK(res1
)) {
28547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28549 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28552 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28553 wxPyEndAllowThreads(__tstate
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28569 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28570 PyObject
*resultobj
= 0;
28571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28575 PyObject
*swig_obj
[1] ;
28577 if (!args
) SWIG_fail
;
28578 swig_obj
[0] = args
;
28579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28580 if (!SWIG_IsOK(res1
)) {
28581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28583 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28603 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28606 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28607 return SWIG_Py_Void();
28610 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28611 return SWIG_Python_InitShadowInstance(args
);
28614 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
= 0;
28620 PyObject
* obj0
= 0 ;
28621 char * kwnames
[] = {
28622 (char *) "ms", NULL
28625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28626 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28627 if (!SWIG_IsOK(ecode1
)) {
28628 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28630 arg1
= static_cast< long >(val1
);
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 result
= wxTimeSpan::Milliseconds(arg1
);
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28637 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28644 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28645 PyObject
*resultobj
= 0;
28648 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28651 result
= wxTimeSpan::Millisecond();
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28662 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
= 0;
28668 PyObject
* obj0
= 0 ;
28669 char * kwnames
[] = {
28670 (char *) "sec", NULL
28673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28674 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28675 if (!SWIG_IsOK(ecode1
)) {
28676 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28678 arg1
= static_cast< long >(val1
);
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 result
= wxTimeSpan::Seconds(arg1
);
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28692 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28693 PyObject
*resultobj
= 0;
28696 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28699 result
= wxTimeSpan::Second();
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28703 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28710 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
= 0;
28716 PyObject
* obj0
= 0 ;
28717 char * kwnames
[] = {
28718 (char *) "min", NULL
28721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28722 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28723 if (!SWIG_IsOK(ecode1
)) {
28724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28726 arg1
= static_cast< long >(val1
);
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= wxTimeSpan::Minutes(arg1
);
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28740 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28741 PyObject
*resultobj
= 0;
28744 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28747 result
= wxTimeSpan::Minute();
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28751 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28758 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28759 PyObject
*resultobj
= 0;
28764 PyObject
* obj0
= 0 ;
28765 char * kwnames
[] = {
28766 (char *) "hours", NULL
28769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28770 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28771 if (!SWIG_IsOK(ecode1
)) {
28772 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28774 arg1
= static_cast< long >(val1
);
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= wxTimeSpan::Hours(arg1
);
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28781 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28788 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28789 PyObject
*resultobj
= 0;
28792 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28795 result
= wxTimeSpan::Hour();
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28799 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28806 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28807 PyObject
*resultobj
= 0;
28812 PyObject
* obj0
= 0 ;
28813 char * kwnames
[] = {
28814 (char *) "days", NULL
28817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28818 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28819 if (!SWIG_IsOK(ecode1
)) {
28820 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28822 arg1
= static_cast< long >(val1
);
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 result
= wxTimeSpan::Days(arg1
);
28826 wxPyEndAllowThreads(__tstate
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28829 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28836 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28837 PyObject
*resultobj
= 0;
28840 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28843 result
= wxTimeSpan::Day();
28844 wxPyEndAllowThreads(__tstate
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28854 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
= 0;
28860 PyObject
* obj0
= 0 ;
28861 char * kwnames
[] = {
28862 (char *) "days", NULL
28865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28866 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28867 if (!SWIG_IsOK(ecode1
)) {
28868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28870 arg1
= static_cast< long >(val1
);
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 result
= wxTimeSpan::Weeks(arg1
);
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28884 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28885 PyObject
*resultobj
= 0;
28888 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28891 result
= wxTimeSpan::Week();
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28902 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28903 PyObject
*resultobj
= 0;
28904 long arg1
= (long) 0 ;
28905 long arg2
= (long) 0 ;
28906 long arg3
= (long) 0 ;
28907 long arg4
= (long) 0 ;
28908 wxTimeSpan
*result
= 0 ;
28917 PyObject
* obj0
= 0 ;
28918 PyObject
* obj1
= 0 ;
28919 PyObject
* obj2
= 0 ;
28920 PyObject
* obj3
= 0 ;
28921 char * kwnames
[] = {
28922 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
28925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28927 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28928 if (!SWIG_IsOK(ecode1
)) {
28929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
28931 arg1
= static_cast< long >(val1
);
28934 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28935 if (!SWIG_IsOK(ecode2
)) {
28936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
28938 arg2
= static_cast< long >(val2
);
28941 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28942 if (!SWIG_IsOK(ecode3
)) {
28943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
28945 arg3
= static_cast< long >(val3
);
28948 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28949 if (!SWIG_IsOK(ecode4
)) {
28950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
28952 arg4
= static_cast< long >(val4
);
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
28957 wxPyEndAllowThreads(__tstate
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
28967 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28968 PyObject
*resultobj
= 0;
28969 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28972 PyObject
*swig_obj
[1] ;
28974 if (!args
) SWIG_fail
;
28975 swig_obj
[0] = args
;
28976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28977 if (!SWIG_IsOK(res1
)) {
28978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28980 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 wxPyEndAllowThreads(__tstate
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= SWIG_Py_Void();
28995 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28996 PyObject
*resultobj
= 0;
28997 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28998 wxTimeSpan
*arg2
= 0 ;
28999 wxTimeSpan
*result
= 0 ;
29004 PyObject
* obj0
= 0 ;
29005 PyObject
* obj1
= 0 ;
29006 char * kwnames
[] = {
29007 (char *) "self",(char *) "diff", NULL
29010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29012 if (!SWIG_IsOK(res1
)) {
29013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29015 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29017 if (!SWIG_IsOK(res2
)) {
29018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29023 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29027 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
29028 result
= (wxTimeSpan
*) &_result_ref
;
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29040 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
= 0;
29042 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29043 wxTimeSpan
*arg2
= 0 ;
29044 wxTimeSpan
*result
= 0 ;
29049 PyObject
* obj0
= 0 ;
29050 PyObject
* obj1
= 0 ;
29051 char * kwnames
[] = {
29052 (char *) "self",(char *) "diff", NULL
29055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29057 if (!SWIG_IsOK(res1
)) {
29058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29060 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29062 if (!SWIG_IsOK(res2
)) {
29063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29068 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
29073 result
= (wxTimeSpan
*) &_result_ref
;
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29085 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29086 PyObject
*resultobj
= 0;
29087 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29089 wxTimeSpan
*result
= 0 ;
29094 PyObject
* obj0
= 0 ;
29095 PyObject
* obj1
= 0 ;
29096 char * kwnames
[] = {
29097 (char *) "self",(char *) "n", NULL
29100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29102 if (!SWIG_IsOK(res1
)) {
29103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29105 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29107 if (!SWIG_IsOK(ecode2
)) {
29108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29110 arg2
= static_cast< int >(val2
);
29112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29114 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29115 result
= (wxTimeSpan
*) &_result_ref
;
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29127 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29128 PyObject
*resultobj
= 0;
29129 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29130 wxTimeSpan
*result
= 0 ;
29133 PyObject
*swig_obj
[1] ;
29135 if (!args
) SWIG_fail
;
29136 swig_obj
[0] = args
;
29137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29138 if (!SWIG_IsOK(res1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29141 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29145 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
29146 result
= (wxTimeSpan
*) &_result_ref
;
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29158 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29159 PyObject
*resultobj
= 0;
29160 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29164 PyObject
*swig_obj
[1] ;
29166 if (!args
) SWIG_fail
;
29167 swig_obj
[0] = args
;
29168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29169 if (!SWIG_IsOK(res1
)) {
29170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29172 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29175 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29176 wxPyEndAllowThreads(__tstate
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29179 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29186 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
= 0;
29188 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29189 wxTimeSpan
*arg2
= 0 ;
29190 wxTimeSpan
*result
= 0 ;
29195 PyObject
* obj0
= 0 ;
29196 PyObject
* obj1
= 0 ;
29197 char * kwnames
[] = {
29198 (char *) "self",(char *) "diff", NULL
29201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29203 if (!SWIG_IsOK(res1
)) {
29204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29206 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29208 if (!SWIG_IsOK(res2
)) {
29209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29214 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29218 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29219 result
= (wxTimeSpan
*) &_result_ref
;
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29231 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
= 0;
29233 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29234 wxTimeSpan
*arg2
= 0 ;
29235 wxTimeSpan
*result
= 0 ;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj1
= 0 ;
29242 char * kwnames
[] = {
29243 (char *) "self",(char *) "diff", NULL
29246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29248 if (!SWIG_IsOK(res1
)) {
29249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29251 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29253 if (!SWIG_IsOK(res2
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29259 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29264 result
= (wxTimeSpan
*) &_result_ref
;
29266 wxPyEndAllowThreads(__tstate
);
29267 if (PyErr_Occurred()) SWIG_fail
;
29269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29276 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29277 PyObject
*resultobj
= 0;
29278 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29280 wxTimeSpan
*result
= 0 ;
29285 PyObject
* obj0
= 0 ;
29286 PyObject
* obj1
= 0 ;
29287 char * kwnames
[] = {
29288 (char *) "self",(char *) "n", NULL
29291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29293 if (!SWIG_IsOK(res1
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29296 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29298 if (!SWIG_IsOK(ecode2
)) {
29299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29301 arg2
= static_cast< int >(val2
);
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29306 result
= (wxTimeSpan
*) &_result_ref
;
29308 wxPyEndAllowThreads(__tstate
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29318 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29319 PyObject
*resultobj
= 0;
29320 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29321 wxTimeSpan
*result
= 0 ;
29324 PyObject
*swig_obj
[1] ;
29326 if (!args
) SWIG_fail
;
29327 swig_obj
[0] = args
;
29328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29329 if (!SWIG_IsOK(res1
)) {
29330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29332 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29337 result
= (wxTimeSpan
*) &_result_ref
;
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29349 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29350 PyObject
*resultobj
= 0;
29351 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29352 wxTimeSpan
*arg2
= 0 ;
29358 PyObject
* obj0
= 0 ;
29359 PyObject
* obj1
= 0 ;
29360 char * kwnames
[] = {
29361 (char *) "self",(char *) "other", NULL
29364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29366 if (!SWIG_IsOK(res1
)) {
29367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29369 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29370 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29371 if (!SWIG_IsOK(res2
)) {
29372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29377 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29391 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29392 PyObject
*resultobj
= 0;
29393 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29394 wxTimeSpan
*arg2
= 0 ;
29400 PyObject
* obj0
= 0 ;
29401 PyObject
* obj1
= 0 ;
29402 char * kwnames
[] = {
29403 (char *) "self",(char *) "other", NULL
29406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29408 if (!SWIG_IsOK(res1
)) {
29409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29411 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29412 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29413 if (!SWIG_IsOK(res2
)) {
29414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29419 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29433 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29434 PyObject
*resultobj
= 0;
29435 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 char * kwnames
[] = {
29445 (char *) "self",(char *) "n", NULL
29448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29450 if (!SWIG_IsOK(res1
)) {
29451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29453 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29455 if (!SWIG_IsOK(ecode2
)) {
29456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29458 arg2
= static_cast< int >(val2
);
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 result
= wxTimeSpan___mul__(arg1
,arg2
);
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29465 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29472 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
= 0;
29474 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29481 PyObject
* obj0
= 0 ;
29482 PyObject
* obj1
= 0 ;
29483 char * kwnames
[] = {
29484 (char *) "self",(char *) "n", NULL
29487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29489 if (!SWIG_IsOK(res1
)) {
29490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29492 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29494 if (!SWIG_IsOK(ecode2
)) {
29495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29497 arg2
= static_cast< int >(val2
);
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29511 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29512 PyObject
*resultobj
= 0;
29513 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29514 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29520 PyObject
* obj0
= 0 ;
29521 PyObject
* obj1
= 0 ;
29522 char * kwnames
[] = {
29523 (char *) "self",(char *) "other", NULL
29526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29528 if (!SWIG_IsOK(res1
)) {
29529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29531 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29533 if (!SWIG_IsOK(res2
)) {
29534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29536 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29539 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29540 wxPyEndAllowThreads(__tstate
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29552 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29553 PyObject
*resultobj
= 0;
29554 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29555 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29561 PyObject
* obj0
= 0 ;
29562 PyObject
* obj1
= 0 ;
29563 char * kwnames
[] = {
29564 (char *) "self",(char *) "other", NULL
29567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29569 if (!SWIG_IsOK(res1
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29572 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29574 if (!SWIG_IsOK(res2
)) {
29575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29577 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29580 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29581 wxPyEndAllowThreads(__tstate
);
29582 if (PyErr_Occurred()) SWIG_fail
;
29585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29593 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29594 PyObject
*resultobj
= 0;
29595 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29596 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29602 PyObject
* obj0
= 0 ;
29603 PyObject
* obj1
= 0 ;
29604 char * kwnames
[] = {
29605 (char *) "self",(char *) "other", NULL
29608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29610 if (!SWIG_IsOK(res1
)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29613 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29615 if (!SWIG_IsOK(res2
)) {
29616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29618 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29622 wxPyEndAllowThreads(__tstate
);
29623 if (PyErr_Occurred()) SWIG_fail
;
29626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29634 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29635 PyObject
*resultobj
= 0;
29636 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29637 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29643 PyObject
* obj0
= 0 ;
29644 PyObject
* obj1
= 0 ;
29645 char * kwnames
[] = {
29646 (char *) "self",(char *) "other", NULL
29649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29651 if (!SWIG_IsOK(res1
)) {
29652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29654 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29655 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29656 if (!SWIG_IsOK(res2
)) {
29657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29659 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29662 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29675 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
= 0;
29677 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29678 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 char * kwnames
[] = {
29687 (char *) "self",(char *) "other", NULL
29690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29692 if (!SWIG_IsOK(res1
)) {
29693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29695 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29697 if (!SWIG_IsOK(res2
)) {
29698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29700 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29704 wxPyEndAllowThreads(__tstate
);
29705 if (PyErr_Occurred()) SWIG_fail
;
29708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29716 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29717 PyObject
*resultobj
= 0;
29718 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29719 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29725 PyObject
* obj0
= 0 ;
29726 PyObject
* obj1
= 0 ;
29727 char * kwnames
[] = {
29728 (char *) "self",(char *) "other", NULL
29731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29733 if (!SWIG_IsOK(res1
)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29736 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29738 if (!SWIG_IsOK(res2
)) {
29739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29741 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29744 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29757 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29758 PyObject
*resultobj
= 0;
29759 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29763 PyObject
*swig_obj
[1] ;
29765 if (!args
) SWIG_fail
;
29766 swig_obj
[0] = args
;
29767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29768 if (!SWIG_IsOK(res1
)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29771 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29787 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29788 PyObject
*resultobj
= 0;
29789 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29793 PyObject
*swig_obj
[1] ;
29795 if (!args
) SWIG_fail
;
29796 swig_obj
[0] = args
;
29797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29798 if (!SWIG_IsOK(res1
)) {
29799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29801 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29805 wxPyEndAllowThreads(__tstate
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29817 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29818 PyObject
*resultobj
= 0;
29819 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29823 PyObject
*swig_obj
[1] ;
29825 if (!args
) SWIG_fail
;
29826 swig_obj
[0] = args
;
29827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29828 if (!SWIG_IsOK(res1
)) {
29829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29831 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29847 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29848 PyObject
*resultobj
= 0;
29849 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29850 wxTimeSpan
*arg2
= 0 ;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 char * kwnames
[] = {
29859 (char *) "self",(char *) "ts", NULL
29862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29864 if (!SWIG_IsOK(res1
)) {
29865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29867 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29869 if (!SWIG_IsOK(res2
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29875 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29878 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29891 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
= 0;
29893 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29894 wxTimeSpan
*arg2
= 0 ;
29900 PyObject
* obj0
= 0 ;
29901 PyObject
* obj1
= 0 ;
29902 char * kwnames
[] = {
29903 (char *) "self",(char *) "ts", NULL
29906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29908 if (!SWIG_IsOK(res1
)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29911 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29913 if (!SWIG_IsOK(res2
)) {
29914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29919 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29923 wxPyEndAllowThreads(__tstate
);
29924 if (PyErr_Occurred()) SWIG_fail
;
29927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29935 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29936 PyObject
*resultobj
= 0;
29937 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29938 wxTimeSpan
*arg2
= 0 ;
29944 PyObject
* obj0
= 0 ;
29945 PyObject
* obj1
= 0 ;
29946 char * kwnames
[] = {
29947 (char *) "self",(char *) "t", NULL
29950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29952 if (!SWIG_IsOK(res1
)) {
29953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29955 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29956 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29957 if (!SWIG_IsOK(res2
)) {
29958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29963 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
29967 wxPyEndAllowThreads(__tstate
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29979 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29980 PyObject
*resultobj
= 0;
29981 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29985 PyObject
*swig_obj
[1] ;
29987 if (!args
) SWIG_fail
;
29988 swig_obj
[0] = args
;
29989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29990 if (!SWIG_IsOK(res1
)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29993 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30000 resultobj
= SWIG_From_int(static_cast< int >(result
));
30007 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30008 PyObject
*resultobj
= 0;
30009 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30013 PyObject
*swig_obj
[1] ;
30015 if (!args
) SWIG_fail
;
30016 swig_obj
[0] = args
;
30017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30018 if (!SWIG_IsOK(res1
)) {
30019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30021 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30024 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
30025 wxPyEndAllowThreads(__tstate
);
30026 if (PyErr_Occurred()) SWIG_fail
;
30028 resultobj
= SWIG_From_int(static_cast< int >(result
));
30035 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30036 PyObject
*resultobj
= 0;
30037 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30041 PyObject
*swig_obj
[1] ;
30043 if (!args
) SWIG_fail
;
30044 swig_obj
[0] = args
;
30045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30046 if (!SWIG_IsOK(res1
)) {
30047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30049 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30052 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
30053 wxPyEndAllowThreads(__tstate
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30056 resultobj
= SWIG_From_int(static_cast< int >(result
));
30063 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30064 PyObject
*resultobj
= 0;
30065 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30069 PyObject
*swig_obj
[1] ;
30071 if (!args
) SWIG_fail
;
30072 swig_obj
[0] = args
;
30073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30074 if (!SWIG_IsOK(res1
)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30077 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30080 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30084 resultobj
= SWIG_From_int(static_cast< int >(result
));
30091 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30092 PyObject
*resultobj
= 0;
30093 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30097 PyObject
*swig_obj
[1] ;
30099 if (!args
) SWIG_fail
;
30100 swig_obj
[0] = args
;
30101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30105 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30113 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30114 hi
= PyLong_FromLong( (&result
)->GetHi() );
30115 lo
= PyLong_FromLong( (&result
)->GetLo() );
30116 shifter
= PyLong_FromLong(32);
30117 shifted
= PyNumber_Lshift(hi
, shifter
);
30118 resultobj
= PyNumber_Or(shifted
, lo
);
30121 Py_DECREF(shifter
);
30122 Py_DECREF(shifted
);
30130 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30131 PyObject
*resultobj
= 0;
30132 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30136 PyObject
*swig_obj
[1] ;
30138 if (!args
) SWIG_fail
;
30139 swig_obj
[0] = args
;
30140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30141 if (!SWIG_IsOK(res1
)) {
30142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30144 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30147 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30152 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30153 hi
= PyLong_FromLong( (&result
)->GetHi() );
30154 lo
= PyLong_FromLong( (&result
)->GetLo() );
30155 shifter
= PyLong_FromLong(32);
30156 shifted
= PyNumber_Lshift(hi
, shifter
);
30157 resultobj
= PyNumber_Or(shifted
, lo
);
30160 Py_DECREF(shifter
);
30161 Py_DECREF(shifted
);
30169 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
= 0;
30171 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30172 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30173 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30177 bool temp2
= false ;
30178 PyObject
* obj0
= 0 ;
30179 PyObject
* obj1
= 0 ;
30180 char * kwnames
[] = {
30181 (char *) "self",(char *) "format", NULL
30184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30186 if (!SWIG_IsOK(res1
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30189 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30192 arg2
= wxString_in_helper(obj1
);
30193 if (arg2
== NULL
) SWIG_fail
;
30198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30199 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30200 wxPyEndAllowThreads(__tstate
);
30201 if (PyErr_Occurred()) SWIG_fail
;
30205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30224 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30227 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30228 return SWIG_Py_Void();
30231 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30232 return SWIG_Python_InitShadowInstance(args
);
30235 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
= 0;
30237 int arg1
= (int) 0 ;
30238 int arg2
= (int) 0 ;
30239 int arg3
= (int) 0 ;
30240 int arg4
= (int) 0 ;
30241 wxDateSpan
*result
= 0 ;
30250 PyObject
* obj0
= 0 ;
30251 PyObject
* obj1
= 0 ;
30252 PyObject
* obj2
= 0 ;
30253 PyObject
* obj3
= 0 ;
30254 char * kwnames
[] = {
30255 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30260 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30261 if (!SWIG_IsOK(ecode1
)) {
30262 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30264 arg1
= static_cast< int >(val1
);
30267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30268 if (!SWIG_IsOK(ecode2
)) {
30269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30271 arg2
= static_cast< int >(val2
);
30274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30275 if (!SWIG_IsOK(ecode3
)) {
30276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30278 arg3
= static_cast< int >(val3
);
30281 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30282 if (!SWIG_IsOK(ecode4
)) {
30283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30285 arg4
= static_cast< int >(val4
);
30288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30289 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30290 wxPyEndAllowThreads(__tstate
);
30291 if (PyErr_Occurred()) SWIG_fail
;
30293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30300 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30301 PyObject
*resultobj
= 0;
30302 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30305 PyObject
*swig_obj
[1] ;
30307 if (!args
) SWIG_fail
;
30308 swig_obj
[0] = args
;
30309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30310 if (!SWIG_IsOK(res1
)) {
30311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30313 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30318 wxPyEndAllowThreads(__tstate
);
30319 if (PyErr_Occurred()) SWIG_fail
;
30321 resultobj
= SWIG_Py_Void();
30328 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30329 PyObject
*resultobj
= 0;
30334 PyObject
* obj0
= 0 ;
30335 char * kwnames
[] = {
30336 (char *) "days", NULL
30339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30340 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30341 if (!SWIG_IsOK(ecode1
)) {
30342 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30344 arg1
= static_cast< int >(val1
);
30346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30347 result
= wxDateSpan::Days(arg1
);
30348 wxPyEndAllowThreads(__tstate
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30351 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30358 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30359 PyObject
*resultobj
= 0;
30362 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= wxDateSpan::Day();
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30369 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30376 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30377 PyObject
*resultobj
= 0;
30382 PyObject
* obj0
= 0 ;
30383 char * kwnames
[] = {
30384 (char *) "weeks", NULL
30387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30388 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30389 if (!SWIG_IsOK(ecode1
)) {
30390 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30392 arg1
= static_cast< int >(val1
);
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30395 result
= wxDateSpan::Weeks(arg1
);
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30399 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30406 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30407 PyObject
*resultobj
= 0;
30410 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 result
= wxDateSpan::Week();
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30424 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30425 PyObject
*resultobj
= 0;
30430 PyObject
* obj0
= 0 ;
30431 char * kwnames
[] = {
30432 (char *) "mon", NULL
30435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30437 if (!SWIG_IsOK(ecode1
)) {
30438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30440 arg1
= static_cast< int >(val1
);
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 result
= wxDateSpan::Months(arg1
);
30444 wxPyEndAllowThreads(__tstate
);
30445 if (PyErr_Occurred()) SWIG_fail
;
30447 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30454 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30455 PyObject
*resultobj
= 0;
30458 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 result
= wxDateSpan::Month();
30462 wxPyEndAllowThreads(__tstate
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30472 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30473 PyObject
*resultobj
= 0;
30478 PyObject
* obj0
= 0 ;
30479 char * kwnames
[] = {
30480 (char *) "years", NULL
30483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30484 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30485 if (!SWIG_IsOK(ecode1
)) {
30486 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30488 arg1
= static_cast< int >(val1
);
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 result
= wxDateSpan::Years(arg1
);
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30502 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30503 PyObject
*resultobj
= 0;
30506 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30509 result
= wxDateSpan::Year();
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30520 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
= 0;
30522 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30524 wxDateSpan
*result
= 0 ;
30529 PyObject
* obj0
= 0 ;
30530 PyObject
* obj1
= 0 ;
30531 char * kwnames
[] = {
30532 (char *) "self",(char *) "n", NULL
30535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30537 if (!SWIG_IsOK(res1
)) {
30538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30540 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30542 if (!SWIG_IsOK(ecode2
)) {
30543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30545 arg2
= static_cast< int >(val2
);
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30550 result
= (wxDateSpan
*) &_result_ref
;
30552 wxPyEndAllowThreads(__tstate
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30562 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30563 PyObject
*resultobj
= 0;
30564 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30566 wxDateSpan
*result
= 0 ;
30571 PyObject
* obj0
= 0 ;
30572 PyObject
* obj1
= 0 ;
30573 char * kwnames
[] = {
30574 (char *) "self",(char *) "n", NULL
30577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30579 if (!SWIG_IsOK(res1
)) {
30580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30582 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30584 if (!SWIG_IsOK(ecode2
)) {
30585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30587 arg2
= static_cast< int >(val2
);
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30592 result
= (wxDateSpan
*) &_result_ref
;
30594 wxPyEndAllowThreads(__tstate
);
30595 if (PyErr_Occurred()) SWIG_fail
;
30597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30604 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
= 0;
30606 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30608 wxDateSpan
*result
= 0 ;
30613 PyObject
* obj0
= 0 ;
30614 PyObject
* obj1
= 0 ;
30615 char * kwnames
[] = {
30616 (char *) "self",(char *) "n", NULL
30619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30621 if (!SWIG_IsOK(res1
)) {
30622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30624 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30626 if (!SWIG_IsOK(ecode2
)) {
30627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30629 arg2
= static_cast< int >(val2
);
30631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30633 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30634 result
= (wxDateSpan
*) &_result_ref
;
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30646 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
= 0;
30648 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30650 wxDateSpan
*result
= 0 ;
30655 PyObject
* obj0
= 0 ;
30656 PyObject
* obj1
= 0 ;
30657 char * kwnames
[] = {
30658 (char *) "self",(char *) "n", NULL
30661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30663 if (!SWIG_IsOK(res1
)) {
30664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30666 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30668 if (!SWIG_IsOK(ecode2
)) {
30669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30671 arg2
= static_cast< int >(val2
);
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30675 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30676 result
= (wxDateSpan
*) &_result_ref
;
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30688 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30689 PyObject
*resultobj
= 0;
30690 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30694 PyObject
*swig_obj
[1] ;
30696 if (!args
) SWIG_fail
;
30697 swig_obj
[0] = args
;
30698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30699 if (!SWIG_IsOK(res1
)) {
30700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30702 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= SWIG_From_int(static_cast< int >(result
));
30716 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30717 PyObject
*resultobj
= 0;
30718 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30722 PyObject
*swig_obj
[1] ;
30724 if (!args
) SWIG_fail
;
30725 swig_obj
[0] = args
;
30726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30727 if (!SWIG_IsOK(res1
)) {
30728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30730 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30733 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30737 resultobj
= SWIG_From_int(static_cast< int >(result
));
30744 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30745 PyObject
*resultobj
= 0;
30746 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30750 PyObject
*swig_obj
[1] ;
30752 if (!args
) SWIG_fail
;
30753 swig_obj
[0] = args
;
30754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30755 if (!SWIG_IsOK(res1
)) {
30756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30758 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30761 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30762 wxPyEndAllowThreads(__tstate
);
30763 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= SWIG_From_int(static_cast< int >(result
));
30772 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30773 PyObject
*resultobj
= 0;
30774 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30778 PyObject
*swig_obj
[1] ;
30780 if (!args
) SWIG_fail
;
30781 swig_obj
[0] = args
;
30782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30783 if (!SWIG_IsOK(res1
)) {
30784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30786 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30789 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30793 resultobj
= SWIG_From_int(static_cast< int >(result
));
30800 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30801 PyObject
*resultobj
= 0;
30802 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30806 PyObject
*swig_obj
[1] ;
30808 if (!args
) SWIG_fail
;
30809 swig_obj
[0] = args
;
30810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30811 if (!SWIG_IsOK(res1
)) {
30812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30814 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30817 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30818 wxPyEndAllowThreads(__tstate
);
30819 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= SWIG_From_int(static_cast< int >(result
));
30828 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30829 PyObject
*resultobj
= 0;
30830 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30831 wxDateSpan
*arg2
= 0 ;
30832 wxDateSpan
*result
= 0 ;
30837 PyObject
* obj0
= 0 ;
30838 PyObject
* obj1
= 0 ;
30839 char * kwnames
[] = {
30840 (char *) "self",(char *) "other", NULL
30843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30845 if (!SWIG_IsOK(res1
)) {
30846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30848 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30850 if (!SWIG_IsOK(res2
)) {
30851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30856 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30861 result
= (wxDateSpan
*) &_result_ref
;
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30873 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30874 PyObject
*resultobj
= 0;
30875 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30876 wxDateSpan
*arg2
= 0 ;
30877 wxDateSpan
*result
= 0 ;
30882 PyObject
* obj0
= 0 ;
30883 PyObject
* obj1
= 0 ;
30884 char * kwnames
[] = {
30885 (char *) "self",(char *) "other", NULL
30888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30890 if (!SWIG_IsOK(res1
)) {
30891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30893 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30895 if (!SWIG_IsOK(res2
)) {
30896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30901 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30905 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30906 result
= (wxDateSpan
*) &_result_ref
;
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30918 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30919 PyObject
*resultobj
= 0;
30920 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30921 wxDateSpan
*result
= 0 ;
30924 PyObject
*swig_obj
[1] ;
30926 if (!args
) SWIG_fail
;
30927 swig_obj
[0] = args
;
30928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30932 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 wxDateSpan
&_result_ref
= (arg1
)->Neg();
30937 result
= (wxDateSpan
*) &_result_ref
;
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30949 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30950 PyObject
*resultobj
= 0;
30951 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30953 wxDateSpan
*result
= 0 ;
30958 PyObject
* obj0
= 0 ;
30959 PyObject
* obj1
= 0 ;
30960 char * kwnames
[] = {
30961 (char *) "self",(char *) "factor", NULL
30964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30966 if (!SWIG_IsOK(res1
)) {
30967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30969 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30971 if (!SWIG_IsOK(ecode2
)) {
30972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
30974 arg2
= static_cast< int >(val2
);
30976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30978 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
30979 result
= (wxDateSpan
*) &_result_ref
;
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30991 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30992 PyObject
*resultobj
= 0;
30993 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30994 wxDateSpan
*arg2
= 0 ;
30995 wxDateSpan
*result
= 0 ;
31000 PyObject
* obj0
= 0 ;
31001 PyObject
* obj1
= 0 ;
31002 char * kwnames
[] = {
31003 (char *) "self",(char *) "other", NULL
31006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31008 if (!SWIG_IsOK(res1
)) {
31009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31011 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31013 if (!SWIG_IsOK(res2
)) {
31014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31019 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31023 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
31024 result
= (wxDateSpan
*) &_result_ref
;
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31036 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
= 0;
31038 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31039 wxDateSpan
*arg2
= 0 ;
31040 wxDateSpan
*result
= 0 ;
31045 PyObject
* obj0
= 0 ;
31046 PyObject
* obj1
= 0 ;
31047 char * kwnames
[] = {
31048 (char *) "self",(char *) "other", NULL
31051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31053 if (!SWIG_IsOK(res1
)) {
31054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31056 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31057 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31058 if (!SWIG_IsOK(res2
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31064 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31068 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
31069 result
= (wxDateSpan
*) &_result_ref
;
31071 wxPyEndAllowThreads(__tstate
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31081 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31082 PyObject
*resultobj
= 0;
31083 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31084 wxDateSpan
*result
= 0 ;
31087 PyObject
*swig_obj
[1] ;
31089 if (!args
) SWIG_fail
;
31090 swig_obj
[0] = args
;
31091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31092 if (!SWIG_IsOK(res1
)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31095 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31099 wxDateSpan
&_result_ref
= (arg1
)->operator -();
31100 result
= (wxDateSpan
*) &_result_ref
;
31102 wxPyEndAllowThreads(__tstate
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31112 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31113 PyObject
*resultobj
= 0;
31114 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31116 wxDateSpan
*result
= 0 ;
31121 PyObject
* obj0
= 0 ;
31122 PyObject
* obj1
= 0 ;
31123 char * kwnames
[] = {
31124 (char *) "self",(char *) "factor", NULL
31127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31129 if (!SWIG_IsOK(res1
)) {
31130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31132 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31134 if (!SWIG_IsOK(ecode2
)) {
31135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
31137 arg2
= static_cast< int >(val2
);
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31141 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
31142 result
= (wxDateSpan
*) &_result_ref
;
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31154 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
= 0;
31156 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31157 wxDateSpan
*arg2
= 0 ;
31163 PyObject
* obj0
= 0 ;
31164 PyObject
* obj1
= 0 ;
31165 char * kwnames
[] = {
31166 (char *) "self",(char *) "other", NULL
31169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31171 if (!SWIG_IsOK(res1
)) {
31172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31174 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31176 if (!SWIG_IsOK(res2
)) {
31177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31182 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31186 wxPyEndAllowThreads(__tstate
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31196 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
= 0;
31198 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31199 wxDateSpan
*arg2
= 0 ;
31205 PyObject
* obj0
= 0 ;
31206 PyObject
* obj1
= 0 ;
31207 char * kwnames
[] = {
31208 (char *) "self",(char *) "other", NULL
31211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31213 if (!SWIG_IsOK(res1
)) {
31214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31216 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31218 if (!SWIG_IsOK(res2
)) {
31219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31224 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31227 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31238 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31239 PyObject
*resultobj
= 0;
31240 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31247 PyObject
* obj0
= 0 ;
31248 PyObject
* obj1
= 0 ;
31249 char * kwnames
[] = {
31250 (char *) "self",(char *) "n", NULL
31253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31255 if (!SWIG_IsOK(res1
)) {
31256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31258 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31260 if (!SWIG_IsOK(ecode2
)) {
31261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31263 arg2
= static_cast< int >(val2
);
31265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31266 result
= wxDateSpan___mul__(arg1
,arg2
);
31267 wxPyEndAllowThreads(__tstate
);
31268 if (PyErr_Occurred()) SWIG_fail
;
31270 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31277 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31278 PyObject
*resultobj
= 0;
31279 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31286 PyObject
* obj0
= 0 ;
31287 PyObject
* obj1
= 0 ;
31288 char * kwnames
[] = {
31289 (char *) "self",(char *) "n", NULL
31292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31294 if (!SWIG_IsOK(res1
)) {
31295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31297 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31299 if (!SWIG_IsOK(ecode2
)) {
31300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31302 arg2
= static_cast< int >(val2
);
31304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31305 result
= wxDateSpan___rmul__(arg1
,arg2
);
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31316 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31317 PyObject
*resultobj
= 0;
31318 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31319 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31325 PyObject
* obj0
= 0 ;
31326 PyObject
* obj1
= 0 ;
31327 char * kwnames
[] = {
31328 (char *) "self",(char *) "other", NULL
31331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31333 if (!SWIG_IsOK(res1
)) {
31334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31336 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31338 if (!SWIG_IsOK(res2
)) {
31339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31341 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31357 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31358 PyObject
*resultobj
= 0;
31359 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31360 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31366 PyObject
* obj0
= 0 ;
31367 PyObject
* obj1
= 0 ;
31368 char * kwnames
[] = {
31369 (char *) "self",(char *) "other", NULL
31372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31374 if (!SWIG_IsOK(res1
)) {
31375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31377 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31379 if (!SWIG_IsOK(res2
)) {
31380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31382 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31398 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31401 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31402 return SWIG_Py_Void();
31405 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31406 return SWIG_Python_InitShadowInstance(args
);
31409 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31410 PyObject
*resultobj
= 0;
31413 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31416 result
= (long)wxGetLocalTime();
31417 wxPyEndAllowThreads(__tstate
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= SWIG_From_long(static_cast< long >(result
));
31427 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31428 PyObject
*resultobj
= 0;
31431 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 result
= (long)wxGetUTCTime();
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= SWIG_From_long(static_cast< long >(result
));
31445 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31446 PyObject
*resultobj
= 0;
31449 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31452 result
= (long)wxGetCurrentTime();
31453 wxPyEndAllowThreads(__tstate
);
31454 if (PyErr_Occurred()) SWIG_fail
;
31456 resultobj
= SWIG_From_long(static_cast< long >(result
));
31463 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31464 PyObject
*resultobj
= 0;
31467 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 result
= wxGetLocalTimeMillis();
31471 wxPyEndAllowThreads(__tstate
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31475 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31476 hi
= PyLong_FromLong( (&result
)->GetHi() );
31477 lo
= PyLong_FromLong( (&result
)->GetLo() );
31478 shifter
= PyLong_FromLong(32);
31479 shifted
= PyNumber_Lshift(hi
, shifter
);
31480 resultobj
= PyNumber_Or(shifted
, lo
);
31483 Py_DECREF(shifter
);
31484 Py_DECREF(shifted
);
31492 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31493 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31498 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31499 PyObject
*pyobj
= 0;
31501 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31506 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31507 PyObject
*resultobj
= 0;
31508 wxDataFormatId arg1
;
31509 wxDataFormat
*result
= 0 ;
31512 PyObject
* obj0
= 0 ;
31513 char * kwnames
[] = {
31514 (char *) "type", NULL
31517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31518 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31519 if (!SWIG_IsOK(ecode1
)) {
31520 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31522 arg1
= static_cast< wxDataFormatId
>(val1
);
31524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31525 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31526 wxPyEndAllowThreads(__tstate
);
31527 if (PyErr_Occurred()) SWIG_fail
;
31529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31536 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31537 PyObject
*resultobj
= 0;
31538 wxString
*arg1
= 0 ;
31539 wxDataFormat
*result
= 0 ;
31540 bool temp1
= false ;
31541 PyObject
* obj0
= 0 ;
31542 char * kwnames
[] = {
31543 (char *) "format", NULL
31546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31548 arg1
= wxString_in_helper(obj0
);
31549 if (arg1
== NULL
) SWIG_fail
;
31553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31554 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31573 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31574 PyObject
*resultobj
= 0;
31575 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31578 PyObject
*swig_obj
[1] ;
31580 if (!args
) SWIG_fail
;
31581 swig_obj
[0] = args
;
31582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31583 if (!SWIG_IsOK(res1
)) {
31584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31586 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31591 wxPyEndAllowThreads(__tstate
);
31592 if (PyErr_Occurred()) SWIG_fail
;
31594 resultobj
= SWIG_Py_Void();
31601 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31602 PyObject
*resultobj
= 0;
31603 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31604 wxDataFormatId arg2
;
31611 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31613 if (!SWIG_IsOK(res1
)) {
31614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31616 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31617 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31618 if (!SWIG_IsOK(ecode2
)) {
31619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31621 arg2
= static_cast< wxDataFormatId
>(val2
);
31623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31624 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31625 wxPyEndAllowThreads(__tstate
);
31626 if (PyErr_Occurred()) SWIG_fail
;
31629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31637 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31638 PyObject
*resultobj
= 0;
31639 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31640 wxDataFormatId arg2
;
31647 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31649 if (!SWIG_IsOK(res1
)) {
31650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31652 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31653 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31654 if (!SWIG_IsOK(ecode2
)) {
31655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31657 arg2
= static_cast< wxDataFormatId
>(val2
);
31659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31660 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31661 wxPyEndAllowThreads(__tstate
);
31662 if (PyErr_Occurred()) SWIG_fail
;
31665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31673 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31674 PyObject
*resultobj
= 0;
31675 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31676 wxDataFormat
*arg2
= 0 ;
31683 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31685 if (!SWIG_IsOK(res1
)) {
31686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31688 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31689 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31690 if (!SWIG_IsOK(res2
)) {
31691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31696 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31699 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31700 wxPyEndAllowThreads(__tstate
);
31701 if (PyErr_Occurred()) SWIG_fail
;
31704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31712 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31716 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31721 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31722 _v
= SWIG_CheckState(res
);
31724 if (!_v
) goto check_1
;
31725 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31730 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31734 Py_INCREF(Py_NotImplemented
);
31735 return Py_NotImplemented
;
31739 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31740 PyObject
*resultobj
= 0;
31741 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31742 wxDataFormat
*arg2
= 0 ;
31749 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31751 if (!SWIG_IsOK(res1
)) {
31752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31754 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31755 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31756 if (!SWIG_IsOK(res2
)) {
31757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31762 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31778 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31782 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31787 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31788 _v
= SWIG_CheckState(res
);
31790 if (!_v
) goto check_1
;
31791 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31796 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31800 Py_INCREF(Py_NotImplemented
);
31801 return Py_NotImplemented
;
31805 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31806 PyObject
*resultobj
= 0;
31807 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31808 wxDataFormatId arg2
;
31813 PyObject
* obj0
= 0 ;
31814 PyObject
* obj1
= 0 ;
31815 char * kwnames
[] = {
31816 (char *) "self",(char *) "format", NULL
31819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31821 if (!SWIG_IsOK(res1
)) {
31822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31824 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31826 if (!SWIG_IsOK(ecode2
)) {
31827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31829 arg2
= static_cast< wxDataFormatId
>(val2
);
31831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31832 (arg1
)->SetType(arg2
);
31833 wxPyEndAllowThreads(__tstate
);
31834 if (PyErr_Occurred()) SWIG_fail
;
31836 resultobj
= SWIG_Py_Void();
31843 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31844 PyObject
*resultobj
= 0;
31845 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31846 wxDataFormatId result
;
31849 PyObject
*swig_obj
[1] ;
31851 if (!args
) SWIG_fail
;
31852 swig_obj
[0] = args
;
31853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31854 if (!SWIG_IsOK(res1
)) {
31855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31857 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31860 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31861 wxPyEndAllowThreads(__tstate
);
31862 if (PyErr_Occurred()) SWIG_fail
;
31864 resultobj
= SWIG_From_int(static_cast< int >(result
));
31871 SWIGINTERN PyObject
*_wrap_DataFormat__GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31872 PyObject
*resultobj
= 0;
31873 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31877 PyObject
*swig_obj
[1] ;
31879 if (!args
) SWIG_fail
;
31880 swig_obj
[0] = args
;
31881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31882 if (!SWIG_IsOK(res1
)) {
31883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat__GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31885 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31888 result
= ((wxDataFormat
const *)arg1
)->GetId();
31889 wxPyEndAllowThreads(__tstate
);
31890 if (PyErr_Occurred()) SWIG_fail
;
31894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31905 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31906 PyObject
*resultobj
= 0;
31907 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31908 wxString
*arg2
= 0 ;
31911 bool temp2
= false ;
31912 PyObject
* obj0
= 0 ;
31913 PyObject
* obj1
= 0 ;
31914 char * kwnames
[] = {
31915 (char *) "self",(char *) "format", NULL
31918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31920 if (!SWIG_IsOK(res1
)) {
31921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31923 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31925 arg2
= wxString_in_helper(obj1
);
31926 if (arg2
== NULL
) SWIG_fail
;
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 (arg1
)->SetId((wxString
const &)*arg2
);
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31935 resultobj
= SWIG_Py_Void();
31950 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31952 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31953 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
31954 return SWIG_Py_Void();
31957 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31958 return SWIG_Python_InitShadowInstance(args
);
31961 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
31962 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
31967 SWIGINTERN PyObject
*FormatInvalid_get(void) {
31968 PyObject
*pyobj
= 0;
31970 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
31975 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31976 PyObject
*resultobj
= 0;
31977 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31980 PyObject
*swig_obj
[1] ;
31982 if (!args
) SWIG_fail
;
31983 swig_obj
[0] = args
;
31984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
31985 if (!SWIG_IsOK(res1
)) {
31986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
31988 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31996 resultobj
= SWIG_Py_Void();
32003 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32004 PyObject
*resultobj
= 0;
32005 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32006 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32007 SwigValueWrapper
<wxDataFormat
> result
;
32012 PyObject
* obj0
= 0 ;
32013 PyObject
* obj1
= 0 ;
32014 char * kwnames
[] = {
32015 (char *) "self",(char *) "dir", NULL
32018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32020 if (!SWIG_IsOK(res1
)) {
32021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32023 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32026 if (!SWIG_IsOK(ecode2
)) {
32027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32029 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32033 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32044 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32045 PyObject
*resultobj
= 0;
32046 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32047 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32053 PyObject
* obj0
= 0 ;
32054 PyObject
* obj1
= 0 ;
32055 char * kwnames
[] = {
32056 (char *) "self",(char *) "dir", NULL
32059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32061 if (!SWIG_IsOK(res1
)) {
32062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32064 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32067 if (!SWIG_IsOK(ecode2
)) {
32068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32070 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32074 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
32075 wxPyEndAllowThreads(__tstate
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32078 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32085 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32086 PyObject
*resultobj
= 0;
32087 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32088 wxDataFormat
*arg2
= 0 ;
32089 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
32097 PyObject
* obj0
= 0 ;
32098 PyObject
* obj1
= 0 ;
32099 PyObject
* obj2
= 0 ;
32100 char * kwnames
[] = {
32101 (char *) "self",(char *) "format",(char *) "dir", NULL
32104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32106 if (!SWIG_IsOK(res1
)) {
32107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32109 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32110 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32111 if (!SWIG_IsOK(res2
)) {
32112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32117 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32120 if (!SWIG_IsOK(ecode3
)) {
32121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
32123 arg3
= static_cast< wxDataObject::Direction
>(val3
);
32126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32127 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
32128 wxPyEndAllowThreads(__tstate
);
32129 if (PyErr_Occurred()) SWIG_fail
;
32132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32140 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
= 0;
32142 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32143 wxDataFormat
*arg2
= 0 ;
32149 PyObject
* obj0
= 0 ;
32150 PyObject
* obj1
= 0 ;
32151 char * kwnames
[] = {
32152 (char *) "self",(char *) "format", NULL
32155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32157 if (!SWIG_IsOK(res1
)) {
32158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32160 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32161 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32162 if (!SWIG_IsOK(res2
)) {
32163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32168 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32171 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32172 wxPyEndAllowThreads(__tstate
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32175 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32182 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32183 PyObject
*resultobj
= 0;
32184 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32185 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32186 PyObject
*result
= 0 ;
32191 PyObject
* obj0
= 0 ;
32192 PyObject
* obj1
= 0 ;
32193 char * kwnames
[] = {
32194 (char *) "self",(char *) "dir", NULL
32197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32199 if (!SWIG_IsOK(res1
)) {
32200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32202 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32205 if (!SWIG_IsOK(ecode2
)) {
32206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32208 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32212 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32213 wxPyEndAllowThreads(__tstate
);
32214 if (PyErr_Occurred()) SWIG_fail
;
32216 resultobj
= result
;
32223 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32224 PyObject
*resultobj
= 0;
32225 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32226 wxDataFormat
*arg2
= 0 ;
32227 PyObject
*result
= 0 ;
32232 PyObject
* obj0
= 0 ;
32233 PyObject
* obj1
= 0 ;
32234 char * kwnames
[] = {
32235 (char *) "self",(char *) "format", NULL
32238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32240 if (!SWIG_IsOK(res1
)) {
32241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32243 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32245 if (!SWIG_IsOK(res2
)) {
32246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32251 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32258 resultobj
= result
;
32265 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32266 PyObject
*resultobj
= 0;
32267 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32268 wxDataFormat
*arg2
= 0 ;
32269 PyObject
*arg3
= (PyObject
*) 0 ;
32275 PyObject
* obj0
= 0 ;
32276 PyObject
* obj1
= 0 ;
32277 PyObject
* obj2
= 0 ;
32278 char * kwnames
[] = {
32279 (char *) "self",(char *) "format",(char *) "data", NULL
32282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32284 if (!SWIG_IsOK(res1
)) {
32285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32287 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32288 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32289 if (!SWIG_IsOK(res2
)) {
32290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32295 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32299 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32300 wxPyEndAllowThreads(__tstate
);
32301 if (PyErr_Occurred()) SWIG_fail
;
32304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32312 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32315 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32316 return SWIG_Py_Void();
32319 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32320 PyObject
*resultobj
= 0;
32321 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32322 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32323 wxDataObjectSimple
*result
= 0 ;
32326 PyObject
* obj0
= 0 ;
32327 char * kwnames
[] = {
32328 (char *) "format", NULL
32331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32333 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32334 if (!SWIG_IsOK(res1
)) {
32335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32340 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32345 wxPyEndAllowThreads(__tstate
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32355 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32356 PyObject
*resultobj
= 0;
32357 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32358 wxDataFormat
*result
= 0 ;
32361 PyObject
*swig_obj
[1] ;
32363 if (!args
) SWIG_fail
;
32364 swig_obj
[0] = args
;
32365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32366 if (!SWIG_IsOK(res1
)) {
32367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32369 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32373 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32374 result
= (wxDataFormat
*) &_result_ref
;
32376 wxPyEndAllowThreads(__tstate
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32386 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32387 PyObject
*resultobj
= 0;
32388 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32389 wxDataFormat
*arg2
= 0 ;
32394 PyObject
* obj0
= 0 ;
32395 PyObject
* obj1
= 0 ;
32396 char * kwnames
[] = {
32397 (char *) "self",(char *) "format", NULL
32400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32402 if (!SWIG_IsOK(res1
)) {
32403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32405 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32407 if (!SWIG_IsOK(res2
)) {
32408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32413 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32416 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32417 wxPyEndAllowThreads(__tstate
);
32418 if (PyErr_Occurred()) SWIG_fail
;
32420 resultobj
= SWIG_Py_Void();
32427 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32428 PyObject
*resultobj
= 0;
32429 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32433 PyObject
*swig_obj
[1] ;
32435 if (!args
) SWIG_fail
;
32436 swig_obj
[0] = args
;
32437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32438 if (!SWIG_IsOK(res1
)) {
32439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32441 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32444 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32445 wxPyEndAllowThreads(__tstate
);
32446 if (PyErr_Occurred()) SWIG_fail
;
32448 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32455 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32456 PyObject
*resultobj
= 0;
32457 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32458 PyObject
*result
= 0 ;
32461 PyObject
*swig_obj
[1] ;
32463 if (!args
) SWIG_fail
;
32464 swig_obj
[0] = args
;
32465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32466 if (!SWIG_IsOK(res1
)) {
32467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32469 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32473 wxPyEndAllowThreads(__tstate
);
32474 if (PyErr_Occurred()) SWIG_fail
;
32476 resultobj
= result
;
32483 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32484 PyObject
*resultobj
= 0;
32485 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32486 PyObject
*arg2
= (PyObject
*) 0 ;
32490 PyObject
* obj0
= 0 ;
32491 PyObject
* obj1
= 0 ;
32492 char * kwnames
[] = {
32493 (char *) "self",(char *) "data", NULL
32496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32498 if (!SWIG_IsOK(res1
)) {
32499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32501 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32505 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32506 wxPyEndAllowThreads(__tstate
);
32507 if (PyErr_Occurred()) SWIG_fail
;
32510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32518 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32521 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32522 return SWIG_Py_Void();
32525 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32526 return SWIG_Python_InitShadowInstance(args
);
32529 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32530 PyObject
*resultobj
= 0;
32531 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32532 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32533 wxPyDataObjectSimple
*result
= 0 ;
32536 PyObject
* obj0
= 0 ;
32537 char * kwnames
[] = {
32538 (char *) "format", NULL
32541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32543 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32544 if (!SWIG_IsOK(res1
)) {
32545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32550 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32554 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32555 wxPyEndAllowThreads(__tstate
);
32556 if (PyErr_Occurred()) SWIG_fail
;
32558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32565 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32566 PyObject
*resultobj
= 0;
32567 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32568 PyObject
*arg2
= (PyObject
*) 0 ;
32569 PyObject
*arg3
= (PyObject
*) 0 ;
32572 PyObject
* obj0
= 0 ;
32573 PyObject
* obj1
= 0 ;
32574 PyObject
* obj2
= 0 ;
32575 char * kwnames
[] = {
32576 (char *) "self",(char *) "self",(char *) "_class", NULL
32579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32581 if (!SWIG_IsOK(res1
)) {
32582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32584 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32589 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32590 wxPyEndAllowThreads(__tstate
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32593 resultobj
= SWIG_Py_Void();
32600 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32603 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32604 return SWIG_Py_Void();
32607 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32608 return SWIG_Python_InitShadowInstance(args
);
32611 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32612 PyObject
*resultobj
= 0;
32613 wxDataObjectComposite
*result
= 0 ;
32615 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32618 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32619 wxPyEndAllowThreads(__tstate
);
32620 if (PyErr_Occurred()) SWIG_fail
;
32622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32629 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32630 PyObject
*resultobj
= 0;
32631 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32632 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32633 bool arg3
= (bool) false ;
32639 PyObject
* obj0
= 0 ;
32640 PyObject
* obj1
= 0 ;
32641 PyObject
* obj2
= 0 ;
32642 char * kwnames
[] = {
32643 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32648 if (!SWIG_IsOK(res1
)) {
32649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32651 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32652 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32653 if (!SWIG_IsOK(res2
)) {
32654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32657 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32658 if (!SWIG_IsOK(ecode3
)) {
32659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32661 arg3
= static_cast< bool >(val3
);
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 (arg1
)->Add(arg2
,arg3
);
32666 wxPyEndAllowThreads(__tstate
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32669 resultobj
= SWIG_Py_Void();
32676 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32677 PyObject
*resultobj
= 0;
32678 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32679 SwigValueWrapper
<wxDataFormat
> result
;
32682 PyObject
*swig_obj
[1] ;
32684 if (!args
) SWIG_fail
;
32685 swig_obj
[0] = args
;
32686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32687 if (!SWIG_IsOK(res1
)) {
32688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32690 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32693 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32704 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32707 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32708 return SWIG_Py_Void();
32711 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32712 return SWIG_Python_InitShadowInstance(args
);
32715 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32716 PyObject
*resultobj
= 0;
32717 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32718 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32719 wxTextDataObject
*result
= 0 ;
32720 bool temp1
= false ;
32721 PyObject
* obj0
= 0 ;
32722 char * kwnames
[] = {
32723 (char *) "text", NULL
32726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32729 arg1
= wxString_in_helper(obj0
);
32730 if (arg1
== NULL
) SWIG_fail
;
32735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32736 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32755 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32756 PyObject
*resultobj
= 0;
32757 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32761 PyObject
*swig_obj
[1] ;
32763 if (!args
) SWIG_fail
;
32764 swig_obj
[0] = args
;
32765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32766 if (!SWIG_IsOK(res1
)) {
32767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32769 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32772 result
= (size_t)(arg1
)->GetTextLength();
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32776 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32783 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32784 PyObject
*resultobj
= 0;
32785 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32789 PyObject
*swig_obj
[1] ;
32791 if (!args
) SWIG_fail
;
32792 swig_obj
[0] = args
;
32793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32794 if (!SWIG_IsOK(res1
)) {
32795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32797 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32800 result
= (arg1
)->GetText();
32801 wxPyEndAllowThreads(__tstate
);
32802 if (PyErr_Occurred()) SWIG_fail
;
32806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32817 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32818 PyObject
*resultobj
= 0;
32819 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32820 wxString
*arg2
= 0 ;
32823 bool temp2
= false ;
32824 PyObject
* obj0
= 0 ;
32825 PyObject
* obj1
= 0 ;
32826 char * kwnames
[] = {
32827 (char *) "self",(char *) "text", NULL
32830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32832 if (!SWIG_IsOK(res1
)) {
32833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32835 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32837 arg2
= wxString_in_helper(obj1
);
32838 if (arg2
== NULL
) SWIG_fail
;
32842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32843 (arg1
)->SetText((wxString
const &)*arg2
);
32844 wxPyEndAllowThreads(__tstate
);
32845 if (PyErr_Occurred()) SWIG_fail
;
32847 resultobj
= SWIG_Py_Void();
32862 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32865 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32866 return SWIG_Py_Void();
32869 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32870 return SWIG_Python_InitShadowInstance(args
);
32873 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
= 0;
32875 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32876 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32877 wxPyTextDataObject
*result
= 0 ;
32878 bool temp1
= false ;
32879 PyObject
* obj0
= 0 ;
32880 char * kwnames
[] = {
32881 (char *) "text", NULL
32884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32887 arg1
= wxString_in_helper(obj0
);
32888 if (arg1
== NULL
) SWIG_fail
;
32893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32894 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32895 wxPyEndAllowThreads(__tstate
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32913 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32914 PyObject
*resultobj
= 0;
32915 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32916 PyObject
*arg2
= (PyObject
*) 0 ;
32917 PyObject
*arg3
= (PyObject
*) 0 ;
32920 PyObject
* obj0
= 0 ;
32921 PyObject
* obj1
= 0 ;
32922 PyObject
* obj2
= 0 ;
32923 char * kwnames
[] = {
32924 (char *) "self",(char *) "self",(char *) "_class", NULL
32927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
32929 if (!SWIG_IsOK(res1
)) {
32930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
32932 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
32936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32937 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32938 wxPyEndAllowThreads(__tstate
);
32939 if (PyErr_Occurred()) SWIG_fail
;
32941 resultobj
= SWIG_Py_Void();
32948 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32950 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32951 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
32952 return SWIG_Py_Void();
32955 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32956 return SWIG_Python_InitShadowInstance(args
);
32959 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32960 PyObject
*resultobj
= 0;
32961 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32962 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32963 wxBitmapDataObject
*result
= 0 ;
32966 PyObject
* obj0
= 0 ;
32967 char * kwnames
[] = {
32968 (char *) "bitmap", NULL
32971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32973 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32974 if (!SWIG_IsOK(res1
)) {
32975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32980 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32984 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
32985 wxPyEndAllowThreads(__tstate
);
32986 if (PyErr_Occurred()) SWIG_fail
;
32988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32995 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32996 PyObject
*resultobj
= 0;
32997 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33001 PyObject
*swig_obj
[1] ;
33003 if (!args
) SWIG_fail
;
33004 swig_obj
[0] = args
;
33005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33006 if (!SWIG_IsOK(res1
)) {
33007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
33009 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33012 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
33013 wxPyEndAllowThreads(__tstate
);
33014 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
33023 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33024 PyObject
*resultobj
= 0;
33025 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33026 wxBitmap
*arg2
= 0 ;
33031 PyObject
* obj0
= 0 ;
33032 PyObject
* obj1
= 0 ;
33033 char * kwnames
[] = {
33034 (char *) "self",(char *) "bitmap", NULL
33037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33039 if (!SWIG_IsOK(res1
)) {
33040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
33042 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33044 if (!SWIG_IsOK(res2
)) {
33045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33050 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33053 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33054 wxPyEndAllowThreads(__tstate
);
33055 if (PyErr_Occurred()) SWIG_fail
;
33057 resultobj
= SWIG_Py_Void();
33064 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33067 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
33068 return SWIG_Py_Void();
33071 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33072 return SWIG_Python_InitShadowInstance(args
);
33075 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33076 PyObject
*resultobj
= 0;
33077 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33078 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33079 wxPyBitmapDataObject
*result
= 0 ;
33082 PyObject
* obj0
= 0 ;
33083 char * kwnames
[] = {
33084 (char *) "bitmap", NULL
33087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33089 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33090 if (!SWIG_IsOK(res1
)) {
33091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33096 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33111 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
= 0;
33113 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
33114 PyObject
*arg2
= (PyObject
*) 0 ;
33115 PyObject
*arg3
= (PyObject
*) 0 ;
33118 PyObject
* obj0
= 0 ;
33119 PyObject
* obj1
= 0 ;
33120 PyObject
* obj2
= 0 ;
33121 char * kwnames
[] = {
33122 (char *) "self",(char *) "self",(char *) "_class", NULL
33125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
33127 if (!SWIG_IsOK(res1
)) {
33128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
33130 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
33134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33135 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33136 wxPyEndAllowThreads(__tstate
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33139 resultobj
= SWIG_Py_Void();
33146 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33149 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
33150 return SWIG_Py_Void();
33153 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33154 return SWIG_Python_InitShadowInstance(args
);
33157 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33158 PyObject
*resultobj
= 0;
33159 wxFileDataObject
*result
= 0 ;
33161 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33164 result
= (wxFileDataObject
*)new wxFileDataObject();
33165 wxPyEndAllowThreads(__tstate
);
33166 if (PyErr_Occurred()) SWIG_fail
;
33168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33175 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33176 PyObject
*resultobj
= 0;
33177 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33178 wxArrayString
*result
= 0 ;
33181 PyObject
*swig_obj
[1] ;
33183 if (!args
) SWIG_fail
;
33184 swig_obj
[0] = args
;
33185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33186 if (!SWIG_IsOK(res1
)) {
33187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33189 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33193 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33194 result
= (wxArrayString
*) &_result_ref
;
33196 wxPyEndAllowThreads(__tstate
);
33197 if (PyErr_Occurred()) SWIG_fail
;
33200 resultobj
= wxArrayString2PyList_helper(*result
);
33208 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33209 PyObject
*resultobj
= 0;
33210 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33211 wxString
*arg2
= 0 ;
33214 bool temp2
= false ;
33215 PyObject
* obj0
= 0 ;
33216 PyObject
* obj1
= 0 ;
33217 char * kwnames
[] = {
33218 (char *) "self",(char *) "filename", NULL
33221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33223 if (!SWIG_IsOK(res1
)) {
33224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33226 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33228 arg2
= wxString_in_helper(obj1
);
33229 if (arg2
== NULL
) SWIG_fail
;
33233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33234 (arg1
)->AddFile((wxString
const &)*arg2
);
33235 wxPyEndAllowThreads(__tstate
);
33236 if (PyErr_Occurred()) SWIG_fail
;
33238 resultobj
= SWIG_Py_Void();
33253 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33256 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33257 return SWIG_Py_Void();
33260 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33261 return SWIG_Python_InitShadowInstance(args
);
33264 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33265 PyObject
*resultobj
= 0;
33266 wxDataFormat
*arg1
= 0 ;
33267 wxCustomDataObject
*result
= 0 ;
33271 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33273 if (!SWIG_IsOK(res1
)) {
33274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33279 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33282 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33283 wxPyEndAllowThreads(__tstate
);
33284 if (PyErr_Occurred()) SWIG_fail
;
33286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33293 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33294 PyObject
*resultobj
= 0;
33295 wxString
*arg1
= 0 ;
33296 wxCustomDataObject
*result
= 0 ;
33297 bool temp1
= false ;
33299 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33301 arg1
= wxString_in_helper(swig_obj
[0]);
33302 if (arg1
== NULL
) SWIG_fail
;
33306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33307 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33308 wxPyEndAllowThreads(__tstate
);
33309 if (PyErr_Occurred()) SWIG_fail
;
33311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33326 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33327 PyObject
*resultobj
= 0;
33328 wxCustomDataObject
*result
= 0 ;
33330 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33333 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33334 wxPyEndAllowThreads(__tstate
);
33335 if (PyErr_Occurred()) SWIG_fail
;
33337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33344 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33348 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33351 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33357 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33360 if (!_v
) goto check_2
;
33361 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33366 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33370 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33375 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33376 PyObject
*resultobj
= 0;
33377 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33378 PyObject
*arg2
= (PyObject
*) 0 ;
33382 PyObject
* obj0
= 0 ;
33383 PyObject
* obj1
= 0 ;
33384 char * kwnames
[] = {
33385 (char *) "self",(char *) "data", NULL
33388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33390 if (!SWIG_IsOK(res1
)) {
33391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33393 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33397 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33398 wxPyEndAllowThreads(__tstate
);
33399 if (PyErr_Occurred()) SWIG_fail
;
33402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33410 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33411 PyObject
*resultobj
= 0;
33412 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33416 PyObject
*swig_obj
[1] ;
33418 if (!args
) SWIG_fail
;
33419 swig_obj
[0] = args
;
33420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33421 if (!SWIG_IsOK(res1
)) {
33422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33424 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33427 result
= (size_t)(arg1
)->GetSize();
33428 wxPyEndAllowThreads(__tstate
);
33429 if (PyErr_Occurred()) SWIG_fail
;
33431 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33438 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33439 PyObject
*resultobj
= 0;
33440 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33441 PyObject
*result
= 0 ;
33444 PyObject
*swig_obj
[1] ;
33446 if (!args
) SWIG_fail
;
33447 swig_obj
[0] = args
;
33448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33449 if (!SWIG_IsOK(res1
)) {
33450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33452 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33455 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33456 wxPyEndAllowThreads(__tstate
);
33457 if (PyErr_Occurred()) SWIG_fail
;
33459 resultobj
= result
;
33466 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33469 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33470 return SWIG_Py_Void();
33473 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33474 return SWIG_Python_InitShadowInstance(args
);
33477 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33478 PyObject
*resultobj
= 0;
33479 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33480 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33481 wxURLDataObject
*result
= 0 ;
33482 bool temp1
= false ;
33483 PyObject
* obj0
= 0 ;
33484 char * kwnames
[] = {
33485 (char *) "url", NULL
33488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33491 arg1
= wxString_in_helper(obj0
);
33492 if (arg1
== NULL
) SWIG_fail
;
33497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33498 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33499 wxPyEndAllowThreads(__tstate
);
33500 if (PyErr_Occurred()) SWIG_fail
;
33502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33517 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33518 PyObject
*resultobj
= 0;
33519 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33523 PyObject
*swig_obj
[1] ;
33525 if (!args
) SWIG_fail
;
33526 swig_obj
[0] = args
;
33527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33528 if (!SWIG_IsOK(res1
)) {
33529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33531 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33534 result
= (arg1
)->GetURL();
33535 wxPyEndAllowThreads(__tstate
);
33536 if (PyErr_Occurred()) SWIG_fail
;
33540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33551 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33552 PyObject
*resultobj
= 0;
33553 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33554 wxString
*arg2
= 0 ;
33557 bool temp2
= false ;
33558 PyObject
* obj0
= 0 ;
33559 PyObject
* obj1
= 0 ;
33560 char * kwnames
[] = {
33561 (char *) "self",(char *) "url", NULL
33564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33566 if (!SWIG_IsOK(res1
)) {
33567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33569 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33571 arg2
= wxString_in_helper(obj1
);
33572 if (arg2
== NULL
) SWIG_fail
;
33576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33577 (arg1
)->SetURL((wxString
const &)*arg2
);
33578 wxPyEndAllowThreads(__tstate
);
33579 if (PyErr_Occurred()) SWIG_fail
;
33581 resultobj
= SWIG_Py_Void();
33596 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33599 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33600 return SWIG_Py_Void();
33603 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33604 return SWIG_Python_InitShadowInstance(args
);
33607 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33608 PyObject
*resultobj
= 0;
33609 wxMetafileDataObject
*result
= 0 ;
33611 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33614 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33615 wxPyEndAllowThreads(__tstate
);
33616 if (PyErr_Occurred()) SWIG_fail
;
33618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33625 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33626 PyObject
*resultobj
= 0;
33627 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33628 wxMetafile
*arg2
= 0 ;
33633 PyObject
* obj0
= 0 ;
33634 PyObject
* obj1
= 0 ;
33635 char * kwnames
[] = {
33636 (char *) "self",(char *) "metafile", NULL
33639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33641 if (!SWIG_IsOK(res1
)) {
33642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
33644 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
33646 if (!SWIG_IsOK(res2
)) {
33647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33652 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
33654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33655 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
33656 wxPyEndAllowThreads(__tstate
);
33657 if (PyErr_Occurred()) SWIG_fail
;
33659 resultobj
= SWIG_Py_Void();
33666 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33667 PyObject
*resultobj
= 0;
33668 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33672 PyObject
*swig_obj
[1] ;
33674 if (!args
) SWIG_fail
;
33675 swig_obj
[0] = args
;
33676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33677 if (!SWIG_IsOK(res1
)) {
33678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
33680 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33683 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
33684 wxPyEndAllowThreads(__tstate
);
33685 if (PyErr_Occurred()) SWIG_fail
;
33687 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
33694 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33697 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33698 return SWIG_Py_Void();
33701 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33702 return SWIG_Python_InitShadowInstance(args
);
33705 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33706 PyObject
*resultobj
= 0;
33707 wxDragResult arg1
;
33711 PyObject
* obj0
= 0 ;
33712 char * kwnames
[] = {
33713 (char *) "res", NULL
33716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33717 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33718 if (!SWIG_IsOK(ecode1
)) {
33719 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33721 arg1
= static_cast< wxDragResult
>(val1
);
33723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33724 result
= (bool)wxIsDragResultOk(arg1
);
33725 wxPyEndAllowThreads(__tstate
);
33726 if (PyErr_Occurred()) SWIG_fail
;
33729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33737 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33738 PyObject
*resultobj
= 0;
33739 wxWindow
*arg1
= (wxWindow
*) 0 ;
33740 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33741 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33742 wxCursor
const &arg3_defvalue
= wxNullCursor
;
33743 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
33744 wxCursor
const &arg4_defvalue
= wxNullCursor
;
33745 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
33746 wxPyDropSource
*result
= 0 ;
33755 PyObject
* obj0
= 0 ;
33756 PyObject
* obj1
= 0 ;
33757 PyObject
* obj2
= 0 ;
33758 PyObject
* obj3
= 0 ;
33759 char * kwnames
[] = {
33760 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33765 if (!SWIG_IsOK(res1
)) {
33766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33768 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33770 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
33771 if (!SWIG_IsOK(res2
)) {
33772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33777 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
33780 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33781 if (!SWIG_IsOK(res3
)) {
33782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33787 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33790 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
33791 if (!SWIG_IsOK(res4
)) {
33792 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33797 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
33800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33801 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
33802 wxPyEndAllowThreads(__tstate
);
33803 if (PyErr_Occurred()) SWIG_fail
;
33805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33812 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33813 PyObject
*resultobj
= 0;
33814 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33815 PyObject
*arg2
= (PyObject
*) 0 ;
33816 PyObject
*arg3
= (PyObject
*) 0 ;
33817 int arg4
= (int) 0 ;
33822 PyObject
* obj0
= 0 ;
33823 PyObject
* obj1
= 0 ;
33824 PyObject
* obj2
= 0 ;
33825 PyObject
* obj3
= 0 ;
33826 char * kwnames
[] = {
33827 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33832 if (!SWIG_IsOK(res1
)) {
33833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33835 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33839 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33840 if (!SWIG_IsOK(ecode4
)) {
33841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33843 arg4
= static_cast< int >(val4
);
33846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33847 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33848 wxPyEndAllowThreads(__tstate
);
33849 if (PyErr_Occurred()) SWIG_fail
;
33851 resultobj
= SWIG_Py_Void();
33858 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33859 PyObject
*resultobj
= 0;
33860 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33863 PyObject
*swig_obj
[1] ;
33865 if (!args
) SWIG_fail
;
33866 swig_obj
[0] = args
;
33867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33868 if (!SWIG_IsOK(res1
)) {
33869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33871 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33876 wxPyEndAllowThreads(__tstate
);
33877 if (PyErr_Occurred()) SWIG_fail
;
33879 resultobj
= SWIG_Py_Void();
33886 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33887 PyObject
*resultobj
= 0;
33888 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33889 wxDataObject
*arg2
= 0 ;
33894 PyObject
* obj0
= 0 ;
33895 PyObject
* obj1
= 0 ;
33896 char * kwnames
[] = {
33897 (char *) "self",(char *) "data", NULL
33900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33902 if (!SWIG_IsOK(res1
)) {
33903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33905 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33907 if (!SWIG_IsOK(res2
)) {
33908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33913 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33916 (arg1
)->SetData(*arg2
);
33917 wxPyEndAllowThreads(__tstate
);
33918 if (PyErr_Occurred()) SWIG_fail
;
33920 resultobj
= SWIG_Py_Void();
33927 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33928 PyObject
*resultobj
= 0;
33929 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33930 wxDataObject
*result
= 0 ;
33933 PyObject
*swig_obj
[1] ;
33935 if (!args
) SWIG_fail
;
33936 swig_obj
[0] = args
;
33937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33938 if (!SWIG_IsOK(res1
)) {
33939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33941 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33944 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33945 wxPyEndAllowThreads(__tstate
);
33946 if (PyErr_Occurred()) SWIG_fail
;
33948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33955 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33956 PyObject
*resultobj
= 0;
33957 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33958 wxDragResult arg2
;
33959 wxCursor
*arg3
= 0 ;
33966 PyObject
* obj0
= 0 ;
33967 PyObject
* obj1
= 0 ;
33968 PyObject
* obj2
= 0 ;
33969 char * kwnames
[] = {
33970 (char *) "self",(char *) "res",(char *) "cursor", NULL
33973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33975 if (!SWIG_IsOK(res1
)) {
33976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33978 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33980 if (!SWIG_IsOK(ecode2
)) {
33981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
33983 arg2
= static_cast< wxDragResult
>(val2
);
33984 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33985 if (!SWIG_IsOK(res3
)) {
33986 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33991 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33994 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
33995 wxPyEndAllowThreads(__tstate
);
33996 if (PyErr_Occurred()) SWIG_fail
;
33998 resultobj
= SWIG_Py_Void();
34005 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34006 PyObject
*resultobj
= 0;
34007 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34008 int arg2
= (int) wxDrag_CopyOnly
;
34009 wxDragResult result
;
34014 PyObject
* obj0
= 0 ;
34015 PyObject
* obj1
= 0 ;
34016 char * kwnames
[] = {
34017 (char *) "self",(char *) "flags", NULL
34020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34022 if (!SWIG_IsOK(res1
)) {
34023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34025 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34028 if (!SWIG_IsOK(ecode2
)) {
34029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
34031 arg2
= static_cast< int >(val2
);
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34039 resultobj
= SWIG_From_int(static_cast< int >(result
));
34046 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34047 PyObject
*resultobj
= 0;
34048 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34049 wxDragResult arg2
;
34055 PyObject
* obj0
= 0 ;
34056 PyObject
* obj1
= 0 ;
34057 char * kwnames
[] = {
34058 (char *) "self",(char *) "effect", NULL
34061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34063 if (!SWIG_IsOK(res1
)) {
34064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34066 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34068 if (!SWIG_IsOK(ecode2
)) {
34069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
34071 arg2
= static_cast< wxDragResult
>(val2
);
34073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34074 result
= (bool)(arg1
)->GiveFeedback(arg2
);
34075 wxPyEndAllowThreads(__tstate
);
34076 if (PyErr_Occurred()) SWIG_fail
;
34079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34087 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34090 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
34091 return SWIG_Py_Void();
34094 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34095 return SWIG_Python_InitShadowInstance(args
);
34098 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34099 PyObject
*resultobj
= 0;
34100 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
34101 wxPyDropTarget
*result
= 0 ;
34103 PyObject
* obj0
= 0 ;
34104 char * kwnames
[] = {
34105 (char *) "dataObject", NULL
34108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
34110 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34111 if (!SWIG_IsOK(res1
)) {
34112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
34116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34117 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
34118 wxPyEndAllowThreads(__tstate
);
34119 if (PyErr_Occurred()) SWIG_fail
;
34121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
34128 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34129 PyObject
*resultobj
= 0;
34130 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34131 PyObject
*arg2
= (PyObject
*) 0 ;
34132 PyObject
*arg3
= (PyObject
*) 0 ;
34135 PyObject
* obj0
= 0 ;
34136 PyObject
* obj1
= 0 ;
34137 PyObject
* obj2
= 0 ;
34138 char * kwnames
[] = {
34139 (char *) "self",(char *) "self",(char *) "_class", NULL
34142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34144 if (!SWIG_IsOK(res1
)) {
34145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34147 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34152 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34153 wxPyEndAllowThreads(__tstate
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34156 resultobj
= SWIG_Py_Void();
34163 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34164 PyObject
*resultobj
= 0;
34165 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34168 PyObject
*swig_obj
[1] ;
34170 if (!args
) SWIG_fail
;
34171 swig_obj
[0] = args
;
34172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
34173 if (!SWIG_IsOK(res1
)) {
34174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34176 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34181 wxPyEndAllowThreads(__tstate
);
34182 if (PyErr_Occurred()) SWIG_fail
;
34184 resultobj
= SWIG_Py_Void();
34191 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34192 PyObject
*resultobj
= 0;
34193 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34194 wxDataObject
*result
= 0 ;
34197 PyObject
*swig_obj
[1] ;
34199 if (!args
) SWIG_fail
;
34200 swig_obj
[0] = args
;
34201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34202 if (!SWIG_IsOK(res1
)) {
34203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34205 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34209 wxPyEndAllowThreads(__tstate
);
34210 if (PyErr_Occurred()) SWIG_fail
;
34212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34219 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34220 PyObject
*resultobj
= 0;
34221 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34222 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34226 PyObject
* obj0
= 0 ;
34227 PyObject
* obj1
= 0 ;
34228 char * kwnames
[] = {
34229 (char *) "self",(char *) "dataObject", NULL
34232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34234 if (!SWIG_IsOK(res1
)) {
34235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34237 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34238 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34239 if (!SWIG_IsOK(res2
)) {
34240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34244 (arg1
)->SetDataObject(arg2
);
34245 wxPyEndAllowThreads(__tstate
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34248 resultobj
= SWIG_Py_Void();
34255 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34256 PyObject
*resultobj
= 0;
34257 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34260 wxDragResult arg4
;
34261 wxDragResult result
;
34270 PyObject
* obj0
= 0 ;
34271 PyObject
* obj1
= 0 ;
34272 PyObject
* obj2
= 0 ;
34273 PyObject
* obj3
= 0 ;
34274 char * kwnames
[] = {
34275 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34280 if (!SWIG_IsOK(res1
)) {
34281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34283 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34285 if (!SWIG_IsOK(ecode2
)) {
34286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34288 arg2
= static_cast< int >(val2
);
34289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34290 if (!SWIG_IsOK(ecode3
)) {
34291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34293 arg3
= static_cast< int >(val3
);
34294 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34295 if (!SWIG_IsOK(ecode4
)) {
34296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34298 arg4
= static_cast< wxDragResult
>(val4
);
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34305 resultobj
= SWIG_From_int(static_cast< int >(result
));
34312 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34313 PyObject
*resultobj
= 0;
34314 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34317 wxDragResult arg4
;
34318 wxDragResult result
;
34327 PyObject
* obj0
= 0 ;
34328 PyObject
* obj1
= 0 ;
34329 PyObject
* obj2
= 0 ;
34330 PyObject
* obj3
= 0 ;
34331 char * kwnames
[] = {
34332 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34337 if (!SWIG_IsOK(res1
)) {
34338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34340 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34342 if (!SWIG_IsOK(ecode2
)) {
34343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34345 arg2
= static_cast< int >(val2
);
34346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34347 if (!SWIG_IsOK(ecode3
)) {
34348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34350 arg3
= static_cast< int >(val3
);
34351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34352 if (!SWIG_IsOK(ecode4
)) {
34353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34355 arg4
= static_cast< wxDragResult
>(val4
);
34357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34358 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34359 wxPyEndAllowThreads(__tstate
);
34360 if (PyErr_Occurred()) SWIG_fail
;
34362 resultobj
= SWIG_From_int(static_cast< int >(result
));
34369 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34370 PyObject
*resultobj
= 0;
34371 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34374 PyObject
*swig_obj
[1] ;
34376 if (!args
) SWIG_fail
;
34377 swig_obj
[0] = args
;
34378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34379 if (!SWIG_IsOK(res1
)) {
34380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34382 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34386 wxPyEndAllowThreads(__tstate
);
34387 if (PyErr_Occurred()) SWIG_fail
;
34389 resultobj
= SWIG_Py_Void();
34396 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34397 PyObject
*resultobj
= 0;
34398 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34408 PyObject
* obj0
= 0 ;
34409 PyObject
* obj1
= 0 ;
34410 PyObject
* obj2
= 0 ;
34411 char * kwnames
[] = {
34412 (char *) "self",(char *) "x",(char *) "y", NULL
34415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34417 if (!SWIG_IsOK(res1
)) {
34418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34420 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34422 if (!SWIG_IsOK(ecode2
)) {
34423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34425 arg2
= static_cast< int >(val2
);
34426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34427 if (!SWIG_IsOK(ecode3
)) {
34428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34430 arg3
= static_cast< int >(val3
);
34432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34433 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34434 wxPyEndAllowThreads(__tstate
);
34435 if (PyErr_Occurred()) SWIG_fail
;
34438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34446 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34447 PyObject
*resultobj
= 0;
34448 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34452 PyObject
*swig_obj
[1] ;
34454 if (!args
) SWIG_fail
;
34455 swig_obj
[0] = args
;
34456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34457 if (!SWIG_IsOK(res1
)) {
34458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34460 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34463 result
= (bool)(arg1
)->GetData();
34464 wxPyEndAllowThreads(__tstate
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34476 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34477 PyObject
*resultobj
= 0;
34478 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34479 wxDragResult arg2
;
34484 PyObject
* obj0
= 0 ;
34485 PyObject
* obj1
= 0 ;
34486 char * kwnames
[] = {
34487 (char *) "self",(char *) "action", NULL
34490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34492 if (!SWIG_IsOK(res1
)) {
34493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34495 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34497 if (!SWIG_IsOK(ecode2
)) {
34498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34500 arg2
= static_cast< wxDragResult
>(val2
);
34502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34503 (arg1
)->SetDefaultAction(arg2
);
34504 wxPyEndAllowThreads(__tstate
);
34505 if (PyErr_Occurred()) SWIG_fail
;
34507 resultobj
= SWIG_Py_Void();
34514 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34515 PyObject
*resultobj
= 0;
34516 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34517 wxDragResult result
;
34520 PyObject
*swig_obj
[1] ;
34522 if (!args
) SWIG_fail
;
34523 swig_obj
[0] = args
;
34524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34525 if (!SWIG_IsOK(res1
)) {
34526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34528 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34531 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34532 wxPyEndAllowThreads(__tstate
);
34533 if (PyErr_Occurred()) SWIG_fail
;
34535 resultobj
= SWIG_From_int(static_cast< int >(result
));
34542 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34546 return SWIG_Py_Void();
34549 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34550 return SWIG_Python_InitShadowInstance(args
);
34553 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34554 PyObject
*resultobj
= 0;
34555 wxPyTextDropTarget
*result
= 0 ;
34557 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34560 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34561 wxPyEndAllowThreads(__tstate
);
34562 if (PyErr_Occurred()) SWIG_fail
;
34564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34571 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34572 PyObject
*resultobj
= 0;
34573 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34574 PyObject
*arg2
= (PyObject
*) 0 ;
34575 PyObject
*arg3
= (PyObject
*) 0 ;
34578 PyObject
* obj0
= 0 ;
34579 PyObject
* obj1
= 0 ;
34580 PyObject
* obj2
= 0 ;
34581 char * kwnames
[] = {
34582 (char *) "self",(char *) "self",(char *) "_class", NULL
34585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34587 if (!SWIG_IsOK(res1
)) {
34588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34590 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34595 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34599 resultobj
= SWIG_Py_Void();
34606 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34607 PyObject
*resultobj
= 0;
34608 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34611 wxString
*arg4
= 0 ;
34619 bool temp4
= false ;
34620 PyObject
* obj0
= 0 ;
34621 PyObject
* obj1
= 0 ;
34622 PyObject
* obj2
= 0 ;
34623 PyObject
* obj3
= 0 ;
34624 char * kwnames
[] = {
34625 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34630 if (!SWIG_IsOK(res1
)) {
34631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34633 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34635 if (!SWIG_IsOK(ecode2
)) {
34636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34638 arg2
= static_cast< int >(val2
);
34639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34640 if (!SWIG_IsOK(ecode3
)) {
34641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34643 arg3
= static_cast< int >(val3
);
34645 arg4
= wxString_in_helper(obj3
);
34646 if (arg4
== NULL
) SWIG_fail
;
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34652 wxPyEndAllowThreads(__tstate
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34672 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34673 PyObject
*resultobj
= 0;
34674 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34677 wxDragResult arg4
;
34678 wxDragResult result
;
34687 PyObject
* obj0
= 0 ;
34688 PyObject
* obj1
= 0 ;
34689 PyObject
* obj2
= 0 ;
34690 PyObject
* obj3
= 0 ;
34691 char * kwnames
[] = {
34692 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34697 if (!SWIG_IsOK(res1
)) {
34698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34700 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34702 if (!SWIG_IsOK(ecode2
)) {
34703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34705 arg2
= static_cast< int >(val2
);
34706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34707 if (!SWIG_IsOK(ecode3
)) {
34708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34710 arg3
= static_cast< int >(val3
);
34711 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34712 if (!SWIG_IsOK(ecode4
)) {
34713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34715 arg4
= static_cast< wxDragResult
>(val4
);
34717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34718 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34719 wxPyEndAllowThreads(__tstate
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34722 resultobj
= SWIG_From_int(static_cast< int >(result
));
34729 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34730 PyObject
*resultobj
= 0;
34731 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34734 wxDragResult arg4
;
34735 wxDragResult result
;
34744 PyObject
* obj0
= 0 ;
34745 PyObject
* obj1
= 0 ;
34746 PyObject
* obj2
= 0 ;
34747 PyObject
* obj3
= 0 ;
34748 char * kwnames
[] = {
34749 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34754 if (!SWIG_IsOK(res1
)) {
34755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34757 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34759 if (!SWIG_IsOK(ecode2
)) {
34760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34762 arg2
= static_cast< int >(val2
);
34763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34764 if (!SWIG_IsOK(ecode3
)) {
34765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34767 arg3
= static_cast< int >(val3
);
34768 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34769 if (!SWIG_IsOK(ecode4
)) {
34770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34772 arg4
= static_cast< wxDragResult
>(val4
);
34774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34775 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34776 wxPyEndAllowThreads(__tstate
);
34777 if (PyErr_Occurred()) SWIG_fail
;
34779 resultobj
= SWIG_From_int(static_cast< int >(result
));
34786 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34787 PyObject
*resultobj
= 0;
34788 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34791 PyObject
*swig_obj
[1] ;
34793 if (!args
) SWIG_fail
;
34794 swig_obj
[0] = args
;
34795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34796 if (!SWIG_IsOK(res1
)) {
34797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34799 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34806 resultobj
= SWIG_Py_Void();
34813 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34814 PyObject
*resultobj
= 0;
34815 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34825 PyObject
* obj0
= 0 ;
34826 PyObject
* obj1
= 0 ;
34827 PyObject
* obj2
= 0 ;
34828 char * kwnames
[] = {
34829 (char *) "self",(char *) "x",(char *) "y", NULL
34832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34834 if (!SWIG_IsOK(res1
)) {
34835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34837 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34839 if (!SWIG_IsOK(ecode2
)) {
34840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34842 arg2
= static_cast< int >(val2
);
34843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34844 if (!SWIG_IsOK(ecode3
)) {
34845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34847 arg3
= static_cast< int >(val3
);
34849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34850 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34851 wxPyEndAllowThreads(__tstate
);
34852 if (PyErr_Occurred()) SWIG_fail
;
34855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34863 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34864 PyObject
*resultobj
= 0;
34865 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34868 wxDragResult arg4
;
34869 wxDragResult result
;
34878 PyObject
* obj0
= 0 ;
34879 PyObject
* obj1
= 0 ;
34880 PyObject
* obj2
= 0 ;
34881 PyObject
* obj3
= 0 ;
34882 char * kwnames
[] = {
34883 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34888 if (!SWIG_IsOK(res1
)) {
34889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34891 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34893 if (!SWIG_IsOK(ecode2
)) {
34894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34896 arg2
= static_cast< int >(val2
);
34897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34898 if (!SWIG_IsOK(ecode3
)) {
34899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34901 arg3
= static_cast< int >(val3
);
34902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34903 if (!SWIG_IsOK(ecode4
)) {
34904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34906 arg4
= static_cast< wxDragResult
>(val4
);
34908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34909 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34910 wxPyEndAllowThreads(__tstate
);
34911 if (PyErr_Occurred()) SWIG_fail
;
34913 resultobj
= SWIG_From_int(static_cast< int >(result
));
34920 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34923 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34924 return SWIG_Py_Void();
34927 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34928 return SWIG_Python_InitShadowInstance(args
);
34931 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34932 PyObject
*resultobj
= 0;
34933 wxPyFileDropTarget
*result
= 0 ;
34935 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34938 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34939 wxPyEndAllowThreads(__tstate
);
34940 if (PyErr_Occurred()) SWIG_fail
;
34942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34949 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34950 PyObject
*resultobj
= 0;
34951 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34952 PyObject
*arg2
= (PyObject
*) 0 ;
34953 PyObject
*arg3
= (PyObject
*) 0 ;
34956 PyObject
* obj0
= 0 ;
34957 PyObject
* obj1
= 0 ;
34958 PyObject
* obj2
= 0 ;
34959 char * kwnames
[] = {
34960 (char *) "self",(char *) "self",(char *) "_class", NULL
34963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34965 if (!SWIG_IsOK(res1
)) {
34966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34968 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34973 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34974 wxPyEndAllowThreads(__tstate
);
34975 if (PyErr_Occurred()) SWIG_fail
;
34977 resultobj
= SWIG_Py_Void();
34984 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34985 PyObject
*resultobj
= 0;
34986 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34989 wxArrayString
*arg4
= 0 ;
34997 bool temp4
= false ;
34998 PyObject
* obj0
= 0 ;
34999 PyObject
* obj1
= 0 ;
35000 PyObject
* obj2
= 0 ;
35001 PyObject
* obj3
= 0 ;
35002 char * kwnames
[] = {
35003 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
35006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35008 if (!SWIG_IsOK(res1
)) {
35009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35011 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35013 if (!SWIG_IsOK(ecode2
)) {
35014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
35016 arg2
= static_cast< int >(val2
);
35017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35018 if (!SWIG_IsOK(ecode3
)) {
35019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
35021 arg3
= static_cast< int >(val3
);
35023 if (! PySequence_Check(obj3
)) {
35024 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
35027 arg4
= new wxArrayString
;
35029 int i
, len
=PySequence_Length(obj3
);
35030 for (i
=0; i
<len
; i
++) {
35031 PyObject
* item
= PySequence_GetItem(obj3
, i
);
35032 wxString
* s
= wxString_in_helper(item
);
35033 if (PyErr_Occurred()) SWIG_fail
;
35040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35041 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35049 if (temp4
) delete arg4
;
35054 if (temp4
) delete arg4
;
35060 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35061 PyObject
*resultobj
= 0;
35062 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35065 wxDragResult arg4
;
35066 wxDragResult result
;
35075 PyObject
* obj0
= 0 ;
35076 PyObject
* obj1
= 0 ;
35077 PyObject
* obj2
= 0 ;
35078 PyObject
* obj3
= 0 ;
35079 char * kwnames
[] = {
35080 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35085 if (!SWIG_IsOK(res1
)) {
35086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35088 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35090 if (!SWIG_IsOK(ecode2
)) {
35091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
35093 arg2
= static_cast< int >(val2
);
35094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35095 if (!SWIG_IsOK(ecode3
)) {
35096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
35098 arg3
= static_cast< int >(val3
);
35099 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35100 if (!SWIG_IsOK(ecode4
)) {
35101 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
35103 arg4
= static_cast< wxDragResult
>(val4
);
35105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35106 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
35107 wxPyEndAllowThreads(__tstate
);
35108 if (PyErr_Occurred()) SWIG_fail
;
35110 resultobj
= SWIG_From_int(static_cast< int >(result
));
35117 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35118 PyObject
*resultobj
= 0;
35119 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35122 wxDragResult arg4
;
35123 wxDragResult result
;
35132 PyObject
* obj0
= 0 ;
35133 PyObject
* obj1
= 0 ;
35134 PyObject
* obj2
= 0 ;
35135 PyObject
* obj3
= 0 ;
35136 char * kwnames
[] = {
35137 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35142 if (!SWIG_IsOK(res1
)) {
35143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35145 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35147 if (!SWIG_IsOK(ecode2
)) {
35148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
35150 arg2
= static_cast< int >(val2
);
35151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35152 if (!SWIG_IsOK(ecode3
)) {
35153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
35155 arg3
= static_cast< int >(val3
);
35156 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35157 if (!SWIG_IsOK(ecode4
)) {
35158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
35160 arg4
= static_cast< wxDragResult
>(val4
);
35162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35163 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
35164 wxPyEndAllowThreads(__tstate
);
35165 if (PyErr_Occurred()) SWIG_fail
;
35167 resultobj
= SWIG_From_int(static_cast< int >(result
));
35174 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35175 PyObject
*resultobj
= 0;
35176 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35179 PyObject
*swig_obj
[1] ;
35181 if (!args
) SWIG_fail
;
35182 swig_obj
[0] = args
;
35183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35184 if (!SWIG_IsOK(res1
)) {
35185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35187 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35191 wxPyEndAllowThreads(__tstate
);
35192 if (PyErr_Occurred()) SWIG_fail
;
35194 resultobj
= SWIG_Py_Void();
35201 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35202 PyObject
*resultobj
= 0;
35203 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35213 PyObject
* obj0
= 0 ;
35214 PyObject
* obj1
= 0 ;
35215 PyObject
* obj2
= 0 ;
35216 char * kwnames
[] = {
35217 (char *) "self",(char *) "x",(char *) "y", NULL
35220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35222 if (!SWIG_IsOK(res1
)) {
35223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35225 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35227 if (!SWIG_IsOK(ecode2
)) {
35228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35230 arg2
= static_cast< int >(val2
);
35231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35232 if (!SWIG_IsOK(ecode3
)) {
35233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35235 arg3
= static_cast< int >(val3
);
35237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35238 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35239 wxPyEndAllowThreads(__tstate
);
35240 if (PyErr_Occurred()) SWIG_fail
;
35243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35251 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35252 PyObject
*resultobj
= 0;
35253 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35256 wxDragResult arg4
;
35257 wxDragResult result
;
35266 PyObject
* obj0
= 0 ;
35267 PyObject
* obj1
= 0 ;
35268 PyObject
* obj2
= 0 ;
35269 PyObject
* obj3
= 0 ;
35270 char * kwnames
[] = {
35271 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35276 if (!SWIG_IsOK(res1
)) {
35277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35279 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35281 if (!SWIG_IsOK(ecode2
)) {
35282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35284 arg2
= static_cast< int >(val2
);
35285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35286 if (!SWIG_IsOK(ecode3
)) {
35287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35289 arg3
= static_cast< int >(val3
);
35290 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35291 if (!SWIG_IsOK(ecode4
)) {
35292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35294 arg4
= static_cast< wxDragResult
>(val4
);
35296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35297 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35298 wxPyEndAllowThreads(__tstate
);
35299 if (PyErr_Occurred()) SWIG_fail
;
35301 resultobj
= SWIG_From_int(static_cast< int >(result
));
35308 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35311 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35312 return SWIG_Py_Void();
35315 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35316 return SWIG_Python_InitShadowInstance(args
);
35319 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35320 PyObject
*resultobj
= 0;
35321 wxClipboard
*result
= 0 ;
35323 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35326 result
= (wxClipboard
*)new wxClipboard();
35327 wxPyEndAllowThreads(__tstate
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35337 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35338 PyObject
*resultobj
= 0;
35339 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35342 PyObject
*swig_obj
[1] ;
35344 if (!args
) SWIG_fail
;
35345 swig_obj
[0] = args
;
35346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35347 if (!SWIG_IsOK(res1
)) {
35348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35350 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35358 resultobj
= SWIG_Py_Void();
35365 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35366 PyObject
*resultobj
= 0;
35367 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35371 PyObject
*swig_obj
[1] ;
35373 if (!args
) SWIG_fail
;
35374 swig_obj
[0] = args
;
35375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35376 if (!SWIG_IsOK(res1
)) {
35377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35379 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35382 result
= (bool)(arg1
)->Open();
35383 wxPyEndAllowThreads(__tstate
);
35384 if (PyErr_Occurred()) SWIG_fail
;
35387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35395 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35396 PyObject
*resultobj
= 0;
35397 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35400 PyObject
*swig_obj
[1] ;
35402 if (!args
) SWIG_fail
;
35403 swig_obj
[0] = args
;
35404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35405 if (!SWIG_IsOK(res1
)) {
35406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35408 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35412 wxPyEndAllowThreads(__tstate
);
35413 if (PyErr_Occurred()) SWIG_fail
;
35415 resultobj
= SWIG_Py_Void();
35422 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35423 PyObject
*resultobj
= 0;
35424 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35428 PyObject
*swig_obj
[1] ;
35430 if (!args
) SWIG_fail
;
35431 swig_obj
[0] = args
;
35432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35433 if (!SWIG_IsOK(res1
)) {
35434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35436 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35440 wxPyEndAllowThreads(__tstate
);
35441 if (PyErr_Occurred()) SWIG_fail
;
35444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35452 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35453 PyObject
*resultobj
= 0;
35454 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35455 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35460 PyObject
* obj0
= 0 ;
35461 PyObject
* obj1
= 0 ;
35462 char * kwnames
[] = {
35463 (char *) "self",(char *) "data", NULL
35466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35468 if (!SWIG_IsOK(res1
)) {
35469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35471 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35472 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35473 if (!SWIG_IsOK(res2
)) {
35474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35478 result
= (bool)(arg1
)->AddData(arg2
);
35479 wxPyEndAllowThreads(__tstate
);
35480 if (PyErr_Occurred()) SWIG_fail
;
35483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35491 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35492 PyObject
*resultobj
= 0;
35493 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35494 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35499 PyObject
* obj0
= 0 ;
35500 PyObject
* obj1
= 0 ;
35501 char * kwnames
[] = {
35502 (char *) "self",(char *) "data", NULL
35505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35507 if (!SWIG_IsOK(res1
)) {
35508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35510 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35511 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35512 if (!SWIG_IsOK(res2
)) {
35513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35517 result
= (bool)(arg1
)->SetData(arg2
);
35518 wxPyEndAllowThreads(__tstate
);
35519 if (PyErr_Occurred()) SWIG_fail
;
35522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35530 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35531 PyObject
*resultobj
= 0;
35532 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35533 wxDataFormat
*arg2
= 0 ;
35539 PyObject
* obj0
= 0 ;
35540 PyObject
* obj1
= 0 ;
35541 char * kwnames
[] = {
35542 (char *) "self",(char *) "format", NULL
35545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35547 if (!SWIG_IsOK(res1
)) {
35548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35550 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35551 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35552 if (!SWIG_IsOK(res2
)) {
35553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35558 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35561 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35562 wxPyEndAllowThreads(__tstate
);
35563 if (PyErr_Occurred()) SWIG_fail
;
35566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35574 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35575 PyObject
*resultobj
= 0;
35576 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35577 wxDataObject
*arg2
= 0 ;
35583 PyObject
* obj0
= 0 ;
35584 PyObject
* obj1
= 0 ;
35585 char * kwnames
[] = {
35586 (char *) "self",(char *) "data", NULL
35589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35591 if (!SWIG_IsOK(res1
)) {
35592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35594 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35596 if (!SWIG_IsOK(res2
)) {
35597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35602 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35605 result
= (bool)(arg1
)->GetData(*arg2
);
35606 wxPyEndAllowThreads(__tstate
);
35607 if (PyErr_Occurred()) SWIG_fail
;
35610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35618 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35619 PyObject
*resultobj
= 0;
35620 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35623 PyObject
*swig_obj
[1] ;
35625 if (!args
) SWIG_fail
;
35626 swig_obj
[0] = args
;
35627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35628 if (!SWIG_IsOK(res1
)) {
35629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35631 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35635 wxPyEndAllowThreads(__tstate
);
35636 if (PyErr_Occurred()) SWIG_fail
;
35638 resultobj
= SWIG_Py_Void();
35645 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35646 PyObject
*resultobj
= 0;
35647 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35651 PyObject
*swig_obj
[1] ;
35653 if (!args
) SWIG_fail
;
35654 swig_obj
[0] = args
;
35655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35656 if (!SWIG_IsOK(res1
)) {
35657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35659 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35662 result
= (bool)(arg1
)->Flush();
35663 wxPyEndAllowThreads(__tstate
);
35664 if (PyErr_Occurred()) SWIG_fail
;
35667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35675 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35676 PyObject
*resultobj
= 0;
35677 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35678 bool arg2
= (bool) true ;
35683 PyObject
* obj0
= 0 ;
35684 PyObject
* obj1
= 0 ;
35685 char * kwnames
[] = {
35686 (char *) "self",(char *) "primary", NULL
35689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35691 if (!SWIG_IsOK(res1
)) {
35692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35694 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35696 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35697 if (!SWIG_IsOK(ecode2
)) {
35698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35700 arg2
= static_cast< bool >(val2
);
35703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35704 (arg1
)->UsePrimarySelection(arg2
);
35705 wxPyEndAllowThreads(__tstate
);
35706 if (PyErr_Occurred()) SWIG_fail
;
35708 resultobj
= SWIG_Py_Void();
35715 SWIGINTERN PyObject
*_wrap_Clipboard_IsUsingPrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35716 PyObject
*resultobj
= 0;
35717 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35721 PyObject
*swig_obj
[1] ;
35723 if (!args
) SWIG_fail
;
35724 swig_obj
[0] = args
;
35725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35726 if (!SWIG_IsOK(res1
)) {
35727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsUsingPrimarySelection" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35729 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35732 result
= (bool)((wxClipboard
const *)arg1
)->IsUsingPrimarySelection();
35733 wxPyEndAllowThreads(__tstate
);
35734 if (PyErr_Occurred()) SWIG_fail
;
35737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35745 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35746 PyObject
*resultobj
= 0;
35747 wxClipboard
*result
= 0 ;
35749 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35752 result
= (wxClipboard
*)wxClipboard::Get();
35753 wxPyEndAllowThreads(__tstate
);
35754 if (PyErr_Occurred()) SWIG_fail
;
35756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35763 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35766 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35767 return SWIG_Py_Void();
35770 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35771 return SWIG_Python_InitShadowInstance(args
);
35774 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35775 PyObject
*resultobj
= 0;
35776 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35777 wxClipboardLocker
*result
= 0 ;
35780 PyObject
* obj0
= 0 ;
35781 char * kwnames
[] = {
35782 (char *) "clipboard", NULL
35785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35788 if (!SWIG_IsOK(res1
)) {
35789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35791 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35795 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35796 wxPyEndAllowThreads(__tstate
);
35797 if (PyErr_Occurred()) SWIG_fail
;
35799 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35806 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35807 PyObject
*resultobj
= 0;
35808 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35811 PyObject
*swig_obj
[1] ;
35813 if (!args
) SWIG_fail
;
35814 swig_obj
[0] = args
;
35815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35816 if (!SWIG_IsOK(res1
)) {
35817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35819 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35824 wxPyEndAllowThreads(__tstate
);
35825 if (PyErr_Occurred()) SWIG_fail
;
35827 resultobj
= SWIG_Py_Void();
35834 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35835 PyObject
*resultobj
= 0;
35836 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35840 PyObject
*swig_obj
[1] ;
35842 if (!args
) SWIG_fail
;
35843 swig_obj
[0] = args
;
35844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35845 if (!SWIG_IsOK(res1
)) {
35846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35848 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35851 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35852 wxPyEndAllowThreads(__tstate
);
35853 if (PyErr_Occurred()) SWIG_fail
;
35856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35864 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35867 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35868 return SWIG_Py_Void();
35871 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35872 return SWIG_Python_InitShadowInstance(args
);
35875 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35876 PyObject
*resultobj
= 0;
35877 int arg1
= (int) 0 ;
35878 int arg2
= (int) 0 ;
35879 int arg3
= (int) 0 ;
35880 int arg4
= (int) 0 ;
35881 wxVideoMode
*result
= 0 ;
35890 PyObject
* obj0
= 0 ;
35891 PyObject
* obj1
= 0 ;
35892 PyObject
* obj2
= 0 ;
35893 PyObject
* obj3
= 0 ;
35894 char * kwnames
[] = {
35895 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35900 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35901 if (!SWIG_IsOK(ecode1
)) {
35902 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35904 arg1
= static_cast< int >(val1
);
35907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35908 if (!SWIG_IsOK(ecode2
)) {
35909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35911 arg2
= static_cast< int >(val2
);
35914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35915 if (!SWIG_IsOK(ecode3
)) {
35916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35918 arg3
= static_cast< int >(val3
);
35921 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35922 if (!SWIG_IsOK(ecode4
)) {
35923 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35925 arg4
= static_cast< int >(val4
);
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35930 wxPyEndAllowThreads(__tstate
);
35931 if (PyErr_Occurred()) SWIG_fail
;
35933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35940 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35941 PyObject
*resultobj
= 0;
35942 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35945 PyObject
*swig_obj
[1] ;
35947 if (!args
) SWIG_fail
;
35948 swig_obj
[0] = args
;
35949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35950 if (!SWIG_IsOK(res1
)) {
35951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35953 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35958 wxPyEndAllowThreads(__tstate
);
35959 if (PyErr_Occurred()) SWIG_fail
;
35961 resultobj
= SWIG_Py_Void();
35968 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35969 PyObject
*resultobj
= 0;
35970 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35971 wxVideoMode
*arg2
= 0 ;
35977 PyObject
* obj0
= 0 ;
35978 PyObject
* obj1
= 0 ;
35979 char * kwnames
[] = {
35980 (char *) "self",(char *) "other", NULL
35983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35985 if (!SWIG_IsOK(res1
)) {
35986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35988 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35989 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35990 if (!SWIG_IsOK(res2
)) {
35991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35996 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35999 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
36000 wxPyEndAllowThreads(__tstate
);
36001 if (PyErr_Occurred()) SWIG_fail
;
36004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36012 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36013 PyObject
*resultobj
= 0;
36014 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36018 PyObject
*swig_obj
[1] ;
36020 if (!args
) SWIG_fail
;
36021 swig_obj
[0] = args
;
36022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36023 if (!SWIG_IsOK(res1
)) {
36024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36026 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36029 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
36030 wxPyEndAllowThreads(__tstate
);
36031 if (PyErr_Occurred()) SWIG_fail
;
36033 resultobj
= SWIG_From_int(static_cast< int >(result
));
36040 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36041 PyObject
*resultobj
= 0;
36042 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36046 PyObject
*swig_obj
[1] ;
36048 if (!args
) SWIG_fail
;
36049 swig_obj
[0] = args
;
36050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36051 if (!SWIG_IsOK(res1
)) {
36052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36054 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36057 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
36058 wxPyEndAllowThreads(__tstate
);
36059 if (PyErr_Occurred()) SWIG_fail
;
36061 resultobj
= SWIG_From_int(static_cast< int >(result
));
36068 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36069 PyObject
*resultobj
= 0;
36070 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36074 PyObject
*swig_obj
[1] ;
36076 if (!args
) SWIG_fail
;
36077 swig_obj
[0] = args
;
36078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36079 if (!SWIG_IsOK(res1
)) {
36080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36082 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36085 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
36086 wxPyEndAllowThreads(__tstate
);
36087 if (PyErr_Occurred()) SWIG_fail
;
36089 resultobj
= SWIG_From_int(static_cast< int >(result
));
36096 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36097 PyObject
*resultobj
= 0;
36098 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36102 PyObject
*swig_obj
[1] ;
36104 if (!args
) SWIG_fail
;
36105 swig_obj
[0] = args
;
36106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36107 if (!SWIG_IsOK(res1
)) {
36108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36110 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36113 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
36114 wxPyEndAllowThreads(__tstate
);
36115 if (PyErr_Occurred()) SWIG_fail
;
36118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36126 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36127 PyObject
*resultobj
= 0;
36128 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36129 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36135 PyObject
* obj0
= 0 ;
36136 PyObject
* obj1
= 0 ;
36137 char * kwnames
[] = {
36138 (char *) "self",(char *) "other", NULL
36141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36143 if (!SWIG_IsOK(res1
)) {
36144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36146 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36148 if (!SWIG_IsOK(res2
)) {
36149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36151 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36154 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
36155 wxPyEndAllowThreads(__tstate
);
36156 if (PyErr_Occurred()) SWIG_fail
;
36159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36167 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36168 PyObject
*resultobj
= 0;
36169 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36170 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36176 PyObject
* obj0
= 0 ;
36177 PyObject
* obj1
= 0 ;
36178 char * kwnames
[] = {
36179 (char *) "self",(char *) "other", NULL
36182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36184 if (!SWIG_IsOK(res1
)) {
36185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36187 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36189 if (!SWIG_IsOK(res2
)) {
36190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36192 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36195 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
36196 wxPyEndAllowThreads(__tstate
);
36197 if (PyErr_Occurred()) SWIG_fail
;
36200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36208 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36209 PyObject
*resultobj
= 0;
36210 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36216 PyObject
*swig_obj
[2] ;
36218 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
36219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36220 if (!SWIG_IsOK(res1
)) {
36221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36223 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36224 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36225 if (!SWIG_IsOK(ecode2
)) {
36226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
36228 arg2
= static_cast< int >(val2
);
36229 if (arg1
) (arg1
)->w
= arg2
;
36231 resultobj
= SWIG_Py_Void();
36238 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36239 PyObject
*resultobj
= 0;
36240 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36244 PyObject
*swig_obj
[1] ;
36246 if (!args
) SWIG_fail
;
36247 swig_obj
[0] = args
;
36248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36249 if (!SWIG_IsOK(res1
)) {
36250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36252 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36253 result
= (int) ((arg1
)->w
);
36254 resultobj
= SWIG_From_int(static_cast< int >(result
));
36261 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36262 PyObject
*resultobj
= 0;
36263 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36269 PyObject
*swig_obj
[2] ;
36271 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36273 if (!SWIG_IsOK(res1
)) {
36274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36276 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36277 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36278 if (!SWIG_IsOK(ecode2
)) {
36279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36281 arg2
= static_cast< int >(val2
);
36282 if (arg1
) (arg1
)->h
= arg2
;
36284 resultobj
= SWIG_Py_Void();
36291 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36292 PyObject
*resultobj
= 0;
36293 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36297 PyObject
*swig_obj
[1] ;
36299 if (!args
) SWIG_fail
;
36300 swig_obj
[0] = args
;
36301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36302 if (!SWIG_IsOK(res1
)) {
36303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36305 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36306 result
= (int) ((arg1
)->h
);
36307 resultobj
= SWIG_From_int(static_cast< int >(result
));
36314 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36315 PyObject
*resultobj
= 0;
36316 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36322 PyObject
*swig_obj
[2] ;
36324 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36326 if (!SWIG_IsOK(res1
)) {
36327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36329 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36330 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36331 if (!SWIG_IsOK(ecode2
)) {
36332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36334 arg2
= static_cast< int >(val2
);
36335 if (arg1
) (arg1
)->bpp
= arg2
;
36337 resultobj
= SWIG_Py_Void();
36344 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36345 PyObject
*resultobj
= 0;
36346 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36350 PyObject
*swig_obj
[1] ;
36352 if (!args
) SWIG_fail
;
36353 swig_obj
[0] = args
;
36354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36355 if (!SWIG_IsOK(res1
)) {
36356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36358 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36359 result
= (int) ((arg1
)->bpp
);
36360 resultobj
= SWIG_From_int(static_cast< int >(result
));
36367 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36368 PyObject
*resultobj
= 0;
36369 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36375 PyObject
*swig_obj
[2] ;
36377 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36379 if (!SWIG_IsOK(res1
)) {
36380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36382 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36383 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36384 if (!SWIG_IsOK(ecode2
)) {
36385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36387 arg2
= static_cast< int >(val2
);
36388 if (arg1
) (arg1
)->refresh
= arg2
;
36390 resultobj
= SWIG_Py_Void();
36397 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36398 PyObject
*resultobj
= 0;
36399 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36403 PyObject
*swig_obj
[1] ;
36405 if (!args
) SWIG_fail
;
36406 swig_obj
[0] = args
;
36407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36408 if (!SWIG_IsOK(res1
)) {
36409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36411 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36412 result
= (int) ((arg1
)->refresh
);
36413 resultobj
= SWIG_From_int(static_cast< int >(result
));
36420 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36423 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36424 return SWIG_Py_Void();
36427 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36428 return SWIG_Python_InitShadowInstance(args
);
36431 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36432 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36437 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36438 PyObject
*pyobj
= 0;
36440 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36445 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36446 PyObject
*resultobj
= 0;
36447 unsigned int arg1
= (unsigned int) 0 ;
36448 wxDisplay
*result
= 0 ;
36449 unsigned int val1
;
36451 PyObject
* obj0
= 0 ;
36452 char * kwnames
[] = {
36453 (char *) "index", NULL
36456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36458 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
36459 if (!SWIG_IsOK(ecode1
)) {
36460 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "unsigned int""'");
36462 arg1
= static_cast< unsigned int >(val1
);
36465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36466 result
= (wxDisplay
*)new wxDisplay(arg1
);
36467 wxPyEndAllowThreads(__tstate
);
36468 if (PyErr_Occurred()) SWIG_fail
;
36470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36477 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36478 PyObject
*resultobj
= 0;
36479 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36482 PyObject
*swig_obj
[1] ;
36484 if (!args
) SWIG_fail
;
36485 swig_obj
[0] = args
;
36486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36487 if (!SWIG_IsOK(res1
)) {
36488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36490 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36495 wxPyEndAllowThreads(__tstate
);
36496 if (PyErr_Occurred()) SWIG_fail
;
36498 resultobj
= SWIG_Py_Void();
36505 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36506 PyObject
*resultobj
= 0;
36507 unsigned int result
;
36509 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 result
= (unsigned int)wxDisplay::GetCount();
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
36523 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
= 0;
36525 wxPoint
*arg1
= 0 ;
36528 PyObject
* obj0
= 0 ;
36529 char * kwnames
[] = {
36530 (char *) "pt", NULL
36533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36536 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36540 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36541 wxPyEndAllowThreads(__tstate
);
36542 if (PyErr_Occurred()) SWIG_fail
;
36544 resultobj
= SWIG_From_int(static_cast< int >(result
));
36551 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36552 PyObject
*resultobj
= 0;
36553 wxWindow
*arg1
= (wxWindow
*) 0 ;
36557 PyObject
* obj0
= 0 ;
36558 char * kwnames
[] = {
36559 (char *) "window", NULL
36562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36564 if (!SWIG_IsOK(res1
)) {
36565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow const *""'");
36567 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36570 result
= (int)wxDisplay::GetFromWindow((wxWindow
const *)arg1
);
36571 wxPyEndAllowThreads(__tstate
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36574 resultobj
= SWIG_From_int(static_cast< int >(result
));
36581 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36582 PyObject
*resultobj
= 0;
36583 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36587 PyObject
*swig_obj
[1] ;
36589 if (!args
) SWIG_fail
;
36590 swig_obj
[0] = args
;
36591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36592 if (!SWIG_IsOK(res1
)) {
36593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36595 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36598 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36599 wxPyEndAllowThreads(__tstate
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36611 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36612 PyObject
*resultobj
= 0;
36613 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36617 PyObject
*swig_obj
[1] ;
36619 if (!args
) SWIG_fail
;
36620 swig_obj
[0] = args
;
36621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36622 if (!SWIG_IsOK(res1
)) {
36623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36625 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36628 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36629 wxPyEndAllowThreads(__tstate
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36632 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36639 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36640 PyObject
*resultobj
= 0;
36641 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36645 PyObject
*swig_obj
[1] ;
36647 if (!args
) SWIG_fail
;
36648 swig_obj
[0] = args
;
36649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36650 if (!SWIG_IsOK(res1
)) {
36651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36653 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36656 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36657 wxPyEndAllowThreads(__tstate
);
36658 if (PyErr_Occurred()) SWIG_fail
;
36660 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36667 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36668 PyObject
*resultobj
= 0;
36669 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36673 PyObject
*swig_obj
[1] ;
36675 if (!args
) SWIG_fail
;
36676 swig_obj
[0] = args
;
36677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36678 if (!SWIG_IsOK(res1
)) {
36679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36681 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36684 result
= ((wxDisplay
const *)arg1
)->GetName();
36685 wxPyEndAllowThreads(__tstate
);
36686 if (PyErr_Occurred()) SWIG_fail
;
36690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36701 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36702 PyObject
*resultobj
= 0;
36703 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36707 PyObject
*swig_obj
[1] ;
36709 if (!args
) SWIG_fail
;
36710 swig_obj
[0] = args
;
36711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36712 if (!SWIG_IsOK(res1
)) {
36713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36715 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36718 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36719 wxPyEndAllowThreads(__tstate
);
36720 if (PyErr_Occurred()) SWIG_fail
;
36723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36731 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36732 PyObject
*resultobj
= 0;
36733 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36734 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36735 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36736 PyObject
*result
= 0 ;
36741 PyObject
* obj0
= 0 ;
36742 PyObject
* obj1
= 0 ;
36743 char * kwnames
[] = {
36744 (char *) "self",(char *) "mode", NULL
36747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36749 if (!SWIG_IsOK(res1
)) {
36750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36752 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36755 if (!SWIG_IsOK(res2
)) {
36756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36761 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36765 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36766 wxPyEndAllowThreads(__tstate
);
36767 if (PyErr_Occurred()) SWIG_fail
;
36769 resultobj
= result
;
36776 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36777 PyObject
*resultobj
= 0;
36778 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36779 wxVideoMode result
;
36782 PyObject
*swig_obj
[1] ;
36784 if (!args
) SWIG_fail
;
36785 swig_obj
[0] = args
;
36786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36787 if (!SWIG_IsOK(res1
)) {
36788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36790 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36793 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36794 wxPyEndAllowThreads(__tstate
);
36795 if (PyErr_Occurred()) SWIG_fail
;
36797 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36804 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36805 PyObject
*resultobj
= 0;
36806 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36807 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36808 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36814 PyObject
* obj0
= 0 ;
36815 PyObject
* obj1
= 0 ;
36816 char * kwnames
[] = {
36817 (char *) "self",(char *) "mode", NULL
36820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36822 if (!SWIG_IsOK(res1
)) {
36823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36825 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36828 if (!SWIG_IsOK(res2
)) {
36829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36834 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36838 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36839 wxPyEndAllowThreads(__tstate
);
36840 if (PyErr_Occurred()) SWIG_fail
;
36843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36851 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36852 PyObject
*resultobj
= 0;
36853 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36856 PyObject
*swig_obj
[1] ;
36858 if (!args
) SWIG_fail
;
36859 swig_obj
[0] = args
;
36860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36861 if (!SWIG_IsOK(res1
)) {
36862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36864 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36867 wxDisplay_ResetMode(arg1
);
36868 wxPyEndAllowThreads(__tstate
);
36869 if (PyErr_Occurred()) SWIG_fail
;
36871 resultobj
= SWIG_Py_Void();
36878 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36880 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36881 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36882 return SWIG_Py_Void();
36885 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36886 return SWIG_Python_InitShadowInstance(args
);
36889 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36890 PyObject
*resultobj
= 0;
36891 wxStandardPaths
*result
= 0 ;
36893 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36896 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36897 wxPyEndAllowThreads(__tstate
);
36898 if (PyErr_Occurred()) SWIG_fail
;
36900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36907 SWIGINTERN PyObject
*_wrap_StandardPaths_GetExecutablePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36908 PyObject
*resultobj
= 0;
36909 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36913 PyObject
*swig_obj
[1] ;
36915 if (!args
) SWIG_fail
;
36916 swig_obj
[0] = args
;
36917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36918 if (!SWIG_IsOK(res1
)) {
36919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetExecutablePath" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36921 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36924 result
= ((wxStandardPaths
const *)arg1
)->GetExecutablePath();
36925 wxPyEndAllowThreads(__tstate
);
36926 if (PyErr_Occurred()) SWIG_fail
;
36930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36941 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36942 PyObject
*resultobj
= 0;
36943 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36947 PyObject
*swig_obj
[1] ;
36949 if (!args
) SWIG_fail
;
36950 swig_obj
[0] = args
;
36951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36952 if (!SWIG_IsOK(res1
)) {
36953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36955 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36958 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36959 wxPyEndAllowThreads(__tstate
);
36960 if (PyErr_Occurred()) SWIG_fail
;
36964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36975 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36976 PyObject
*resultobj
= 0;
36977 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36981 PyObject
*swig_obj
[1] ;
36983 if (!args
) SWIG_fail
;
36984 swig_obj
[0] = args
;
36985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36986 if (!SWIG_IsOK(res1
)) {
36987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36989 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36992 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36993 wxPyEndAllowThreads(__tstate
);
36994 if (PyErr_Occurred()) SWIG_fail
;
36998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37009 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37010 PyObject
*resultobj
= 0;
37011 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37015 PyObject
*swig_obj
[1] ;
37017 if (!args
) SWIG_fail
;
37018 swig_obj
[0] = args
;
37019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37020 if (!SWIG_IsOK(res1
)) {
37021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37023 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37026 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
37027 wxPyEndAllowThreads(__tstate
);
37028 if (PyErr_Occurred()) SWIG_fail
;
37032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37043 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37044 PyObject
*resultobj
= 0;
37045 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37049 PyObject
*swig_obj
[1] ;
37051 if (!args
) SWIG_fail
;
37052 swig_obj
[0] = args
;
37053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37054 if (!SWIG_IsOK(res1
)) {
37055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37057 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37060 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
37061 wxPyEndAllowThreads(__tstate
);
37062 if (PyErr_Occurred()) SWIG_fail
;
37066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37077 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37078 PyObject
*resultobj
= 0;
37079 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37083 PyObject
*swig_obj
[1] ;
37085 if (!args
) SWIG_fail
;
37086 swig_obj
[0] = args
;
37087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37088 if (!SWIG_IsOK(res1
)) {
37089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37091 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37094 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
37095 wxPyEndAllowThreads(__tstate
);
37096 if (PyErr_Occurred()) SWIG_fail
;
37100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37111 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37112 PyObject
*resultobj
= 0;
37113 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37117 PyObject
*swig_obj
[1] ;
37119 if (!args
) SWIG_fail
;
37120 swig_obj
[0] = args
;
37121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37122 if (!SWIG_IsOK(res1
)) {
37123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37125 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37128 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
37129 wxPyEndAllowThreads(__tstate
);
37130 if (PyErr_Occurred()) SWIG_fail
;
37134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37145 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37146 PyObject
*resultobj
= 0;
37147 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37151 PyObject
*swig_obj
[1] ;
37153 if (!args
) SWIG_fail
;
37154 swig_obj
[0] = args
;
37155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37156 if (!SWIG_IsOK(res1
)) {
37157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37159 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37162 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
37163 wxPyEndAllowThreads(__tstate
);
37164 if (PyErr_Occurred()) SWIG_fail
;
37168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37179 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37180 PyObject
*resultobj
= 0;
37181 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37185 PyObject
*swig_obj
[1] ;
37187 if (!args
) SWIG_fail
;
37188 swig_obj
[0] = args
;
37189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37190 if (!SWIG_IsOK(res1
)) {
37191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37193 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37196 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
37197 wxPyEndAllowThreads(__tstate
);
37198 if (PyErr_Occurred()) SWIG_fail
;
37202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37213 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37214 PyObject
*resultobj
= 0;
37215 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37216 wxString
*arg2
= 0 ;
37217 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
37221 bool temp2
= false ;
37224 PyObject
* obj0
= 0 ;
37225 PyObject
* obj1
= 0 ;
37226 PyObject
* obj2
= 0 ;
37227 char * kwnames
[] = {
37228 (char *) "self",(char *) "lang",(char *) "category", NULL
37231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37233 if (!SWIG_IsOK(res1
)) {
37234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37236 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37238 arg2
= wxString_in_helper(obj1
);
37239 if (arg2
== NULL
) SWIG_fail
;
37243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37244 if (!SWIG_IsOK(ecode3
)) {
37245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
37247 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
37250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37251 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
37252 wxPyEndAllowThreads(__tstate
);
37253 if (PyErr_Occurred()) SWIG_fail
;
37257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37276 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37277 PyObject
*resultobj
= 0;
37278 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37282 PyObject
*swig_obj
[1] ;
37284 if (!args
) SWIG_fail
;
37285 swig_obj
[0] = args
;
37286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37287 if (!SWIG_IsOK(res1
)) {
37288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37290 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37293 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37294 wxPyEndAllowThreads(__tstate
);
37295 if (PyErr_Occurred()) SWIG_fail
;
37299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37310 SWIGINTERN PyObject
*_wrap_StandardPaths_GetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37311 PyObject
*resultobj
= 0;
37312 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37316 PyObject
*swig_obj
[1] ;
37318 if (!args
) SWIG_fail
;
37319 swig_obj
[0] = args
;
37320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37321 if (!SWIG_IsOK(res1
)) {
37322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetTempDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37324 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37327 result
= ((wxStandardPaths
const *)arg1
)->GetTempDir();
37328 wxPyEndAllowThreads(__tstate
);
37329 if (PyErr_Occurred()) SWIG_fail
;
37333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37344 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37345 PyObject
*resultobj
= 0;
37346 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37347 wxString
*arg2
= 0 ;
37350 bool temp2
= false ;
37351 PyObject
* obj0
= 0 ;
37352 PyObject
* obj1
= 0 ;
37353 char * kwnames
[] = {
37354 (char *) "self",(char *) "prefix", NULL
37357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37359 if (!SWIG_IsOK(res1
)) {
37360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37362 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37364 arg2
= wxString_in_helper(obj1
);
37365 if (arg2
== NULL
) SWIG_fail
;
37369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37370 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
37371 wxPyEndAllowThreads(__tstate
);
37372 if (PyErr_Occurred()) SWIG_fail
;
37374 resultobj
= SWIG_Py_Void();
37389 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37390 PyObject
*resultobj
= 0;
37391 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37395 PyObject
*swig_obj
[1] ;
37397 if (!args
) SWIG_fail
;
37398 swig_obj
[0] = args
;
37399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37400 if (!SWIG_IsOK(res1
)) {
37401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37403 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37406 result
= wxStandardPaths_GetInstallPrefix(arg1
);
37407 wxPyEndAllowThreads(__tstate
);
37408 if (PyErr_Occurred()) SWIG_fail
;
37412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37423 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37426 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37427 return SWIG_Py_Void();
37430 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37431 PyObject
*resultobj
= 0;
37433 wxPowerEvent
*result
= 0 ;
37436 PyObject
* obj0
= 0 ;
37437 char * kwnames
[] = {
37438 (char *) "evtType", NULL
37441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37442 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37443 if (!SWIG_IsOK(ecode1
)) {
37444 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37446 arg1
= static_cast< wxEventType
>(val1
);
37448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37449 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37450 wxPyEndAllowThreads(__tstate
);
37451 if (PyErr_Occurred()) SWIG_fail
;
37453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37460 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37461 PyObject
*resultobj
= 0;
37462 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37465 PyObject
*swig_obj
[1] ;
37467 if (!args
) SWIG_fail
;
37468 swig_obj
[0] = args
;
37469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37470 if (!SWIG_IsOK(res1
)) {
37471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37473 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37477 wxPyEndAllowThreads(__tstate
);
37478 if (PyErr_Occurred()) SWIG_fail
;
37480 resultobj
= SWIG_Py_Void();
37487 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37488 PyObject
*resultobj
= 0;
37489 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37493 PyObject
*swig_obj
[1] ;
37495 if (!args
) SWIG_fail
;
37496 swig_obj
[0] = args
;
37497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37498 if (!SWIG_IsOK(res1
)) {
37499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37501 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37504 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37505 wxPyEndAllowThreads(__tstate
);
37506 if (PyErr_Occurred()) SWIG_fail
;
37509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37517 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37520 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37521 return SWIG_Py_Void();
37524 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37525 return SWIG_Python_InitShadowInstance(args
);
37528 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37529 PyObject
*resultobj
= 0;
37530 wxPowerType result
;
37532 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 result
= (wxPowerType
)wxGetPowerType();
37536 wxPyEndAllowThreads(__tstate
);
37537 if (PyErr_Occurred()) SWIG_fail
;
37539 resultobj
= SWIG_From_int(static_cast< int >(result
));
37546 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37547 PyObject
*resultobj
= 0;
37548 wxBatteryState result
;
37550 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37553 result
= (wxBatteryState
)wxGetBatteryState();
37554 wxPyEndAllowThreads(__tstate
);
37555 if (PyErr_Occurred()) SWIG_fail
;
37557 resultobj
= SWIG_From_int(static_cast< int >(result
));
37564 SWIGINTERN PyObject
*_wrap_new_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37565 PyObject
*resultobj
= 0;
37566 wxAboutDialogInfo
*result
= 0 ;
37568 if (!SWIG_Python_UnpackTuple(args
,"new_AboutDialogInfo",0,0,0)) SWIG_fail
;
37570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37571 result
= (wxAboutDialogInfo
*)new wxAboutDialogInfo();
37572 wxPyEndAllowThreads(__tstate
);
37573 if (PyErr_Occurred()) SWIG_fail
;
37575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_NEW
| 0 );
37582 SWIGINTERN PyObject
*_wrap_delete_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37583 PyObject
*resultobj
= 0;
37584 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37587 PyObject
*swig_obj
[1] ;
37589 if (!args
) SWIG_fail
;
37590 swig_obj
[0] = args
;
37591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_DISOWN
| 0 );
37592 if (!SWIG_IsOK(res1
)) {
37593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AboutDialogInfo" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37595 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37600 wxPyEndAllowThreads(__tstate
);
37601 if (PyErr_Occurred()) SWIG_fail
;
37603 resultobj
= SWIG_Py_Void();
37610 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37611 PyObject
*resultobj
= 0;
37612 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37613 wxString
*arg2
= 0 ;
37616 bool temp2
= false ;
37617 PyObject
* obj0
= 0 ;
37618 PyObject
* obj1
= 0 ;
37619 char * kwnames
[] = {
37620 (char *) "self",(char *) "name", NULL
37623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37625 if (!SWIG_IsOK(res1
)) {
37626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37628 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37630 arg2
= wxString_in_helper(obj1
);
37631 if (arg2
== NULL
) SWIG_fail
;
37635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37636 (arg1
)->SetName((wxString
const &)*arg2
);
37637 wxPyEndAllowThreads(__tstate
);
37638 if (PyErr_Occurred()) SWIG_fail
;
37640 resultobj
= SWIG_Py_Void();
37655 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37656 PyObject
*resultobj
= 0;
37657 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37661 PyObject
*swig_obj
[1] ;
37663 if (!args
) SWIG_fail
;
37664 swig_obj
[0] = args
;
37665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37666 if (!SWIG_IsOK(res1
)) {
37667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37669 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37672 result
= ((wxAboutDialogInfo
const *)arg1
)->GetName();
37673 wxPyEndAllowThreads(__tstate
);
37674 if (PyErr_Occurred()) SWIG_fail
;
37678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37689 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37690 PyObject
*resultobj
= 0;
37691 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37692 wxString
*arg2
= 0 ;
37695 bool temp2
= false ;
37696 PyObject
* obj0
= 0 ;
37697 PyObject
* obj1
= 0 ;
37698 char * kwnames
[] = {
37699 (char *) "self",(char *) "version", NULL
37702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37704 if (!SWIG_IsOK(res1
)) {
37705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37707 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37709 arg2
= wxString_in_helper(obj1
);
37710 if (arg2
== NULL
) SWIG_fail
;
37714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37715 (arg1
)->SetVersion((wxString
const &)*arg2
);
37716 wxPyEndAllowThreads(__tstate
);
37717 if (PyErr_Occurred()) SWIG_fail
;
37719 resultobj
= SWIG_Py_Void();
37734 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37735 PyObject
*resultobj
= 0;
37736 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37740 PyObject
*swig_obj
[1] ;
37742 if (!args
) SWIG_fail
;
37743 swig_obj
[0] = args
;
37744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37745 if (!SWIG_IsOK(res1
)) {
37746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37748 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37751 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasVersion();
37752 wxPyEndAllowThreads(__tstate
);
37753 if (PyErr_Occurred()) SWIG_fail
;
37756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37764 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37765 PyObject
*resultobj
= 0;
37766 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37770 PyObject
*swig_obj
[1] ;
37772 if (!args
) SWIG_fail
;
37773 swig_obj
[0] = args
;
37774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37775 if (!SWIG_IsOK(res1
)) {
37776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37778 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37781 result
= ((wxAboutDialogInfo
const *)arg1
)->GetVersion();
37782 wxPyEndAllowThreads(__tstate
);
37783 if (PyErr_Occurred()) SWIG_fail
;
37787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37798 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37799 PyObject
*resultobj
= 0;
37800 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37801 wxString
*arg2
= 0 ;
37804 bool temp2
= false ;
37805 PyObject
* obj0
= 0 ;
37806 PyObject
* obj1
= 0 ;
37807 char * kwnames
[] = {
37808 (char *) "self",(char *) "desc", NULL
37811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDescription",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37813 if (!SWIG_IsOK(res1
)) {
37814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37816 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37818 arg2
= wxString_in_helper(obj1
);
37819 if (arg2
== NULL
) SWIG_fail
;
37823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37824 (arg1
)->SetDescription((wxString
const &)*arg2
);
37825 wxPyEndAllowThreads(__tstate
);
37826 if (PyErr_Occurred()) SWIG_fail
;
37828 resultobj
= SWIG_Py_Void();
37843 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37844 PyObject
*resultobj
= 0;
37845 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37849 PyObject
*swig_obj
[1] ;
37851 if (!args
) SWIG_fail
;
37852 swig_obj
[0] = args
;
37853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37854 if (!SWIG_IsOK(res1
)) {
37855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37857 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37860 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDescription();
37861 wxPyEndAllowThreads(__tstate
);
37862 if (PyErr_Occurred()) SWIG_fail
;
37865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37873 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37874 PyObject
*resultobj
= 0;
37875 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37879 PyObject
*swig_obj
[1] ;
37881 if (!args
) SWIG_fail
;
37882 swig_obj
[0] = args
;
37883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37884 if (!SWIG_IsOK(res1
)) {
37885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37887 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37890 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescription();
37891 wxPyEndAllowThreads(__tstate
);
37892 if (PyErr_Occurred()) SWIG_fail
;
37896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37907 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37908 PyObject
*resultobj
= 0;
37909 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37910 wxString
*arg2
= 0 ;
37913 bool temp2
= false ;
37914 PyObject
* obj0
= 0 ;
37915 PyObject
* obj1
= 0 ;
37916 char * kwnames
[] = {
37917 (char *) "self",(char *) "copyright", NULL
37920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetCopyright",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37922 if (!SWIG_IsOK(res1
)) {
37923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37925 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37927 arg2
= wxString_in_helper(obj1
);
37928 if (arg2
== NULL
) SWIG_fail
;
37932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37933 (arg1
)->SetCopyright((wxString
const &)*arg2
);
37934 wxPyEndAllowThreads(__tstate
);
37935 if (PyErr_Occurred()) SWIG_fail
;
37937 resultobj
= SWIG_Py_Void();
37952 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37953 PyObject
*resultobj
= 0;
37954 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37958 PyObject
*swig_obj
[1] ;
37960 if (!args
) SWIG_fail
;
37961 swig_obj
[0] = args
;
37962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37963 if (!SWIG_IsOK(res1
)) {
37964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37966 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37969 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasCopyright();
37970 wxPyEndAllowThreads(__tstate
);
37971 if (PyErr_Occurred()) SWIG_fail
;
37974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37982 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37983 PyObject
*resultobj
= 0;
37984 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37988 PyObject
*swig_obj
[1] ;
37990 if (!args
) SWIG_fail
;
37991 swig_obj
[0] = args
;
37992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37993 if (!SWIG_IsOK(res1
)) {
37994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37996 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37999 result
= ((wxAboutDialogInfo
const *)arg1
)->GetCopyright();
38000 wxPyEndAllowThreads(__tstate
);
38001 if (PyErr_Occurred()) SWIG_fail
;
38005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38016 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38017 PyObject
*resultobj
= 0;
38018 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38019 wxString
*arg2
= 0 ;
38022 bool temp2
= false ;
38023 PyObject
* obj0
= 0 ;
38024 PyObject
* obj1
= 0 ;
38025 char * kwnames
[] = {
38026 (char *) "self",(char *) "licence", NULL
38029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicence",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38031 if (!SWIG_IsOK(res1
)) {
38032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38034 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38036 arg2
= wxString_in_helper(obj1
);
38037 if (arg2
== NULL
) SWIG_fail
;
38041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38042 (arg1
)->SetLicence((wxString
const &)*arg2
);
38043 wxPyEndAllowThreads(__tstate
);
38044 if (PyErr_Occurred()) SWIG_fail
;
38046 resultobj
= SWIG_Py_Void();
38061 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicense(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38062 PyObject
*resultobj
= 0;
38063 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38064 wxString
*arg2
= 0 ;
38067 bool temp2
= false ;
38068 PyObject
* obj0
= 0 ;
38069 PyObject
* obj1
= 0 ;
38070 char * kwnames
[] = {
38071 (char *) "self",(char *) "licence", NULL
38074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicense",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38076 if (!SWIG_IsOK(res1
)) {
38077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicense" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38079 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38081 arg2
= wxString_in_helper(obj1
);
38082 if (arg2
== NULL
) SWIG_fail
;
38086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38087 (arg1
)->SetLicense((wxString
const &)*arg2
);
38088 wxPyEndAllowThreads(__tstate
);
38089 if (PyErr_Occurred()) SWIG_fail
;
38091 resultobj
= SWIG_Py_Void();
38106 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38107 PyObject
*resultobj
= 0;
38108 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38112 PyObject
*swig_obj
[1] ;
38114 if (!args
) SWIG_fail
;
38115 swig_obj
[0] = args
;
38116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38117 if (!SWIG_IsOK(res1
)) {
38118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38120 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38123 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasLicence();
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38136 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38137 PyObject
*resultobj
= 0;
38138 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38142 PyObject
*swig_obj
[1] ;
38144 if (!args
) SWIG_fail
;
38145 swig_obj
[0] = args
;
38146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38147 if (!SWIG_IsOK(res1
)) {
38148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38150 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38153 result
= ((wxAboutDialogInfo
const *)arg1
)->GetLicence();
38154 wxPyEndAllowThreads(__tstate
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38170 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38171 PyObject
*resultobj
= 0;
38172 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38178 PyObject
* obj0
= 0 ;
38179 PyObject
* obj1
= 0 ;
38180 char * kwnames
[] = {
38181 (char *) "self",(char *) "icon", NULL
38184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38186 if (!SWIG_IsOK(res1
)) {
38187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38189 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38191 if (!SWIG_IsOK(res2
)) {
38192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38197 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38200 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
38201 wxPyEndAllowThreads(__tstate
);
38202 if (PyErr_Occurred()) SWIG_fail
;
38204 resultobj
= SWIG_Py_Void();
38211 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38212 PyObject
*resultobj
= 0;
38213 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38217 PyObject
*swig_obj
[1] ;
38219 if (!args
) SWIG_fail
;
38220 swig_obj
[0] = args
;
38221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38222 if (!SWIG_IsOK(res1
)) {
38223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38225 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38228 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasIcon();
38229 wxPyEndAllowThreads(__tstate
);
38230 if (PyErr_Occurred()) SWIG_fail
;
38233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38241 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38242 PyObject
*resultobj
= 0;
38243 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38247 PyObject
*swig_obj
[1] ;
38249 if (!args
) SWIG_fail
;
38250 swig_obj
[0] = args
;
38251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38252 if (!SWIG_IsOK(res1
)) {
38253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38255 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38258 result
= ((wxAboutDialogInfo
const *)arg1
)->GetIcon();
38259 wxPyEndAllowThreads(__tstate
);
38260 if (PyErr_Occurred()) SWIG_fail
;
38262 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
38269 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__SetWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38270 PyObject
*resultobj
= 0;
38271 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38272 wxString
*arg2
= 0 ;
38273 wxString
const &arg3_defvalue
= wxEmptyString
;
38274 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
38277 bool temp2
= false ;
38278 bool temp3
= false ;
38279 PyObject
* obj0
= 0 ;
38280 PyObject
* obj1
= 0 ;
38281 PyObject
* obj2
= 0 ;
38282 char * kwnames
[] = {
38283 (char *) "self",(char *) "url",(char *) "desc", NULL
38286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AboutDialogInfo__SetWebSite",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38288 if (!SWIG_IsOK(res1
)) {
38289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__SetWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38291 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38293 arg2
= wxString_in_helper(obj1
);
38294 if (arg2
== NULL
) SWIG_fail
;
38299 arg3
= wxString_in_helper(obj2
);
38300 if (arg3
== NULL
) SWIG_fail
;
38305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38306 (arg1
)->SetWebSite((wxString
const &)*arg2
,(wxString
const &)*arg3
);
38307 wxPyEndAllowThreads(__tstate
);
38308 if (PyErr_Occurred()) SWIG_fail
;
38310 resultobj
= SWIG_Py_Void();
38333 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38334 PyObject
*resultobj
= 0;
38335 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38339 PyObject
*swig_obj
[1] ;
38341 if (!args
) SWIG_fail
;
38342 swig_obj
[0] = args
;
38343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38344 if (!SWIG_IsOK(res1
)) {
38345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteURL" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38347 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38350 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteURL();
38351 wxPyEndAllowThreads(__tstate
);
38352 if (PyErr_Occurred()) SWIG_fail
;
38356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38367 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38368 PyObject
*resultobj
= 0;
38369 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38373 PyObject
*swig_obj
[1] ;
38375 if (!args
) SWIG_fail
;
38376 swig_obj
[0] = args
;
38377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38378 if (!SWIG_IsOK(res1
)) {
38379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38381 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38384 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteDescription();
38385 wxPyEndAllowThreads(__tstate
);
38386 if (PyErr_Occurred()) SWIG_fail
;
38390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38401 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38402 PyObject
*resultobj
= 0;
38403 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38407 PyObject
*swig_obj
[1] ;
38409 if (!args
) SWIG_fail
;
38410 swig_obj
[0] = args
;
38411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38412 if (!SWIG_IsOK(res1
)) {
38413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38415 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38418 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasWebSite();
38419 wxPyEndAllowThreads(__tstate
);
38420 if (PyErr_Occurred()) SWIG_fail
;
38423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38431 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38432 PyObject
*resultobj
= 0;
38433 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38434 wxArrayString
*arg2
= 0 ;
38437 bool temp2
= false ;
38438 PyObject
* obj0
= 0 ;
38439 PyObject
* obj1
= 0 ;
38440 char * kwnames
[] = {
38441 (char *) "self",(char *) "developers", NULL
38444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDevelopers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38446 if (!SWIG_IsOK(res1
)) {
38447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38449 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38451 if (! PySequence_Check(obj1
)) {
38452 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38455 arg2
= new wxArrayString
;
38457 int i
, len
=PySequence_Length(obj1
);
38458 for (i
=0; i
<len
; i
++) {
38459 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38460 wxString
* s
= wxString_in_helper(item
);
38461 if (PyErr_Occurred()) SWIG_fail
;
38468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38469 (arg1
)->SetDevelopers((wxArrayString
const &)*arg2
);
38470 wxPyEndAllowThreads(__tstate
);
38471 if (PyErr_Occurred()) SWIG_fail
;
38473 resultobj
= SWIG_Py_Void();
38475 if (temp2
) delete arg2
;
38480 if (temp2
) delete arg2
;
38486 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDeveloper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38487 PyObject
*resultobj
= 0;
38488 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38489 wxString
*arg2
= 0 ;
38492 bool temp2
= false ;
38493 PyObject
* obj0
= 0 ;
38494 PyObject
* obj1
= 0 ;
38495 char * kwnames
[] = {
38496 (char *) "self",(char *) "developer", NULL
38499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDeveloper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38501 if (!SWIG_IsOK(res1
)) {
38502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDeveloper" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38504 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38506 arg2
= wxString_in_helper(obj1
);
38507 if (arg2
== NULL
) SWIG_fail
;
38511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38512 (arg1
)->AddDeveloper((wxString
const &)*arg2
);
38513 wxPyEndAllowThreads(__tstate
);
38514 if (PyErr_Occurred()) SWIG_fail
;
38516 resultobj
= SWIG_Py_Void();
38531 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38532 PyObject
*resultobj
= 0;
38533 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38537 PyObject
*swig_obj
[1] ;
38539 if (!args
) SWIG_fail
;
38540 swig_obj
[0] = args
;
38541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38542 if (!SWIG_IsOK(res1
)) {
38543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38545 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38548 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDevelopers();
38549 wxPyEndAllowThreads(__tstate
);
38550 if (PyErr_Occurred()) SWIG_fail
;
38553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38561 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38562 PyObject
*resultobj
= 0;
38563 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38564 wxArrayString
*result
= 0 ;
38567 PyObject
*swig_obj
[1] ;
38569 if (!args
) SWIG_fail
;
38570 swig_obj
[0] = args
;
38571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38572 if (!SWIG_IsOK(res1
)) {
38573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38575 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38579 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDevelopers();
38580 result
= (wxArrayString
*) &_result_ref
;
38582 wxPyEndAllowThreads(__tstate
);
38583 if (PyErr_Occurred()) SWIG_fail
;
38586 resultobj
= wxArrayString2PyList_helper(*result
);
38594 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38595 PyObject
*resultobj
= 0;
38596 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38597 wxArrayString
*arg2
= 0 ;
38600 bool temp2
= false ;
38601 PyObject
* obj0
= 0 ;
38602 PyObject
* obj1
= 0 ;
38603 char * kwnames
[] = {
38604 (char *) "self",(char *) "docwriters", NULL
38607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDocWriters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38609 if (!SWIG_IsOK(res1
)) {
38610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38612 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38614 if (! PySequence_Check(obj1
)) {
38615 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38618 arg2
= new wxArrayString
;
38620 int i
, len
=PySequence_Length(obj1
);
38621 for (i
=0; i
<len
; i
++) {
38622 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38623 wxString
* s
= wxString_in_helper(item
);
38624 if (PyErr_Occurred()) SWIG_fail
;
38631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38632 (arg1
)->SetDocWriters((wxArrayString
const &)*arg2
);
38633 wxPyEndAllowThreads(__tstate
);
38634 if (PyErr_Occurred()) SWIG_fail
;
38636 resultobj
= SWIG_Py_Void();
38638 if (temp2
) delete arg2
;
38643 if (temp2
) delete arg2
;
38649 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDocWriter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38650 PyObject
*resultobj
= 0;
38651 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38652 wxString
*arg2
= 0 ;
38655 bool temp2
= false ;
38656 PyObject
* obj0
= 0 ;
38657 PyObject
* obj1
= 0 ;
38658 char * kwnames
[] = {
38659 (char *) "self",(char *) "docwriter", NULL
38662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDocWriter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38664 if (!SWIG_IsOK(res1
)) {
38665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDocWriter" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38667 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38669 arg2
= wxString_in_helper(obj1
);
38670 if (arg2
== NULL
) SWIG_fail
;
38674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38675 (arg1
)->AddDocWriter((wxString
const &)*arg2
);
38676 wxPyEndAllowThreads(__tstate
);
38677 if (PyErr_Occurred()) SWIG_fail
;
38679 resultobj
= SWIG_Py_Void();
38694 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38695 PyObject
*resultobj
= 0;
38696 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38700 PyObject
*swig_obj
[1] ;
38702 if (!args
) SWIG_fail
;
38703 swig_obj
[0] = args
;
38704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38705 if (!SWIG_IsOK(res1
)) {
38706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38708 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38711 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDocWriters();
38712 wxPyEndAllowThreads(__tstate
);
38713 if (PyErr_Occurred()) SWIG_fail
;
38716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38724 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38725 PyObject
*resultobj
= 0;
38726 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38727 wxArrayString
*result
= 0 ;
38730 PyObject
*swig_obj
[1] ;
38732 if (!args
) SWIG_fail
;
38733 swig_obj
[0] = args
;
38734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38735 if (!SWIG_IsOK(res1
)) {
38736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38738 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38742 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDocWriters();
38743 result
= (wxArrayString
*) &_result_ref
;
38745 wxPyEndAllowThreads(__tstate
);
38746 if (PyErr_Occurred()) SWIG_fail
;
38749 resultobj
= wxArrayString2PyList_helper(*result
);
38757 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38758 PyObject
*resultobj
= 0;
38759 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38760 wxArrayString
*arg2
= 0 ;
38763 bool temp2
= false ;
38764 PyObject
* obj0
= 0 ;
38765 PyObject
* obj1
= 0 ;
38766 char * kwnames
[] = {
38767 (char *) "self",(char *) "artists", NULL
38770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetArtists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38772 if (!SWIG_IsOK(res1
)) {
38773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38775 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38777 if (! PySequence_Check(obj1
)) {
38778 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38781 arg2
= new wxArrayString
;
38783 int i
, len
=PySequence_Length(obj1
);
38784 for (i
=0; i
<len
; i
++) {
38785 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38786 wxString
* s
= wxString_in_helper(item
);
38787 if (PyErr_Occurred()) SWIG_fail
;
38794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 (arg1
)->SetArtists((wxArrayString
const &)*arg2
);
38796 wxPyEndAllowThreads(__tstate
);
38797 if (PyErr_Occurred()) SWIG_fail
;
38799 resultobj
= SWIG_Py_Void();
38801 if (temp2
) delete arg2
;
38806 if (temp2
) delete arg2
;
38812 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddArtist(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38813 PyObject
*resultobj
= 0;
38814 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38815 wxString
*arg2
= 0 ;
38818 bool temp2
= false ;
38819 PyObject
* obj0
= 0 ;
38820 PyObject
* obj1
= 0 ;
38821 char * kwnames
[] = {
38822 (char *) "self",(char *) "artist", NULL
38825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddArtist",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38827 if (!SWIG_IsOK(res1
)) {
38828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddArtist" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38830 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38832 arg2
= wxString_in_helper(obj1
);
38833 if (arg2
== NULL
) SWIG_fail
;
38837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38838 (arg1
)->AddArtist((wxString
const &)*arg2
);
38839 wxPyEndAllowThreads(__tstate
);
38840 if (PyErr_Occurred()) SWIG_fail
;
38842 resultobj
= SWIG_Py_Void();
38857 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38858 PyObject
*resultobj
= 0;
38859 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38863 PyObject
*swig_obj
[1] ;
38865 if (!args
) SWIG_fail
;
38866 swig_obj
[0] = args
;
38867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38868 if (!SWIG_IsOK(res1
)) {
38869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38871 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38874 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasArtists();
38875 wxPyEndAllowThreads(__tstate
);
38876 if (PyErr_Occurred()) SWIG_fail
;
38879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38887 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38888 PyObject
*resultobj
= 0;
38889 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38890 wxArrayString
*result
= 0 ;
38893 PyObject
*swig_obj
[1] ;
38895 if (!args
) SWIG_fail
;
38896 swig_obj
[0] = args
;
38897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38898 if (!SWIG_IsOK(res1
)) {
38899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38901 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38905 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetArtists();
38906 result
= (wxArrayString
*) &_result_ref
;
38908 wxPyEndAllowThreads(__tstate
);
38909 if (PyErr_Occurred()) SWIG_fail
;
38912 resultobj
= wxArrayString2PyList_helper(*result
);
38920 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38921 PyObject
*resultobj
= 0;
38922 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38923 wxArrayString
*arg2
= 0 ;
38926 bool temp2
= false ;
38927 PyObject
* obj0
= 0 ;
38928 PyObject
* obj1
= 0 ;
38929 char * kwnames
[] = {
38930 (char *) "self",(char *) "translators", NULL
38933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetTranslators",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38935 if (!SWIG_IsOK(res1
)) {
38936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38938 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38940 if (! PySequence_Check(obj1
)) {
38941 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38944 arg2
= new wxArrayString
;
38946 int i
, len
=PySequence_Length(obj1
);
38947 for (i
=0; i
<len
; i
++) {
38948 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38949 wxString
* s
= wxString_in_helper(item
);
38950 if (PyErr_Occurred()) SWIG_fail
;
38957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38958 (arg1
)->SetTranslators((wxArrayString
const &)*arg2
);
38959 wxPyEndAllowThreads(__tstate
);
38960 if (PyErr_Occurred()) SWIG_fail
;
38962 resultobj
= SWIG_Py_Void();
38964 if (temp2
) delete arg2
;
38969 if (temp2
) delete arg2
;
38975 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddTranslator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38976 PyObject
*resultobj
= 0;
38977 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38978 wxString
*arg2
= 0 ;
38981 bool temp2
= false ;
38982 PyObject
* obj0
= 0 ;
38983 PyObject
* obj1
= 0 ;
38984 char * kwnames
[] = {
38985 (char *) "self",(char *) "translator", NULL
38988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddTranslator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38990 if (!SWIG_IsOK(res1
)) {
38991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddTranslator" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38993 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38995 arg2
= wxString_in_helper(obj1
);
38996 if (arg2
== NULL
) SWIG_fail
;
39000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39001 (arg1
)->AddTranslator((wxString
const &)*arg2
);
39002 wxPyEndAllowThreads(__tstate
);
39003 if (PyErr_Occurred()) SWIG_fail
;
39005 resultobj
= SWIG_Py_Void();
39020 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39021 PyObject
*resultobj
= 0;
39022 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39026 PyObject
*swig_obj
[1] ;
39028 if (!args
) SWIG_fail
;
39029 swig_obj
[0] = args
;
39030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39031 if (!SWIG_IsOK(res1
)) {
39032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39034 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39037 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasTranslators();
39038 wxPyEndAllowThreads(__tstate
);
39039 if (PyErr_Occurred()) SWIG_fail
;
39042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39050 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39051 PyObject
*resultobj
= 0;
39052 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39053 wxArrayString
*result
= 0 ;
39056 PyObject
*swig_obj
[1] ;
39058 if (!args
) SWIG_fail
;
39059 swig_obj
[0] = args
;
39060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39061 if (!SWIG_IsOK(res1
)) {
39062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39064 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39068 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetTranslators();
39069 result
= (wxArrayString
*) &_result_ref
;
39071 wxPyEndAllowThreads(__tstate
);
39072 if (PyErr_Occurred()) SWIG_fail
;
39075 resultobj
= wxArrayString2PyList_helper(*result
);
39083 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_IsSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39084 PyObject
*resultobj
= 0;
39085 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39089 PyObject
*swig_obj
[1] ;
39091 if (!args
) SWIG_fail
;
39092 swig_obj
[0] = args
;
39093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39094 if (!SWIG_IsOK(res1
)) {
39095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_IsSimple" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39097 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39100 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->IsSimple();
39101 wxPyEndAllowThreads(__tstate
);
39102 if (PyErr_Occurred()) SWIG_fail
;
39105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39113 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescriptionAndCredits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39114 PyObject
*resultobj
= 0;
39115 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39119 PyObject
*swig_obj
[1] ;
39121 if (!args
) SWIG_fail
;
39122 swig_obj
[0] = args
;
39123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39124 if (!SWIG_IsOK(res1
)) {
39125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescriptionAndCredits" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39127 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39130 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescriptionAndCredits();
39131 wxPyEndAllowThreads(__tstate
);
39132 if (PyErr_Occurred()) SWIG_fail
;
39136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39147 SWIGINTERN PyObject
*AboutDialogInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39150 SWIG_TypeNewClientData(SWIGTYPE_p_wxAboutDialogInfo
, SWIG_NewClientData(obj
));
39151 return SWIG_Py_Void();
39154 SWIGINTERN PyObject
*AboutDialogInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39155 return SWIG_Python_InitShadowInstance(args
);
39158 SWIGINTERN PyObject
*_wrap_AboutBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39159 PyObject
*resultobj
= 0;
39160 wxAboutDialogInfo
*arg1
= 0 ;
39163 PyObject
* obj0
= 0 ;
39164 char * kwnames
[] = {
39165 (char *) "info", NULL
39168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AboutBox",kwnames
,&obj0
)) SWIG_fail
;
39169 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0);
39170 if (!SWIG_IsOK(res1
)) {
39171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39176 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39179 wxAboutBox((wxAboutDialogInfo
const &)*arg1
);
39180 wxPyEndAllowThreads(__tstate
);
39181 if (PyErr_Occurred()) SWIG_fail
;
39183 resultobj
= SWIG_Py_Void();
39190 static PyMethodDef SwigMethods
[] = {
39191 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
39196 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
39198 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
39199 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
39206 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
39207 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
39208 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
39210 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
39215 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
39216 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
39217 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
39218 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
39220 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
39221 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
39222 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
39223 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
39224 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
39231 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
39232 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
39233 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
39234 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
39235 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
39236 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
39238 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
39239 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
39250 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
39251 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
39252 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
39253 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
39254 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
39255 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
39256 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
39257 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
39258 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
39260 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
39262 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
39263 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
39264 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
39270 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
39271 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
39272 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
39273 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
39274 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
39275 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
39276 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
39277 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
39278 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
39279 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
39280 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
39281 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
39291 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
39292 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
39293 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
39294 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
39295 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
39296 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
39297 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
39298 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
39299 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
39300 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
39301 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
39303 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
39305 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
39306 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
39309 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
39310 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
39312 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
39313 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
39314 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
39315 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
39316 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
39317 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
39318 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
39319 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
39320 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
39326 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
39327 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
39329 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
39330 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
39332 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
39333 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
39334 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
39336 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
39337 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
39338 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
39340 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
39341 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
39342 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
39343 { (char *)"delete_StopWatch", (PyCFunction
)_wrap_delete_StopWatch
, METH_O
, NULL
},
39344 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
39346 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
39347 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
39348 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
39349 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
39350 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
39352 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
39355 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
39360 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
39363 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
39364 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
39365 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
39367 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
39368 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
39370 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
39371 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
39372 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
39373 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
39376 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
39377 { (char *)"PlatformInformation_CheckOSVersion", (PyCFunction
) _wrap_PlatformInformation_CheckOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
39379 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
39380 { (char *)"PlatformInformation_CheckToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_CheckToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
39382 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
39383 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
39384 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
39385 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
39386 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
39387 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
39388 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
39389 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
39390 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
39391 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
39392 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
39399 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
39400 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
39401 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
39403 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
39404 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
39405 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
39407 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
39410 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
39411 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
39415 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
39418 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
39420 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
39421 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
39422 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
39423 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
39424 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
39425 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
39426 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
39427 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
39429 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
39430 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
39431 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
39432 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
39433 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
39435 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
39436 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
39437 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
39438 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
39439 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
39442 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
39443 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
39444 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
39446 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
39447 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39450 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
39452 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
39456 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
39457 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
39459 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
39460 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
39462 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
39463 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
39464 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
39465 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
39466 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
39467 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
39468 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
39469 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
39470 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
39472 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
39473 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
39474 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
39475 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
39476 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
39479 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
39480 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
39481 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
39483 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
39484 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
39488 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
39489 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
39490 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
39491 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
39492 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
39493 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
39494 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
39495 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
39496 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
39509 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
39511 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
39512 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
39513 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
39514 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
39515 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
39517 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
39518 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"delete_Process", (PyCFunction
)_wrap_delete_Process
, METH_O
, NULL
},
39523 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"Process_GetPid", (PyCFunction
)_wrap_Process_GetPid
, METH_O
, NULL
},
39525 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
39527 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
39528 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
39529 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
39530 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
39531 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
39532 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
39533 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
39534 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
39535 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
39536 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
39537 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
39538 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
39540 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
39541 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
39542 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
39543 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
39544 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
39545 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
39546 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
39547 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
39551 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
39552 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
39553 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
39554 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
39555 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
39556 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
39557 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
39558 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
39559 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
39560 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
39562 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
39563 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
39564 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
39565 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
39566 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
39567 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
39568 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
39569 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
39570 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
39571 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
39572 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
39573 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
39574 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
39575 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
39576 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
39577 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
39578 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
39579 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
39580 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
39581 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
39582 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
39583 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
39584 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
39585 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
39586 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
39587 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
39588 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
39589 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
39590 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
39591 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
39593 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
39594 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
39595 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
39597 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
39598 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
39599 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
39600 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
39601 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
39607 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
39608 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
39609 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
39613 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
39614 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
39617 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
39620 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
39623 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
39624 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
39625 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
39628 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
39629 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
39632 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
39633 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
39634 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
39635 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
39636 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
39637 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
39638 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
39639 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
39640 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
39641 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
39642 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
39644 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
39645 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
39646 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
39647 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
39648 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
39649 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
39650 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
39656 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
39658 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
39659 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
39661 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
39663 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
39668 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
39672 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
39673 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
39674 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
39675 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
39676 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"ArtProvider_Push", (PyCFunction
) _wrap_ArtProvider_Push
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"ArtProvider_Insert", (PyCFunction
) _wrap_ArtProvider_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"ArtProvider_Pop", (PyCFunction
)_wrap_ArtProvider_Pop
, METH_NOARGS
, NULL
},
39680 { (char *)"ArtProvider_Delete", (PyCFunction
) _wrap_ArtProvider_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
39685 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
39686 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
39687 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
39688 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
39691 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39692 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
39694 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
39695 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
39697 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
39718 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
39720 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
39722 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
39724 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
39725 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
39729 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
39730 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
39732 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
39733 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
39734 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
39736 { (char *)"FileConfig_GetGlobalFileName", (PyCFunction
) _wrap_FileConfig_GetGlobalFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"FileConfig_GetLocalFileName", (PyCFunction
) _wrap_FileConfig_GetLocalFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
39739 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
39740 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
39742 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
39743 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
39744 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
39745 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
39748 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
39759 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
39763 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
39764 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
39765 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
39766 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
39772 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
39773 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
39778 { (char *)"DateTime_GetDateOnly", (PyCFunction
)_wrap_DateTime_GetDateOnly
, METH_O
, NULL
},
39779 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
39801 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
39802 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
39803 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
39804 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
39805 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
39817 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
39818 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
39844 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
39845 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
39846 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
39847 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
39860 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
39861 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
39862 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
39863 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
39864 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
39865 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
39867 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
39869 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
39871 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
39873 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
39875 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
39877 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
39879 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
39883 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
39884 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
39888 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
39899 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
39900 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
39901 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
39905 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
39906 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
39907 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
39908 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
39909 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
39910 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
39912 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
39913 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
39915 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
39917 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
39919 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
39921 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
39923 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
39928 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
39929 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
39930 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
39931 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
39932 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
39935 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
39939 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
39947 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
39948 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
39949 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
39950 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
39951 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
39952 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39953 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
39955 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
39956 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
39957 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
39959 { (char *)"DataFormat__GetId", (PyCFunction
)_wrap_DataFormat__GetId
, METH_O
, NULL
},
39960 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
39962 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
39963 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
39964 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
39972 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
39974 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
39976 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
39977 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39978 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39979 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39980 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39981 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39983 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39984 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
39985 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
39987 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
39988 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
39989 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
39991 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
39992 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
39994 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
39995 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
39998 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
39999 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40000 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
40001 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
40003 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
40004 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
40007 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
40008 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
40009 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
40010 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40011 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
40012 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
40013 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
40014 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
40016 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
40017 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
40018 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
40019 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
40021 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
40023 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
40024 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
40025 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
40027 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
40028 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
40029 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40030 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
40033 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
40035 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40036 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40037 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40038 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
40039 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
40040 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40042 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
40043 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
40044 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
40048 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
40050 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
40052 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
40053 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
40054 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
40055 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40057 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40058 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40059 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
40060 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40061 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40062 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
40063 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
40064 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
40065 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40069 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
40070 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
40073 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
40074 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
40075 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
40076 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
40077 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
40078 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
40079 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40083 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
40084 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
40085 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"Clipboard_IsUsingPrimarySelection", (PyCFunction
)_wrap_Clipboard_IsUsingPrimarySelection
, METH_O
, NULL
},
40087 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
40088 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
40089 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
40090 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
40092 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
40093 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
40094 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
40095 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
40097 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
40099 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
40100 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
40101 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
40102 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40103 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40104 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
40105 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
40106 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
40107 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
40108 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
40109 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
40110 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
40111 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
40112 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
40113 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
40114 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
40116 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
40117 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
40120 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
40121 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
40122 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
40123 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
40124 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
40126 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
40128 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
40129 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
40130 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
40131 { (char *)"StandardPaths_GetExecutablePath", (PyCFunction
)_wrap_StandardPaths_GetExecutablePath
, METH_O
, NULL
},
40132 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
40133 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
40134 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
40135 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
40136 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
40137 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
40138 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
40139 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
40140 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
40142 { (char *)"StandardPaths_GetTempDir", (PyCFunction
)_wrap_StandardPaths_GetTempDir
, METH_O
, NULL
},
40143 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40144 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
40145 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
40146 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40147 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
40148 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
40149 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
40150 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
40151 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
40152 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
40153 { (char *)"new_AboutDialogInfo", (PyCFunction
)_wrap_new_AboutDialogInfo
, METH_NOARGS
, NULL
},
40154 { (char *)"delete_AboutDialogInfo", (PyCFunction
)_wrap_delete_AboutDialogInfo
, METH_O
, NULL
},
40155 { (char *)"AboutDialogInfo_SetName", (PyCFunction
) _wrap_AboutDialogInfo_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40156 { (char *)"AboutDialogInfo_GetName", (PyCFunction
)_wrap_AboutDialogInfo_GetName
, METH_O
, NULL
},
40157 { (char *)"AboutDialogInfo_SetVersion", (PyCFunction
) _wrap_AboutDialogInfo_SetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40158 { (char *)"AboutDialogInfo_HasVersion", (PyCFunction
)_wrap_AboutDialogInfo_HasVersion
, METH_O
, NULL
},
40159 { (char *)"AboutDialogInfo_GetVersion", (PyCFunction
)_wrap_AboutDialogInfo_GetVersion
, METH_O
, NULL
},
40160 { (char *)"AboutDialogInfo_SetDescription", (PyCFunction
) _wrap_AboutDialogInfo_SetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"AboutDialogInfo_HasDescription", (PyCFunction
)_wrap_AboutDialogInfo_HasDescription
, METH_O
, NULL
},
40162 { (char *)"AboutDialogInfo_GetDescription", (PyCFunction
)_wrap_AboutDialogInfo_GetDescription
, METH_O
, NULL
},
40163 { (char *)"AboutDialogInfo_SetCopyright", (PyCFunction
) _wrap_AboutDialogInfo_SetCopyright
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40164 { (char *)"AboutDialogInfo_HasCopyright", (PyCFunction
)_wrap_AboutDialogInfo_HasCopyright
, METH_O
, NULL
},
40165 { (char *)"AboutDialogInfo_GetCopyright", (PyCFunction
)_wrap_AboutDialogInfo_GetCopyright
, METH_O
, NULL
},
40166 { (char *)"AboutDialogInfo_SetLicence", (PyCFunction
) _wrap_AboutDialogInfo_SetLicence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40167 { (char *)"AboutDialogInfo_SetLicense", (PyCFunction
) _wrap_AboutDialogInfo_SetLicense
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40168 { (char *)"AboutDialogInfo_HasLicence", (PyCFunction
)_wrap_AboutDialogInfo_HasLicence
, METH_O
, NULL
},
40169 { (char *)"AboutDialogInfo_GetLicence", (PyCFunction
)_wrap_AboutDialogInfo_GetLicence
, METH_O
, NULL
},
40170 { (char *)"AboutDialogInfo_SetIcon", (PyCFunction
) _wrap_AboutDialogInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40171 { (char *)"AboutDialogInfo_HasIcon", (PyCFunction
)_wrap_AboutDialogInfo_HasIcon
, METH_O
, NULL
},
40172 { (char *)"AboutDialogInfo_GetIcon", (PyCFunction
)_wrap_AboutDialogInfo_GetIcon
, METH_O
, NULL
},
40173 { (char *)"AboutDialogInfo__SetWebSite", (PyCFunction
) _wrap_AboutDialogInfo__SetWebSite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"AboutDialogInfo__GetWebSiteURL", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteURL
, METH_O
, NULL
},
40175 { (char *)"AboutDialogInfo__GetWebSiteDescription", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteDescription
, METH_O
, NULL
},
40176 { (char *)"AboutDialogInfo_HasWebSite", (PyCFunction
)_wrap_AboutDialogInfo_HasWebSite
, METH_O
, NULL
},
40177 { (char *)"AboutDialogInfo_SetDevelopers", (PyCFunction
) _wrap_AboutDialogInfo_SetDevelopers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40178 { (char *)"AboutDialogInfo_AddDeveloper", (PyCFunction
) _wrap_AboutDialogInfo_AddDeveloper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40179 { (char *)"AboutDialogInfo_HasDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_HasDevelopers
, METH_O
, NULL
},
40180 { (char *)"AboutDialogInfo_GetDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_GetDevelopers
, METH_O
, NULL
},
40181 { (char *)"AboutDialogInfo_SetDocWriters", (PyCFunction
) _wrap_AboutDialogInfo_SetDocWriters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40182 { (char *)"AboutDialogInfo_AddDocWriter", (PyCFunction
) _wrap_AboutDialogInfo_AddDocWriter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40183 { (char *)"AboutDialogInfo_HasDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_HasDocWriters
, METH_O
, NULL
},
40184 { (char *)"AboutDialogInfo_GetDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_GetDocWriters
, METH_O
, NULL
},
40185 { (char *)"AboutDialogInfo_SetArtists", (PyCFunction
) _wrap_AboutDialogInfo_SetArtists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40186 { (char *)"AboutDialogInfo_AddArtist", (PyCFunction
) _wrap_AboutDialogInfo_AddArtist
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40187 { (char *)"AboutDialogInfo_HasArtists", (PyCFunction
)_wrap_AboutDialogInfo_HasArtists
, METH_O
, NULL
},
40188 { (char *)"AboutDialogInfo_GetArtists", (PyCFunction
)_wrap_AboutDialogInfo_GetArtists
, METH_O
, NULL
},
40189 { (char *)"AboutDialogInfo_SetTranslators", (PyCFunction
) _wrap_AboutDialogInfo_SetTranslators
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40190 { (char *)"AboutDialogInfo_AddTranslator", (PyCFunction
) _wrap_AboutDialogInfo_AddTranslator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40191 { (char *)"AboutDialogInfo_HasTranslators", (PyCFunction
)_wrap_AboutDialogInfo_HasTranslators
, METH_O
, NULL
},
40192 { (char *)"AboutDialogInfo_GetTranslators", (PyCFunction
)_wrap_AboutDialogInfo_GetTranslators
, METH_O
, NULL
},
40193 { (char *)"AboutDialogInfo_IsSimple", (PyCFunction
)_wrap_AboutDialogInfo_IsSimple
, METH_O
, NULL
},
40194 { (char *)"AboutDialogInfo_GetDescriptionAndCredits", (PyCFunction
)_wrap_AboutDialogInfo_GetDescriptionAndCredits
, METH_O
, NULL
},
40195 { (char *)"AboutDialogInfo_swigregister", AboutDialogInfo_swigregister
, METH_VARARGS
, NULL
},
40196 { (char *)"AboutDialogInfo_swiginit", AboutDialogInfo_swiginit
, METH_VARARGS
, NULL
},
40197 { (char *)"AboutBox", (PyCFunction
) _wrap_AboutBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40198 { NULL
, NULL
, 0, NULL
}
40202 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40204 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40205 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40207 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40208 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40210 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40211 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40213 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40214 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40216 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40217 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40219 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40220 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40222 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
40223 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
40225 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
40226 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
40228 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40229 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40231 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40232 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40234 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40235 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40237 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
40238 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40240 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40241 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40243 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
40244 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
40246 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40247 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40249 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40250 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40252 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40253 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40255 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40256 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40258 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40259 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40261 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40262 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40264 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40265 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40267 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40268 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40270 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
40271 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
40273 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40274 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40276 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40277 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40279 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
40280 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40282 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40283 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40285 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40286 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40288 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40289 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40291 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40292 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40294 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40295 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40297 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40298 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40300 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40301 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40303 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40304 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40306 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
40307 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
40309 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40310 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40312 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40313 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40315 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40316 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40318 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40319 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40321 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40322 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40324 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40325 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40327 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40328 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40330 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
40331 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
40333 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
40334 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
40336 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
40337 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40339 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
40340 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40342 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
40343 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
40345 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
40346 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40348 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
40349 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
40351 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
40352 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40354 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
40355 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40357 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
40358 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40360 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
40361 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40363 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
40364 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40366 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
40367 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40369 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
40370 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
40372 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
40373 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40375 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
40376 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40378 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40379 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40381 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40382 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40384 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40385 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40387 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40388 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40390 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40391 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40393 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
40394 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40396 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40397 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40399 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40400 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40402 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40403 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40405 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40408 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40409 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40411 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
40412 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
40414 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40415 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40417 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40418 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40420 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40421 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40423 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
40424 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
40426 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40427 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40429 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
40430 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
40432 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
40433 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
40435 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40436 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40438 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
40439 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
40441 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40442 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40444 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40445 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40447 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40450 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40451 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40453 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40454 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40456 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40457 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40459 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40460 return (void *)((wxObject
*) ((wxSizer
*) x
));
40462 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40463 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40465 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
40466 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
40468 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40471 static void *_p_wxEventTo_p_wxObject(void *x
) {
40472 return (void *)((wxObject
*) ((wxEvent
*) x
));
40474 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40475 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40477 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40478 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40480 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40481 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40483 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40484 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40486 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40487 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40489 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40490 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40492 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40493 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40495 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40496 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40498 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40499 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40501 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40502 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40504 static void *_p_wxControlTo_p_wxObject(void *x
) {
40505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40507 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40508 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40510 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
40511 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
40513 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
40514 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
40516 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40517 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40519 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
40520 return (void *)((wxObject
*) ((wxClipboard
*) x
));
40522 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40523 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40525 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40526 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40528 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40531 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40532 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40534 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
40535 return (void *)((wxObject
*) ((wxToolTip
*) x
));
40537 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40538 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40540 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40543 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40544 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40546 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40547 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40549 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40550 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40552 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40553 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40555 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40556 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40558 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40559 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40561 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40562 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40564 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40565 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40567 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40568 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40570 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40573 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40576 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40577 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40579 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40580 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40582 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40583 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40585 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40586 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40588 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40589 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40591 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40592 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40594 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40595 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40597 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40598 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40600 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40601 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40603 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40604 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40606 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40607 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40609 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40610 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40612 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40613 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40615 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40616 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40618 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40619 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40621 static void *_p_wxImageTo_p_wxObject(void *x
) {
40622 return (void *)((wxObject
*) ((wxImage
*) x
));
40624 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40625 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40627 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
40628 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
40630 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
40631 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
40633 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40636 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40637 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40639 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40640 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40642 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40643 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40645 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40646 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40648 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40651 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
40652 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
40654 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40655 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40657 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40660 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40661 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40663 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40664 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40666 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40667 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40669 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40670 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40672 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40673 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40675 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
40676 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
40678 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40681 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40682 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40684 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40685 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40687 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40688 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40690 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40691 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40693 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
40694 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
40696 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40699 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40702 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40703 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40705 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
40706 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
40708 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
40709 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
40711 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
40712 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
40714 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
40715 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
40717 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
40718 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
40720 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
40721 return (void *)((wxLog
*) ((wxLogChain
*) x
));
40723 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
40724 return (void *)((wxLog
*) ((wxLogGui
*) x
));
40726 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
40727 return (void *)((wxLog
*) ((wxPyLog
*) x
));
40729 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40730 return (void *)((wxWindow
*) ((wxControl
*) x
));
40732 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40733 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40735 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40736 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40738 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
40739 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
40741 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
40742 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
40744 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40745 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};
40746 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40747 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40748 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40749 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
40750 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40751 static swig_type_info _swigt__p_wxAboutDialogInfo
= {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0};
40752 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
40753 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40754 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
40755 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
40756 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
40757 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
40758 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40759 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
40760 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
40761 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40762 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
40763 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
40764 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
40765 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40766 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
40767 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40768 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
40769 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
40770 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
40771 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
40772 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
40773 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
40774 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
40775 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
40776 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40777 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
40778 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40779 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40780 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40781 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40782 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40783 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40784 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40785 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40786 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40787 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40788 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40789 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40790 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40791 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40792 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40793 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40794 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40795 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40796 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40797 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40798 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40799 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40800 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40801 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40802 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40803 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40804 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40805 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40806 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40807 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40808 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40809 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40810 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40811 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40812 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40813 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40814 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40815 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40816 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
40817 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40818 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40819 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40820 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40821 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40822 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40823 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40824 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
40825 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
40826 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
40827 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
40828 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
40829 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40830 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
40831 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40832 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
40833 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
40834 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
40835 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
40836 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
40837 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
40838 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
40839 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
40840 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
40841 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
40842 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
40843 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
40844 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
40845 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
40846 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
40847 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
40848 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
40849 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40850 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40851 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40852 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40853 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40854 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40855 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40856 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40857 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40858 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40859 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40860 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40861 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40862 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40863 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40864 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40865 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40866 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40867 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40868 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40869 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40870 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40871 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40872 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40873 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40874 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40875 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40876 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40877 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40878 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40879 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
40880 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40881 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
40882 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40883 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
40884 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40885 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
40886 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
40887 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
40888 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
40889 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
40890 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
40891 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
40892 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
40893 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
40894 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
40895 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
40896 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
40897 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
40898 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
40899 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40900 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
40901 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40902 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
40903 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
40904 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
40905 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40906 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
40907 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
40908 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
40909 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
40910 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
40911 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
40912 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
40913 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
40914 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
40915 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
40916 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
40917 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
40918 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40919 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
40921 static swig_type_info
*swig_type_initial
[] = {
40923 &_swigt__p_form_ops_t
,
40925 &_swigt__p_unsigned_char
,
40926 &_swigt__p_unsigned_int
,
40927 &_swigt__p_unsigned_long
,
40929 &_swigt__p_wxANIHandler
,
40930 &_swigt__p_wxAboutDialogInfo
,
40931 &_swigt__p_wxAcceleratorTable
,
40932 &_swigt__p_wxActivateEvent
,
40933 &_swigt__p_wxArrayString
,
40934 &_swigt__p_wxBMPHandler
,
40935 &_swigt__p_wxBitmap
,
40936 &_swigt__p_wxBitmapDataObject
,
40937 &_swigt__p_wxBoxSizer
,
40938 &_swigt__p_wxBusyCursor
,
40939 &_swigt__p_wxBusyInfo
,
40940 &_swigt__p_wxCURHandler
,
40941 &_swigt__p_wxCaret
,
40943 &_swigt__p_wxChildFocusEvent
,
40944 &_swigt__p_wxClipboard
,
40945 &_swigt__p_wxClipboardLocker
,
40946 &_swigt__p_wxClipboardTextEvent
,
40947 &_swigt__p_wxCloseEvent
,
40948 &_swigt__p_wxColour
,
40949 &_swigt__p_wxCommandEvent
,
40950 &_swigt__p_wxConfig
,
40951 &_swigt__p_wxConfigBase
,
40952 &_swigt__p_wxConfigPathChanger
,
40953 &_swigt__p_wxContextMenuEvent
,
40954 &_swigt__p_wxControl
,
40955 &_swigt__p_wxControlWithItems
,
40956 &_swigt__p_wxCursor
,
40957 &_swigt__p_wxCustomDataObject
,
40959 &_swigt__p_wxDataFormat
,
40960 &_swigt__p_wxDataObject
,
40961 &_swigt__p_wxDataObjectComposite
,
40962 &_swigt__p_wxDataObjectSimple
,
40963 &_swigt__p_wxDateEvent
,
40964 &_swigt__p_wxDateSpan
,
40965 &_swigt__p_wxDateTime
,
40966 &_swigt__p_wxDateTime__TimeZone
,
40967 &_swigt__p_wxDisplay
,
40968 &_swigt__p_wxDisplayChangedEvent
,
40969 &_swigt__p_wxDropFilesEvent
,
40970 &_swigt__p_wxDuplexMode
,
40971 &_swigt__p_wxEraseEvent
,
40972 &_swigt__p_wxEvent
,
40973 &_swigt__p_wxEventBlocker
,
40974 &_swigt__p_wxEvtHandler
,
40975 &_swigt__p_wxFSFile
,
40976 &_swigt__p_wxFileConfig
,
40977 &_swigt__p_wxFileDataObject
,
40978 &_swigt__p_wxFileHistory
,
40979 &_swigt__p_wxFileSystem
,
40980 &_swigt__p_wxFileType
,
40981 &_swigt__p_wxFileTypeInfo
,
40982 &_swigt__p_wxFlexGridSizer
,
40983 &_swigt__p_wxFocusEvent
,
40985 &_swigt__p_wxFrame
,
40986 &_swigt__p_wxGBSizerItem
,
40987 &_swigt__p_wxGIFHandler
,
40988 &_swigt__p_wxGridBagSizer
,
40989 &_swigt__p_wxGridSizer
,
40990 &_swigt__p_wxICOHandler
,
40992 &_swigt__p_wxIconizeEvent
,
40993 &_swigt__p_wxIdleEvent
,
40994 &_swigt__p_wxImage
,
40995 &_swigt__p_wxImageHandler
,
40996 &_swigt__p_wxIndividualLayoutConstraint
,
40997 &_swigt__p_wxInitDialogEvent
,
40998 &_swigt__p_wxJPEGHandler
,
40999 &_swigt__p_wxJoystick
,
41000 &_swigt__p_wxJoystickEvent
,
41001 &_swigt__p_wxKeyEvent
,
41002 &_swigt__p_wxKillError
,
41003 &_swigt__p_wxLayoutConstraints
,
41005 &_swigt__p_wxLogBuffer
,
41006 &_swigt__p_wxLogChain
,
41007 &_swigt__p_wxLogGui
,
41008 &_swigt__p_wxLogNull
,
41009 &_swigt__p_wxLogStderr
,
41010 &_swigt__p_wxLogTextCtrl
,
41011 &_swigt__p_wxLogWindow
,
41012 &_swigt__p_wxMaximizeEvent
,
41014 &_swigt__p_wxMenuBar
,
41015 &_swigt__p_wxMenuEvent
,
41016 &_swigt__p_wxMenuItem
,
41017 &_swigt__p_wxMetafile
,
41018 &_swigt__p_wxMetafileDataObject
,
41019 &_swigt__p_wxMimeTypesManager
,
41020 &_swigt__p_wxMouseCaptureChangedEvent
,
41021 &_swigt__p_wxMouseCaptureLostEvent
,
41022 &_swigt__p_wxMouseEvent
,
41023 &_swigt__p_wxMouseState
,
41024 &_swigt__p_wxMoveEvent
,
41025 &_swigt__p_wxMutexGuiLocker
,
41026 &_swigt__p_wxNavigationKeyEvent
,
41027 &_swigt__p_wxNcPaintEvent
,
41028 &_swigt__p_wxNotifyEvent
,
41029 &_swigt__p_wxObject
,
41030 &_swigt__p_wxOutputStream
,
41031 &_swigt__p_wxPCXHandler
,
41032 &_swigt__p_wxPNGHandler
,
41033 &_swigt__p_wxPNMHandler
,
41034 &_swigt__p_wxPaintEvent
,
41035 &_swigt__p_wxPaletteChangedEvent
,
41036 &_swigt__p_wxPaperSize
,
41037 &_swigt__p_wxPlatformInfo
,
41038 &_swigt__p_wxPoint
,
41039 &_swigt__p_wxPowerEvent
,
41040 &_swigt__p_wxProcessEvent
,
41041 &_swigt__p_wxPyApp
,
41042 &_swigt__p_wxPyArtProvider
,
41043 &_swigt__p_wxPyBitmapDataObject
,
41044 &_swigt__p_wxPyCommandEvent
,
41045 &_swigt__p_wxPyDataObjectSimple
,
41046 &_swigt__p_wxPyDropSource
,
41047 &_swigt__p_wxPyDropTarget
,
41048 &_swigt__p_wxPyEvent
,
41049 &_swigt__p_wxPyFileDropTarget
,
41050 &_swigt__p_wxPyImageHandler
,
41051 &_swigt__p_wxPyLog
,
41052 &_swigt__p_wxPyProcess
,
41053 &_swigt__p_wxPySizer
,
41054 &_swigt__p_wxPyTextDataObject
,
41055 &_swigt__p_wxPyTextDropTarget
,
41056 &_swigt__p_wxPyTimer
,
41057 &_swigt__p_wxPyTipProvider
,
41058 &_swigt__p_wxPyValidator
,
41059 &_swigt__p_wxQueryNewPaletteEvent
,
41061 &_swigt__p_wxScrollEvent
,
41062 &_swigt__p_wxScrollWinEvent
,
41063 &_swigt__p_wxSetCursorEvent
,
41064 &_swigt__p_wxShowEvent
,
41065 &_swigt__p_wxSingleInstanceChecker
,
41067 &_swigt__p_wxSizeEvent
,
41068 &_swigt__p_wxSizer
,
41069 &_swigt__p_wxSizerItem
,
41070 &_swigt__p_wxSound
,
41071 &_swigt__p_wxStandardPaths
,
41072 &_swigt__p_wxStaticBoxSizer
,
41073 &_swigt__p_wxStdDialogButtonSizer
,
41074 &_swigt__p_wxStopWatch
,
41075 &_swigt__p_wxString
,
41076 &_swigt__p_wxSysColourChangedEvent
,
41077 &_swigt__p_wxSystemOptions
,
41078 &_swigt__p_wxSystemSettings
,
41079 &_swigt__p_wxTGAHandler
,
41080 &_swigt__p_wxTIFFHandler
,
41081 &_swigt__p_wxTextCtrl
,
41082 &_swigt__p_wxTextDataObject
,
41083 &_swigt__p_wxTimeSpan
,
41084 &_swigt__p_wxTimer
,
41085 &_swigt__p_wxTimerEvent
,
41086 &_swigt__p_wxTimerRunner
,
41087 &_swigt__p_wxTipProvider
,
41088 &_swigt__p_wxToolTip
,
41089 &_swigt__p_wxURLDataObject
,
41090 &_swigt__p_wxUpdateUIEvent
,
41091 &_swigt__p_wxValidator
,
41092 &_swigt__p_wxVideoMode
,
41093 &_swigt__p_wxWindow
,
41094 &_swigt__p_wxWindowCreateEvent
,
41095 &_swigt__p_wxWindowDestroyEvent
,
41096 &_swigt__p_wxWindowDisabler
,
41097 &_swigt__p_wxXPMHandler
,
41100 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41101 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41102 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41103 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41104 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41105 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41106 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41107 static swig_cast_info _swigc__p_wxAboutDialogInfo
[] = { {&_swigt__p_wxAboutDialogInfo
, 0, 0, 0},{0, 0, 0, 0}};
41108 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
41109 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41110 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}};
41111 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
41112 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
41113 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
41114 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41115 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
41116 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
41117 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41118 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
41119 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}};
41120 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
41121 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41122 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41123 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
41124 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
41125 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}};
41126 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
41127 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}};
41128 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
41129 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
41130 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
41131 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
41132 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41133 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41134 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41135 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41136 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41137 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41138 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41139 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41140 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41141 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41142 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41143 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41144 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41145 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41146 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41147 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41150 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41151 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41152 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41153 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41154 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41155 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41156 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41157 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41158 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41159 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41160 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41161 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41162 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41163 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41164 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41165 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41166 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41167 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41168 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41169 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41171 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}};
41172 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41173 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41174 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
41179 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_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
41185 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41186 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
41189 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
41190 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
41191 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}};
41192 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
41195 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
41196 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
41197 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41198 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
41199 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41200 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
41201 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41202 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
41203 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
41204 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
41205 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41206 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41207 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41208 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41210 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41211 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41212 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41213 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41216 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41217 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41218 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41219 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41220 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41222 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41223 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41224 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41226 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41227 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41228 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41229 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41230 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41231 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41232 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41233 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41234 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41235 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41236 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_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_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_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_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_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_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_wxXPMHandler
, _p_wxXPMHandlerTo_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}};
41237 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
41238 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41239 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
41240 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41241 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41242 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
41243 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
41244 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41245 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
41246 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
41247 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}};
41248 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41249 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
41250 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
41251 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41252 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41253 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
41254 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
41255 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41256 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
41257 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41258 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
41259 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
41260 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
41261 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41262 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
41263 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
41264 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41265 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}};
41266 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
41267 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
41268 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41269 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
41270 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}};
41271 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
41272 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41273 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
41274 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}};
41275 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
41277 static swig_cast_info
*swig_cast_initial
[] = {
41279 _swigc__p_form_ops_t
,
41281 _swigc__p_unsigned_char
,
41282 _swigc__p_unsigned_int
,
41283 _swigc__p_unsigned_long
,
41285 _swigc__p_wxANIHandler
,
41286 _swigc__p_wxAboutDialogInfo
,
41287 _swigc__p_wxAcceleratorTable
,
41288 _swigc__p_wxActivateEvent
,
41289 _swigc__p_wxArrayString
,
41290 _swigc__p_wxBMPHandler
,
41291 _swigc__p_wxBitmap
,
41292 _swigc__p_wxBitmapDataObject
,
41293 _swigc__p_wxBoxSizer
,
41294 _swigc__p_wxBusyCursor
,
41295 _swigc__p_wxBusyInfo
,
41296 _swigc__p_wxCURHandler
,
41299 _swigc__p_wxChildFocusEvent
,
41300 _swigc__p_wxClipboard
,
41301 _swigc__p_wxClipboardLocker
,
41302 _swigc__p_wxClipboardTextEvent
,
41303 _swigc__p_wxCloseEvent
,
41304 _swigc__p_wxColour
,
41305 _swigc__p_wxCommandEvent
,
41306 _swigc__p_wxConfig
,
41307 _swigc__p_wxConfigBase
,
41308 _swigc__p_wxConfigPathChanger
,
41309 _swigc__p_wxContextMenuEvent
,
41310 _swigc__p_wxControl
,
41311 _swigc__p_wxControlWithItems
,
41312 _swigc__p_wxCursor
,
41313 _swigc__p_wxCustomDataObject
,
41315 _swigc__p_wxDataFormat
,
41316 _swigc__p_wxDataObject
,
41317 _swigc__p_wxDataObjectComposite
,
41318 _swigc__p_wxDataObjectSimple
,
41319 _swigc__p_wxDateEvent
,
41320 _swigc__p_wxDateSpan
,
41321 _swigc__p_wxDateTime
,
41322 _swigc__p_wxDateTime__TimeZone
,
41323 _swigc__p_wxDisplay
,
41324 _swigc__p_wxDisplayChangedEvent
,
41325 _swigc__p_wxDropFilesEvent
,
41326 _swigc__p_wxDuplexMode
,
41327 _swigc__p_wxEraseEvent
,
41329 _swigc__p_wxEventBlocker
,
41330 _swigc__p_wxEvtHandler
,
41331 _swigc__p_wxFSFile
,
41332 _swigc__p_wxFileConfig
,
41333 _swigc__p_wxFileDataObject
,
41334 _swigc__p_wxFileHistory
,
41335 _swigc__p_wxFileSystem
,
41336 _swigc__p_wxFileType
,
41337 _swigc__p_wxFileTypeInfo
,
41338 _swigc__p_wxFlexGridSizer
,
41339 _swigc__p_wxFocusEvent
,
41342 _swigc__p_wxGBSizerItem
,
41343 _swigc__p_wxGIFHandler
,
41344 _swigc__p_wxGridBagSizer
,
41345 _swigc__p_wxGridSizer
,
41346 _swigc__p_wxICOHandler
,
41348 _swigc__p_wxIconizeEvent
,
41349 _swigc__p_wxIdleEvent
,
41351 _swigc__p_wxImageHandler
,
41352 _swigc__p_wxIndividualLayoutConstraint
,
41353 _swigc__p_wxInitDialogEvent
,
41354 _swigc__p_wxJPEGHandler
,
41355 _swigc__p_wxJoystick
,
41356 _swigc__p_wxJoystickEvent
,
41357 _swigc__p_wxKeyEvent
,
41358 _swigc__p_wxKillError
,
41359 _swigc__p_wxLayoutConstraints
,
41361 _swigc__p_wxLogBuffer
,
41362 _swigc__p_wxLogChain
,
41363 _swigc__p_wxLogGui
,
41364 _swigc__p_wxLogNull
,
41365 _swigc__p_wxLogStderr
,
41366 _swigc__p_wxLogTextCtrl
,
41367 _swigc__p_wxLogWindow
,
41368 _swigc__p_wxMaximizeEvent
,
41370 _swigc__p_wxMenuBar
,
41371 _swigc__p_wxMenuEvent
,
41372 _swigc__p_wxMenuItem
,
41373 _swigc__p_wxMetafile
,
41374 _swigc__p_wxMetafileDataObject
,
41375 _swigc__p_wxMimeTypesManager
,
41376 _swigc__p_wxMouseCaptureChangedEvent
,
41377 _swigc__p_wxMouseCaptureLostEvent
,
41378 _swigc__p_wxMouseEvent
,
41379 _swigc__p_wxMouseState
,
41380 _swigc__p_wxMoveEvent
,
41381 _swigc__p_wxMutexGuiLocker
,
41382 _swigc__p_wxNavigationKeyEvent
,
41383 _swigc__p_wxNcPaintEvent
,
41384 _swigc__p_wxNotifyEvent
,
41385 _swigc__p_wxObject
,
41386 _swigc__p_wxOutputStream
,
41387 _swigc__p_wxPCXHandler
,
41388 _swigc__p_wxPNGHandler
,
41389 _swigc__p_wxPNMHandler
,
41390 _swigc__p_wxPaintEvent
,
41391 _swigc__p_wxPaletteChangedEvent
,
41392 _swigc__p_wxPaperSize
,
41393 _swigc__p_wxPlatformInfo
,
41395 _swigc__p_wxPowerEvent
,
41396 _swigc__p_wxProcessEvent
,
41398 _swigc__p_wxPyArtProvider
,
41399 _swigc__p_wxPyBitmapDataObject
,
41400 _swigc__p_wxPyCommandEvent
,
41401 _swigc__p_wxPyDataObjectSimple
,
41402 _swigc__p_wxPyDropSource
,
41403 _swigc__p_wxPyDropTarget
,
41404 _swigc__p_wxPyEvent
,
41405 _swigc__p_wxPyFileDropTarget
,
41406 _swigc__p_wxPyImageHandler
,
41408 _swigc__p_wxPyProcess
,
41409 _swigc__p_wxPySizer
,
41410 _swigc__p_wxPyTextDataObject
,
41411 _swigc__p_wxPyTextDropTarget
,
41412 _swigc__p_wxPyTimer
,
41413 _swigc__p_wxPyTipProvider
,
41414 _swigc__p_wxPyValidator
,
41415 _swigc__p_wxQueryNewPaletteEvent
,
41417 _swigc__p_wxScrollEvent
,
41418 _swigc__p_wxScrollWinEvent
,
41419 _swigc__p_wxSetCursorEvent
,
41420 _swigc__p_wxShowEvent
,
41421 _swigc__p_wxSingleInstanceChecker
,
41423 _swigc__p_wxSizeEvent
,
41425 _swigc__p_wxSizerItem
,
41427 _swigc__p_wxStandardPaths
,
41428 _swigc__p_wxStaticBoxSizer
,
41429 _swigc__p_wxStdDialogButtonSizer
,
41430 _swigc__p_wxStopWatch
,
41431 _swigc__p_wxString
,
41432 _swigc__p_wxSysColourChangedEvent
,
41433 _swigc__p_wxSystemOptions
,
41434 _swigc__p_wxSystemSettings
,
41435 _swigc__p_wxTGAHandler
,
41436 _swigc__p_wxTIFFHandler
,
41437 _swigc__p_wxTextCtrl
,
41438 _swigc__p_wxTextDataObject
,
41439 _swigc__p_wxTimeSpan
,
41441 _swigc__p_wxTimerEvent
,
41442 _swigc__p_wxTimerRunner
,
41443 _swigc__p_wxTipProvider
,
41444 _swigc__p_wxToolTip
,
41445 _swigc__p_wxURLDataObject
,
41446 _swigc__p_wxUpdateUIEvent
,
41447 _swigc__p_wxValidator
,
41448 _swigc__p_wxVideoMode
,
41449 _swigc__p_wxWindow
,
41450 _swigc__p_wxWindowCreateEvent
,
41451 _swigc__p_wxWindowDestroyEvent
,
41452 _swigc__p_wxWindowDisabler
,
41453 _swigc__p_wxXPMHandler
,
41457 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41459 static swig_const_info swig_const_table
[] = {
41460 {0, 0, 0, 0.0, 0, 0}};
41465 /* -----------------------------------------------------------------------------
41466 * Type initialization:
41467 * This problem is tough by the requirement that no dynamic
41468 * memory is used. Also, since swig_type_info structures store pointers to
41469 * swig_cast_info structures and swig_cast_info structures store pointers back
41470 * to swig_type_info structures, we need some lookup code at initialization.
41471 * The idea is that swig generates all the structures that are needed.
41472 * The runtime then collects these partially filled structures.
41473 * The SWIG_InitializeModule function takes these initial arrays out of
41474 * swig_module, and does all the lookup, filling in the swig_module.types
41475 * array with the correct data and linking the correct swig_cast_info
41476 * structures together.
41478 * The generated swig_type_info structures are assigned staticly to an initial
41479 * array. We just loop though that array, and handle each type individually.
41480 * First we lookup if this type has been already loaded, and if so, use the
41481 * loaded structure instead of the generated one. Then we have to fill in the
41482 * cast linked list. The cast data is initially stored in something like a
41483 * two-dimensional array. Each row corresponds to a type (there are the same
41484 * number of rows as there are in the swig_type_initial array). Each entry in
41485 * a column is one of the swig_cast_info structures for that type.
41486 * The cast_initial array is actually an array of arrays, because each row has
41487 * a variable number of columns. So to actually build the cast linked list,
41488 * we find the array of casts associated with the type, and loop through it
41489 * adding the casts to the list. The one last trick we need to do is making
41490 * sure the type pointer in the swig_cast_info struct is correct.
41492 * First off, we lookup the cast->type name to see if it is already loaded.
41493 * There are three cases to handle:
41494 * 1) If the cast->type has already been loaded AND the type we are adding
41495 * casting info to has not been loaded (it is in this module), THEN we
41496 * replace the cast->type pointer with the type pointer that has already
41498 * 2) If BOTH types (the one we are adding casting info to, and the
41499 * cast->type) are loaded, THEN the cast info has already been loaded by
41500 * the previous module so we just ignore it.
41501 * 3) Finally, if cast->type has not already been loaded, then we add that
41502 * swig_cast_info to the linked list (because the cast->type) pointer will
41504 * ----------------------------------------------------------------------------- */
41514 #define SWIGRUNTIME_DEBUG
41518 SWIG_InitializeModule(void *clientdata
) {
41520 swig_module_info
*module_head
;
41521 static int init_run
= 0;
41523 clientdata
= clientdata
;
41525 if (init_run
) return;
41528 /* Initialize the swig_module */
41529 swig_module
.type_initial
= swig_type_initial
;
41530 swig_module
.cast_initial
= swig_cast_initial
;
41532 /* Try and load any already created modules */
41533 module_head
= SWIG_GetModule(clientdata
);
41535 swig_module
.next
= module_head
->next
;
41536 module_head
->next
= &swig_module
;
41538 /* This is the first module loaded */
41539 swig_module
.next
= &swig_module
;
41540 SWIG_SetModule(clientdata
, &swig_module
);
41543 /* Now work on filling in swig_module.types */
41544 #ifdef SWIGRUNTIME_DEBUG
41545 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41547 for (i
= 0; i
< swig_module
.size
; ++i
) {
41548 swig_type_info
*type
= 0;
41549 swig_type_info
*ret
;
41550 swig_cast_info
*cast
;
41552 #ifdef SWIGRUNTIME_DEBUG
41553 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41556 /* if there is another module already loaded */
41557 if (swig_module
.next
!= &swig_module
) {
41558 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41561 /* Overwrite clientdata field */
41562 #ifdef SWIGRUNTIME_DEBUG
41563 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41565 if (swig_module
.type_initial
[i
]->clientdata
) {
41566 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41567 #ifdef SWIGRUNTIME_DEBUG
41568 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41572 type
= swig_module
.type_initial
[i
];
41575 /* Insert casting types */
41576 cast
= swig_module
.cast_initial
[i
];
41577 while (cast
->type
) {
41578 /* Don't need to add information already in the list */
41580 #ifdef SWIGRUNTIME_DEBUG
41581 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41583 if (swig_module
.next
!= &swig_module
) {
41584 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41585 #ifdef SWIGRUNTIME_DEBUG
41586 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41590 if (type
== swig_module
.type_initial
[i
]) {
41591 #ifdef SWIGRUNTIME_DEBUG
41592 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41597 /* Check for casting already in the list */
41598 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41599 #ifdef SWIGRUNTIME_DEBUG
41600 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41602 if (!ocast
) ret
= 0;
41607 #ifdef SWIGRUNTIME_DEBUG
41608 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41611 type
->cast
->prev
= cast
;
41612 cast
->next
= type
->cast
;
41618 /* Set entry in modules->types array equal to the type */
41619 swig_module
.types
[i
] = type
;
41621 swig_module
.types
[i
] = 0;
41623 #ifdef SWIGRUNTIME_DEBUG
41624 printf("**** SWIG_InitializeModule: Cast List ******\n");
41625 for (i
= 0; i
< swig_module
.size
; ++i
) {
41627 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41628 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41629 while (cast
->type
) {
41630 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41634 printf("---- Total casts: %d\n",j
);
41636 printf("**** SWIG_InitializeModule: Cast List ******\n");
41640 /* This function will propagate the clientdata field of type to
41641 * any new swig_type_info structures that have been added into the list
41642 * of equivalent types. It is like calling
41643 * SWIG_TypeClientData(type, clientdata) a second time.
41646 SWIG_PropagateClientData(void) {
41648 swig_cast_info
*equiv
;
41649 static int init_run
= 0;
41651 if (init_run
) return;
41654 for (i
= 0; i
< swig_module
.size
; i
++) {
41655 if (swig_module
.types
[i
]->clientdata
) {
41656 equiv
= swig_module
.types
[i
]->cast
;
41658 if (!equiv
->converter
) {
41659 if (equiv
->type
&& !equiv
->type
->clientdata
)
41660 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41662 equiv
= equiv
->next
;
41682 /* Python-specific SWIG API */
41683 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41684 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41685 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41687 /* -----------------------------------------------------------------------------
41688 * global variable support code.
41689 * ----------------------------------------------------------------------------- */
41691 typedef struct swig_globalvar
{
41692 char *name
; /* Name of global variable */
41693 PyObject
*(*get_attr
)(void); /* Return the current value */
41694 int (*set_attr
)(PyObject
*); /* Set the value */
41695 struct swig_globalvar
*next
;
41698 typedef struct swig_varlinkobject
{
41700 swig_globalvar
*vars
;
41701 } swig_varlinkobject
;
41703 SWIGINTERN PyObject
*
41704 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41705 return PyString_FromString("<Swig global variables>");
41708 SWIGINTERN PyObject
*
41709 swig_varlink_str(swig_varlinkobject
*v
) {
41710 PyObject
*str
= PyString_FromString("(");
41711 swig_globalvar
*var
;
41712 for (var
= v
->vars
; var
; var
=var
->next
) {
41713 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41714 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41716 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41721 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41722 PyObject
*str
= swig_varlink_str(v
);
41723 fprintf(fp
,"Swig global variables ");
41724 fprintf(fp
,"%s\n", PyString_AsString(str
));
41730 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41731 swig_globalvar
*var
= v
->vars
;
41733 swig_globalvar
*n
= var
->next
;
41740 SWIGINTERN PyObject
*
41741 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41742 PyObject
*res
= NULL
;
41743 swig_globalvar
*var
= v
->vars
;
41745 if (strcmp(var
->name
,n
) == 0) {
41746 res
= (*var
->get_attr
)();
41751 if (res
== NULL
&& !PyErr_Occurred()) {
41752 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41758 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41760 swig_globalvar
*var
= v
->vars
;
41762 if (strcmp(var
->name
,n
) == 0) {
41763 res
= (*var
->set_attr
)(p
);
41768 if (res
== 1 && !PyErr_Occurred()) {
41769 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41774 SWIGINTERN PyTypeObject
*
41775 swig_varlink_type(void) {
41776 static char varlink__doc__
[] = "Swig var link object";
41777 static PyTypeObject varlink_type
;
41778 static int type_init
= 0;
41780 const PyTypeObject tmp
41782 PyObject_HEAD_INIT(NULL
)
41783 0, /* Number of items in variable part (ob_size) */
41784 (char *)"swigvarlink", /* Type name (tp_name) */
41785 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41786 0, /* Itemsize (tp_itemsize) */
41787 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41788 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41789 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41790 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41791 0, /* tp_compare */
41792 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41793 0, /* tp_as_number */
41794 0, /* tp_as_sequence */
41795 0, /* tp_as_mapping */
41798 (reprfunc
)swig_varlink_str
, /* tp_str */
41799 0, /* tp_getattro */
41800 0, /* tp_setattro */
41801 0, /* tp_as_buffer */
41803 varlink__doc__
, /* tp_doc */
41804 0, /* tp_traverse */
41806 0, /* tp_richcompare */
41807 0, /* tp_weaklistoffset */
41808 #if PY_VERSION_HEX >= 0x02020000
41809 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41811 #if PY_VERSION_HEX >= 0x02030000
41814 #ifdef COUNT_ALLOCS
41815 0,0,0,0 /* tp_alloc -> tp_next */
41818 varlink_type
= tmp
;
41819 varlink_type
.ob_type
= &PyType_Type
;
41822 return &varlink_type
;
41825 /* Create a variable linking object for use later */
41826 SWIGINTERN PyObject
*
41827 SWIG_Python_newvarlink(void) {
41828 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41832 return ((PyObject
*) result
);
41836 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41837 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41838 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41840 size_t size
= strlen(name
)+1;
41841 gv
->name
= (char *)malloc(size
);
41843 strncpy(gv
->name
,name
,size
);
41844 gv
->get_attr
= get_attr
;
41845 gv
->set_attr
= set_attr
;
41846 gv
->next
= v
->vars
;
41852 SWIGINTERN PyObject
*
41854 static PyObject
*_SWIG_globals
= 0;
41855 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41856 return _SWIG_globals
;
41859 /* -----------------------------------------------------------------------------
41860 * constants/methods manipulation
41861 * ----------------------------------------------------------------------------- */
41863 /* Install Constants */
41865 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41868 for (i
= 0; constants
[i
].type
; ++i
) {
41869 switch(constants
[i
].type
) {
41870 case SWIG_PY_POINTER
:
41871 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41873 case SWIG_PY_BINARY
:
41874 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41881 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41887 /* -----------------------------------------------------------------------------*/
41888 /* Fix SwigMethods to carry the callback ptrs when needed */
41889 /* -----------------------------------------------------------------------------*/
41892 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41893 swig_const_info
*const_table
,
41894 swig_type_info
**types
,
41895 swig_type_info
**types_initial
) {
41897 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41898 const char *c
= methods
[i
].ml_doc
;
41899 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41901 swig_const_info
*ci
= 0;
41902 const char *name
= c
+ 10;
41903 for (j
= 0; const_table
[j
].type
; ++j
) {
41904 if (strncmp(const_table
[j
].name
, name
,
41905 strlen(const_table
[j
].name
)) == 0) {
41906 ci
= &(const_table
[j
]);
41911 size_t shift
= (ci
->ptype
) - types
;
41912 swig_type_info
*ty
= types_initial
[shift
];
41913 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41914 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41915 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41918 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41920 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41922 strncpy(buff
, "swig_ptr: ", 10);
41924 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41925 methods
[i
].ml_doc
= ndoc
;
41937 /* -----------------------------------------------------------------------------*
41938 * Partial Init method
41939 * -----------------------------------------------------------------------------*/
41944 SWIGEXPORT
void SWIG_init(void) {
41947 /* Fix SwigMethods to carry the callback ptrs when needed */
41948 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41950 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41951 d
= PyModule_GetDict(m
);
41953 SWIG_InitializeModule(0);
41954 SWIG_InstallConstants(d
,swig_const_table
);
41957 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
41958 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
41959 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
41960 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
41961 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
41962 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
41963 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
41964 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
41965 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
41966 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
41967 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
41968 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
41969 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
41970 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
41971 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
41972 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
41973 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
41974 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
41975 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
41976 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
41977 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
41978 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
41979 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
41980 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
41981 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
41982 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
41983 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
41984 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
41985 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
41986 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
41987 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
41988 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
41989 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
41990 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
41991 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
41992 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
41993 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
41994 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
41995 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
41996 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
41997 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
41998 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
41999 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
42000 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
42001 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
42002 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
42003 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
42004 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
42005 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
42006 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
42007 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
42008 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
42009 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
42010 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
42011 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
42012 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
42013 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
42014 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
42015 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
42016 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
42017 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
42018 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
42019 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
42020 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
42021 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
42022 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
42023 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
42024 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
42025 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
42026 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
42027 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
42028 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
42029 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
42030 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
42031 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
42032 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
42033 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
42034 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
42035 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
42036 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
42037 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
42038 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
42039 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
42040 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
42041 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
42042 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
42043 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
42044 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
42045 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
42046 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
42047 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
42048 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
42049 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42050 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
42051 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
42052 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
42053 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
42054 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
42055 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
42056 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
42057 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
42058 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
42059 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
42060 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
42061 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
42062 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
42063 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
42064 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
42065 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
42066 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
42067 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
42068 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
42069 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
42070 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
42071 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
42072 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
42073 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
42074 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
42075 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
42076 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
42077 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
42078 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
42079 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
42080 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
42081 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
42082 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
42083 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
42084 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
42085 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
42086 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
42087 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
42088 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
42089 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
42090 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
42091 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
42092 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
42093 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
42094 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
42095 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
42096 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
42097 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
42098 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
42099 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
42100 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
42101 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
42102 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
42103 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
42104 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
42106 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
42108 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
42109 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
42110 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
42111 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
42112 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
42113 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
42114 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
42115 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
42116 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
42117 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
42118 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
42119 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
42120 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
42121 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
42122 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
42123 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
42124 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
42125 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
42126 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
42127 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
42128 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
42129 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
42130 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
42131 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
42132 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
42133 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
42134 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
42135 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
42136 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
42137 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
42138 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
42139 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
42140 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
42141 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
42142 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
42143 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
42144 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
42145 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
42146 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
42147 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
42148 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
42149 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
42150 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
42151 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
42152 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
42153 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
42154 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
42155 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
42156 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
42157 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
42158 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
42159 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
42160 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
42162 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
42164 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
42165 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
42166 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
42167 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
42168 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
42169 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
42170 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
42171 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
42172 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
42173 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
42174 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
42175 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
42176 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
42177 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
42178 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
42179 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
42180 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
42181 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
42182 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
42183 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
42184 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
42185 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
42186 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
42187 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
42188 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
42189 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
42190 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
42191 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
42192 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
42193 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
42194 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
42195 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
42196 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
42197 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
42198 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
42199 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
42200 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
42201 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
42202 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
42203 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
42204 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
42205 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
42206 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
42207 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
42208 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
42209 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
42210 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
42211 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
42212 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
42213 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
42214 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
42215 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
42216 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
42217 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
42218 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
42219 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
42220 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
42221 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
42222 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
42223 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
42224 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
42225 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
42226 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
42227 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
42228 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
42229 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
42230 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
42231 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
42232 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
42233 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
42234 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
42235 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
42236 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
42237 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
42238 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
42239 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
42241 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
42243 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
42244 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
42245 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
42246 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
42247 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
42248 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
42249 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
42250 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
42251 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
42252 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
42253 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
42254 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
42255 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
42256 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
42257 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
42258 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
42259 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
42260 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
42261 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
42262 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
42263 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
42264 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
42265 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
42266 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
42267 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
42268 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
42269 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
42270 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
42271 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
42272 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
42273 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
42274 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
42275 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
42276 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
42277 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
42278 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
42279 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
42280 SWIG_Python_SetConstant(d
, "DateTime_GMT13",SWIG_From_int(static_cast< int >(wxDateTime::GMT13
)));
42281 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
42282 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
42283 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
42284 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
42285 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
42286 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
42287 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
42288 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
42289 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
42290 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
42291 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
42292 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
42293 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
42294 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
42295 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
42296 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
42297 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
42298 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
42299 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
42300 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
42301 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
42302 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
42303 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
42304 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
42305 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
42306 SWIG_Python_SetConstant(d
, "DateTime_NZST",SWIG_From_int(static_cast< int >(wxDateTime::NZST
)));
42307 SWIG_Python_SetConstant(d
, "DateTime_NZDT",SWIG_From_int(static_cast< int >(wxDateTime::NZDT
)));
42308 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
42309 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
42310 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
42311 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
42312 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
42313 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
42314 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
42315 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
42316 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
42317 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
42318 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
42319 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
42320 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
42321 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
42322 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
42323 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
42324 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
42325 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
42326 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
42327 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
42328 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
42329 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
42330 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
42331 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
42332 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
42333 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
42334 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
42335 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
42336 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
42337 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
42338 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
42339 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
42340 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
42341 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
42342 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
42343 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
42344 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
42345 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
42346 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
42347 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
42348 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
42349 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
42350 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
42351 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
42352 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
42353 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
42354 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
42355 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
42356 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
42357 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
42358 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
42359 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
42360 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
42361 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
42362 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
42363 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
42364 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
42365 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
42366 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
42367 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
42368 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
42369 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
42370 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
42371 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
42372 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
42373 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
42374 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
42375 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
42376 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
42377 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
42378 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
42379 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
42380 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
42381 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
42382 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
42383 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
42384 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
42385 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
42386 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
42387 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
42388 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
42389 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
42390 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
42391 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
42392 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
42393 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
42394 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
42395 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
42396 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
42397 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
42398 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
42399 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
42400 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
42401 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
42402 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
42403 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
42404 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
42405 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
42406 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
42407 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
42408 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
42409 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
42410 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
42411 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
42412 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
42413 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
42414 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
42415 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
42416 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
42417 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
42418 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
42419 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
42420 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
42421 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
42422 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
42423 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
42424 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
42425 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
42426 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
42427 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
42428 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
42429 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
42430 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
42431 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
42432 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
42433 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
42434 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
42435 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
42436 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
42437 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
42438 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
42439 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
42440 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
42441 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
42442 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
42443 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
42444 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
42445 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
42447 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
42448 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
42449 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
42450 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
42452 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
42453 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
42454 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
42455 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
42456 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
42457 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
42458 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
42459 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
42460 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
42461 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
42462 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
42463 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
42464 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
42465 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
42466 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
42467 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));