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_wxMetafileDataObject swig_types[95]
2562 #define SWIGTYPE_p_wxMimeTypesManager swig_types[96]
2563 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[98]
2565 #define SWIGTYPE_p_wxMouseEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseState swig_types[100]
2567 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotifyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxObject swig_types[106]
2573 #define SWIGTYPE_p_wxOutputStream swig_types[107]
2574 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2580 #define SWIGTYPE_p_wxPlatformInfo swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPowerEvent swig_types[116]
2583 #define SWIGTYPE_p_wxProcessEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPyApp swig_types[118]
2585 #define SWIGTYPE_p_wxPyArtProvider swig_types[119]
2586 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[122]
2589 #define SWIGTYPE_p_wxPyDropSource swig_types[123]
2590 #define SWIGTYPE_p_wxPyDropTarget swig_types[124]
2591 #define SWIGTYPE_p_wxPyEvent swig_types[125]
2592 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[126]
2593 #define SWIGTYPE_p_wxPyImageHandler swig_types[127]
2594 #define SWIGTYPE_p_wxPyLog swig_types[128]
2595 #define SWIGTYPE_p_wxPyProcess swig_types[129]
2596 #define SWIGTYPE_p_wxPySizer swig_types[130]
2597 #define SWIGTYPE_p_wxPyTextDataObject swig_types[131]
2598 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[132]
2599 #define SWIGTYPE_p_wxPyTimer swig_types[133]
2600 #define SWIGTYPE_p_wxPyTipProvider swig_types[134]
2601 #define SWIGTYPE_p_wxPyValidator swig_types[135]
2602 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[136]
2603 #define SWIGTYPE_p_wxRect swig_types[137]
2604 #define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605 #define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSetCursorEvent swig_types[140]
2607 #define SWIGTYPE_p_wxShowEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[142]
2609 #define SWIGTYPE_p_wxSize swig_types[143]
2610 #define SWIGTYPE_p_wxSizeEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxSizerItem swig_types[146]
2613 #define SWIGTYPE_p_wxSound swig_types[147]
2614 #define SWIGTYPE_p_wxStandardPaths swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStopWatch swig_types[151]
2618 #define SWIGTYPE_p_wxString swig_types[152]
2619 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSystemOptions swig_types[154]
2621 #define SWIGTYPE_p_wxSystemSettings swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625 #define SWIGTYPE_p_wxTextDataObject swig_types[159]
2626 #define SWIGTYPE_p_wxTimeSpan swig_types[160]
2627 #define SWIGTYPE_p_wxTimer swig_types[161]
2628 #define SWIGTYPE_p_wxTimerEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTimerRunner swig_types[163]
2630 #define SWIGTYPE_p_wxTipProvider swig_types[164]
2631 #define SWIGTYPE_p_wxToolTip swig_types[165]
2632 #define SWIGTYPE_p_wxURLDataObject swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVideoMode swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[171]
2638 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDisabler swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _misc_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_misc_
2668 #define SWIG_name "_misc_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2742 #include "wx/wxPython/pyistream.h"
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2748 #define SWIG_From_long PyInt_FromLong
2751 SWIGINTERNINLINE PyObject
*
2752 SWIG_From_int (int value
)
2754 return SWIG_From_long (value
);
2760 # define LLONG_MIN LONG_LONG_MIN
2763 # define LLONG_MAX LONG_LONG_MAX
2766 # define ULLONG_MAX ULONG_LONG_MAX
2771 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2773 if (PyNumber_Check(obj
)) {
2774 if (val
) *val
= PyInt_AsLong(obj
);
2777 return SWIG_TypeError
;
2782 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2785 int res
= SWIG_AsVal_long (obj
, &v
);
2786 if (SWIG_IsOK(res
)) {
2787 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2788 return SWIG_OverflowError
;
2790 if (val
) *val
= static_cast< int >(v
);
2796 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2798 #include <wx/stockitem.h>
2800 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2801 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2802 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2805 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2807 if (obj
== Py_True
) {
2808 if (val
) *val
= true;
2810 } else if (obj
== Py_False
) {
2811 if (val
) *val
= false;
2815 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2816 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2822 wxMemorySize
wxGetFreeMemory()
2823 { wxPyRaiseNotImplemented(); return 0; }
2827 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2830 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2831 return SWIG_TypeError
;
2834 *val
= (unsigned long)v
;
2839 SWIGINTERNINLINE PyObject
*
2840 SWIG_From_unsigned_SS_long (unsigned long value
)
2842 return (value
> LONG_MAX
) ?
2843 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2847 void* wxGetXDisplay()
2850 return wxGetDisplay();
2857 wxWindow
* FindWindowAtPointer() {
2859 return wxFindWindowAtPointer(unused
);
2863 void wxWakeUpMainThread() {}
2866 bool wxThread_IsMain() {
2867 #ifdef WXP_WITH_THREAD
2868 return wxThread::IsMain();
2874 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2878 #include <wx/snglinst.h>
2882 #include <wx/msw/private.h>
2883 #include <wx/dynload.h>
2888 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2899 // This one only partially works. Appears to be an undocumented
2900 // "standard" convention that not all widgets adhear to. For
2901 // example, for some widgets backgrounds or non-client areas may
2903 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2908 // This one works much better, nearly all widgets and their
2909 // children are captured correctly[**]. Prior to the big
2910 // background erase changes that Vadim did in 2004-2005 this
2911 // method failed badly on XP with Themes activated, most native
2912 // widgets draw only partially, if at all. Without themes it
2913 // worked just like on Win2k. After those changes this method
2916 // ** For example the radio buttons in a wxRadioBox are not its
2917 // children by default, but you can capture it via the panel
2918 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2919 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2920 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2921 PRF_ERASEBKGND
| PRF_OWNED
);
2927 // This one is only defined in the latest SDK and is only
2928 // available on XP. MSDN says it is similar to sending WM_PRINT
2929 // so I expect that it will work similar to the above. Since it
2930 // is avaialble only on XP, it can't be compiled like this and
2931 // will have to be loaded dynamically.
2932 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2937 // Use PrintWindow if available, or fallback to WM_PRINT
2938 // otherwise. Unfortunately using PrintWindow is even worse than
2939 // WM_PRINT. For most native widgets nothing is drawn to the dc
2940 // at all, with or without Themes.
2941 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2942 static bool s_triedToLoad
= false;
2943 static PrintWindow_t pfnPrintWindow
= NULL
;
2944 if ( !s_triedToLoad
)
2947 s_triedToLoad
= true;
2948 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2949 if ( dllUser32
.IsLoaded() )
2951 wxLogNull nolog
; // Don't report errors here
2952 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2957 //printf("Using PrintWindow\n");
2958 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2962 //printf("Using WM_PRINT\n");
2963 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2964 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2965 PRF_ERASEBKGND
| PRF_OWNED
);
2976 #include <wx/tipdlg.h>
2979 SWIGINTERNINLINE PyObject
*
2980 SWIG_From_size_t (size_t value
)
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2986 class wxPyTipProvider
: public wxTipProvider
{
2988 wxPyTipProvider(size_t currentTip
)
2989 : wxTipProvider(currentTip
) {}
2991 DEC_PYCALLBACK_STRING__pure(GetTip
);
2992 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2996 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2997 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
3000 SWIGINTERNINLINE
int
3001 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3004 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3005 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3010 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3012 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3014 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3015 : wxTimer(owner
, id
)
3021 wxPyTimer::~wxPyTimer()
3023 // printf("-=* ~wxPyTimer\n");
3028 SWIGINTERN swig_type_info
*
3029 SWIG_pchar_descriptor()
3031 static int init
= 0;
3032 static swig_type_info
* info
= 0;
3034 info
= SWIG_TypeQuery("_p_char");
3041 SWIGINTERNINLINE PyObject
*
3042 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3045 if (size
> INT_MAX
) {
3046 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3047 return pchar_descriptor
?
3048 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3050 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3053 return SWIG_Py_Void();
3058 SWIGINTERNINLINE PyObject
*
3059 SWIG_FromCharPtr(const char *cptr
)
3061 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3066 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3069 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3070 if (SWIG_IsOK(res
)) {
3071 if ((v
> UINT_MAX
)) {
3072 return SWIG_OverflowError
;
3074 if (val
) *val
= static_cast< unsigned int >(v
);
3080 SWIGINTERN wxString
wxLog_TimeStamp(){
3082 wxLog::TimeStamp(&msg
);
3085 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3086 // Make some wrappers that double any % signs so they are 'escaped'
3087 void wxPyLogFatalError(const wxString
& msg
)
3090 m
.Replace(wxT("%"), wxT("%%"));
3094 void wxPyLogError(const wxString
& msg
)
3097 m
.Replace(wxT("%"), wxT("%%"));
3101 void wxPyLogWarning(const wxString
& msg
)
3104 m
.Replace(wxT("%"), wxT("%%"));
3108 void wxPyLogMessage(const wxString
& msg
)
3111 m
.Replace(wxT("%"), wxT("%%"));
3115 void wxPyLogInfo(const wxString
& msg
)
3118 m
.Replace(wxT("%"), wxT("%%"));
3122 void wxPyLogDebug(const wxString
& msg
)
3125 m
.Replace(wxT("%"), wxT("%%"));
3129 void wxPyLogVerbose(const wxString
& msg
)
3132 m
.Replace(wxT("%"), wxT("%%"));
3136 void wxPyLogStatus(const wxString
& msg
)
3139 m
.Replace(wxT("%"), wxT("%%"));
3143 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3146 m
.Replace(wxT("%"), wxT("%%"));
3147 wxLogStatus(pFrame
, m
);
3150 void wxPyLogSysError(const wxString
& msg
)
3153 m
.Replace(wxT("%"), wxT("%%"));
3157 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3160 m
.Replace(wxT("%"), wxT("%%"));
3161 wxLogGeneric(level
, m
);
3164 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3167 m
.Replace(wxT("%"), wxT("%%"));
3168 wxLogTrace(mask
, m
);
3171 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3174 m
.Replace(wxT("%"), wxT("%%"));
3175 wxLogTrace(mask
, m
);
3180 // A wxLog class that can be derived from in wxPython
3181 class wxPyLog
: public wxLog
{
3183 wxPyLog() : wxLog() {}
3185 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3187 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3188 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3189 PyObject
* s
= wx2PyString(szString
);
3190 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3193 wxPyEndBlockThreads(blocked
);
3195 wxLog::DoLog(level
, szString
, t
);
3198 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3201 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3202 PyObject
* s
= wx2PyString(szString
);
3203 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3206 wxPyEndBlockThreads(blocked
);
3208 wxLog::DoLogString(szString
, t
);
3211 DEC_PYCALLBACK_VOID_(Flush
);
3214 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3219 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3222 #include <wx/joystick.h>
3225 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3226 // A C++ stub class for wxJoystick for platforms that don't have it.
3227 class wxJoystick
: public wxObject
{
3229 wxJoystick(int joystick
= wxJOYSTICK1
) {
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 PyErr_SetString(PyExc_NotImplementedError
,
3232 "wxJoystick is not available on this platform.");
3233 wxPyEndBlockThreads(blocked
);
3235 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3236 int GetZPosition() { return -1; }
3237 int GetButtonState() { return -1; }
3238 int GetPOVPosition() { return -1; }
3239 int GetPOVCTSPosition() { return -1; }
3240 int GetRudderPosition() { return -1; }
3241 int GetUPosition() { return -1; }
3242 int GetVPosition() { return -1; }
3243 int GetMovementThreshold() { return -1; }
3244 void SetMovementThreshold(int threshold
) {}
3246 bool IsOk(void) { return false; }
3247 int GetNumberJoysticks() { return -1; }
3248 int GetManufacturerId() { return -1; }
3249 int GetProductId() { return -1; }
3250 wxString
GetProductName() { return wxEmptyString
; }
3251 int GetXMin() { return -1; }
3252 int GetYMin() { return -1; }
3253 int GetZMin() { return -1; }
3254 int GetXMax() { return -1; }
3255 int GetYMax() { return -1; }
3256 int GetZMax() { return -1; }
3257 int GetNumberButtons() { return -1; }
3258 int GetNumberAxes() { return -1; }
3259 int GetMaxButtons() { return -1; }
3260 int GetMaxAxes() { return -1; }
3261 int GetPollingMin() { return -1; }
3262 int GetPollingMax() { return -1; }
3263 int GetRudderMin() { return -1; }
3264 int GetRudderMax() { return -1; }
3265 int GetUMin() { return -1; }
3266 int GetUMax() { return -1; }
3267 int GetVMin() { return -1; }
3268 int GetVMax() { return -1; }
3270 bool HasRudder() { return false; }
3271 bool HasZ() { return false; }
3272 bool HasU() { return false; }
3273 bool HasV() { return false; }
3274 bool HasPOV() { return false; }
3275 bool HasPOV4Dir() { return false; }
3276 bool HasPOVCTS() { return false; }
3278 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3279 bool ReleaseCapture() { return false; }
3284 #include <wx/sound.h>
3288 // A C++ stub class for wxWave for platforms that don't have it.
3289 class wxSound
: public wxObject
3293 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3294 PyErr_SetString(PyExc_NotImplementedError
,
3295 "wxSound is not available on this platform.");
3296 wxPyEndBlockThreads(blocked
);
3298 wxSound(const wxString
&/*, bool*/) {
3299 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3300 PyErr_SetString(PyExc_NotImplementedError
,
3301 "wxSound is not available on this platform.");
3302 wxPyEndBlockThreads(blocked
);
3304 wxSound(int, const wxByte
*) {
3305 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3306 PyErr_SetString(PyExc_NotImplementedError
,
3307 "wxSound is not available on this platform.");
3308 wxPyEndBlockThreads(blocked
);
3313 bool Create(const wxString
&/*, bool*/) { return false; }
3314 bool Create(int, const wxByte
*) { return false; };
3315 bool IsOk() { return false; };
3316 bool Play(unsigned) const { return false; }
3317 static bool Play(const wxString
&, unsigned) { return false; }
3318 static void Stop() {}
3323 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3324 if (fileName
.Length() == 0)
3327 return new wxSound(fileName
);
3329 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3330 unsigned char* buffer
; int size
;
3331 wxSound
*sound
= NULL
;
3333 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3334 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3336 sound
= new wxSound(size
, buffer
);
3338 wxPyEndBlockThreads(blocked
);
3341 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3343 unsigned char* buffer
;
3347 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3348 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3350 rv
= self
->Create(size
, buffer
);
3352 wxPyEndBlockThreads(blocked
);
3355 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3356 PyErr_SetString(PyExc_NotImplementedError
,
3357 "Create from data is not available on this platform.");
3358 wxPyEndBlockThreads(blocked
);
3363 #include <wx/mimetype.h>
3365 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3367 if (self
->GetMimeType(&str
))
3368 return wx2PyString(str
);
3372 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3374 if (self
->GetMimeTypes(arr
))
3375 return wxArrayString2PyList_helper(arr
);
3379 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3381 if (self
->GetExtensions(arr
))
3382 return wxArrayString2PyList_helper(arr
);
3386 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3388 if (self
->GetIcon(&loc
))
3389 return new wxIcon(loc
);
3393 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3395 if (self
->GetIcon(&loc
)) {
3396 wxString iconFile
= loc
.GetFileName();
3401 // Make a tuple and put the values in it
3402 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3403 PyObject
* tuple
= PyTuple_New(3);
3404 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3405 wxT("wxIcon"), true));
3406 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3407 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3408 wxPyEndBlockThreads(blocked
);
3414 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3416 if (self
->GetDescription(&str
))
3417 return wx2PyString(str
);
3421 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3423 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3424 return wx2PyString(str
);
3428 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3430 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3431 return wx2PyString(str
);
3435 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3436 wxArrayString verbs
;
3437 wxArrayString commands
;
3438 if (self
->GetAllCommands(&verbs
, &commands
,
3439 wxFileType::MessageParameters(filename
, mimetype
))) {
3440 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3441 PyObject
* tuple
= PyTuple_New(2);
3442 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3443 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3444 wxPyEndBlockThreads(blocked
);
3450 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3451 return wxFileType::ExpandCommand(command
,
3452 wxFileType::MessageParameters(filename
, mimetype
));
3454 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3456 self
->EnumAllFileTypes(arr
);
3457 return wxArrayString2PyList_helper(arr
);
3460 #include <wx/artprov.h>
3462 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3463 static const wxString
wxPyART_MENU(wxART_MENU
);
3464 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3465 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3466 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3467 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3468 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3469 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3470 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3471 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3472 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3473 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3474 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3475 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3476 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3477 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3478 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3479 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3480 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3481 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3482 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3483 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3484 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3485 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3486 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3487 static const wxString
wxPyART_HELP(wxART_HELP
);
3488 static const wxString
wxPyART_TIP(wxART_TIP
);
3489 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3490 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3491 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3492 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3493 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3494 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3495 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3496 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3497 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3498 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3499 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3500 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3501 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3502 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3503 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3504 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3505 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3506 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3507 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3508 static const wxString
wxPyART_COPY(wxART_COPY
);
3509 static const wxString
wxPyART_CUT(wxART_CUT
);
3510 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3511 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3512 static const wxString
wxPyART_NEW(wxART_NEW
);
3513 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3514 static const wxString
wxPyART_REDO(wxART_REDO
);
3515 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3516 static const wxString
wxPyART_FIND(wxART_FIND
);
3517 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3518 // Python aware wxArtProvider
3519 class wxPyArtProvider
: public wxArtProvider
{
3522 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3523 const wxArtClient
& client
,
3524 const wxSize
& size
) {
3525 wxBitmap rval
= wxNullBitmap
;
3526 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3527 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3528 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3532 s1
= wx2PyString(id
);
3533 s2
= wx2PyString(client
);
3534 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3539 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3544 wxPyEndBlockThreads(blocked
);
3551 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3555 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3556 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3557 PyObject
* ret
= PyTuple_New(3);
3559 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3560 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3561 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3563 wxPyEndBlockThreads(blocked
);
3567 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3572 cont
= self
->GetFirstGroup(value
, index
);
3573 return __EnumerationHelper(cont
, value
, index
);
3575 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3579 cont
= self
->GetNextGroup(value
, index
);
3580 return __EnumerationHelper(cont
, value
, index
);
3582 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3587 cont
= self
->GetFirstEntry(value
, index
);
3588 return __EnumerationHelper(cont
, value
, index
);
3590 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3594 cont
= self
->GetNextEntry(value
, index
);
3595 return __EnumerationHelper(cont
, value
, index
);
3597 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3599 self
->Read(key
, &rv
, defaultVal
);
3604 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3606 if (PyNumber_Check(obj
)) {
3607 if (val
) *val
= PyFloat_AsDouble(obj
);
3610 return SWIG_TypeError
;
3613 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3615 self
->Read(key
, &rv
, defaultVal
);
3619 #define SWIG_From_double PyFloat_FromDouble
3621 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3623 self
->Read(key
, &rv
, defaultVal
);
3627 #include <wx/datetime.h>
3629 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3630 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3632 #define LOCAL_TZ wxDateTime::Local
3634 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3637 wxDateTime::GetAmPmStrings(&am
, &pm
);
3638 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3639 PyObject
* tup
= PyTuple_New(2);
3640 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3641 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3642 wxPyEndBlockThreads(blocked
);
3646 SWIGINTERNINLINE PyObject
*
3647 SWIG_From_unsigned_SS_int (unsigned int value
)
3649 return SWIG_From_unsigned_SS_long (value
);
3652 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3653 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3654 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3655 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3656 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3657 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3658 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3659 return (*self
< *other
);
3661 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3662 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3663 return (*self
<= *other
);
3665 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3666 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3667 return (*self
> *other
);
3669 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3670 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3671 return (*self
>= *other
);
3673 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3674 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3675 return (*self
== *other
);
3677 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3678 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3679 return (*self
!= *other
);
3681 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3683 const wxChar
* _date
= date
;
3684 rv
= self
->ParseRfc822Date(_date
);
3685 if (rv
== NULL
) return -1;
3688 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3690 const wxChar
* _date
= date
;
3691 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3692 if (rv
== NULL
) return -1;
3695 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3697 const wxChar
* _datetime
= datetime
;
3698 rv
= self
->ParseDateTime(_datetime
);
3699 if (rv
== NULL
) return -1;
3700 return rv
- _datetime
;
3702 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3704 const wxChar
* _date
= date
;
3705 rv
= self
->ParseDate(_date
);
3706 if (rv
== NULL
) return -1;
3709 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3711 const wxChar
* _time
= time
;
3712 rv
= self
->ParseTime(_time
);
3713 if (rv
== NULL
) return -1;
3716 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3717 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3718 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3719 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3720 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3721 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3722 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3723 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3724 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3725 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3726 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3727 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3728 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3729 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3730 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3731 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3733 #include <wx/dataobj.h>
3735 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3736 size_t count
= self
->GetFormatCount(dir
);
3737 wxDataFormat
* formats
= new wxDataFormat
[count
];
3738 self
->GetAllFormats(formats
, dir
);
3740 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3741 PyObject
* list
= PyList_New(count
);
3742 for (size_t i
=0; i
<count
; i
++) {
3743 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3744 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3745 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3747 wxPyEndBlockThreads(blocked
);
3751 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3752 PyObject
* rval
= NULL
;
3753 size_t size
= self
->GetDataSize(format
);
3754 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3756 char* buf
= new char[size
];
3757 if (self
->GetDataHere(format
, buf
))
3758 rval
= PyString_FromStringAndSize(buf
, size
);
3765 wxPyEndBlockThreads(blocked
);
3768 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3770 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3771 if (PyString_Check(data
)) {
3772 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3775 // raise a TypeError if not a string
3776 PyErr_SetString(PyExc_TypeError
, "String expected.");
3779 wxPyEndBlockThreads(blocked
);
3782 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3783 PyObject
* rval
= NULL
;
3784 size_t size
= self
->GetDataSize();
3785 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3787 char* buf
= new char[size
];
3788 if (self
->GetDataHere(buf
))
3789 rval
= PyString_FromStringAndSize(buf
, size
);
3796 wxPyEndBlockThreads(blocked
);
3799 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3801 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3802 if (PyString_Check(data
)) {
3803 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3806 // raise a TypeError if not a string
3807 PyErr_SetString(PyExc_TypeError
, "String expected.");
3810 wxPyEndBlockThreads(blocked
);
3813 // Create a new class for wxPython to use
3814 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3816 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3817 : wxDataObjectSimple(format
) {}
3819 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3820 bool GetDataHere(void *buf
) const;
3821 bool SetData(size_t len
, const void *buf
);
3825 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3827 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3828 // We need to get the data for this object and write it to buf. I think
3829 // the best way to do this for wxPython is to have the Python method
3830 // return either a string or None and then act appropriately with the
3834 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3835 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3837 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3839 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3841 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3845 wxPyEndBlockThreads(blocked
);
3849 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3850 // For this one we simply need to make a string from buf and len
3851 // and send it to the Python method.
3853 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3854 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3855 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3856 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3859 wxPyEndBlockThreads(blocked
);
3863 // Create a new class for wxPython to use
3864 class wxPyTextDataObject
: public wxTextDataObject
{
3866 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3867 : wxTextDataObject(text
) {}
3869 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3870 DEC_PYCALLBACK_STRING__const(GetText
);
3871 DEC_PYCALLBACK__STRING(SetText
);
3875 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3876 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3877 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3880 // Create a new class for wxPython to use
3881 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3883 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3884 : wxBitmapDataObject(bitmap
) {}
3886 wxBitmap
GetBitmap() const;
3887 void SetBitmap(const wxBitmap
& bitmap
);
3891 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3892 wxBitmap
* rval
= &wxNullBitmap
;
3893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3894 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3897 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3899 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3904 wxPyEndBlockThreads(blocked
);
3908 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3909 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3910 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3911 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3912 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3915 wxPyEndBlockThreads(blocked
);
3918 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3919 return new wxCustomDataObject(wxDataFormat(formatName
));
3921 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3923 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3924 if (PyString_Check(data
)) {
3925 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3928 // raise a TypeError if not a string
3929 PyErr_SetString(PyExc_TypeError
, "String expected.");
3932 wxPyEndBlockThreads(blocked
);
3935 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3937 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3938 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3939 wxPyEndBlockThreads(blocked
);
3943 class wxMetafileDataObject
: public wxDataObjectSimple
3946 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3950 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3953 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3954 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3955 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3956 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3957 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3960 class wxPyTextDropTarget
: public wxTextDropTarget
{
3962 wxPyTextDropTarget() {}
3964 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3966 DEC_PYCALLBACK__(OnLeave
);
3967 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3968 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3969 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3970 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3975 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3976 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3977 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3978 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3979 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3980 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3984 class wxPyFileDropTarget
: public wxFileDropTarget
{
3986 wxPyFileDropTarget() {}
3988 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3990 DEC_PYCALLBACK__(OnLeave
);
3991 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3992 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3993 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3994 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3999 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
4000 const wxArrayString
& filenames
) {
4002 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4003 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
4004 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
4005 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
4008 wxPyEndBlockThreads(blocked
);
4014 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4015 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4016 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4017 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4018 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4023 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4025 #include <wx/display.h>
4026 #include <wx/vidmode.h>
4028 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4029 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4032 const wxVideoMode wxDefaultVideoMode
;
4035 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4037 PyObject
* pyList
= NULL
;
4038 wxArrayVideoModes arr
= self
->GetModes(mode
);
4039 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4040 pyList
= PyList_New(0);
4041 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4043 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4044 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4045 PyList_Append(pyList
, pyObj
);
4048 wxPyEndBlockThreads(blocked
);
4051 wxPyRaiseNotImplemented();
4055 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4057 return self
->GetCurrentMode();
4059 wxPyRaiseNotImplemented();
4060 return wxDefaultVideoMode
;
4063 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4065 return self
->ChangeMode(mode
);
4067 wxPyRaiseNotImplemented();
4071 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4075 wxPyRaiseNotImplemented();
4079 #include <wx/stdpaths.h>
4081 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4082 return (wxStandardPaths
*) &wxStandardPaths::Get();
4085 #ifndef wxHAS_POWER_EVENTS
4086 // Dummy class and other definitions for platforms that don't have them
4088 // See wxPython_int.h for wxPowerEvent
4091 wxEVT_POWER_SUSPENDING
,
4092 wxEVT_POWER_SUSPENDED
,
4093 wxEVT_POWER_SUSPEND_CANCEL
,
4097 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4098 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4103 #include <wx/aboutdlg.h>
4108 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
= 0;
4110 wxSystemColour arg1
;
4114 PyObject
* obj0
= 0 ;
4115 char * kwnames
[] = {
4116 (char *) "index", NULL
4119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4120 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4121 if (!SWIG_IsOK(ecode1
)) {
4122 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4124 arg1
= static_cast< wxSystemColour
>(val1
);
4126 if (!wxPyCheckForApp()) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 result
= wxSystemSettings::GetColour(arg1
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4139 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
= 0;
4145 PyObject
* obj0
= 0 ;
4146 char * kwnames
[] = {
4147 (char *) "index", NULL
4150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4151 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4152 if (!SWIG_IsOK(ecode1
)) {
4153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4155 arg1
= static_cast< wxSystemFont
>(val1
);
4157 if (!wxPyCheckForApp()) SWIG_fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= wxSystemSettings::GetFont(arg1
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4170 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
= 0;
4172 wxSystemMetric arg1
;
4173 wxWindow
*arg2
= (wxWindow
*) NULL
;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4181 char * kwnames
[] = {
4182 (char *) "index",(char *) "win", NULL
4185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4187 if (!SWIG_IsOK(ecode1
)) {
4188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4190 arg1
= static_cast< wxSystemMetric
>(val1
);
4192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4193 if (!SWIG_IsOK(res2
)) {
4194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4199 if (!wxPyCheckForApp()) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= SWIG_From_int(static_cast< int >(result
));
4212 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
= 0;
4214 wxSystemFeature arg1
;
4218 PyObject
* obj0
= 0 ;
4219 char * kwnames
[] = {
4220 (char *) "index", NULL
4223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4224 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4225 if (!SWIG_IsOK(ecode1
)) {
4226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4228 arg1
= static_cast< wxSystemFeature
>(val1
);
4230 if (!wxPyCheckForApp()) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4245 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4246 PyObject
*resultobj
= 0;
4247 wxSystemScreenType result
;
4249 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4251 if (!wxPyCheckForApp()) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= SWIG_From_int(static_cast< int >(result
));
4264 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
= 0;
4266 wxSystemScreenType arg1
;
4269 PyObject
* obj0
= 0 ;
4270 char * kwnames
[] = {
4271 (char *) "screen", NULL
4274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4275 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4276 if (!SWIG_IsOK(ecode1
)) {
4277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4279 arg1
= static_cast< wxSystemScreenType
>(val1
);
4281 if (!wxPyCheckForApp()) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 wxSystemSettings::SetScreenType(arg1
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_Py_Void();
4294 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4297 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4298 return SWIG_Py_Void();
4301 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4302 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4307 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4308 PyObject
*pyobj
= 0;
4312 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4314 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4321 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4322 PyObject
*resultobj
= 0;
4323 wxSystemOptions
*result
= 0 ;
4325 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 result
= (wxSystemOptions
*)new wxSystemOptions();
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4339 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
= 0;
4341 wxString
*arg1
= 0 ;
4342 wxString
*arg2
= 0 ;
4343 bool temp1
= false ;
4344 bool temp2
= false ;
4345 PyObject
* obj0
= 0 ;
4346 PyObject
* obj1
= 0 ;
4347 char * kwnames
[] = {
4348 (char *) "name",(char *) "value", NULL
4351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4353 arg1
= wxString_in_helper(obj0
);
4354 if (arg1
== NULL
) SWIG_fail
;
4358 arg2
= wxString_in_helper(obj1
);
4359 if (arg2
== NULL
) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= SWIG_Py_Void();
4391 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
= 0;
4393 wxString
*arg1
= 0 ;
4395 bool temp1
= false ;
4398 PyObject
* obj0
= 0 ;
4399 PyObject
* obj1
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "name",(char *) "value", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4406 arg1
= wxString_in_helper(obj0
);
4407 if (arg1
== NULL
) SWIG_fail
;
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= SWIG_Py_Void();
4436 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
= 0;
4438 wxString
*arg1
= 0 ;
4440 bool temp1
= false ;
4441 PyObject
* obj0
= 0 ;
4442 char * kwnames
[] = {
4443 (char *) "name", NULL
4446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4448 arg1
= wxString_in_helper(obj0
);
4449 if (arg1
== NULL
) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4479 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxString
*arg1
= 0 ;
4483 bool temp1
= false ;
4484 PyObject
* obj0
= 0 ;
4485 char * kwnames
[] = {
4486 (char *) "name", NULL
4489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4491 arg1
= wxString_in_helper(obj0
);
4492 if (arg1
== NULL
) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 resultobj
= SWIG_From_int(static_cast< int >(result
));
4516 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
= 0;
4518 wxString
*arg1
= 0 ;
4520 bool temp1
= false ;
4521 PyObject
* obj0
= 0 ;
4522 char * kwnames
[] = {
4523 (char *) "name", NULL
4526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4528 arg1
= wxString_in_helper(obj0
);
4529 if (arg1
== NULL
) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4555 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
= 0;
4557 wxString
*arg1
= 0 ;
4559 bool temp1
= false ;
4560 PyObject
* obj0
= 0 ;
4561 char * kwnames
[] = {
4562 (char *) "name", NULL
4565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4567 arg1
= wxString_in_helper(obj0
);
4568 if (arg1
== NULL
) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4594 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4597 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4598 return SWIG_Py_Void();
4601 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4602 return SWIG_Python_InitShadowInstance(args
);
4605 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4606 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4611 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4612 PyObject
*pyobj
= 0;
4616 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4618 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4625 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4626 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4631 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4632 PyObject
*pyobj
= 0;
4636 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4638 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4645 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4646 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4651 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4652 PyObject
*pyobj
= 0;
4656 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4658 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4665 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4666 PyObject
*resultobj
= 0;
4669 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 result
= (long)wxNewId();
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= SWIG_From_long(static_cast< long >(result
));
4683 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
= 0;
4688 PyObject
* obj0
= 0 ;
4689 char * kwnames
[] = {
4693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4694 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4695 if (!SWIG_IsOK(ecode1
)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4698 arg1
= static_cast< long >(val1
);
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_Py_Void();
4712 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 PyObject
*resultobj
= 0;
4716 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (long)wxGetCurrentId();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_From_long(static_cast< long >(result
));
4730 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
= 0;
4736 PyObject
* obj0
= 0 ;
4737 char * kwnames
[] = {
4741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4742 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4743 if (!SWIG_IsOK(ecode1
)) {
4744 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4746 arg1
= static_cast< int >(val1
);
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (bool)wxIsStockID(arg1
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4762 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
= 0;
4765 wxString
*arg2
= 0 ;
4769 bool temp2
= false ;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4772 char * kwnames
[] = {
4773 (char *) "id",(char *) "label", NULL
4776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4777 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4778 if (!SWIG_IsOK(ecode1
)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4781 arg1
= static_cast< int >(val1
);
4783 arg2
= wxString_in_helper(obj1
);
4784 if (arg2
== NULL
) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4810 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
= 0;
4813 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4821 char * kwnames
[] = {
4822 (char *) "id",(char *) "flags", NULL
4825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4826 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4827 if (!SWIG_IsOK(ecode1
)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4830 arg1
= static_cast< int >(val1
);
4832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4833 if (!SWIG_IsOK(ecode2
)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4836 arg2
= static_cast< long >(val2
);
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= wxGetStockLabel(arg1
,arg2
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4857 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
= 0;
4860 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4866 PyObject
* obj0
= 0 ;
4867 PyObject
* obj1
= 0 ;
4868 char * kwnames
[] = {
4869 (char *) "id",(char *) "client", NULL
4872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4873 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4874 if (!SWIG_IsOK(ecode1
)) {
4875 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4877 arg1
= static_cast< int >(val1
);
4879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4880 if (!SWIG_IsOK(ecode2
)) {
4881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4883 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= wxGetStockHelpString(arg1
,arg2
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4904 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4905 PyObject
*resultobj
= 0;
4907 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4909 if (!wxPyCheckForApp()) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_Py_Void();
4922 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4923 PyObject
*resultobj
= 0;
4925 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4927 if (!wxPyCheckForApp()) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= SWIG_Py_Void();
4940 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
= 0;
4942 bool arg1
= (bool) true ;
4946 PyObject
* obj0
= 0 ;
4947 char * kwnames
[] = {
4948 (char *) "resetTimer", NULL
4951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4953 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4954 if (!SWIG_IsOK(ecode1
)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4957 arg1
= static_cast< bool >(val1
);
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (long)wxGetElapsedTime(arg1
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 resultobj
= SWIG_From_long(static_cast< long >(result
));
4972 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4973 PyObject
*resultobj
= 0;
4976 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (bool)wxIsBusy();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4992 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4993 PyObject
*resultobj
= 0;
4996 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5016 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5017 PyObject
*resultobj
= 0;
5018 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5019 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5021 bool temp1
= false ;
5022 PyObject
* obj0
= 0 ;
5023 char * kwnames
[] = {
5024 (char *) "command", NULL
5027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
5030 arg1
= wxString_in_helper(obj0
);
5031 if (arg1
== NULL
) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (bool)wxShell((wxString
const &)*arg1
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5058 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5059 PyObject
*resultobj
= 0;
5061 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5068 resultobj
= SWIG_Py_Void();
5075 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5076 PyObject
*resultobj
= 0;
5077 int *arg1
= (int *) 0 ;
5078 int *arg2
= (int *) 0 ;
5081 int res1
= SWIG_TMPOBJ
;
5083 int res2
= SWIG_TMPOBJ
;
5087 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= (int)wxGetOsVersion(arg1
,arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_From_int(static_cast< int >(result
));
5095 if (SWIG_IsTmpObj(res1
)) {
5096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5098 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5099 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5101 if (SWIG_IsTmpObj(res2
)) {
5102 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5104 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5105 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5113 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5114 PyObject
*resultobj
= 0;
5117 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 result
= wxGetOsDescription();
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5137 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5138 PyObject
*resultobj
= 0;
5141 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 result
= (bool)wxIsPlatformLittleEndian();
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5157 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5158 PyObject
*resultobj
= 0;
5161 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (bool)wxIsPlatform64Bit();
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5177 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5178 PyObject
*resultobj
= 0;
5179 wxMemorySize result
;
5181 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5184 result
= wxGetFreeMemory();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5192 resultobj
= PyInt_FromLong(result
);
5201 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5202 PyObject
*resultobj
= 0;
5203 wxShutdownFlags arg1
;
5207 PyObject
* obj0
= 0 ;
5208 char * kwnames
[] = {
5209 (char *) "wFlags", NULL
5212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5213 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5214 if (!SWIG_IsOK(ecode1
)) {
5215 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5217 arg1
= static_cast< wxShutdownFlags
>(val1
);
5219 if (!wxPyCheckForApp()) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (bool)wxShutdown(arg1
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5234 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
*resultobj
= 0;
5239 PyObject
* obj0
= 0 ;
5240 char * kwnames
[] = {
5241 (char *) "secs", NULL
5244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5245 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5246 if (!SWIG_IsOK(ecode1
)) {
5247 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5249 arg1
= static_cast< int >(val1
);
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_Py_Void();
5263 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
= 0;
5265 unsigned long arg1
;
5266 unsigned long val1
;
5268 PyObject
* obj0
= 0 ;
5269 char * kwnames
[] = {
5270 (char *) "milliseconds", NULL
5273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5274 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5275 if (!SWIG_IsOK(ecode1
)) {
5276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5278 arg1
= static_cast< unsigned long >(val1
);
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= SWIG_Py_Void();
5292 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
= 0;
5294 unsigned long arg1
;
5295 unsigned long val1
;
5297 PyObject
* obj0
= 0 ;
5298 char * kwnames
[] = {
5299 (char *) "microseconds", NULL
5302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5303 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5304 if (!SWIG_IsOK(ecode1
)) {
5305 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5307 arg1
= static_cast< unsigned long >(val1
);
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 resultobj
= SWIG_Py_Void();
5321 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
= 0;
5326 PyObject
* obj0
= 0 ;
5327 char * kwnames
[] = {
5328 (char *) "enable", NULL
5331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5332 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5333 if (!SWIG_IsOK(ecode1
)) {
5334 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5336 arg1
= static_cast< bool >(val1
);
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 wxEnableTopLevelWindows(arg1
);
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5343 resultobj
= SWIG_Py_Void();
5350 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
= 0;
5352 wxString
*arg1
= 0 ;
5354 bool temp1
= false ;
5355 PyObject
* obj0
= 0 ;
5356 char * kwnames
[] = {
5360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5362 arg1
= wxString_in_helper(obj0
);
5363 if (arg1
== NULL
) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5393 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5394 PyObject
*resultobj
= 0;
5397 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 result
= wxGetEmailAddress();
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5417 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5418 PyObject
*resultobj
= 0;
5421 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= wxGetHostName();
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5441 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5442 PyObject
*resultobj
= 0;
5445 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= wxGetFullHostName();
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5465 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5466 PyObject
*resultobj
= 0;
5469 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5472 result
= wxGetUserId();
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5489 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5490 PyObject
*resultobj
= 0;
5493 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= wxGetUserName();
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5513 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5514 PyObject
*resultobj
= 0;
5517 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 result
= wxGetHomeDir();
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5537 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
= 0;
5539 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5540 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5542 bool temp1
= false ;
5543 PyObject
* obj0
= 0 ;
5544 char * kwnames
[] = {
5545 (char *) "user", NULL
5548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5551 arg1
= wxString_in_helper(obj0
);
5552 if (arg1
== NULL
) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= wxGetUserHome((wxString
const &)*arg1
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5583 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5584 PyObject
*resultobj
= 0;
5585 unsigned long result
;
5587 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= (unsigned long)wxGetProcessId();
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5601 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5602 PyObject
*resultobj
= 0;
5604 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= SWIG_Py_Void();
5618 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
*resultobj
= 0;
5620 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5621 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5622 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5623 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5624 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5625 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5626 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5627 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5628 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5629 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5630 int arg6
= (int) 0 ;
5631 wxWindow
*arg7
= (wxWindow
*) NULL
;
5632 int arg8
= (int) -1 ;
5633 int arg9
= (int) -1 ;
5635 bool temp1
= false ;
5636 bool temp2
= false ;
5637 bool temp3
= false ;
5638 bool temp4
= false ;
5639 bool temp5
= false ;
5648 PyObject
* obj0
= 0 ;
5649 PyObject
* obj1
= 0 ;
5650 PyObject
* obj2
= 0 ;
5651 PyObject
* obj3
= 0 ;
5652 PyObject
* obj4
= 0 ;
5653 PyObject
* obj5
= 0 ;
5654 PyObject
* obj6
= 0 ;
5655 PyObject
* obj7
= 0 ;
5656 PyObject
* obj8
= 0 ;
5657 char * kwnames
[] = {
5658 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5664 arg1
= wxString_in_helper(obj0
);
5665 if (arg1
== NULL
) SWIG_fail
;
5671 arg2
= wxString_in_helper(obj1
);
5672 if (arg2
== NULL
) SWIG_fail
;
5678 arg3
= wxString_in_helper(obj2
);
5679 if (arg3
== NULL
) SWIG_fail
;
5685 arg4
= wxString_in_helper(obj3
);
5686 if (arg4
== NULL
) SWIG_fail
;
5692 arg5
= wxString_in_helper(obj4
);
5693 if (arg5
== NULL
) SWIG_fail
;
5698 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5699 if (!SWIG_IsOK(ecode6
)) {
5700 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5702 arg6
= static_cast< int >(val6
);
5705 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5706 if (!SWIG_IsOK(res7
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5709 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5712 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5713 if (!SWIG_IsOK(ecode8
)) {
5714 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5716 arg8
= static_cast< int >(val8
);
5719 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5720 if (!SWIG_IsOK(ecode9
)) {
5721 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5723 arg9
= static_cast< int >(val9
);
5726 if (!wxPyCheckForApp()) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5785 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
= 0;
5787 wxString
*arg1
= 0 ;
5788 wxString
*arg2
= 0 ;
5789 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5790 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5791 wxWindow
*arg4
= (wxWindow
*) NULL
;
5793 bool temp1
= false ;
5794 bool temp2
= false ;
5795 bool temp3
= false ;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5800 PyObject
* obj2
= 0 ;
5801 PyObject
* obj3
= 0 ;
5802 char * kwnames
[] = {
5803 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5808 arg1
= wxString_in_helper(obj0
);
5809 if (arg1
== NULL
) SWIG_fail
;
5813 arg2
= wxString_in_helper(obj1
);
5814 if (arg2
== NULL
) SWIG_fail
;
5819 arg3
= wxString_in_helper(obj2
);
5820 if (arg3
== NULL
) SWIG_fail
;
5825 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5826 if (!SWIG_IsOK(res4
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5829 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5832 if (!wxPyCheckForApp()) SWIG_fail
;
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5842 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5875 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
= 0;
5877 wxString
*arg1
= 0 ;
5878 wxString
*arg2
= 0 ;
5879 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5880 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5881 wxWindow
*arg4
= (wxWindow
*) NULL
;
5883 bool temp1
= false ;
5884 bool temp2
= false ;
5885 bool temp3
= false ;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5890 PyObject
* obj2
= 0 ;
5891 PyObject
* obj3
= 0 ;
5892 char * kwnames
[] = {
5893 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5898 arg1
= wxString_in_helper(obj0
);
5899 if (arg1
== NULL
) SWIG_fail
;
5903 arg2
= wxString_in_helper(obj1
);
5904 if (arg2
== NULL
) SWIG_fail
;
5909 arg3
= wxString_in_helper(obj2
);
5910 if (arg3
== NULL
) SWIG_fail
;
5915 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5916 if (!SWIG_IsOK(res4
)) {
5917 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5919 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5922 if (!wxPyCheckForApp()) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5965 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
*resultobj
= 0;
5967 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5968 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5969 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5970 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5971 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5974 wxWindow
*arg5
= (wxWindow
*) NULL
;
5976 bool temp1
= false ;
5977 bool temp2
= false ;
5983 PyObject
* obj0
= 0 ;
5984 PyObject
* obj1
= 0 ;
5985 PyObject
* obj2
= 0 ;
5986 PyObject
* obj3
= 0 ;
5987 PyObject
* obj4
= 0 ;
5988 char * kwnames
[] = {
5989 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5995 arg1
= wxString_in_helper(obj0
);
5996 if (arg1
== NULL
) SWIG_fail
;
6002 arg2
= wxString_in_helper(obj1
);
6003 if (arg2
== NULL
) SWIG_fail
;
6008 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6009 if (!SWIG_IsOK(ecode3
)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
6012 arg3
= static_cast< long >(val3
);
6017 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6021 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6022 if (!SWIG_IsOK(res5
)) {
6023 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
6025 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6028 if (!wxPyCheckForApp()) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6063 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6064 PyObject
*resultobj
= 0;
6065 wxString
*arg1
= 0 ;
6066 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6067 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6070 wxWindow
*arg4
= (wxWindow
*) NULL
;
6071 int arg5
= (int) -1 ;
6072 int arg6
= (int) -1 ;
6073 bool arg7
= (bool) true ;
6075 bool temp1
= false ;
6076 bool temp2
= false ;
6077 bool temp3
= false ;
6086 PyObject
* obj0
= 0 ;
6087 PyObject
* obj1
= 0 ;
6088 PyObject
* obj2
= 0 ;
6089 PyObject
* obj3
= 0 ;
6090 PyObject
* obj4
= 0 ;
6091 PyObject
* obj5
= 0 ;
6092 PyObject
* obj6
= 0 ;
6093 char * kwnames
[] = {
6094 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6099 arg1
= wxString_in_helper(obj0
);
6100 if (arg1
== NULL
) SWIG_fail
;
6105 arg2
= wxString_in_helper(obj1
);
6106 if (arg2
== NULL
) SWIG_fail
;
6112 arg3
= wxString_in_helper(obj2
);
6113 if (arg3
== NULL
) SWIG_fail
;
6118 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6119 if (!SWIG_IsOK(res4
)) {
6120 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6122 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6125 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6126 if (!SWIG_IsOK(ecode5
)) {
6127 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6129 arg5
= static_cast< int >(val5
);
6132 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6133 if (!SWIG_IsOK(ecode6
)) {
6134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6136 arg6
= static_cast< int >(val6
);
6139 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6140 if (!SWIG_IsOK(ecode7
)) {
6141 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6143 arg7
= static_cast< bool >(val7
);
6146 if (!wxPyCheckForApp()) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6149 wxPyEndAllowThreads(__tstate
);
6150 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6189 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
= 0;
6191 wxString
*arg1
= 0 ;
6192 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6193 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6194 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6195 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6196 wxWindow
*arg4
= (wxWindow
*) NULL
;
6198 bool temp1
= false ;
6199 bool temp2
= false ;
6200 bool temp3
= false ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 PyObject
* obj2
= 0 ;
6206 PyObject
* obj3
= 0 ;
6207 char * kwnames
[] = {
6208 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6213 arg1
= wxString_in_helper(obj0
);
6214 if (arg1
== NULL
) SWIG_fail
;
6219 arg2
= wxString_in_helper(obj1
);
6220 if (arg2
== NULL
) SWIG_fail
;
6226 arg3
= wxString_in_helper(obj2
);
6227 if (arg3
== NULL
) SWIG_fail
;
6232 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6233 if (!SWIG_IsOK(res4
)) {
6234 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6236 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6239 if (!wxPyCheckForApp()) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6282 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
= 0;
6284 wxString
*arg1
= 0 ;
6285 wxString
*arg2
= 0 ;
6287 wxString
*arg4
= (wxString
*) 0 ;
6288 wxWindow
*arg5
= (wxWindow
*) NULL
;
6289 int arg6
= (int) -1 ;
6290 int arg7
= (int) -1 ;
6291 bool arg8
= (bool) true ;
6292 int arg9
= (int) 150 ;
6293 int arg10
= (int) 200 ;
6295 bool temp1
= false ;
6296 bool temp2
= false ;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6311 PyObject
* obj2
= 0 ;
6312 PyObject
* obj3
= 0 ;
6313 PyObject
* obj4
= 0 ;
6314 PyObject
* obj5
= 0 ;
6315 PyObject
* obj6
= 0 ;
6316 PyObject
* obj7
= 0 ;
6317 PyObject
* obj8
= 0 ;
6318 char * kwnames
[] = {
6319 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6324 arg1
= wxString_in_helper(obj0
);
6325 if (arg1
== NULL
) SWIG_fail
;
6329 arg2
= wxString_in_helper(obj1
);
6330 if (arg2
== NULL
) SWIG_fail
;
6334 arg3
= PyList_Size(obj2
);
6335 arg4
= wxString_LIST_helper(obj2
);
6336 if (arg4
== NULL
) SWIG_fail
;
6339 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6340 if (!SWIG_IsOK(res5
)) {
6341 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6343 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6346 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6347 if (!SWIG_IsOK(ecode6
)) {
6348 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6350 arg6
= static_cast< int >(val6
);
6353 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6354 if (!SWIG_IsOK(ecode7
)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6357 arg7
= static_cast< int >(val7
);
6360 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6361 if (!SWIG_IsOK(ecode8
)) {
6362 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6364 arg8
= static_cast< bool >(val8
);
6367 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6368 if (!SWIG_IsOK(ecode9
)) {
6369 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6371 arg9
= static_cast< int >(val9
);
6374 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6375 if (!SWIG_IsOK(ecode10
)) {
6376 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6378 arg10
= static_cast< int >(val10
);
6381 if (!wxPyCheckForApp()) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6403 if (arg4
) delete [] arg4
;
6416 if (arg4
) delete [] arg4
;
6422 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
= 0;
6424 wxString
*arg1
= 0 ;
6425 wxString
*arg2
= 0 ;
6427 wxString
*arg4
= (wxString
*) 0 ;
6428 wxWindow
*arg5
= (wxWindow
*) NULL
;
6429 int arg6
= (int) -1 ;
6430 int arg7
= (int) -1 ;
6431 bool arg8
= (bool) true ;
6432 int arg9
= (int) 150 ;
6433 int arg10
= (int) 200 ;
6435 bool temp1
= false ;
6436 bool temp2
= false ;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6451 PyObject
* obj2
= 0 ;
6452 PyObject
* obj3
= 0 ;
6453 PyObject
* obj4
= 0 ;
6454 PyObject
* obj5
= 0 ;
6455 PyObject
* obj6
= 0 ;
6456 PyObject
* obj7
= 0 ;
6457 PyObject
* obj8
= 0 ;
6458 char * kwnames
[] = {
6459 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6464 arg1
= wxString_in_helper(obj0
);
6465 if (arg1
== NULL
) SWIG_fail
;
6469 arg2
= wxString_in_helper(obj1
);
6470 if (arg2
== NULL
) SWIG_fail
;
6474 arg3
= PyList_Size(obj2
);
6475 arg4
= wxString_LIST_helper(obj2
);
6476 if (arg4
== NULL
) SWIG_fail
;
6479 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6480 if (!SWIG_IsOK(res5
)) {
6481 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6483 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6486 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6487 if (!SWIG_IsOK(ecode6
)) {
6488 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6490 arg6
= static_cast< int >(val6
);
6493 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6494 if (!SWIG_IsOK(ecode7
)) {
6495 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6497 arg7
= static_cast< int >(val7
);
6500 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6501 if (!SWIG_IsOK(ecode8
)) {
6502 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6504 arg8
= static_cast< bool >(val8
);
6507 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6508 if (!SWIG_IsOK(ecode9
)) {
6509 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6511 arg9
= static_cast< int >(val9
);
6514 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6515 if (!SWIG_IsOK(ecode10
)) {
6516 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6518 arg10
= static_cast< int >(val10
);
6521 if (!wxPyCheckForApp()) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_From_int(static_cast< int >(result
));
6537 if (arg4
) delete [] arg4
;
6550 if (arg4
) delete [] arg4
;
6556 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
= 0;
6558 wxString
*arg1
= 0 ;
6559 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6560 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6561 int arg3
= (int) wxOK
|wxCENTRE
;
6562 wxWindow
*arg4
= (wxWindow
*) NULL
;
6563 int arg5
= (int) -1 ;
6564 int arg6
= (int) -1 ;
6566 bool temp1
= false ;
6567 bool temp2
= false ;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6578 PyObject
* obj2
= 0 ;
6579 PyObject
* obj3
= 0 ;
6580 PyObject
* obj4
= 0 ;
6581 PyObject
* obj5
= 0 ;
6582 char * kwnames
[] = {
6583 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6588 arg1
= wxString_in_helper(obj0
);
6589 if (arg1
== NULL
) SWIG_fail
;
6594 arg2
= wxString_in_helper(obj1
);
6595 if (arg2
== NULL
) SWIG_fail
;
6600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6601 if (!SWIG_IsOK(ecode3
)) {
6602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6604 arg3
= static_cast< int >(val3
);
6607 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6608 if (!SWIG_IsOK(res4
)) {
6609 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6611 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6614 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6615 if (!SWIG_IsOK(ecode5
)) {
6616 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6618 arg5
= static_cast< int >(val5
);
6621 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6622 if (!SWIG_IsOK(ecode6
)) {
6623 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6625 arg6
= static_cast< int >(val6
);
6628 if (!wxPyCheckForApp()) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= SWIG_From_int(static_cast< int >(result
));
6657 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
= 0;
6659 wxString
*arg1
= 0 ;
6660 wxString
*arg2
= 0 ;
6661 wxString
*arg3
= 0 ;
6663 long arg5
= (long) 0 ;
6664 long arg6
= (long) 100 ;
6665 wxWindow
*arg7
= (wxWindow
*) NULL
;
6666 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6667 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6669 bool temp1
= false ;
6670 bool temp2
= false ;
6671 bool temp3
= false ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 PyObject
* obj2
= 0 ;
6684 PyObject
* obj3
= 0 ;
6685 PyObject
* obj4
= 0 ;
6686 PyObject
* obj5
= 0 ;
6687 PyObject
* obj6
= 0 ;
6688 PyObject
* obj7
= 0 ;
6689 char * kwnames
[] = {
6690 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6695 arg1
= wxString_in_helper(obj0
);
6696 if (arg1
== NULL
) SWIG_fail
;
6700 arg2
= wxString_in_helper(obj1
);
6701 if (arg2
== NULL
) SWIG_fail
;
6705 arg3
= wxString_in_helper(obj2
);
6706 if (arg3
== NULL
) SWIG_fail
;
6709 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6710 if (!SWIG_IsOK(ecode4
)) {
6711 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6713 arg4
= static_cast< long >(val4
);
6715 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6716 if (!SWIG_IsOK(ecode5
)) {
6717 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6719 arg5
= static_cast< long >(val5
);
6722 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6723 if (!SWIG_IsOK(ecode6
)) {
6724 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6726 arg6
= static_cast< long >(val6
);
6729 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6730 if (!SWIG_IsOK(res7
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6733 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6738 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6742 if (!wxPyCheckForApp()) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= SWIG_From_long(static_cast< long >(result
));
6779 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6780 PyObject
*resultobj
= 0;
6783 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6785 if (!wxPyCheckForApp()) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (bool)wxColourDisplay();
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) SWIG_fail
;
6792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6800 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6801 PyObject
*resultobj
= 0;
6804 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6806 if (!wxPyCheckForApp()) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (int)wxDisplayDepth();
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_From_int(static_cast< int >(result
));
6819 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6820 PyObject
*resultobj
= 0;
6823 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6825 if (!wxPyCheckForApp()) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (int)wxGetDisplayDepth();
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_From_int(static_cast< int >(result
));
6838 SWIGINTERN PyObject
*_wrap_DisplaySize(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
,"DisplaySize",0,0,0)) SWIG_fail
;
6851 if (!wxPyCheckForApp()) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 wxDisplaySize(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_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6877 PyObject
*resultobj
= 0;
6880 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6882 if (!wxPyCheckForApp()) SWIG_fail
;
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 result
= wxGetDisplaySize();
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_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6896 PyObject
*resultobj
= 0;
6897 int *arg1
= (int *) 0 ;
6898 int *arg2
= (int *) 0 ;
6900 int res1
= SWIG_TMPOBJ
;
6902 int res2
= SWIG_TMPOBJ
;
6906 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6908 if (!wxPyCheckForApp()) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 wxDisplaySizeMM(arg1
,arg2
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_Py_Void();
6915 if (SWIG_IsTmpObj(res1
)) {
6916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6918 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6921 if (SWIG_IsTmpObj(res2
)) {
6922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6924 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6933 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6934 PyObject
*resultobj
= 0;
6937 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6939 if (!wxPyCheckForApp()) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= wxGetDisplaySizeMM();
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6945 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6952 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6953 PyObject
*resultobj
= 0;
6954 int *arg1
= (int *) 0 ;
6955 int *arg2
= (int *) 0 ;
6956 int *arg3
= (int *) 0 ;
6957 int *arg4
= (int *) 0 ;
6959 int res1
= SWIG_TMPOBJ
;
6961 int res2
= SWIG_TMPOBJ
;
6963 int res3
= SWIG_TMPOBJ
;
6965 int res4
= SWIG_TMPOBJ
;
6971 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6973 if (!wxPyCheckForApp()) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= SWIG_Py_Void();
6980 if (SWIG_IsTmpObj(res1
)) {
6981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6983 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6986 if (SWIG_IsTmpObj(res2
)) {
6987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6989 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6992 if (SWIG_IsTmpObj(res3
)) {
6993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6995 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6996 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6998 if (SWIG_IsTmpObj(res4
)) {
6999 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
7001 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
7002 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
7010 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7011 PyObject
*resultobj
= 0;
7014 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
7016 if (!wxPyCheckForApp()) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 result
= wxGetClientDisplayRect();
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) SWIG_fail
;
7022 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7029 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
= 0;
7031 wxCursor
*arg1
= 0 ;
7034 PyObject
* obj0
= 0 ;
7035 char * kwnames
[] = {
7036 (char *) "cursor", NULL
7039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
7040 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
7041 if (!SWIG_IsOK(res1
)) {
7042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7047 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7049 if (!wxPyCheckForApp()) SWIG_fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= SWIG_Py_Void();
7062 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7063 PyObject
*resultobj
= 0;
7066 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7068 if (!wxPyCheckForApp()) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (void *)wxGetXDisplay();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7081 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
= 0;
7083 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7086 PyObject
* obj0
= 0 ;
7087 char * kwnames
[] = {
7088 (char *) "cursor", NULL
7091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7094 if (!SWIG_IsOK(res1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7097 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7100 if (!wxPyCheckForApp()) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 wxBeginBusyCursor(arg1
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= SWIG_Py_Void();
7113 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7114 PyObject
*resultobj
= 0;
7117 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7119 if (!wxPyCheckForApp()) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 result
= wxGetMousePosition();
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7132 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7133 PyObject
*resultobj
= 0;
7134 wxWindow
*result
= 0 ;
7136 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7138 if (!wxPyCheckForApp()) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (wxWindow
*)FindWindowAtPointer();
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= wxPyMake_wxObject(result
, 0);
7153 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7154 PyObject
*resultobj
= 0;
7155 wxWindow
*result
= 0 ;
7157 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7159 if (!wxPyCheckForApp()) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (wxWindow
*)wxGetActiveWindow();
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= wxPyMake_wxObject(result
, 0);
7174 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
= 0;
7177 wxWindow
*result
= 0 ;
7179 PyObject
* obj0
= 0 ;
7180 char * kwnames
[] = {
7184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7187 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7190 if (!wxPyCheckForApp()) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7197 resultobj
= wxPyMake_wxObject(result
, 0);
7205 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
*resultobj
= 0;
7208 wxWindow
*result
= 0 ;
7210 PyObject
* obj0
= 0 ;
7211 char * kwnames
[] = {
7215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7218 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7221 if (!wxPyCheckForApp()) SWIG_fail
;
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7228 resultobj
= wxPyMake_wxObject(result
, 0);
7236 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
= 0;
7238 wxWindow
*arg1
= (wxWindow
*) 0 ;
7239 wxWindow
*result
= 0 ;
7242 PyObject
* obj0
= 0 ;
7243 char * kwnames
[] = {
7244 (char *) "win", NULL
7247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7249 if (!SWIG_IsOK(res1
)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7252 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7254 if (!wxPyCheckForApp()) SWIG_fail
;
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= wxPyMake_wxObject(result
, 0);
7269 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
= 0;
7271 wxString
*arg1
= 0 ;
7273 bool temp1
= false ;
7274 PyObject
* obj0
= 0 ;
7275 char * kwnames
[] = {
7276 (char *) "url", NULL
7279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7281 arg1
= wxString_in_helper(obj0
);
7282 if (arg1
== NULL
) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7308 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
= 0;
7314 PyObject
* obj0
= 0 ;
7315 char * kwnames
[] = {
7316 (char *) "key", NULL
7319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7320 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7321 if (!SWIG_IsOK(ecode1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7324 arg1
= static_cast< wxKeyCode
>(val1
);
7326 if (!wxPyCheckForApp()) SWIG_fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 result
= (bool)wxGetKeyState(arg1
);
7329 wxPyEndAllowThreads(__tstate
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7341 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7342 PyObject
*resultobj
= 0;
7343 wxMouseState
*result
= 0 ;
7345 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (wxMouseState
*)new wxMouseState();
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7359 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7360 PyObject
*resultobj
= 0;
7361 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
, SWIG_POINTER_DISOWN
| 0 );
7369 if (!SWIG_IsOK(res1
)) {
7370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7372 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_Py_Void();
7387 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7388 PyObject
*resultobj
= 0;
7389 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7393 PyObject
*swig_obj
[1] ;
7395 if (!args
) SWIG_fail
;
7397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7398 if (!SWIG_IsOK(res1
)) {
7399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7401 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 result
= (int)(arg1
)->GetX();
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_From_int(static_cast< int >(result
));
7415 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7416 PyObject
*resultobj
= 0;
7417 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7421 PyObject
*swig_obj
[1] ;
7423 if (!args
) SWIG_fail
;
7425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7426 if (!SWIG_IsOK(res1
)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7429 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (int)(arg1
)->GetY();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= SWIG_From_int(static_cast< int >(result
));
7443 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7444 PyObject
*resultobj
= 0;
7445 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7449 PyObject
*swig_obj
[1] ;
7451 if (!args
) SWIG_fail
;
7453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7454 if (!SWIG_IsOK(res1
)) {
7455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7457 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 result
= (bool)(arg1
)->LeftDown();
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7473 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7474 PyObject
*resultobj
= 0;
7475 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7479 PyObject
*swig_obj
[1] ;
7481 if (!args
) SWIG_fail
;
7483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7484 if (!SWIG_IsOK(res1
)) {
7485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7487 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (bool)(arg1
)->MiddleDown();
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7503 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7504 PyObject
*resultobj
= 0;
7505 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7509 PyObject
*swig_obj
[1] ;
7511 if (!args
) SWIG_fail
;
7513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7514 if (!SWIG_IsOK(res1
)) {
7515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7517 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 result
= (bool)(arg1
)->RightDown();
7521 wxPyEndAllowThreads(__tstate
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7533 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7534 PyObject
*resultobj
= 0;
7535 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7539 PyObject
*swig_obj
[1] ;
7541 if (!args
) SWIG_fail
;
7543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7544 if (!SWIG_IsOK(res1
)) {
7545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7547 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 result
= (bool)(arg1
)->ControlDown();
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7563 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7564 PyObject
*resultobj
= 0;
7565 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7569 PyObject
*swig_obj
[1] ;
7571 if (!args
) SWIG_fail
;
7573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7574 if (!SWIG_IsOK(res1
)) {
7575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7577 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (bool)(arg1
)->ShiftDown();
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7593 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7594 PyObject
*resultobj
= 0;
7595 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7599 PyObject
*swig_obj
[1] ;
7601 if (!args
) SWIG_fail
;
7603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7604 if (!SWIG_IsOK(res1
)) {
7605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7607 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 result
= (bool)(arg1
)->AltDown();
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7623 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7624 PyObject
*resultobj
= 0;
7625 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7629 PyObject
*swig_obj
[1] ;
7631 if (!args
) SWIG_fail
;
7633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7634 if (!SWIG_IsOK(res1
)) {
7635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7637 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (bool)(arg1
)->MetaDown();
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7653 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7654 PyObject
*resultobj
= 0;
7655 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7659 PyObject
*swig_obj
[1] ;
7661 if (!args
) SWIG_fail
;
7663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7664 if (!SWIG_IsOK(res1
)) {
7665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7667 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (bool)(arg1
)->CmdDown();
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7683 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
= 0;
7685 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7693 char * kwnames
[] = {
7694 (char *) "self",(char *) "x", NULL
7697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7699 if (!SWIG_IsOK(res1
)) {
7700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7702 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7704 if (!SWIG_IsOK(ecode2
)) {
7705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7707 arg2
= static_cast< int >(val2
);
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= SWIG_Py_Void();
7721 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
*resultobj
= 0;
7723 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7729 PyObject
* obj0
= 0 ;
7730 PyObject
* obj1
= 0 ;
7731 char * kwnames
[] = {
7732 (char *) "self",(char *) "y", NULL
7735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7737 if (!SWIG_IsOK(res1
)) {
7738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7740 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7742 if (!SWIG_IsOK(ecode2
)) {
7743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7745 arg2
= static_cast< int >(val2
);
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_Py_Void();
7759 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
= 0;
7761 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7767 PyObject
* obj0
= 0 ;
7768 PyObject
* obj1
= 0 ;
7769 char * kwnames
[] = {
7770 (char *) "self",(char *) "down", NULL
7773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7775 if (!SWIG_IsOK(res1
)) {
7776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7778 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7779 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7780 if (!SWIG_IsOK(ecode2
)) {
7781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7783 arg2
= static_cast< bool >(val2
);
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 (arg1
)->SetLeftDown(arg2
);
7787 wxPyEndAllowThreads(__tstate
);
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_Py_Void();
7797 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
= 0;
7799 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7807 char * kwnames
[] = {
7808 (char *) "self",(char *) "down", NULL
7811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7813 if (!SWIG_IsOK(res1
)) {
7814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7816 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7817 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7818 if (!SWIG_IsOK(ecode2
)) {
7819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7821 arg2
= static_cast< bool >(val2
);
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 (arg1
)->SetMiddleDown(arg2
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 resultobj
= SWIG_Py_Void();
7835 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
= 0;
7837 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7844 PyObject
* obj1
= 0 ;
7845 char * kwnames
[] = {
7846 (char *) "self",(char *) "down", NULL
7849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7851 if (!SWIG_IsOK(res1
)) {
7852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7854 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7855 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7856 if (!SWIG_IsOK(ecode2
)) {
7857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7859 arg2
= static_cast< bool >(val2
);
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 (arg1
)->SetRightDown(arg2
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= SWIG_Py_Void();
7873 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
= 0;
7875 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7882 PyObject
* obj1
= 0 ;
7883 char * kwnames
[] = {
7884 (char *) "self",(char *) "down", NULL
7887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7889 if (!SWIG_IsOK(res1
)) {
7890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7892 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7893 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7894 if (!SWIG_IsOK(ecode2
)) {
7895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7897 arg2
= static_cast< bool >(val2
);
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 (arg1
)->SetControlDown(arg2
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_Py_Void();
7911 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
= 0;
7913 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7921 char * kwnames
[] = {
7922 (char *) "self",(char *) "down", NULL
7925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7927 if (!SWIG_IsOK(res1
)) {
7928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7930 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7931 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7932 if (!SWIG_IsOK(ecode2
)) {
7933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7935 arg2
= static_cast< bool >(val2
);
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 (arg1
)->SetShiftDown(arg2
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_Py_Void();
7949 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
= 0;
7951 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7957 PyObject
* obj0
= 0 ;
7958 PyObject
* obj1
= 0 ;
7959 char * kwnames
[] = {
7960 (char *) "self",(char *) "down", NULL
7963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7965 if (!SWIG_IsOK(res1
)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7968 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7969 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7970 if (!SWIG_IsOK(ecode2
)) {
7971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7973 arg2
= static_cast< bool >(val2
);
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 (arg1
)->SetAltDown(arg2
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= SWIG_Py_Void();
7987 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7988 PyObject
*resultobj
= 0;
7989 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7995 PyObject
* obj0
= 0 ;
7996 PyObject
* obj1
= 0 ;
7997 char * kwnames
[] = {
7998 (char *) "self",(char *) "down", NULL
8001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
8003 if (!SWIG_IsOK(res1
)) {
8004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
8006 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
8007 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8008 if (!SWIG_IsOK(ecode2
)) {
8009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
8011 arg2
= static_cast< bool >(val2
);
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 (arg1
)->SetMetaDown(arg2
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= SWIG_Py_Void();
8025 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8028 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
8029 return SWIG_Py_Void();
8032 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 return SWIG_Python_InitShadowInstance(args
);
8036 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8037 PyObject
*resultobj
= 0;
8038 wxMouseState result
;
8040 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 result
= wxGetMouseState();
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8054 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8055 PyObject
*resultobj
= 0;
8057 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8059 if (!wxPyCheckForApp()) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 wxWakeUpMainThread();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= SWIG_Py_Void();
8072 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8073 PyObject
*resultobj
= 0;
8075 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8077 if (!wxPyCheckForApp()) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= SWIG_Py_Void();
8090 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8091 PyObject
*resultobj
= 0;
8093 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8095 if (!wxPyCheckForApp()) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= SWIG_Py_Void();
8108 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8109 PyObject
*resultobj
= 0;
8110 wxMutexGuiLocker
*result
= 0 ;
8112 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8114 if (!wxPyCheckForApp()) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8127 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8128 PyObject
*resultobj
= 0;
8129 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8132 PyObject
*swig_obj
[1] ;
8134 if (!args
) SWIG_fail
;
8136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8137 if (!SWIG_IsOK(res1
)) {
8138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8140 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_Py_Void();
8155 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8158 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8159 return SWIG_Py_Void();
8162 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8163 return SWIG_Python_InitShadowInstance(args
);
8166 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8167 PyObject
*resultobj
= 0;
8170 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (bool)wxThread_IsMain();
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8186 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
= 0;
8188 wxString
*arg1
= 0 ;
8189 wxToolTip
*result
= 0 ;
8190 bool temp1
= false ;
8191 PyObject
* obj0
= 0 ;
8192 char * kwnames
[] = {
8193 (char *) "tip", NULL
8196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8198 arg1
= wxString_in_helper(obj0
);
8199 if (arg1
== NULL
) SWIG_fail
;
8203 if (!wxPyCheckForApp()) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8224 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8225 PyObject
*resultobj
= 0;
8226 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8229 PyObject
*swig_obj
[1] ;
8231 if (!args
) SWIG_fail
;
8233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8234 if (!SWIG_IsOK(res1
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8237 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= SWIG_Py_Void();
8252 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
= 0;
8254 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8255 wxString
*arg2
= 0 ;
8258 bool temp2
= false ;
8259 PyObject
* obj0
= 0 ;
8260 PyObject
* obj1
= 0 ;
8261 char * kwnames
[] = {
8262 (char *) "self",(char *) "tip", NULL
8265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8267 if (!SWIG_IsOK(res1
)) {
8268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8270 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8272 arg2
= wxString_in_helper(obj1
);
8273 if (arg2
== NULL
) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 (arg1
)->SetTip((wxString
const &)*arg2
);
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 resultobj
= SWIG_Py_Void();
8297 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8298 PyObject
*resultobj
= 0;
8299 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8303 PyObject
*swig_obj
[1] ;
8305 if (!args
) SWIG_fail
;
8307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8308 if (!SWIG_IsOK(res1
)) {
8309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8311 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= (arg1
)->GetTip();
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8331 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8332 PyObject
*resultobj
= 0;
8333 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8334 wxWindow
*result
= 0 ;
8337 PyObject
*swig_obj
[1] ;
8339 if (!args
) SWIG_fail
;
8341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8342 if (!SWIG_IsOK(res1
)) {
8343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8345 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 result
= (wxWindow
*)(arg1
)->GetWindow();
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= wxPyMake_wxObject(result
, 0);
8361 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8362 PyObject
*resultobj
= 0;
8366 PyObject
* obj0
= 0 ;
8367 char * kwnames
[] = {
8368 (char *) "flag", NULL
8371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8372 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8373 if (!SWIG_IsOK(ecode1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8376 arg1
= static_cast< bool >(val1
);
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 wxToolTip::Enable(arg1
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= SWIG_Py_Void();
8390 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
= 0;
8395 PyObject
* obj0
= 0 ;
8396 char * kwnames
[] = {
8397 (char *) "milliseconds", NULL
8400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8401 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8402 if (!SWIG_IsOK(ecode1
)) {
8403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8405 arg1
= static_cast< long >(val1
);
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 wxToolTip::SetDelay(arg1
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_Py_Void();
8419 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8422 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8423 return SWIG_Py_Void();
8426 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8427 return SWIG_Python_InitShadowInstance(args
);
8430 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
= 0;
8432 wxWindow
*arg1
= (wxWindow
*) 0 ;
8434 wxCaret
*result
= 0 ;
8438 PyObject
* obj0
= 0 ;
8439 PyObject
* obj1
= 0 ;
8440 char * kwnames
[] = {
8441 (char *) "window",(char *) "size", NULL
8444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8446 if (!SWIG_IsOK(res1
)) {
8447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8449 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8452 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8455 if (!wxPyCheckForApp()) SWIG_fail
;
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8468 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8469 PyObject
*resultobj
= 0;
8470 wxCaret
*arg1
= (wxCaret
*) 0 ;
8473 PyObject
*swig_obj
[1] ;
8475 if (!args
) SWIG_fail
;
8477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8478 if (!SWIG_IsOK(res1
)) {
8479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8481 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_Py_Void();
8496 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8497 PyObject
*resultobj
= 0;
8498 wxCaret
*arg1
= (wxCaret
*) 0 ;
8501 PyObject
*swig_obj
[1] ;
8503 if (!args
) SWIG_fail
;
8505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8506 if (!SWIG_IsOK(res1
)) {
8507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8509 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8512 wxCaret_Destroy(arg1
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= SWIG_Py_Void();
8523 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8524 PyObject
*resultobj
= 0;
8525 wxCaret
*arg1
= (wxCaret
*) 0 ;
8529 PyObject
*swig_obj
[1] ;
8531 if (!args
) SWIG_fail
;
8533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8534 if (!SWIG_IsOK(res1
)) {
8535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8537 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 result
= (bool)(arg1
)->IsOk();
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8553 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8554 PyObject
*resultobj
= 0;
8555 wxCaret
*arg1
= (wxCaret
*) 0 ;
8559 PyObject
*swig_obj
[1] ;
8561 if (!args
) SWIG_fail
;
8563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8564 if (!SWIG_IsOK(res1
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8567 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= (bool)(arg1
)->IsVisible();
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8583 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8584 PyObject
*resultobj
= 0;
8585 wxCaret
*arg1
= (wxCaret
*) 0 ;
8589 PyObject
*swig_obj
[1] ;
8591 if (!args
) SWIG_fail
;
8593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8594 if (!SWIG_IsOK(res1
)) {
8595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8597 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (arg1
)->GetPosition();
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8604 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8611 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8612 PyObject
*resultobj
= 0;
8613 wxCaret
*arg1
= (wxCaret
*) 0 ;
8614 int *arg2
= (int *) 0 ;
8615 int *arg3
= (int *) 0 ;
8619 int res2
= SWIG_TMPOBJ
;
8621 int res3
= SWIG_TMPOBJ
;
8622 PyObject
*swig_obj
[1] ;
8626 if (!args
) SWIG_fail
;
8628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8629 if (!SWIG_IsOK(res1
)) {
8630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8632 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 (arg1
)->GetPosition(arg2
,arg3
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_Py_Void();
8640 if (SWIG_IsTmpObj(res2
)) {
8641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8643 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8646 if (SWIG_IsTmpObj(res3
)) {
8647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8649 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8658 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8659 PyObject
*resultobj
= 0;
8660 wxCaret
*arg1
= (wxCaret
*) 0 ;
8664 PyObject
*swig_obj
[1] ;
8666 if (!args
) SWIG_fail
;
8668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8669 if (!SWIG_IsOK(res1
)) {
8670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8672 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 result
= (arg1
)->GetSize();
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8686 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8687 PyObject
*resultobj
= 0;
8688 wxCaret
*arg1
= (wxCaret
*) 0 ;
8689 int *arg2
= (int *) 0 ;
8690 int *arg3
= (int *) 0 ;
8694 int res2
= SWIG_TMPOBJ
;
8696 int res3
= SWIG_TMPOBJ
;
8697 PyObject
*swig_obj
[1] ;
8701 if (!args
) SWIG_fail
;
8703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8704 if (!SWIG_IsOK(res1
)) {
8705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8707 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 (arg1
)->GetSize(arg2
,arg3
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= SWIG_Py_Void();
8715 if (SWIG_IsTmpObj(res2
)) {
8716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8718 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8721 if (SWIG_IsTmpObj(res3
)) {
8722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8724 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8733 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8734 PyObject
*resultobj
= 0;
8735 wxCaret
*arg1
= (wxCaret
*) 0 ;
8736 wxWindow
*result
= 0 ;
8739 PyObject
*swig_obj
[1] ;
8741 if (!args
) SWIG_fail
;
8743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8744 if (!SWIG_IsOK(res1
)) {
8745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8747 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (wxWindow
*)(arg1
)->GetWindow();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= wxPyMake_wxObject(result
, 0);
8763 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
= 0;
8765 wxCaret
*arg1
= (wxCaret
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8775 PyObject
* obj1
= 0 ;
8776 PyObject
* obj2
= 0 ;
8777 char * kwnames
[] = {
8778 (char *) "self",(char *) "x",(char *) "y", NULL
8781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8783 if (!SWIG_IsOK(res1
)) {
8784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8786 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8788 if (!SWIG_IsOK(ecode2
)) {
8789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8791 arg2
= static_cast< int >(val2
);
8792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8793 if (!SWIG_IsOK(ecode3
)) {
8794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8796 arg3
= static_cast< int >(val3
);
8798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8799 (arg1
)->Move(arg2
,arg3
);
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 resultobj
= SWIG_Py_Void();
8810 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
= 0;
8812 wxCaret
*arg1
= (wxCaret
*) 0 ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 char * kwnames
[] = {
8820 (char *) "self",(char *) "pt", NULL
8823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8825 if (!SWIG_IsOK(res1
)) {
8826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8828 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8831 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 (arg1
)->Move((wxPoint
const &)*arg2
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= SWIG_Py_Void();
8846 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
= 0;
8848 wxCaret
*arg1
= (wxCaret
*) 0 ;
8857 PyObject
* obj0
= 0 ;
8858 PyObject
* obj1
= 0 ;
8859 PyObject
* obj2
= 0 ;
8860 char * kwnames
[] = {
8861 (char *) "self",(char *) "width",(char *) "height", NULL
8864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8866 if (!SWIG_IsOK(res1
)) {
8867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8869 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8871 if (!SWIG_IsOK(ecode2
)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8874 arg2
= static_cast< int >(val2
);
8875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8876 if (!SWIG_IsOK(ecode3
)) {
8877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8879 arg3
= static_cast< int >(val3
);
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 (arg1
)->SetSize(arg2
,arg3
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= SWIG_Py_Void();
8893 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
= 0;
8895 wxCaret
*arg1
= (wxCaret
*) 0 ;
8900 PyObject
* obj0
= 0 ;
8901 PyObject
* obj1
= 0 ;
8902 char * kwnames
[] = {
8903 (char *) "self",(char *) "size", NULL
8906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8908 if (!SWIG_IsOK(res1
)) {
8909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8911 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8914 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 (arg1
)->SetSize((wxSize
const &)*arg2
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8922 resultobj
= SWIG_Py_Void();
8929 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
= 0;
8931 wxCaret
*arg1
= (wxCaret
*) 0 ;
8932 int arg2
= (int) true ;
8937 PyObject
* obj0
= 0 ;
8938 PyObject
* obj1
= 0 ;
8939 char * kwnames
[] = {
8940 (char *) "self",(char *) "show", NULL
8943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8945 if (!SWIG_IsOK(res1
)) {
8946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8948 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8951 if (!SWIG_IsOK(ecode2
)) {
8952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8954 arg2
= static_cast< int >(val2
);
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= SWIG_Py_Void();
8969 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8970 PyObject
*resultobj
= 0;
8971 wxCaret
*arg1
= (wxCaret
*) 0 ;
8974 PyObject
*swig_obj
[1] ;
8976 if (!args
) SWIG_fail
;
8978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8979 if (!SWIG_IsOK(res1
)) {
8980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8982 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= SWIG_Py_Void();
8996 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8997 PyObject
*resultobj
= 0;
9000 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= (int)wxCaret::GetBlinkTime();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= SWIG_From_int(static_cast< int >(result
));
9014 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
= 0;
9019 PyObject
* obj0
= 0 ;
9020 char * kwnames
[] = {
9021 (char *) "milliseconds", NULL
9024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
9025 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9026 if (!SWIG_IsOK(ecode1
)) {
9027 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
9029 arg1
= static_cast< int >(val1
);
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 wxCaret::SetBlinkTime(arg1
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= SWIG_Py_Void();
9043 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9046 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
9047 return SWIG_Py_Void();
9050 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9051 return SWIG_Python_InitShadowInstance(args
);
9054 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
= 0;
9056 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9057 wxBusyCursor
*result
= 0 ;
9060 PyObject
* obj0
= 0 ;
9061 char * kwnames
[] = {
9062 (char *) "cursor", NULL
9065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9068 if (!SWIG_IsOK(res1
)) {
9069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9071 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9074 if (!wxPyCheckForApp()) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9087 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9088 PyObject
*resultobj
= 0;
9089 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9092 PyObject
*swig_obj
[1] ;
9094 if (!args
) SWIG_fail
;
9096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9097 if (!SWIG_IsOK(res1
)) {
9098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9100 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= SWIG_Py_Void();
9115 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9118 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9119 return SWIG_Py_Void();
9122 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9123 return SWIG_Python_InitShadowInstance(args
);
9126 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
= 0;
9128 wxWindow
*arg1
= (wxWindow
*) NULL
;
9129 wxWindowDisabler
*result
= 0 ;
9132 PyObject
* obj0
= 0 ;
9133 char * kwnames
[] = {
9134 (char *) "winToSkip", NULL
9137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9140 if (!SWIG_IsOK(res1
)) {
9141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9143 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9146 if (!wxPyCheckForApp()) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9159 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9160 PyObject
*resultobj
= 0;
9161 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9164 PyObject
*swig_obj
[1] ;
9166 if (!args
) SWIG_fail
;
9168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9169 if (!SWIG_IsOK(res1
)) {
9170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9172 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_Py_Void();
9187 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9190 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9191 return SWIG_Py_Void();
9194 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9195 return SWIG_Python_InitShadowInstance(args
);
9198 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
= 0;
9200 wxString
*arg1
= 0 ;
9201 wxWindow
*arg2
= (wxWindow
*) NULL
;
9202 wxBusyInfo
*result
= 0 ;
9203 bool temp1
= false ;
9206 PyObject
* obj0
= 0 ;
9207 PyObject
* obj1
= 0 ;
9208 char * kwnames
[] = {
9209 (char *) "message",(char *) "parent", NULL
9212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BusyInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9214 arg1
= wxString_in_helper(obj0
);
9215 if (arg1
== NULL
) SWIG_fail
;
9219 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9220 if (!SWIG_IsOK(res2
)) {
9221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BusyInfo" "', expected argument " "2"" of type '" "wxWindow *""'");
9223 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9226 if (!wxPyCheckForApp()) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
,arg2
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9247 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9248 PyObject
*resultobj
= 0;
9249 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9252 PyObject
*swig_obj
[1] ;
9254 if (!args
) SWIG_fail
;
9256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9257 if (!SWIG_IsOK(res1
)) {
9258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9260 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_Py_Void();
9275 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9278 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9279 return SWIG_Py_Void();
9282 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9283 return SWIG_Python_InitShadowInstance(args
);
9286 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9287 PyObject
*resultobj
= 0;
9288 wxStopWatch
*result
= 0 ;
9290 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (wxStopWatch
*)new wxStopWatch();
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9304 SWIGINTERN PyObject
*_wrap_delete_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9305 PyObject
*resultobj
= 0;
9306 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9309 PyObject
*swig_obj
[1] ;
9311 if (!args
) SWIG_fail
;
9313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_DISOWN
| 0 );
9314 if (!SWIG_IsOK(res1
)) {
9315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StopWatch" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9317 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9325 resultobj
= SWIG_Py_Void();
9332 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
= 0;
9334 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9335 long arg2
= (long) 0 ;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9342 char * kwnames
[] = {
9343 (char *) "self",(char *) "t0", NULL
9346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9351 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9353 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9354 if (!SWIG_IsOK(ecode2
)) {
9355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9357 arg2
= static_cast< long >(val2
);
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 (arg1
)->Start(arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_Py_Void();
9372 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9373 PyObject
*resultobj
= 0;
9374 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9377 PyObject
*swig_obj
[1] ;
9379 if (!args
) SWIG_fail
;
9381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9382 if (!SWIG_IsOK(res1
)) {
9383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9385 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_Py_Void();
9399 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9400 PyObject
*resultobj
= 0;
9401 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9404 PyObject
*swig_obj
[1] ;
9406 if (!args
) SWIG_fail
;
9408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9409 if (!SWIG_IsOK(res1
)) {
9410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9412 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_Py_Void();
9426 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9427 PyObject
*resultobj
= 0;
9428 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9432 PyObject
*swig_obj
[1] ;
9434 if (!args
) SWIG_fail
;
9436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9437 if (!SWIG_IsOK(res1
)) {
9438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9440 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= SWIG_From_long(static_cast< long >(result
));
9454 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9457 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9458 return SWIG_Py_Void();
9461 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9462 return SWIG_Python_InitShadowInstance(args
);
9465 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
= 0;
9467 int arg1
= (int) 9 ;
9468 int arg2
= (int) wxID_FILE1
;
9469 wxFileHistory
*result
= 0 ;
9474 PyObject
* obj0
= 0 ;
9475 PyObject
* obj1
= 0 ;
9476 char * kwnames
[] = {
9477 (char *) "maxFiles",(char *) "idBase", NULL
9480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9482 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9483 if (!SWIG_IsOK(ecode1
)) {
9484 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9486 arg1
= static_cast< int >(val1
);
9489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9490 if (!SWIG_IsOK(ecode2
)) {
9491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9493 arg2
= static_cast< int >(val2
);
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9508 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9509 PyObject
*resultobj
= 0;
9510 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9513 PyObject
*swig_obj
[1] ;
9515 if (!args
) SWIG_fail
;
9517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9518 if (!SWIG_IsOK(res1
)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9521 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_Py_Void();
9536 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
= 0;
9538 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9539 wxString
*arg2
= 0 ;
9542 bool temp2
= false ;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 char * kwnames
[] = {
9546 (char *) "self",(char *) "file", NULL
9549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9551 if (!SWIG_IsOK(res1
)) {
9552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9554 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9556 arg2
= wxString_in_helper(obj1
);
9557 if (arg2
== NULL
) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= SWIG_Py_Void();
9581 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9582 PyObject
*resultobj
= 0;
9583 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9589 PyObject
* obj0
= 0 ;
9590 PyObject
* obj1
= 0 ;
9591 char * kwnames
[] = {
9592 (char *) "self",(char *) "i", NULL
9595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9597 if (!SWIG_IsOK(res1
)) {
9598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9600 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9602 if (!SWIG_IsOK(ecode2
)) {
9603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9605 arg2
= static_cast< int >(val2
);
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 (arg1
)->RemoveFileFromHistory(arg2
);
9609 wxPyEndAllowThreads(__tstate
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= SWIG_Py_Void();
9619 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9620 PyObject
*resultobj
= 0;
9621 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9625 PyObject
*swig_obj
[1] ;
9627 if (!args
) SWIG_fail
;
9629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9630 if (!SWIG_IsOK(res1
)) {
9631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9633 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_From_int(static_cast< int >(result
));
9647 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
= 0;
9649 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9650 wxMenu
*arg2
= (wxMenu
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9657 char * kwnames
[] = {
9658 (char *) "self",(char *) "menu", NULL
9661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9663 if (!SWIG_IsOK(res1
)) {
9664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9666 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9668 if (!SWIG_IsOK(res2
)) {
9669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9671 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 (arg1
)->UseMenu(arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 resultobj
= SWIG_Py_Void();
9685 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
= 0;
9687 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9688 wxMenu
*arg2
= (wxMenu
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9694 PyObject
* obj1
= 0 ;
9695 char * kwnames
[] = {
9696 (char *) "self",(char *) "menu", NULL
9699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9701 if (!SWIG_IsOK(res1
)) {
9702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9704 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9706 if (!SWIG_IsOK(res2
)) {
9707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9709 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 (arg1
)->RemoveMenu(arg2
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9716 resultobj
= SWIG_Py_Void();
9723 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
= 0;
9725 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9726 wxConfigBase
*arg2
= 0 ;
9731 PyObject
* obj0
= 0 ;
9732 PyObject
* obj1
= 0 ;
9733 char * kwnames
[] = {
9734 (char *) "self",(char *) "config", NULL
9737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9739 if (!SWIG_IsOK(res1
)) {
9740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9742 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9744 if (!SWIG_IsOK(res2
)) {
9745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9750 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 (arg1
)->Load(*arg2
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_Py_Void();
9764 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
= 0;
9766 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9767 wxConfigBase
*arg2
= 0 ;
9772 PyObject
* obj0
= 0 ;
9773 PyObject
* obj1
= 0 ;
9774 char * kwnames
[] = {
9775 (char *) "self",(char *) "config", NULL
9778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9780 if (!SWIG_IsOK(res1
)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9783 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9785 if (!SWIG_IsOK(res2
)) {
9786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9791 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 (arg1
)->Save(*arg2
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_Py_Void();
9805 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9806 PyObject
*resultobj
= 0;
9807 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9810 PyObject
*swig_obj
[1] ;
9812 if (!args
) SWIG_fail
;
9814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9815 if (!SWIG_IsOK(res1
)) {
9816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9818 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 (arg1
)->AddFilesToMenu();
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_Py_Void();
9832 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
= 0;
9834 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9835 wxMenu
*arg2
= (wxMenu
*) 0 ;
9840 PyObject
* obj0
= 0 ;
9841 PyObject
* obj1
= 0 ;
9842 char * kwnames
[] = {
9843 (char *) "self",(char *) "menu", NULL
9846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9848 if (!SWIG_IsOK(res1
)) {
9849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9851 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9853 if (!SWIG_IsOK(res2
)) {
9854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9856 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 (arg1
)->AddFilesToMenu(arg2
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= SWIG_Py_Void();
9870 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9871 PyObject
*resultobj
= 0;
9872 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9880 PyObject
* obj1
= 0 ;
9881 char * kwnames
[] = {
9882 (char *) "self",(char *) "i", NULL
9885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9887 if (!SWIG_IsOK(res1
)) {
9888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9890 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9892 if (!SWIG_IsOK(ecode2
)) {
9893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9895 arg2
= static_cast< int >(val2
);
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9915 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9916 PyObject
*resultobj
= 0;
9917 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9921 PyObject
*swig_obj
[1] ;
9923 if (!args
) SWIG_fail
;
9925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9926 if (!SWIG_IsOK(res1
)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9929 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_From_int(static_cast< int >(result
));
9943 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9946 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9947 return SWIG_Py_Void();
9950 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9951 return SWIG_Python_InitShadowInstance(args
);
9954 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
= 0;
9956 wxString
*arg1
= 0 ;
9957 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9958 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9959 wxSingleInstanceChecker
*result
= 0 ;
9960 bool temp1
= false ;
9961 bool temp2
= false ;
9962 PyObject
* obj0
= 0 ;
9963 PyObject
* obj1
= 0 ;
9964 char * kwnames
[] = {
9965 (char *) "name",(char *) "path", NULL
9968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9970 arg1
= wxString_in_helper(obj0
);
9971 if (arg1
== NULL
) SWIG_fail
;
9976 arg2
= wxString_in_helper(obj1
);
9977 if (arg2
== NULL
) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
10010 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10011 PyObject
*resultobj
= 0;
10012 wxSingleInstanceChecker
*result
= 0 ;
10014 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
10028 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10029 PyObject
*resultobj
= 0;
10030 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10033 PyObject
*swig_obj
[1] ;
10035 if (!args
) SWIG_fail
;
10036 swig_obj
[0] = args
;
10037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
10038 if (!SWIG_IsOK(res1
)) {
10039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10041 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= SWIG_Py_Void();
10056 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
= 0;
10058 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10059 wxString
*arg2
= 0 ;
10060 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10061 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10065 bool temp2
= false ;
10066 bool temp3
= false ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 PyObject
* obj2
= 0 ;
10070 char * kwnames
[] = {
10071 (char *) "self",(char *) "name",(char *) "path", NULL
10074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10076 if (!SWIG_IsOK(res1
)) {
10077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10079 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10081 arg2
= wxString_in_helper(obj1
);
10082 if (arg2
== NULL
) SWIG_fail
;
10087 arg3
= wxString_in_helper(obj2
);
10088 if (arg3
== NULL
) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10123 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10124 PyObject
*resultobj
= 0;
10125 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10129 PyObject
*swig_obj
[1] ;
10131 if (!args
) SWIG_fail
;
10132 swig_obj
[0] = args
;
10133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10134 if (!SWIG_IsOK(res1
)) {
10135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10137 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10153 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10156 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10157 return SWIG_Py_Void();
10160 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10161 return SWIG_Python_InitShadowInstance(args
);
10164 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10165 PyObject
*resultobj
= 0;
10166 wxPlatformInfo
*result
= 0 ;
10168 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10182 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
= 0;
10184 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10185 wxPlatformInfo
*arg2
= 0 ;
10191 PyObject
* obj0
= 0 ;
10192 PyObject
* obj1
= 0 ;
10193 char * kwnames
[] = {
10194 (char *) "self",(char *) "t", NULL
10197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10199 if (!SWIG_IsOK(res1
)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10202 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10204 if (!SWIG_IsOK(res2
)) {
10205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10210 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10226 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
= 0;
10228 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10229 wxPlatformInfo
*arg2
= 0 ;
10235 PyObject
* obj0
= 0 ;
10236 PyObject
* obj1
= 0 ;
10237 char * kwnames
[] = {
10238 (char *) "self",(char *) "t", NULL
10241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10243 if (!SWIG_IsOK(res1
)) {
10244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10246 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10247 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10248 if (!SWIG_IsOK(res2
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10254 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10270 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10271 PyObject
*resultobj
= 0;
10272 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10276 PyObject
*swig_obj
[1] ;
10278 if (!args
) SWIG_fail
;
10279 swig_obj
[0] = args
;
10280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10281 if (!SWIG_IsOK(res1
)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10284 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_From_int(static_cast< int >(result
));
10298 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10299 PyObject
*resultobj
= 0;
10300 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10304 PyObject
*swig_obj
[1] ;
10306 if (!args
) SWIG_fail
;
10307 swig_obj
[0] = args
;
10308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10309 if (!SWIG_IsOK(res1
)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10312 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= SWIG_From_int(static_cast< int >(result
));
10326 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
= 0;
10328 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 PyObject
* obj1
= 0 ;
10340 PyObject
* obj2
= 0 ;
10341 char * kwnames
[] = {
10342 (char *) "self",(char *) "major",(char *) "minor", NULL
10345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10347 if (!SWIG_IsOK(res1
)) {
10348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10350 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10352 if (!SWIG_IsOK(ecode2
)) {
10353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "2"" of type '" "int""'");
10355 arg2
= static_cast< int >(val2
);
10356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10357 if (!SWIG_IsOK(ecode3
)) {
10358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "3"" of type '" "int""'");
10360 arg3
= static_cast< int >(val3
);
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckOSVersion(arg2
,arg3
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10376 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10377 PyObject
*resultobj
= 0;
10378 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10382 PyObject
*swig_obj
[1] ;
10384 if (!args
) SWIG_fail
;
10385 swig_obj
[0] = args
;
10386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10387 if (!SWIG_IsOK(res1
)) {
10388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10390 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 resultobj
= SWIG_From_int(static_cast< int >(result
));
10404 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10405 PyObject
*resultobj
= 0;
10406 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10410 PyObject
*swig_obj
[1] ;
10412 if (!args
) SWIG_fail
;
10413 swig_obj
[0] = args
;
10414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10415 if (!SWIG_IsOK(res1
)) {
10416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10418 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= SWIG_From_int(static_cast< int >(result
));
10432 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10433 PyObject
*resultobj
= 0;
10434 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10446 PyObject
* obj2
= 0 ;
10447 char * kwnames
[] = {
10448 (char *) "self",(char *) "major",(char *) "minor", NULL
10451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10453 if (!SWIG_IsOK(res1
)) {
10454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10456 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10458 if (!SWIG_IsOK(ecode2
)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10461 arg2
= static_cast< int >(val2
);
10462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10463 if (!SWIG_IsOK(ecode3
)) {
10464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10466 arg3
= static_cast< int >(val3
);
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckToolkitVersion(arg2
,arg3
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10482 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10483 PyObject
*resultobj
= 0;
10484 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10488 PyObject
*swig_obj
[1] ;
10490 if (!args
) SWIG_fail
;
10491 swig_obj
[0] = args
;
10492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10493 if (!SWIG_IsOK(res1
)) {
10494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10496 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10512 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10513 PyObject
*resultobj
= 0;
10514 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10515 wxOperatingSystemId result
;
10518 PyObject
*swig_obj
[1] ;
10520 if (!args
) SWIG_fail
;
10521 swig_obj
[0] = args
;
10522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10523 if (!SWIG_IsOK(res1
)) {
10524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10526 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= SWIG_From_int(static_cast< int >(result
));
10540 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10541 PyObject
*resultobj
= 0;
10542 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10546 PyObject
*swig_obj
[1] ;
10548 if (!args
) SWIG_fail
;
10549 swig_obj
[0] = args
;
10550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10551 if (!SWIG_IsOK(res1
)) {
10552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10554 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 resultobj
= SWIG_From_int(static_cast< int >(result
));
10568 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10569 PyObject
*resultobj
= 0;
10570 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10571 wxArchitecture result
;
10574 PyObject
*swig_obj
[1] ;
10576 if (!args
) SWIG_fail
;
10577 swig_obj
[0] = args
;
10578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10579 if (!SWIG_IsOK(res1
)) {
10580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10582 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 resultobj
= SWIG_From_int(static_cast< int >(result
));
10596 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10597 PyObject
*resultobj
= 0;
10598 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10599 wxEndianness result
;
10602 PyObject
*swig_obj
[1] ;
10604 if (!args
) SWIG_fail
;
10605 swig_obj
[0] = args
;
10606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10607 if (!SWIG_IsOK(res1
)) {
10608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10610 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= SWIG_From_int(static_cast< int >(result
));
10624 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10625 PyObject
*resultobj
= 0;
10626 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10630 PyObject
*swig_obj
[1] ;
10632 if (!args
) SWIG_fail
;
10633 swig_obj
[0] = args
;
10634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10635 if (!SWIG_IsOK(res1
)) {
10636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10638 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10658 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10659 PyObject
*resultobj
= 0;
10660 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10664 PyObject
*swig_obj
[1] ;
10666 if (!args
) SWIG_fail
;
10667 swig_obj
[0] = args
;
10668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10669 if (!SWIG_IsOK(res1
)) {
10670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10672 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10692 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10693 PyObject
*resultobj
= 0;
10694 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10698 PyObject
*swig_obj
[1] ;
10700 if (!args
) SWIG_fail
;
10701 swig_obj
[0] = args
;
10702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10703 if (!SWIG_IsOK(res1
)) {
10704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10706 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10726 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10727 PyObject
*resultobj
= 0;
10728 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10732 PyObject
*swig_obj
[1] ;
10734 if (!args
) SWIG_fail
;
10735 swig_obj
[0] = args
;
10736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10737 if (!SWIG_IsOK(res1
)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10740 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10760 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10761 PyObject
*resultobj
= 0;
10762 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10766 PyObject
*swig_obj
[1] ;
10768 if (!args
) SWIG_fail
;
10769 swig_obj
[0] = args
;
10770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10771 if (!SWIG_IsOK(res1
)) {
10772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10774 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10794 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10795 PyObject
*resultobj
= 0;
10796 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10800 PyObject
*swig_obj
[1] ;
10802 if (!args
) SWIG_fail
;
10803 swig_obj
[0] = args
;
10804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10805 if (!SWIG_IsOK(res1
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10808 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10828 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
= 0;
10830 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10839 PyObject
* obj0
= 0 ;
10840 PyObject
* obj1
= 0 ;
10841 PyObject
* obj2
= 0 ;
10842 char * kwnames
[] = {
10843 (char *) "self",(char *) "major",(char *) "minor", NULL
10846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10848 if (!SWIG_IsOK(res1
)) {
10849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10851 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10853 if (!SWIG_IsOK(ecode2
)) {
10854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10856 arg2
= static_cast< int >(val2
);
10857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10858 if (!SWIG_IsOK(ecode3
)) {
10859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10861 arg3
= static_cast< int >(val3
);
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 (arg1
)->SetOSVersion(arg2
,arg3
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 resultobj
= SWIG_Py_Void();
10875 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
= 0;
10877 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10886 PyObject
* obj0
= 0 ;
10887 PyObject
* obj1
= 0 ;
10888 PyObject
* obj2
= 0 ;
10889 char * kwnames
[] = {
10890 (char *) "self",(char *) "major",(char *) "minor", NULL
10893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10895 if (!SWIG_IsOK(res1
)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10898 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10900 if (!SWIG_IsOK(ecode2
)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10903 arg2
= static_cast< int >(val2
);
10904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10905 if (!SWIG_IsOK(ecode3
)) {
10906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10908 arg3
= static_cast< int >(val3
);
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_Py_Void();
10922 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
= 0;
10924 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10925 wxOperatingSystemId arg2
;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 char * kwnames
[] = {
10933 (char *) "self",(char *) "n", NULL
10936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10938 if (!SWIG_IsOK(res1
)) {
10939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10941 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10943 if (!SWIG_IsOK(ecode2
)) {
10944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10946 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 (arg1
)->SetOperatingSystemId(arg2
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= SWIG_Py_Void();
10960 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
= 0;
10962 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 char * kwnames
[] = {
10971 (char *) "self",(char *) "n", NULL
10974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10976 if (!SWIG_IsOK(res1
)) {
10977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10979 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10981 if (!SWIG_IsOK(ecode2
)) {
10982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10984 arg2
= static_cast< wxPortId
>(val2
);
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->SetPortId(arg2
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_Py_Void();
10998 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
= 0;
11000 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11001 wxArchitecture arg2
;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char * kwnames
[] = {
11009 (char *) "self",(char *) "n", NULL
11012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11014 if (!SWIG_IsOK(res1
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11017 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11019 if (!SWIG_IsOK(ecode2
)) {
11020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
11022 arg2
= static_cast< wxArchitecture
>(val2
);
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 (arg1
)->SetArchitecture(arg2
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= SWIG_Py_Void();
11036 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
= 0;
11038 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11039 wxEndianness arg2
;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 char * kwnames
[] = {
11047 (char *) "self",(char *) "n", NULL
11050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11052 if (!SWIG_IsOK(res1
)) {
11053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11055 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11057 if (!SWIG_IsOK(ecode2
)) {
11058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
11060 arg2
= static_cast< wxEndianness
>(val2
);
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 (arg1
)->SetEndianness(arg2
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= SWIG_Py_Void();
11074 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11075 PyObject
*resultobj
= 0;
11076 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11080 PyObject
*swig_obj
[1] ;
11082 if (!args
) SWIG_fail
;
11083 swig_obj
[0] = args
;
11084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11085 if (!SWIG_IsOK(res1
)) {
11086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
11088 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11091 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11104 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11107 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
11108 return SWIG_Py_Void();
11111 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11112 return SWIG_Python_InitShadowInstance(args
);
11115 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
= 0;
11117 wxWindow
*arg1
= (wxWindow
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 PyObject
* obj1
= 0 ;
11126 char * kwnames
[] = {
11127 (char *) "window",(char *) "dc", NULL
11130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11132 if (!SWIG_IsOK(res1
)) {
11133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
11135 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
11137 if (!SWIG_IsOK(res2
)) {
11138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11143 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11159 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11160 PyObject
*resultobj
= 0;
11161 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11164 PyObject
*swig_obj
[1] ;
11166 if (!args
) SWIG_fail
;
11167 swig_obj
[0] = args
;
11168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11169 if (!SWIG_IsOK(res1
)) {
11170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11172 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= SWIG_Py_Void();
11187 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11188 PyObject
*resultobj
= 0;
11189 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11193 PyObject
*swig_obj
[1] ;
11195 if (!args
) SWIG_fail
;
11196 swig_obj
[0] = args
;
11197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11198 if (!SWIG_IsOK(res1
)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11201 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 result
= (arg1
)->GetTip();
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11221 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11222 PyObject
*resultobj
= 0;
11223 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11227 PyObject
*swig_obj
[1] ;
11229 if (!args
) SWIG_fail
;
11230 swig_obj
[0] = args
;
11231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11232 if (!SWIG_IsOK(res1
)) {
11233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11235 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= (size_t)(arg1
)->GetCurrentTip();
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11249 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
= 0;
11251 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11252 wxString
*arg2
= 0 ;
11256 bool temp2
= false ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 char * kwnames
[] = {
11260 (char *) "self",(char *) "tip", NULL
11263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11265 if (!SWIG_IsOK(res1
)) {
11266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11268 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11270 arg2
= wxString_in_helper(obj1
);
11271 if (arg2
== NULL
) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11301 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11304 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11305 return SWIG_Py_Void();
11308 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
= 0;
11311 wxPyTipProvider
*result
= 0 ;
11314 PyObject
* obj0
= 0 ;
11315 char * kwnames
[] = {
11316 (char *) "currentTip", NULL
11319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11320 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11321 if (!SWIG_IsOK(ecode1
)) {
11322 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11324 arg1
= static_cast< size_t >(val1
);
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11338 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
= 0;
11340 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11341 PyObject
*arg2
= (PyObject
*) 0 ;
11342 PyObject
*arg3
= (PyObject
*) 0 ;
11345 PyObject
* obj0
= 0 ;
11346 PyObject
* obj1
= 0 ;
11347 PyObject
* obj2
= 0 ;
11348 char * kwnames
[] = {
11349 (char *) "self",(char *) "self",(char *) "_class", NULL
11352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11354 if (!SWIG_IsOK(res1
)) {
11355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11357 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 resultobj
= SWIG_Py_Void();
11373 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11376 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11377 return SWIG_Py_Void();
11380 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11381 return SWIG_Python_InitShadowInstance(args
);
11384 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
= 0;
11386 wxWindow
*arg1
= (wxWindow
*) 0 ;
11387 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11388 bool arg3
= (bool) true ;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 PyObject
* obj2
= 0 ;
11399 char * kwnames
[] = {
11400 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11405 if (!SWIG_IsOK(res1
)) {
11406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11408 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11410 if (!SWIG_IsOK(res2
)) {
11411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11413 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11415 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11416 if (!SWIG_IsOK(ecode3
)) {
11417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11419 arg3
= static_cast< bool >(val3
);
11422 if (!wxPyCheckForApp()) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11437 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
= 0;
11439 wxString
*arg1
= 0 ;
11441 wxTipProvider
*result
= 0 ;
11442 bool temp1
= false ;
11445 PyObject
* obj0
= 0 ;
11446 PyObject
* obj1
= 0 ;
11447 char * kwnames
[] = {
11448 (char *) "filename",(char *) "currentTip", NULL
11451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11453 arg1
= wxString_in_helper(obj0
);
11454 if (arg1
== NULL
) SWIG_fail
;
11457 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11458 if (!SWIG_IsOK(ecode2
)) {
11459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11461 arg2
= static_cast< size_t >(val2
);
11463 if (!wxPyCheckForApp()) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11484 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
= 0;
11486 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11487 int arg2
= (int) wxID_ANY
;
11488 wxPyTimer
*result
= 0 ;
11493 PyObject
* obj0
= 0 ;
11494 PyObject
* obj1
= 0 ;
11495 char * kwnames
[] = {
11496 (char *) "owner",(char *) "id", NULL
11499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11502 if (!SWIG_IsOK(res1
)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11505 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11509 if (!SWIG_IsOK(ecode2
)) {
11510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11512 arg2
= static_cast< int >(val2
);
11515 if (!wxPyCheckForApp()) SWIG_fail
;
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11528 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11529 PyObject
*resultobj
= 0;
11530 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11533 PyObject
*swig_obj
[1] ;
11535 if (!args
) SWIG_fail
;
11536 swig_obj
[0] = args
;
11537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11538 if (!SWIG_IsOK(res1
)) {
11539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11541 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_Py_Void();
11556 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
= 0;
11558 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11559 PyObject
*arg2
= (PyObject
*) 0 ;
11560 PyObject
*arg3
= (PyObject
*) 0 ;
11561 int arg4
= (int) 0 ;
11566 PyObject
* obj0
= 0 ;
11567 PyObject
* obj1
= 0 ;
11568 PyObject
* obj2
= 0 ;
11569 PyObject
* obj3
= 0 ;
11570 char * kwnames
[] = {
11571 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11576 if (!SWIG_IsOK(res1
)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11579 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11584 if (!SWIG_IsOK(ecode4
)) {
11585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11587 arg4
= static_cast< int >(val4
);
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= SWIG_Py_Void();
11602 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
= 0;
11604 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11605 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11606 int arg3
= (int) wxID_ANY
;
11613 PyObject
* obj0
= 0 ;
11614 PyObject
* obj1
= 0 ;
11615 PyObject
* obj2
= 0 ;
11616 char * kwnames
[] = {
11617 (char *) "self",(char *) "owner",(char *) "id", NULL
11620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11622 if (!SWIG_IsOK(res1
)) {
11623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11625 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11627 if (!SWIG_IsOK(res2
)) {
11628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11630 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11633 if (!SWIG_IsOK(ecode3
)) {
11634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11636 arg3
= static_cast< int >(val3
);
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 (arg1
)->SetOwner(arg2
,arg3
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= SWIG_Py_Void();
11651 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11652 PyObject
*resultobj
= 0;
11653 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11654 wxEvtHandler
*result
= 0 ;
11657 PyObject
*swig_obj
[1] ;
11659 if (!args
) SWIG_fail
;
11660 swig_obj
[0] = args
;
11661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11662 if (!SWIG_IsOK(res1
)) {
11663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11665 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= wxPyMake_wxObject(result
, 0);
11681 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
= 0;
11683 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11684 int arg2
= (int) -1 ;
11685 bool arg3
= (bool) false ;
11693 PyObject
* obj0
= 0 ;
11694 PyObject
* obj1
= 0 ;
11695 PyObject
* obj2
= 0 ;
11696 char * kwnames
[] = {
11697 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11702 if (!SWIG_IsOK(res1
)) {
11703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11705 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11708 if (!SWIG_IsOK(ecode2
)) {
11709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11711 arg2
= static_cast< int >(val2
);
11714 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11715 if (!SWIG_IsOK(ecode3
)) {
11716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11718 arg3
= static_cast< bool >(val3
);
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11735 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11736 PyObject
*resultobj
= 0;
11737 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11740 PyObject
*swig_obj
[1] ;
11742 if (!args
) SWIG_fail
;
11743 swig_obj
[0] = args
;
11744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11745 if (!SWIG_IsOK(res1
)) {
11746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11748 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 wxPyEndAllowThreads(__tstate
);
11753 if (PyErr_Occurred()) SWIG_fail
;
11755 resultobj
= SWIG_Py_Void();
11762 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11763 PyObject
*resultobj
= 0;
11764 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11767 PyObject
*swig_obj
[1] ;
11769 if (!args
) SWIG_fail
;
11770 swig_obj
[0] = args
;
11771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11772 if (!SWIG_IsOK(res1
)) {
11773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11775 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 wxPyEndAllowThreads(__tstate
);
11780 if (PyErr_Occurred()) SWIG_fail
;
11782 resultobj
= SWIG_Py_Void();
11789 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11790 PyObject
*resultobj
= 0;
11791 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11795 PyObject
*swig_obj
[1] ;
11797 if (!args
) SWIG_fail
;
11798 swig_obj
[0] = args
;
11799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11800 if (!SWIG_IsOK(res1
)) {
11801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11803 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11819 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11820 PyObject
*resultobj
= 0;
11821 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11825 PyObject
*swig_obj
[1] ;
11827 if (!args
) SWIG_fail
;
11828 swig_obj
[0] = args
;
11829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11830 if (!SWIG_IsOK(res1
)) {
11831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11833 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11836 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11840 resultobj
= SWIG_From_int(static_cast< int >(result
));
11847 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11848 PyObject
*resultobj
= 0;
11849 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11853 PyObject
*swig_obj
[1] ;
11855 if (!args
) SWIG_fail
;
11856 swig_obj
[0] = args
;
11857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11858 if (!SWIG_IsOK(res1
)) {
11859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11861 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_From_int(static_cast< int >(result
));
11875 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11876 PyObject
*resultobj
= 0;
11877 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11881 PyObject
*swig_obj
[1] ;
11883 if (!args
) SWIG_fail
;
11884 swig_obj
[0] = args
;
11885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11886 if (!SWIG_IsOK(res1
)) {
11887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11889 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11905 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11908 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11909 return SWIG_Py_Void();
11912 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11913 return SWIG_Python_InitShadowInstance(args
);
11916 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
= 0;
11918 int arg1
= (int) 0 ;
11919 int arg2
= (int) 0 ;
11920 wxTimerEvent
*result
= 0 ;
11925 PyObject
* obj0
= 0 ;
11926 PyObject
* obj1
= 0 ;
11927 char * kwnames
[] = {
11928 (char *) "timerid",(char *) "interval", NULL
11931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11933 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11934 if (!SWIG_IsOK(ecode1
)) {
11935 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11937 arg1
= static_cast< int >(val1
);
11940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11941 if (!SWIG_IsOK(ecode2
)) {
11942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11944 arg2
= static_cast< int >(val2
);
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11959 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 PyObject
*resultobj
= 0;
11961 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11965 PyObject
*swig_obj
[1] ;
11967 if (!args
) SWIG_fail
;
11968 swig_obj
[0] = args
;
11969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11973 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_From_int(static_cast< int >(result
));
11987 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11990 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11991 return SWIG_Py_Void();
11994 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11995 return SWIG_Python_InitShadowInstance(args
);
11998 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11999 PyObject
*resultobj
= 0;
12000 wxTimer
*arg1
= 0 ;
12001 wxTimerRunner
*result
= 0 ;
12005 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
12006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
12007 if (!SWIG_IsOK(res1
)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12013 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
12015 if (!wxPyCheckForApp()) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12028 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12029 PyObject
*resultobj
= 0;
12030 wxTimer
*arg1
= 0 ;
12032 bool arg3
= (bool) false ;
12033 wxTimerRunner
*result
= 0 ;
12041 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
12042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
12043 if (!SWIG_IsOK(res1
)) {
12044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12049 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
12050 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12051 if (!SWIG_IsOK(ecode2
)) {
12052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
12054 arg2
= static_cast< int >(val2
);
12056 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
12057 if (!SWIG_IsOK(ecode3
)) {
12058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
12060 arg3
= static_cast< bool >(val3
);
12063 if (!wxPyCheckForApp()) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12076 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
12080 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
12083 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
12085 if ((argc
>= 2) && (argc
<= 3)) {
12086 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
12090 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
12095 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12096 PyObject
*resultobj
= 0;
12097 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12100 PyObject
*swig_obj
[1] ;
12102 if (!args
) SWIG_fail
;
12103 swig_obj
[0] = args
;
12104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
12105 if (!SWIG_IsOK(res1
)) {
12106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12108 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= SWIG_Py_Void();
12123 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
= 0;
12125 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12127 bool arg3
= (bool) false ;
12134 PyObject
* obj0
= 0 ;
12135 PyObject
* obj1
= 0 ;
12136 PyObject
* obj2
= 0 ;
12137 char * kwnames
[] = {
12138 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
12141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
12143 if (!SWIG_IsOK(res1
)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12146 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12148 if (!SWIG_IsOK(ecode2
)) {
12149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
12151 arg2
= static_cast< int >(val2
);
12153 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12154 if (!SWIG_IsOK(ecode3
)) {
12155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
12157 arg3
= static_cast< bool >(val3
);
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 (arg1
)->Start(arg2
,arg3
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_Py_Void();
12172 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12175 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12176 return SWIG_Py_Void();
12179 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12180 return SWIG_Python_InitShadowInstance(args
);
12183 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12184 PyObject
*resultobj
= 0;
12185 wxLog
*result
= 0 ;
12187 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12190 result
= (wxLog
*)new wxLog();
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12201 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12202 PyObject
*resultobj
= 0;
12203 wxLog
*arg1
= (wxLog
*) 0 ;
12206 PyObject
*swig_obj
[1] ;
12208 if (!args
) SWIG_fail
;
12209 swig_obj
[0] = args
;
12210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12211 if (!SWIG_IsOK(res1
)) {
12212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12214 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_Py_Void();
12229 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12230 PyObject
*resultobj
= 0;
12233 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 result
= (bool)wxLog::IsEnabled();
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12249 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
= 0;
12251 bool arg1
= (bool) true ;
12255 PyObject
* obj0
= 0 ;
12256 char * kwnames
[] = {
12257 (char *) "doIt", NULL
12260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12262 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12263 if (!SWIG_IsOK(ecode1
)) {
12264 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12266 arg1
= static_cast< bool >(val1
);
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 result
= (bool)wxLog::EnableLogging(arg1
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12283 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
= 0;
12286 wxChar
*arg2
= (wxChar
*) 0 ;
12288 unsigned long val1
;
12292 unsigned int val3
;
12294 PyObject
* obj0
= 0 ;
12295 PyObject
* obj1
= 0 ;
12296 PyObject
* obj2
= 0 ;
12297 char * kwnames
[] = {
12298 (char *) "level",(char *) "szString",(char *) "t", NULL
12301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12302 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12303 if (!SWIG_IsOK(ecode1
)) {
12304 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12306 arg1
= static_cast< wxLogLevel
>(val1
);
12307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12308 if (!SWIG_IsOK(res2
)) {
12309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12311 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12312 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12313 if (!SWIG_IsOK(ecode3
)) {
12314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12316 arg3
= static_cast< time_t >(val3
);
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_Py_Void();
12330 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12331 PyObject
*resultobj
= 0;
12332 wxLog
*arg1
= (wxLog
*) 0 ;
12335 PyObject
*swig_obj
[1] ;
12337 if (!args
) SWIG_fail
;
12338 swig_obj
[0] = args
;
12339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12340 if (!SWIG_IsOK(res1
)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12343 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_Py_Void();
12357 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12358 PyObject
*resultobj
= 0;
12360 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 wxLog::FlushActive();
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_Py_Void();
12374 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12375 PyObject
*resultobj
= 0;
12376 wxLog
*result
= 0 ;
12378 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 result
= (wxLog
*)wxLog::GetActiveTarget();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12392 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
= 0;
12394 wxLog
*arg1
= (wxLog
*) 0 ;
12395 wxLog
*result
= 0 ;
12397 PyObject
* obj0
= 0 ;
12398 char * kwnames
[] = {
12399 (char *) "pLogger", NULL
12402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12403 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12404 if (!SWIG_IsOK(res1
)) {
12405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12420 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12421 PyObject
*resultobj
= 0;
12423 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_Py_Void();
12437 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12438 PyObject
*resultobj
= 0;
12440 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= SWIG_Py_Void();
12454 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
= 0;
12456 bool arg1
= (bool) true ;
12459 PyObject
* obj0
= 0 ;
12460 char * kwnames
[] = {
12461 (char *) "bVerbose", NULL
12464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12466 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12467 if (!SWIG_IsOK(ecode1
)) {
12468 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12470 arg1
= static_cast< bool >(val1
);
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 wxLog::SetVerbose(arg1
);
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= SWIG_Py_Void();
12485 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
= 0;
12488 unsigned long val1
;
12490 PyObject
* obj0
= 0 ;
12491 char * kwnames
[] = {
12492 (char *) "logLevel", NULL
12495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12496 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12497 if (!SWIG_IsOK(ecode1
)) {
12498 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12500 arg1
= static_cast< wxLogLevel
>(val1
);
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 wxLog::SetLogLevel(arg1
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= SWIG_Py_Void();
12514 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12515 PyObject
*resultobj
= 0;
12517 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 wxLog::DontCreateOnDemand();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_Py_Void();
12531 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
= 0;
12533 bool arg1
= (bool) true ;
12536 PyObject
* obj0
= 0 ;
12537 char * kwnames
[] = {
12538 (char *) "bRepetCounting", NULL
12541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12543 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12544 if (!SWIG_IsOK(ecode1
)) {
12545 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12547 arg1
= static_cast< bool >(val1
);
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 wxLog::SetRepetitionCounting(arg1
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 resultobj
= SWIG_Py_Void();
12562 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12563 PyObject
*resultobj
= 0;
12566 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (bool)wxLog::GetRepetitionCounting();
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12582 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
= 0;
12585 unsigned long val1
;
12587 PyObject
* obj0
= 0 ;
12588 char * kwnames
[] = {
12589 (char *) "ulMask", NULL
12592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12593 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12594 if (!SWIG_IsOK(ecode1
)) {
12595 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12597 arg1
= static_cast< wxTraceMask
>(val1
);
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 wxLog::SetTraceMask(arg1
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= SWIG_Py_Void();
12611 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
= 0;
12613 wxString
*arg1
= 0 ;
12614 bool temp1
= false ;
12615 PyObject
* obj0
= 0 ;
12616 char * kwnames
[] = {
12617 (char *) "str", NULL
12620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12622 arg1
= wxString_in_helper(obj0
);
12623 if (arg1
== NULL
) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 wxLog::AddTraceMask((wxString
const &)*arg1
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_Py_Void();
12647 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12648 PyObject
*resultobj
= 0;
12649 wxString
*arg1
= 0 ;
12650 bool temp1
= false ;
12651 PyObject
* obj0
= 0 ;
12652 char * kwnames
[] = {
12653 (char *) "str", NULL
12656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12658 arg1
= wxString_in_helper(obj0
);
12659 if (arg1
== NULL
) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= SWIG_Py_Void();
12683 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12684 PyObject
*resultobj
= 0;
12686 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 wxLog::ClearTraceMasks();
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_Py_Void();
12700 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12701 PyObject
*resultobj
= 0;
12702 wxArrayString
*result
= 0 ;
12704 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12709 result
= (wxArrayString
*) &_result_ref
;
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= wxArrayString2PyList_helper(*result
);
12723 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
= 0;
12725 wxChar
*arg1
= (wxChar
*) 0 ;
12728 PyObject
* obj0
= 0 ;
12729 char * kwnames
[] = {
12730 (char *) "ts", NULL
12733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12735 if (!SWIG_IsOK(res1
)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12738 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 wxLog::SetTimestamp((wxChar
const *)arg1
);
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= SWIG_Py_Void();
12752 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12753 PyObject
*resultobj
= 0;
12756 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 result
= (bool)wxLog::GetVerbose();
12760 wxPyEndAllowThreads(__tstate
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12772 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12773 PyObject
*resultobj
= 0;
12774 wxTraceMask result
;
12776 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (wxTraceMask
)wxLog::GetTraceMask();
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12790 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
= 0;
12792 wxChar
*arg1
= (wxChar
*) 0 ;
12796 PyObject
* obj0
= 0 ;
12797 char * kwnames
[] = {
12798 (char *) "mask", NULL
12801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12803 if (!SWIG_IsOK(res1
)) {
12804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12806 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12822 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12823 PyObject
*resultobj
= 0;
12826 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 result
= (wxLogLevel
)wxLog::GetLogLevel();
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12840 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12841 PyObject
*resultobj
= 0;
12842 wxChar
*result
= 0 ;
12844 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= (wxChar
*)wxLog::GetTimestamp();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12858 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12859 PyObject
*resultobj
= 0;
12862 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 result
= wxLog_TimeStamp();
12866 wxPyEndAllowThreads(__tstate
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12882 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12883 PyObject
*resultobj
= 0;
12884 wxLog
*arg1
= (wxLog
*) 0 ;
12887 PyObject
*swig_obj
[1] ;
12889 if (!args
) SWIG_fail
;
12890 swig_obj
[0] = args
;
12891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12892 if (!SWIG_IsOK(res1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12895 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 wxLog_Destroy(arg1
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= SWIG_Py_Void();
12909 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12911 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12912 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12913 return SWIG_Py_Void();
12916 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12917 return SWIG_Python_InitShadowInstance(args
);
12920 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12921 PyObject
*resultobj
= 0;
12922 wxLogStderr
*result
= 0 ;
12924 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 result
= (wxLogStderr
*)new wxLogStderr();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12938 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12941 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12942 return SWIG_Py_Void();
12945 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12946 return SWIG_Python_InitShadowInstance(args
);
12949 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
= 0;
12951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12952 wxLogTextCtrl
*result
= 0 ;
12955 PyObject
* obj0
= 0 ;
12956 char * kwnames
[] = {
12957 (char *) "pTextCtrl", NULL
12960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12962 if (!SWIG_IsOK(res1
)) {
12963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12965 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12979 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12982 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12983 return SWIG_Py_Void();
12986 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12987 return SWIG_Python_InitShadowInstance(args
);
12990 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12991 PyObject
*resultobj
= 0;
12992 wxLogGui
*result
= 0 ;
12994 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (wxLogGui
*)new wxLogGui();
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
13008 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13010 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13011 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
13012 return SWIG_Py_Void();
13015 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13016 return SWIG_Python_InitShadowInstance(args
);
13019 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
= 0;
13021 wxFrame
*arg1
= (wxFrame
*) 0 ;
13022 wxString
*arg2
= 0 ;
13023 bool arg3
= (bool) true ;
13024 bool arg4
= (bool) true ;
13025 wxLogWindow
*result
= 0 ;
13028 bool temp2
= false ;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 PyObject
* obj2
= 0 ;
13036 PyObject
* obj3
= 0 ;
13037 char * kwnames
[] = {
13038 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
13041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13043 if (!SWIG_IsOK(res1
)) {
13044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
13046 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13048 arg2
= wxString_in_helper(obj1
);
13049 if (arg2
== NULL
) SWIG_fail
;
13053 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13054 if (!SWIG_IsOK(ecode3
)) {
13055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
13057 arg3
= static_cast< bool >(val3
);
13060 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13061 if (!SWIG_IsOK(ecode4
)) {
13062 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
13064 arg4
= static_cast< bool >(val4
);
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
13087 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
= 0;
13089 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13090 bool arg2
= (bool) true ;
13095 PyObject
* obj0
= 0 ;
13096 PyObject
* obj1
= 0 ;
13097 char * kwnames
[] = {
13098 (char *) "self",(char *) "bShow", NULL
13101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13103 if (!SWIG_IsOK(res1
)) {
13104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13106 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13108 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13109 if (!SWIG_IsOK(ecode2
)) {
13110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
13112 arg2
= static_cast< bool >(val2
);
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 (arg1
)->Show(arg2
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_Py_Void();
13127 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13128 PyObject
*resultobj
= 0;
13129 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13130 wxFrame
*result
= 0 ;
13133 PyObject
*swig_obj
[1] ;
13135 if (!args
) SWIG_fail
;
13136 swig_obj
[0] = args
;
13137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13138 if (!SWIG_IsOK(res1
)) {
13139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13141 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13149 resultobj
= wxPyMake_wxObject(result
, (bool)0);
13157 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13158 PyObject
*resultobj
= 0;
13159 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13160 wxLog
*result
= 0 ;
13163 PyObject
*swig_obj
[1] ;
13165 if (!args
) SWIG_fail
;
13166 swig_obj
[0] = args
;
13167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13168 if (!SWIG_IsOK(res1
)) {
13169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13171 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13185 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13186 PyObject
*resultobj
= 0;
13187 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13191 PyObject
*swig_obj
[1] ;
13193 if (!args
) SWIG_fail
;
13194 swig_obj
[0] = args
;
13195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13196 if (!SWIG_IsOK(res1
)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13199 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13215 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
= 0;
13217 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13223 PyObject
* obj0
= 0 ;
13224 PyObject
* obj1
= 0 ;
13225 char * kwnames
[] = {
13226 (char *) "self",(char *) "bDoPass", NULL
13229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13231 if (!SWIG_IsOK(res1
)) {
13232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13234 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13235 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13236 if (!SWIG_IsOK(ecode2
)) {
13237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13239 arg2
= static_cast< bool >(val2
);
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 (arg1
)->PassMessages(arg2
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= SWIG_Py_Void();
13253 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13256 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13257 return SWIG_Py_Void();
13260 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13261 return SWIG_Python_InitShadowInstance(args
);
13264 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13265 PyObject
*resultobj
= 0;
13266 wxLog
*arg1
= (wxLog
*) 0 ;
13267 wxLogChain
*result
= 0 ;
13270 PyObject
* obj0
= 0 ;
13271 char * kwnames
[] = {
13272 (char *) "logger", NULL
13275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13277 if (!SWIG_IsOK(res1
)) {
13278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13280 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= (wxLogChain
*)new wxLogChain(arg1
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13294 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
= 0;
13296 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13297 wxLog
*arg2
= (wxLog
*) 0 ;
13302 PyObject
* obj0
= 0 ;
13303 PyObject
* obj1
= 0 ;
13304 char * kwnames
[] = {
13305 (char *) "self",(char *) "logger", NULL
13308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13310 if (!SWIG_IsOK(res1
)) {
13311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13313 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13315 if (!SWIG_IsOK(res2
)) {
13316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13318 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 (arg1
)->SetLog(arg2
);
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 resultobj
= SWIG_Py_Void();
13332 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
= 0;
13334 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 char * kwnames
[] = {
13343 (char *) "self",(char *) "bDoPass", NULL
13346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13348 if (!SWIG_IsOK(res1
)) {
13349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13351 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13352 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13353 if (!SWIG_IsOK(ecode2
)) {
13354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13356 arg2
= static_cast< bool >(val2
);
13358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13359 (arg1
)->PassMessages(arg2
);
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= SWIG_Py_Void();
13370 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13371 PyObject
*resultobj
= 0;
13372 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13376 PyObject
*swig_obj
[1] ;
13378 if (!args
) SWIG_fail
;
13379 swig_obj
[0] = args
;
13380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13381 if (!SWIG_IsOK(res1
)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13384 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (bool)(arg1
)->IsPassingMessages();
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13400 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13401 PyObject
*resultobj
= 0;
13402 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13403 wxLog
*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_wxLogChain
, 0 | 0 );
13411 if (!SWIG_IsOK(res1
)) {
13412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13414 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 result
= (wxLog
*)(arg1
)->GetOldLog();
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13428 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13431 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13432 return SWIG_Py_Void();
13435 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13436 return SWIG_Python_InitShadowInstance(args
);
13439 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 PyObject
*resultobj
= 0;
13441 wxLogBuffer
*result
= 0 ;
13443 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13446 result
= (wxLogBuffer
*)new wxLogBuffer();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13457 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13458 PyObject
*resultobj
= 0;
13459 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13460 wxString
*result
= 0 ;
13463 PyObject
*swig_obj
[1] ;
13465 if (!args
) SWIG_fail
;
13466 swig_obj
[0] = args
;
13467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13468 if (!SWIG_IsOK(res1
)) {
13469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13471 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13476 result
= (wxString
*) &_result_ref
;
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13485 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13494 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13497 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13498 return SWIG_Py_Void();
13501 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13502 return SWIG_Python_InitShadowInstance(args
);
13505 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13506 PyObject
*resultobj
= 0;
13507 unsigned long result
;
13509 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (unsigned long)wxSysErrorCode();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13523 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
= 0;
13525 unsigned long arg1
= (unsigned long) 0 ;
13527 unsigned long val1
;
13529 PyObject
* obj0
= 0 ;
13530 char * kwnames
[] = {
13531 (char *) "nErrCode", NULL
13534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13536 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13537 if (!SWIG_IsOK(ecode1
)) {
13538 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13540 arg1
= static_cast< unsigned long >(val1
);
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= wxSysErrorMsg(arg1
);
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13561 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
= 0;
13563 wxString
*arg1
= 0 ;
13564 bool temp1
= false ;
13565 PyObject
* obj0
= 0 ;
13566 char * kwnames
[] = {
13567 (char *) "msg", NULL
13570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13572 arg1
= wxString_in_helper(obj0
);
13573 if (arg1
== NULL
) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 wxPyLogFatalError((wxString
const &)*arg1
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= SWIG_Py_Void();
13597 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
= 0;
13599 wxString
*arg1
= 0 ;
13600 bool temp1
= false ;
13601 PyObject
* obj0
= 0 ;
13602 char * kwnames
[] = {
13603 (char *) "msg", NULL
13606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13608 arg1
= wxString_in_helper(obj0
);
13609 if (arg1
== NULL
) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 wxPyLogError((wxString
const &)*arg1
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= SWIG_Py_Void();
13633 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
= 0;
13635 wxString
*arg1
= 0 ;
13636 bool temp1
= false ;
13637 PyObject
* obj0
= 0 ;
13638 char * kwnames
[] = {
13639 (char *) "msg", NULL
13642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13644 arg1
= wxString_in_helper(obj0
);
13645 if (arg1
== NULL
) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 wxPyLogWarning((wxString
const &)*arg1
);
13651 wxPyEndAllowThreads(__tstate
);
13652 if (PyErr_Occurred()) SWIG_fail
;
13654 resultobj
= SWIG_Py_Void();
13669 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
= 0;
13671 wxString
*arg1
= 0 ;
13672 bool temp1
= false ;
13673 PyObject
* obj0
= 0 ;
13674 char * kwnames
[] = {
13675 (char *) "msg", NULL
13678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13680 arg1
= wxString_in_helper(obj0
);
13681 if (arg1
== NULL
) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 wxPyLogMessage((wxString
const &)*arg1
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_Py_Void();
13705 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
= 0;
13707 wxString
*arg1
= 0 ;
13708 bool temp1
= false ;
13709 PyObject
* obj0
= 0 ;
13710 char * kwnames
[] = {
13711 (char *) "msg", NULL
13714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13716 arg1
= wxString_in_helper(obj0
);
13717 if (arg1
== NULL
) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 wxPyLogInfo((wxString
const &)*arg1
);
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 resultobj
= SWIG_Py_Void();
13741 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
= 0;
13743 wxString
*arg1
= 0 ;
13744 bool temp1
= false ;
13745 PyObject
* obj0
= 0 ;
13746 char * kwnames
[] = {
13747 (char *) "msg", NULL
13750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13752 arg1
= wxString_in_helper(obj0
);
13753 if (arg1
== NULL
) SWIG_fail
;
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 wxPyLogDebug((wxString
const &)*arg1
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= SWIG_Py_Void();
13777 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
= 0;
13779 wxString
*arg1
= 0 ;
13780 bool temp1
= false ;
13781 PyObject
* obj0
= 0 ;
13782 char * kwnames
[] = {
13783 (char *) "msg", NULL
13786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13788 arg1
= wxString_in_helper(obj0
);
13789 if (arg1
== NULL
) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 wxPyLogVerbose((wxString
const &)*arg1
);
13795 wxPyEndAllowThreads(__tstate
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 resultobj
= SWIG_Py_Void();
13813 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
= 0;
13815 wxString
*arg1
= 0 ;
13816 bool temp1
= false ;
13817 PyObject
* obj0
= 0 ;
13818 char * kwnames
[] = {
13819 (char *) "msg", NULL
13822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13824 arg1
= wxString_in_helper(obj0
);
13825 if (arg1
== NULL
) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 wxPyLogStatus((wxString
const &)*arg1
);
13831 wxPyEndAllowThreads(__tstate
);
13832 if (PyErr_Occurred()) SWIG_fail
;
13834 resultobj
= SWIG_Py_Void();
13849 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
= 0;
13851 wxFrame
*arg1
= (wxFrame
*) 0 ;
13852 wxString
*arg2
= 0 ;
13855 bool temp2
= false ;
13856 PyObject
* obj0
= 0 ;
13857 PyObject
* obj1
= 0 ;
13858 char * kwnames
[] = {
13859 (char *) "pFrame",(char *) "msg", NULL
13862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13864 if (!SWIG_IsOK(res1
)) {
13865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13867 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13869 arg2
= wxString_in_helper(obj1
);
13870 if (arg2
== NULL
) SWIG_fail
;
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_Py_Void();
13894 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13895 PyObject
*resultobj
= 0;
13896 wxString
*arg1
= 0 ;
13897 bool temp1
= false ;
13898 PyObject
* obj0
= 0 ;
13899 char * kwnames
[] = {
13900 (char *) "msg", NULL
13903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13905 arg1
= wxString_in_helper(obj0
);
13906 if (arg1
== NULL
) SWIG_fail
;
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 wxPyLogSysError((wxString
const &)*arg1
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= SWIG_Py_Void();
13930 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
= 0;
13932 unsigned long arg1
;
13933 wxString
*arg2
= 0 ;
13934 unsigned long val1
;
13936 bool temp2
= false ;
13937 PyObject
* obj0
= 0 ;
13938 PyObject
* obj1
= 0 ;
13939 char * kwnames
[] = {
13940 (char *) "level",(char *) "msg", NULL
13943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13944 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13945 if (!SWIG_IsOK(ecode1
)) {
13946 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13948 arg1
= static_cast< unsigned long >(val1
);
13950 arg2
= wxString_in_helper(obj1
);
13951 if (arg2
== NULL
) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= SWIG_Py_Void();
13975 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13976 PyObject
*resultobj
= 0;
13977 unsigned long arg1
;
13978 wxString
*arg2
= 0 ;
13979 unsigned long val1
;
13981 bool temp2
= false ;
13983 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13984 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13985 if (!SWIG_IsOK(ecode1
)) {
13986 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13988 arg1
= static_cast< unsigned long >(val1
);
13990 arg2
= wxString_in_helper(swig_obj
[1]);
13991 if (arg2
== NULL
) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13997 wxPyEndAllowThreads(__tstate
);
13998 if (PyErr_Occurred()) SWIG_fail
;
14000 resultobj
= SWIG_Py_Void();
14015 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14016 PyObject
*resultobj
= 0;
14017 wxString
*arg1
= 0 ;
14018 wxString
*arg2
= 0 ;
14019 bool temp1
= false ;
14020 bool temp2
= false ;
14022 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
14024 arg1
= wxString_in_helper(swig_obj
[0]);
14025 if (arg1
== NULL
) SWIG_fail
;
14029 arg2
= wxString_in_helper(swig_obj
[1]);
14030 if (arg2
== NULL
) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14039 resultobj
= SWIG_Py_Void();
14062 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
14066 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
14072 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
14075 if (!_v
) goto check_1
;
14076 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
14081 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
14085 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
14090 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
= 0;
14092 wxString
*arg1
= 0 ;
14093 wxString
*arg2
= 0 ;
14094 bool temp1
= false ;
14095 bool temp2
= false ;
14096 PyObject
* obj0
= 0 ;
14097 PyObject
* obj1
= 0 ;
14098 char * kwnames
[] = {
14099 (char *) "title",(char *) "text", NULL
14102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14104 arg1
= wxString_in_helper(obj0
);
14105 if (arg1
== NULL
) SWIG_fail
;
14109 arg2
= wxString_in_helper(obj1
);
14110 if (arg2
== NULL
) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_Py_Void();
14142 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14143 PyObject
*resultobj
= 0;
14144 wxLogNull
*result
= 0 ;
14146 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (wxLogNull
*)new wxLogNull();
14150 wxPyEndAllowThreads(__tstate
);
14151 if (PyErr_Occurred()) SWIG_fail
;
14153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14160 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14161 PyObject
*resultobj
= 0;
14162 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14165 PyObject
*swig_obj
[1] ;
14167 if (!args
) SWIG_fail
;
14168 swig_obj
[0] = args
;
14169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14170 if (!SWIG_IsOK(res1
)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14173 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= SWIG_Py_Void();
14188 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14191 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14192 return SWIG_Py_Void();
14195 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14196 return SWIG_Python_InitShadowInstance(args
);
14199 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14200 PyObject
*resultobj
= 0;
14201 wxPyLog
*result
= 0 ;
14203 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 result
= (wxPyLog
*)new wxPyLog();
14207 wxPyEndAllowThreads(__tstate
);
14208 if (PyErr_Occurred()) SWIG_fail
;
14210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14217 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14218 PyObject
*resultobj
= 0;
14219 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14220 PyObject
*arg2
= (PyObject
*) 0 ;
14221 PyObject
*arg3
= (PyObject
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 PyObject
* obj1
= 0 ;
14226 PyObject
* obj2
= 0 ;
14227 char * kwnames
[] = {
14228 (char *) "self",(char *) "self",(char *) "_class", NULL
14231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14233 if (!SWIG_IsOK(res1
)) {
14234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14236 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= SWIG_Py_Void();
14252 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14255 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14256 return SWIG_Py_Void();
14259 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14260 return SWIG_Python_InitShadowInstance(args
);
14263 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
= 0;
14266 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14267 int arg3
= (int) wxKILL_NOCHILDREN
;
14268 wxKillError result
;
14275 PyObject
* obj0
= 0 ;
14276 PyObject
* obj1
= 0 ;
14277 PyObject
* obj2
= 0 ;
14278 char * kwnames
[] = {
14279 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14283 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14284 if (!SWIG_IsOK(ecode1
)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14287 arg1
= static_cast< int >(val1
);
14289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14290 if (!SWIG_IsOK(ecode2
)) {
14291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14293 arg2
= static_cast< wxSignal
>(val2
);
14296 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14297 if (!SWIG_IsOK(ecode3
)) {
14298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14300 arg3
= static_cast< int >(val3
);
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14305 wxPyEndAllowThreads(__tstate
);
14306 if (PyErr_Occurred()) SWIG_fail
;
14308 resultobj
= SWIG_From_int(static_cast< int >(result
));
14315 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
= 0;
14321 PyObject
* obj0
= 0 ;
14322 char * kwnames
[] = {
14323 (char *) "pid", NULL
14326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14327 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14328 if (!SWIG_IsOK(ecode1
)) {
14329 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14331 arg1
= static_cast< int >(val1
);
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (bool)wxPyProcess::Exists(arg1
);
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14347 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
= 0;
14349 wxString
*arg1
= 0 ;
14350 int arg2
= (int) wxEXEC_ASYNC
;
14351 wxPyProcess
*result
= 0 ;
14352 bool temp1
= false ;
14355 PyObject
* obj0
= 0 ;
14356 PyObject
* obj1
= 0 ;
14357 char * kwnames
[] = {
14358 (char *) "cmd",(char *) "flags", NULL
14361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14363 arg1
= wxString_in_helper(obj0
);
14364 if (arg1
== NULL
) SWIG_fail
;
14368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14369 if (!SWIG_IsOK(ecode2
)) {
14370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14372 arg2
= static_cast< int >(val2
);
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14395 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
= 0;
14397 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14398 int arg2
= (int) -1 ;
14399 wxPyProcess
*result
= 0 ;
14404 PyObject
* obj0
= 0 ;
14405 PyObject
* obj1
= 0 ;
14406 char * kwnames
[] = {
14407 (char *) "parent",(char *) "id", NULL
14410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14413 if (!SWIG_IsOK(res1
)) {
14414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14416 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14420 if (!SWIG_IsOK(ecode2
)) {
14421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14423 arg2
= static_cast< int >(val2
);
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14438 SWIGINTERN PyObject
*_wrap_delete_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14439 PyObject
*resultobj
= 0;
14440 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14443 PyObject
*swig_obj
[1] ;
14445 if (!args
) SWIG_fail
;
14446 swig_obj
[0] = args
;
14447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_DISOWN
| 0 );
14448 if (!SWIG_IsOK(res1
)) {
14449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Process" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14451 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= SWIG_Py_Void();
14466 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
= 0;
14468 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14469 PyObject
*arg2
= (PyObject
*) 0 ;
14470 PyObject
*arg3
= (PyObject
*) 0 ;
14473 PyObject
* obj0
= 0 ;
14474 PyObject
* obj1
= 0 ;
14475 PyObject
* obj2
= 0 ;
14476 char * kwnames
[] = {
14477 (char *) "self",(char *) "self",(char *) "_class", NULL
14480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14482 if (!SWIG_IsOK(res1
)) {
14483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14485 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= SWIG_Py_Void();
14501 SWIGINTERN PyObject
*_wrap_Process_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14502 PyObject
*resultobj
= 0;
14503 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14507 PyObject
*swig_obj
[1] ;
14509 if (!args
) SWIG_fail
;
14510 swig_obj
[0] = args
;
14511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14512 if (!SWIG_IsOK(res1
)) {
14513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetPid" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14515 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (long)((wxPyProcess
const *)arg1
)->GetPid();
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= SWIG_From_long(static_cast< long >(result
));
14529 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
= 0;
14531 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14540 PyObject
* obj0
= 0 ;
14541 PyObject
* obj1
= 0 ;
14542 PyObject
* obj2
= 0 ;
14543 char * kwnames
[] = {
14544 (char *) "self",(char *) "pid",(char *) "status", NULL
14547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14549 if (!SWIG_IsOK(res1
)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14552 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14554 if (!SWIG_IsOK(ecode2
)) {
14555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14557 arg2
= static_cast< int >(val2
);
14558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14559 if (!SWIG_IsOK(ecode3
)) {
14560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14562 arg3
= static_cast< int >(val3
);
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 (arg1
)->OnTerminate(arg2
,arg3
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_Py_Void();
14576 SWIGINTERN PyObject
*_wrap_Process_Redirect(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_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14589 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 (arg1
)->Redirect();
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 resultobj
= SWIG_Py_Void();
14603 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14604 PyObject
*resultobj
= 0;
14605 wxPyProcess
*arg1
= (wxPyProcess
*) 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_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14617 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= (bool)(arg1
)->IsRedirected();
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14633 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14634 PyObject
*resultobj
= 0;
14635 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14638 PyObject
*swig_obj
[1] ;
14640 if (!args
) SWIG_fail
;
14641 swig_obj
[0] = args
;
14642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14643 if (!SWIG_IsOK(res1
)) {
14644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14646 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= SWIG_Py_Void();
14660 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14661 PyObject
*resultobj
= 0;
14662 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14663 wxInputStream
*result
= 0 ;
14666 PyObject
*swig_obj
[1] ;
14668 if (!args
) SWIG_fail
;
14669 swig_obj
[0] = args
;
14670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14671 if (!SWIG_IsOK(res1
)) {
14672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14674 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14682 wxPyInputStream
* _ptr
= NULL
;
14685 _ptr
= new wxPyInputStream(result
);
14687 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14695 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14696 PyObject
*resultobj
= 0;
14697 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14698 wxInputStream
*result
= 0 ;
14701 PyObject
*swig_obj
[1] ;
14703 if (!args
) SWIG_fail
;
14704 swig_obj
[0] = args
;
14705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14706 if (!SWIG_IsOK(res1
)) {
14707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14709 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14717 wxPyInputStream
* _ptr
= NULL
;
14720 _ptr
= new wxPyInputStream(result
);
14722 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14730 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14731 PyObject
*resultobj
= 0;
14732 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14733 wxOutputStream
*result
= 0 ;
14736 PyObject
*swig_obj
[1] ;
14738 if (!args
) SWIG_fail
;
14739 swig_obj
[0] = args
;
14740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14741 if (!SWIG_IsOK(res1
)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14744 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14758 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14759 PyObject
*resultobj
= 0;
14760 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14763 PyObject
*swig_obj
[1] ;
14765 if (!args
) SWIG_fail
;
14766 swig_obj
[0] = args
;
14767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14768 if (!SWIG_IsOK(res1
)) {
14769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14771 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 (arg1
)->CloseOutput();
14775 wxPyEndAllowThreads(__tstate
);
14776 if (PyErr_Occurred()) SWIG_fail
;
14778 resultobj
= SWIG_Py_Void();
14785 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14786 PyObject
*resultobj
= 0;
14787 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14791 PyObject
*swig_obj
[1] ;
14793 if (!args
) SWIG_fail
;
14794 swig_obj
[0] = args
;
14795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14796 if (!SWIG_IsOK(res1
)) {
14797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14799 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14815 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14816 PyObject
*resultobj
= 0;
14817 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14821 PyObject
*swig_obj
[1] ;
14823 if (!args
) SWIG_fail
;
14824 swig_obj
[0] = args
;
14825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14826 if (!SWIG_IsOK(res1
)) {
14827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14829 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14845 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14846 PyObject
*resultobj
= 0;
14847 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14851 PyObject
*swig_obj
[1] ;
14853 if (!args
) SWIG_fail
;
14854 swig_obj
[0] = args
;
14855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14856 if (!SWIG_IsOK(res1
)) {
14857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14859 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14875 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14878 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14879 return SWIG_Py_Void();
14882 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14883 return SWIG_Python_InitShadowInstance(args
);
14886 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
= 0;
14888 int arg1
= (int) 0 ;
14889 int arg2
= (int) 0 ;
14890 int arg3
= (int) 0 ;
14891 wxProcessEvent
*result
= 0 ;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 PyObject
* obj2
= 0 ;
14901 char * kwnames
[] = {
14902 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14907 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14908 if (!SWIG_IsOK(ecode1
)) {
14909 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14911 arg1
= static_cast< int >(val1
);
14914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14915 if (!SWIG_IsOK(ecode2
)) {
14916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14918 arg2
= static_cast< int >(val2
);
14921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14922 if (!SWIG_IsOK(ecode3
)) {
14923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14925 arg3
= static_cast< int >(val3
);
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14940 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14941 PyObject
*resultobj
= 0;
14942 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14946 PyObject
*swig_obj
[1] ;
14948 if (!args
) SWIG_fail
;
14949 swig_obj
[0] = args
;
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_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14954 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 result
= (int)(arg1
)->GetPid();
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= SWIG_From_int(static_cast< int >(result
));
14968 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14969 PyObject
*resultobj
= 0;
14970 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14974 PyObject
*swig_obj
[1] ;
14976 if (!args
) SWIG_fail
;
14977 swig_obj
[0] = args
;
14978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14979 if (!SWIG_IsOK(res1
)) {
14980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14982 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (int)(arg1
)->GetExitCode();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_From_int(static_cast< int >(result
));
14996 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14997 PyObject
*resultobj
= 0;
14998 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15004 PyObject
*swig_obj
[2] ;
15006 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
15007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15008 if (!SWIG_IsOK(res1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15011 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15012 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15013 if (!SWIG_IsOK(ecode2
)) {
15014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
15016 arg2
= static_cast< int >(val2
);
15017 if (arg1
) (arg1
)->m_pid
= arg2
;
15019 resultobj
= SWIG_Py_Void();
15026 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15027 PyObject
*resultobj
= 0;
15028 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15032 PyObject
*swig_obj
[1] ;
15034 if (!args
) SWIG_fail
;
15035 swig_obj
[0] = args
;
15036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15037 if (!SWIG_IsOK(res1
)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15040 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15041 result
= (int) ((arg1
)->m_pid
);
15042 resultobj
= SWIG_From_int(static_cast< int >(result
));
15049 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15050 PyObject
*resultobj
= 0;
15051 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15057 PyObject
*swig_obj
[2] ;
15059 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
15060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15061 if (!SWIG_IsOK(res1
)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15064 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15065 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15066 if (!SWIG_IsOK(ecode2
)) {
15067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
15069 arg2
= static_cast< int >(val2
);
15070 if (arg1
) (arg1
)->m_exitcode
= arg2
;
15072 resultobj
= SWIG_Py_Void();
15079 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15080 PyObject
*resultobj
= 0;
15081 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15085 PyObject
*swig_obj
[1] ;
15087 if (!args
) SWIG_fail
;
15088 swig_obj
[0] = args
;
15089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15090 if (!SWIG_IsOK(res1
)) {
15091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15093 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15094 result
= (int) ((arg1
)->m_exitcode
);
15095 resultobj
= SWIG_From_int(static_cast< int >(result
));
15102 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15105 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
15106 return SWIG_Py_Void();
15109 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15110 return SWIG_Python_InitShadowInstance(args
);
15113 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
= 0;
15115 wxString
*arg1
= 0 ;
15116 int arg2
= (int) wxEXEC_ASYNC
;
15117 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
15119 bool temp1
= false ;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 PyObject
* obj2
= 0 ;
15127 char * kwnames
[] = {
15128 (char *) "command",(char *) "flags",(char *) "process", NULL
15131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15133 arg1
= wxString_in_helper(obj0
);
15134 if (arg1
== NULL
) SWIG_fail
;
15138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15139 if (!SWIG_IsOK(ecode2
)) {
15140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
15142 arg2
= static_cast< int >(val2
);
15145 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
15146 if (!SWIG_IsOK(res3
)) {
15147 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
15149 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
15152 if (!wxPyCheckForApp()) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= SWIG_From_long(static_cast< long >(result
));
15173 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
= 0;
15176 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
15177 wxKillError
*arg3
= (wxKillError
*) 0 ;
15178 int arg4
= (int) wxKILL_NOCHILDREN
;
15184 wxKillError temp3
;
15187 PyObject
* obj0
= 0 ;
15188 PyObject
* obj1
= 0 ;
15189 PyObject
* obj2
= 0 ;
15190 char * kwnames
[] = {
15191 (char *) "pid",(char *) "sig",(char *) "flags", NULL
15197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15198 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
15199 if (!SWIG_IsOK(ecode1
)) {
15200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
15202 arg1
= static_cast< long >(val1
);
15204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15205 if (!SWIG_IsOK(ecode2
)) {
15206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
15208 arg2
= static_cast< wxSignal
>(val2
);
15211 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
15212 if (!SWIG_IsOK(ecode4
)) {
15213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
15215 arg4
= static_cast< int >(val4
);
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= SWIG_From_int(static_cast< int >(result
));
15226 o
= PyInt_FromLong((long) (*arg3
));
15230 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15239 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
= 0;
15241 int arg1
= (int) wxJOYSTICK1
;
15242 wxJoystick
*result
= 0 ;
15245 PyObject
* obj0
= 0 ;
15246 char * kwnames
[] = {
15247 (char *) "joystick", NULL
15250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15252 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15253 if (!SWIG_IsOK(ecode1
)) {
15254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15256 arg1
= static_cast< int >(val1
);
15259 if (!wxPyCheckForApp()) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (wxJoystick
*)new wxJoystick(arg1
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15272 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15273 PyObject
*resultobj
= 0;
15274 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
, SWIG_POINTER_DISOWN
| 0 );
15282 if (!SWIG_IsOK(res1
)) {
15283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15285 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= SWIG_Py_Void();
15300 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15301 PyObject
*resultobj
= 0;
15302 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15306 PyObject
*swig_obj
[1] ;
15308 if (!args
) SWIG_fail
;
15309 swig_obj
[0] = args
;
15310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15311 if (!SWIG_IsOK(res1
)) {
15312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15314 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (arg1
)->GetPosition();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15328 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15329 PyObject
*resultobj
= 0;
15330 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15334 PyObject
*swig_obj
[1] ;
15336 if (!args
) SWIG_fail
;
15337 swig_obj
[0] = args
;
15338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15339 if (!SWIG_IsOK(res1
)) {
15340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15342 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (int)(arg1
)->GetZPosition();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= SWIG_From_int(static_cast< int >(result
));
15356 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15357 PyObject
*resultobj
= 0;
15358 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15362 PyObject
*swig_obj
[1] ;
15364 if (!args
) SWIG_fail
;
15365 swig_obj
[0] = args
;
15366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15367 if (!SWIG_IsOK(res1
)) {
15368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15370 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (int)(arg1
)->GetButtonState();
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= SWIG_From_int(static_cast< int >(result
));
15384 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15385 PyObject
*resultobj
= 0;
15386 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15390 PyObject
*swig_obj
[1] ;
15392 if (!args
) SWIG_fail
;
15393 swig_obj
[0] = args
;
15394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15395 if (!SWIG_IsOK(res1
)) {
15396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15398 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 result
= (int)(arg1
)->GetPOVPosition();
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= SWIG_From_int(static_cast< int >(result
));
15412 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15413 PyObject
*resultobj
= 0;
15414 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15418 PyObject
*swig_obj
[1] ;
15420 if (!args
) SWIG_fail
;
15421 swig_obj
[0] = args
;
15422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15423 if (!SWIG_IsOK(res1
)) {
15424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15426 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (int)(arg1
)->GetPOVCTSPosition();
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= SWIG_From_int(static_cast< int >(result
));
15440 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15441 PyObject
*resultobj
= 0;
15442 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15446 PyObject
*swig_obj
[1] ;
15448 if (!args
) SWIG_fail
;
15449 swig_obj
[0] = args
;
15450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15451 if (!SWIG_IsOK(res1
)) {
15452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15454 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 result
= (int)(arg1
)->GetRudderPosition();
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_From_int(static_cast< int >(result
));
15468 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15469 PyObject
*resultobj
= 0;
15470 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15474 PyObject
*swig_obj
[1] ;
15476 if (!args
) SWIG_fail
;
15477 swig_obj
[0] = args
;
15478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15479 if (!SWIG_IsOK(res1
)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15482 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (int)(arg1
)->GetUPosition();
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= SWIG_From_int(static_cast< int >(result
));
15496 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15497 PyObject
*resultobj
= 0;
15498 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15502 PyObject
*swig_obj
[1] ;
15504 if (!args
) SWIG_fail
;
15505 swig_obj
[0] = args
;
15506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15507 if (!SWIG_IsOK(res1
)) {
15508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15510 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15513 result
= (int)(arg1
)->GetVPosition();
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= SWIG_From_int(static_cast< int >(result
));
15524 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15525 PyObject
*resultobj
= 0;
15526 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15530 PyObject
*swig_obj
[1] ;
15532 if (!args
) SWIG_fail
;
15533 swig_obj
[0] = args
;
15534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15535 if (!SWIG_IsOK(res1
)) {
15536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15538 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 result
= (int)(arg1
)->GetMovementThreshold();
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_From_int(static_cast< int >(result
));
15552 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
= 0;
15554 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15560 PyObject
* obj0
= 0 ;
15561 PyObject
* obj1
= 0 ;
15562 char * kwnames
[] = {
15563 (char *) "self",(char *) "threshold", NULL
15566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15568 if (!SWIG_IsOK(res1
)) {
15569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15571 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15573 if (!SWIG_IsOK(ecode2
)) {
15574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15576 arg2
= static_cast< int >(val2
);
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 (arg1
)->SetMovementThreshold(arg2
);
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= SWIG_Py_Void();
15590 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15591 PyObject
*resultobj
= 0;
15592 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15596 PyObject
*swig_obj
[1] ;
15598 if (!args
) SWIG_fail
;
15599 swig_obj
[0] = args
;
15600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15601 if (!SWIG_IsOK(res1
)) {
15602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15604 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 result
= (bool)(arg1
)->IsOk();
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15620 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15621 PyObject
*resultobj
= 0;
15622 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15626 PyObject
*swig_obj
[1] ;
15628 if (!args
) SWIG_fail
;
15629 swig_obj
[0] = args
;
15630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15631 if (!SWIG_IsOK(res1
)) {
15632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15634 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15637 result
= (int)(arg1
)->GetNumberJoysticks();
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= SWIG_From_int(static_cast< int >(result
));
15648 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15649 PyObject
*resultobj
= 0;
15650 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15654 PyObject
*swig_obj
[1] ;
15656 if (!args
) SWIG_fail
;
15657 swig_obj
[0] = args
;
15658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15659 if (!SWIG_IsOK(res1
)) {
15660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15662 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (int)(arg1
)->GetManufacturerId();
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_From_int(static_cast< int >(result
));
15676 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15677 PyObject
*resultobj
= 0;
15678 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15682 PyObject
*swig_obj
[1] ;
15684 if (!args
) SWIG_fail
;
15685 swig_obj
[0] = args
;
15686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15687 if (!SWIG_IsOK(res1
)) {
15688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15690 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 result
= (int)(arg1
)->GetProductId();
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= SWIG_From_int(static_cast< int >(result
));
15704 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15705 PyObject
*resultobj
= 0;
15706 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15710 PyObject
*swig_obj
[1] ;
15712 if (!args
) SWIG_fail
;
15713 swig_obj
[0] = args
;
15714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15715 if (!SWIG_IsOK(res1
)) {
15716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15718 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 result
= (arg1
)->GetProductName();
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15738 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15739 PyObject
*resultobj
= 0;
15740 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15744 PyObject
*swig_obj
[1] ;
15746 if (!args
) SWIG_fail
;
15747 swig_obj
[0] = args
;
15748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15749 if (!SWIG_IsOK(res1
)) {
15750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15752 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 result
= (int)(arg1
)->GetXMin();
15756 wxPyEndAllowThreads(__tstate
);
15757 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= SWIG_From_int(static_cast< int >(result
));
15766 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15767 PyObject
*resultobj
= 0;
15768 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15772 PyObject
*swig_obj
[1] ;
15774 if (!args
) SWIG_fail
;
15775 swig_obj
[0] = args
;
15776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15777 if (!SWIG_IsOK(res1
)) {
15778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15780 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (int)(arg1
)->GetYMin();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= SWIG_From_int(static_cast< int >(result
));
15794 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15795 PyObject
*resultobj
= 0;
15796 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15800 PyObject
*swig_obj
[1] ;
15802 if (!args
) SWIG_fail
;
15803 swig_obj
[0] = args
;
15804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15805 if (!SWIG_IsOK(res1
)) {
15806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15808 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 result
= (int)(arg1
)->GetZMin();
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_From_int(static_cast< int >(result
));
15822 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15823 PyObject
*resultobj
= 0;
15824 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15828 PyObject
*swig_obj
[1] ;
15830 if (!args
) SWIG_fail
;
15831 swig_obj
[0] = args
;
15832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15833 if (!SWIG_IsOK(res1
)) {
15834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15836 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 result
= (int)(arg1
)->GetXMax();
15840 wxPyEndAllowThreads(__tstate
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= SWIG_From_int(static_cast< int >(result
));
15850 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15851 PyObject
*resultobj
= 0;
15852 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15856 PyObject
*swig_obj
[1] ;
15858 if (!args
) SWIG_fail
;
15859 swig_obj
[0] = args
;
15860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15861 if (!SWIG_IsOK(res1
)) {
15862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15864 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 result
= (int)(arg1
)->GetYMax();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15871 resultobj
= SWIG_From_int(static_cast< int >(result
));
15878 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15879 PyObject
*resultobj
= 0;
15880 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15884 PyObject
*swig_obj
[1] ;
15886 if (!args
) SWIG_fail
;
15887 swig_obj
[0] = args
;
15888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15889 if (!SWIG_IsOK(res1
)) {
15890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15892 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (int)(arg1
)->GetZMax();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 resultobj
= SWIG_From_int(static_cast< int >(result
));
15906 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15907 PyObject
*resultobj
= 0;
15908 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15912 PyObject
*swig_obj
[1] ;
15914 if (!args
) SWIG_fail
;
15915 swig_obj
[0] = args
;
15916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15917 if (!SWIG_IsOK(res1
)) {
15918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15920 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (int)(arg1
)->GetNumberButtons();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= SWIG_From_int(static_cast< int >(result
));
15934 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15935 PyObject
*resultobj
= 0;
15936 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15940 PyObject
*swig_obj
[1] ;
15942 if (!args
) SWIG_fail
;
15943 swig_obj
[0] = args
;
15944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15945 if (!SWIG_IsOK(res1
)) {
15946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15948 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 result
= (int)(arg1
)->GetNumberAxes();
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= SWIG_From_int(static_cast< int >(result
));
15962 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15963 PyObject
*resultobj
= 0;
15964 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15968 PyObject
*swig_obj
[1] ;
15970 if (!args
) SWIG_fail
;
15971 swig_obj
[0] = args
;
15972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15973 if (!SWIG_IsOK(res1
)) {
15974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15976 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= (int)(arg1
)->GetMaxButtons();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= SWIG_From_int(static_cast< int >(result
));
15990 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15991 PyObject
*resultobj
= 0;
15992 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15996 PyObject
*swig_obj
[1] ;
15998 if (!args
) SWIG_fail
;
15999 swig_obj
[0] = args
;
16000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16001 if (!SWIG_IsOK(res1
)) {
16002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
16004 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 result
= (int)(arg1
)->GetMaxAxes();
16008 wxPyEndAllowThreads(__tstate
);
16009 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= SWIG_From_int(static_cast< int >(result
));
16018 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16019 PyObject
*resultobj
= 0;
16020 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16024 PyObject
*swig_obj
[1] ;
16026 if (!args
) SWIG_fail
;
16027 swig_obj
[0] = args
;
16028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16029 if (!SWIG_IsOK(res1
)) {
16030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16032 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 result
= (int)(arg1
)->GetPollingMin();
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16039 resultobj
= SWIG_From_int(static_cast< int >(result
));
16046 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16047 PyObject
*resultobj
= 0;
16048 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16052 PyObject
*swig_obj
[1] ;
16054 if (!args
) SWIG_fail
;
16055 swig_obj
[0] = args
;
16056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16057 if (!SWIG_IsOK(res1
)) {
16058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16060 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16063 result
= (int)(arg1
)->GetPollingMax();
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16067 resultobj
= SWIG_From_int(static_cast< int >(result
));
16074 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16075 PyObject
*resultobj
= 0;
16076 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16080 PyObject
*swig_obj
[1] ;
16082 if (!args
) SWIG_fail
;
16083 swig_obj
[0] = args
;
16084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16085 if (!SWIG_IsOK(res1
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16088 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (int)(arg1
)->GetRudderMin();
16092 wxPyEndAllowThreads(__tstate
);
16093 if (PyErr_Occurred()) SWIG_fail
;
16095 resultobj
= SWIG_From_int(static_cast< int >(result
));
16102 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16103 PyObject
*resultobj
= 0;
16104 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16108 PyObject
*swig_obj
[1] ;
16110 if (!args
) SWIG_fail
;
16111 swig_obj
[0] = args
;
16112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16113 if (!SWIG_IsOK(res1
)) {
16114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16116 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16119 result
= (int)(arg1
)->GetRudderMax();
16120 wxPyEndAllowThreads(__tstate
);
16121 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= SWIG_From_int(static_cast< int >(result
));
16130 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16131 PyObject
*resultobj
= 0;
16132 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16136 PyObject
*swig_obj
[1] ;
16138 if (!args
) SWIG_fail
;
16139 swig_obj
[0] = args
;
16140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16141 if (!SWIG_IsOK(res1
)) {
16142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16144 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (int)(arg1
)->GetUMin();
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= SWIG_From_int(static_cast< int >(result
));
16158 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16159 PyObject
*resultobj
= 0;
16160 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16164 PyObject
*swig_obj
[1] ;
16166 if (!args
) SWIG_fail
;
16167 swig_obj
[0] = args
;
16168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16169 if (!SWIG_IsOK(res1
)) {
16170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16172 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (int)(arg1
)->GetUMax();
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= SWIG_From_int(static_cast< int >(result
));
16186 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16187 PyObject
*resultobj
= 0;
16188 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16192 PyObject
*swig_obj
[1] ;
16194 if (!args
) SWIG_fail
;
16195 swig_obj
[0] = args
;
16196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16197 if (!SWIG_IsOK(res1
)) {
16198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16200 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (int)(arg1
)->GetVMin();
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= SWIG_From_int(static_cast< int >(result
));
16214 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16215 PyObject
*resultobj
= 0;
16216 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16220 PyObject
*swig_obj
[1] ;
16222 if (!args
) SWIG_fail
;
16223 swig_obj
[0] = args
;
16224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16225 if (!SWIG_IsOK(res1
)) {
16226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16228 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= (int)(arg1
)->GetVMax();
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16235 resultobj
= SWIG_From_int(static_cast< int >(result
));
16242 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16243 PyObject
*resultobj
= 0;
16244 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16248 PyObject
*swig_obj
[1] ;
16250 if (!args
) SWIG_fail
;
16251 swig_obj
[0] = args
;
16252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16253 if (!SWIG_IsOK(res1
)) {
16254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16256 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (bool)(arg1
)->HasRudder();
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16272 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16273 PyObject
*resultobj
= 0;
16274 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16278 PyObject
*swig_obj
[1] ;
16280 if (!args
) SWIG_fail
;
16281 swig_obj
[0] = args
;
16282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16283 if (!SWIG_IsOK(res1
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16286 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 result
= (bool)(arg1
)->HasZ();
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16302 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16303 PyObject
*resultobj
= 0;
16304 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16308 PyObject
*swig_obj
[1] ;
16310 if (!args
) SWIG_fail
;
16311 swig_obj
[0] = args
;
16312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16313 if (!SWIG_IsOK(res1
)) {
16314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16316 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 result
= (bool)(arg1
)->HasU();
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16332 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16333 PyObject
*resultobj
= 0;
16334 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16338 PyObject
*swig_obj
[1] ;
16340 if (!args
) SWIG_fail
;
16341 swig_obj
[0] = args
;
16342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16343 if (!SWIG_IsOK(res1
)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16346 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (bool)(arg1
)->HasV();
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16362 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16363 PyObject
*resultobj
= 0;
16364 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16368 PyObject
*swig_obj
[1] ;
16370 if (!args
) SWIG_fail
;
16371 swig_obj
[0] = args
;
16372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16373 if (!SWIG_IsOK(res1
)) {
16374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16376 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16379 result
= (bool)(arg1
)->HasPOV();
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16392 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16393 PyObject
*resultobj
= 0;
16394 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16398 PyObject
*swig_obj
[1] ;
16400 if (!args
) SWIG_fail
;
16401 swig_obj
[0] = args
;
16402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16403 if (!SWIG_IsOK(res1
)) {
16404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16406 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (bool)(arg1
)->HasPOV4Dir();
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16422 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16423 PyObject
*resultobj
= 0;
16424 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16428 PyObject
*swig_obj
[1] ;
16430 if (!args
) SWIG_fail
;
16431 swig_obj
[0] = args
;
16432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16433 if (!SWIG_IsOK(res1
)) {
16434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16436 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= (bool)(arg1
)->HasPOVCTS();
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16452 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
= 0;
16454 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16455 wxWindow
*arg2
= (wxWindow
*) 0 ;
16456 int arg3
= (int) 0 ;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 PyObject
* obj2
= 0 ;
16467 char * kwnames
[] = {
16468 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16473 if (!SWIG_IsOK(res1
)) {
16474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16476 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16477 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16478 if (!SWIG_IsOK(res2
)) {
16479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16481 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16484 if (!SWIG_IsOK(ecode3
)) {
16485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16487 arg3
= static_cast< int >(val3
);
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16492 wxPyEndAllowThreads(__tstate
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16504 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16505 PyObject
*resultobj
= 0;
16506 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16510 PyObject
*swig_obj
[1] ;
16512 if (!args
) SWIG_fail
;
16513 swig_obj
[0] = args
;
16514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16515 if (!SWIG_IsOK(res1
)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16518 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 result
= (bool)(arg1
)->ReleaseCapture();
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16534 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16537 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16538 return SWIG_Py_Void();
16541 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16542 return SWIG_Python_InitShadowInstance(args
);
16545 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
= 0;
16547 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16548 int arg2
= (int) 0 ;
16549 int arg3
= (int) wxJOYSTICK1
;
16550 int arg4
= (int) 0 ;
16551 wxJoystickEvent
*result
= 0 ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 PyObject
* obj2
= 0 ;
16563 PyObject
* obj3
= 0 ;
16564 char * kwnames
[] = {
16565 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16570 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16571 if (!SWIG_IsOK(ecode1
)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16574 arg1
= static_cast< wxEventType
>(val1
);
16577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16578 if (!SWIG_IsOK(ecode2
)) {
16579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16581 arg2
= static_cast< int >(val2
);
16584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16585 if (!SWIG_IsOK(ecode3
)) {
16586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16588 arg3
= static_cast< int >(val3
);
16591 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16592 if (!SWIG_IsOK(ecode4
)) {
16593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16595 arg4
= static_cast< int >(val4
);
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16610 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16611 PyObject
*resultobj
= 0;
16612 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16616 PyObject
*swig_obj
[1] ;
16618 if (!args
) SWIG_fail
;
16619 swig_obj
[0] = args
;
16620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16621 if (!SWIG_IsOK(res1
)) {
16622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16624 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16638 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16639 PyObject
*resultobj
= 0;
16640 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16644 PyObject
*swig_obj
[1] ;
16646 if (!args
) SWIG_fail
;
16647 swig_obj
[0] = args
;
16648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16649 if (!SWIG_IsOK(res1
)) {
16650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16652 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= SWIG_From_int(static_cast< int >(result
));
16666 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16667 PyObject
*resultobj
= 0;
16668 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16672 PyObject
*swig_obj
[1] ;
16674 if (!args
) SWIG_fail
;
16675 swig_obj
[0] = args
;
16676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16677 if (!SWIG_IsOK(res1
)) {
16678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16680 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= SWIG_From_int(static_cast< int >(result
));
16694 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16695 PyObject
*resultobj
= 0;
16696 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16700 PyObject
*swig_obj
[1] ;
16702 if (!args
) SWIG_fail
;
16703 swig_obj
[0] = args
;
16704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16705 if (!SWIG_IsOK(res1
)) {
16706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16708 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_From_int(static_cast< int >(result
));
16722 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16723 PyObject
*resultobj
= 0;
16724 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16728 PyObject
*swig_obj
[1] ;
16730 if (!args
) SWIG_fail
;
16731 swig_obj
[0] = args
;
16732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16733 if (!SWIG_IsOK(res1
)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16736 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= SWIG_From_int(static_cast< int >(result
));
16750 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
= 0;
16752 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16758 PyObject
* obj0
= 0 ;
16759 PyObject
* obj1
= 0 ;
16760 char * kwnames
[] = {
16761 (char *) "self",(char *) "stick", NULL
16764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16766 if (!SWIG_IsOK(res1
)) {
16767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16769 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16771 if (!SWIG_IsOK(ecode2
)) {
16772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16774 arg2
= static_cast< int >(val2
);
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 (arg1
)->SetJoystick(arg2
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 resultobj
= SWIG_Py_Void();
16788 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16789 PyObject
*resultobj
= 0;
16790 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16796 PyObject
* obj0
= 0 ;
16797 PyObject
* obj1
= 0 ;
16798 char * kwnames
[] = {
16799 (char *) "self",(char *) "state", NULL
16802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16804 if (!SWIG_IsOK(res1
)) {
16805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16807 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16809 if (!SWIG_IsOK(ecode2
)) {
16810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16812 arg2
= static_cast< int >(val2
);
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16815 (arg1
)->SetButtonState(arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 resultobj
= SWIG_Py_Void();
16826 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
= 0;
16828 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 PyObject
* obj1
= 0 ;
16836 char * kwnames
[] = {
16837 (char *) "self",(char *) "change", NULL
16840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16842 if (!SWIG_IsOK(res1
)) {
16843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16845 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16847 if (!SWIG_IsOK(ecode2
)) {
16848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16850 arg2
= static_cast< int >(val2
);
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 (arg1
)->SetButtonChange(arg2
);
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 resultobj
= SWIG_Py_Void();
16864 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
= 0;
16866 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16867 wxPoint
*arg2
= 0 ;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 char * kwnames
[] = {
16874 (char *) "self",(char *) "pos", NULL
16877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16879 if (!SWIG_IsOK(res1
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16882 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= SWIG_Py_Void();
16900 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
= 0;
16902 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16908 PyObject
* obj0
= 0 ;
16909 PyObject
* obj1
= 0 ;
16910 char * kwnames
[] = {
16911 (char *) "self",(char *) "zPos", NULL
16914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16916 if (!SWIG_IsOK(res1
)) {
16917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16919 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16921 if (!SWIG_IsOK(ecode2
)) {
16922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16924 arg2
= static_cast< int >(val2
);
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 (arg1
)->SetZPosition(arg2
);
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= SWIG_Py_Void();
16938 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16939 PyObject
*resultobj
= 0;
16940 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16944 PyObject
*swig_obj
[1] ;
16946 if (!args
) SWIG_fail
;
16947 swig_obj
[0] = args
;
16948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16949 if (!SWIG_IsOK(res1
)) {
16950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16952 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16968 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16969 PyObject
*resultobj
= 0;
16970 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16974 PyObject
*swig_obj
[1] ;
16976 if (!args
) SWIG_fail
;
16977 swig_obj
[0] = args
;
16978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16979 if (!SWIG_IsOK(res1
)) {
16980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16982 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16998 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16999 PyObject
*resultobj
= 0;
17000 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17004 PyObject
*swig_obj
[1] ;
17006 if (!args
) SWIG_fail
;
17007 swig_obj
[0] = args
;
17008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17009 if (!SWIG_IsOK(res1
)) {
17010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17012 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17028 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
= 0;
17030 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17031 int arg2
= (int) wxJOY_BUTTON_ANY
;
17037 PyObject
* obj0
= 0 ;
17038 PyObject
* obj1
= 0 ;
17039 char * kwnames
[] = {
17040 (char *) "self",(char *) "but", NULL
17043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17045 if (!SWIG_IsOK(res1
)) {
17046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17048 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17050 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17051 if (!SWIG_IsOK(ecode2
)) {
17052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
17054 arg2
= static_cast< int >(val2
);
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17071 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
= 0;
17073 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17074 int arg2
= (int) wxJOY_BUTTON_ANY
;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char * kwnames
[] = {
17083 (char *) "self",(char *) "but", NULL
17086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17088 if (!SWIG_IsOK(res1
)) {
17089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17091 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17094 if (!SWIG_IsOK(ecode2
)) {
17095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
17097 arg2
= static_cast< int >(val2
);
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17114 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
= 0;
17116 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17117 int arg2
= (int) wxJOY_BUTTON_ANY
;
17123 PyObject
* obj0
= 0 ;
17124 PyObject
* obj1
= 0 ;
17125 char * kwnames
[] = {
17126 (char *) "self",(char *) "but", NULL
17129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17131 if (!SWIG_IsOK(res1
)) {
17132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17134 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17137 if (!SWIG_IsOK(ecode2
)) {
17138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
17140 arg2
= static_cast< int >(val2
);
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17157 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17159 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17160 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
17161 return SWIG_Py_Void();
17164 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17165 return SWIG_Python_InitShadowInstance(args
);
17168 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
= 0;
17170 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17171 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17172 wxSound
*result
= 0 ;
17173 bool temp1
= false ;
17174 PyObject
* obj0
= 0 ;
17175 char * kwnames
[] = {
17176 (char *) "fileName", NULL
17179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
17182 arg1
= wxString_in_helper(obj0
);
17183 if (arg1
== NULL
) SWIG_fail
;
17188 if (!wxPyCheckForApp()) SWIG_fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
17209 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
= 0;
17211 PyObject
*arg1
= (PyObject
*) 0 ;
17212 wxSound
*result
= 0 ;
17213 PyObject
* obj0
= 0 ;
17214 char * kwnames
[] = {
17215 (char *) "data", NULL
17218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17221 if (!wxPyCheckForApp()) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= (wxSound
*)new_wxSound(arg1
);
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17234 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17235 PyObject
*resultobj
= 0;
17236 wxSound
*arg1
= (wxSound
*) 0 ;
17239 PyObject
*swig_obj
[1] ;
17241 if (!args
) SWIG_fail
;
17242 swig_obj
[0] = args
;
17243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17244 if (!SWIG_IsOK(res1
)) {
17245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17247 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 wxPyEndAllowThreads(__tstate
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= SWIG_Py_Void();
17262 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
= 0;
17264 wxSound
*arg1
= (wxSound
*) 0 ;
17265 wxString
*arg2
= 0 ;
17269 bool temp2
= false ;
17270 PyObject
* obj0
= 0 ;
17271 PyObject
* obj1
= 0 ;
17272 char * kwnames
[] = {
17273 (char *) "self",(char *) "fileName", NULL
17276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17278 if (!SWIG_IsOK(res1
)) {
17279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17281 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17283 arg2
= wxString_in_helper(obj1
);
17284 if (arg2
== NULL
) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17310 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
= 0;
17312 wxSound
*arg1
= (wxSound
*) 0 ;
17313 PyObject
*arg2
= (PyObject
*) 0 ;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 char * kwnames
[] = {
17320 (char *) "self",(char *) "data", NULL
17323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17325 if (!SWIG_IsOK(res1
)) {
17326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17328 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17345 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17346 PyObject
*resultobj
= 0;
17347 wxSound
*arg1
= (wxSound
*) 0 ;
17351 PyObject
*swig_obj
[1] ;
17353 if (!args
) SWIG_fail
;
17354 swig_obj
[0] = args
;
17355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17356 if (!SWIG_IsOK(res1
)) {
17357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17359 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 result
= (bool)(arg1
)->IsOk();
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17375 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
= 0;
17377 wxSound
*arg1
= (wxSound
*) 0 ;
17378 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17382 unsigned int val2
;
17384 PyObject
* obj0
= 0 ;
17385 PyObject
* obj1
= 0 ;
17386 char * kwnames
[] = {
17387 (char *) "self",(char *) "flags", NULL
17390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17392 if (!SWIG_IsOK(res1
)) {
17393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17395 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17397 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17398 if (!SWIG_IsOK(ecode2
)) {
17399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17401 arg2
= static_cast< unsigned int >(val2
);
17404 if (!wxPyCheckForApp()) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17419 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
= 0;
17421 wxString
*arg1
= 0 ;
17422 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17424 bool temp1
= false ;
17425 unsigned int val2
;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 char * kwnames
[] = {
17430 (char *) "filename",(char *) "flags", NULL
17433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17435 arg1
= wxString_in_helper(obj0
);
17436 if (arg1
== NULL
) SWIG_fail
;
17440 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17441 if (!SWIG_IsOK(ecode2
)) {
17442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17444 arg2
= static_cast< unsigned int >(val2
);
17447 if (!wxPyCheckForApp()) SWIG_fail
;
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17470 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17471 PyObject
*resultobj
= 0;
17473 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17475 if (!wxPyCheckForApp()) SWIG_fail
;
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 resultobj
= SWIG_Py_Void();
17488 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17491 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17492 return SWIG_Py_Void();
17495 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17496 return SWIG_Python_InitShadowInstance(args
);
17499 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
= 0;
17501 wxString
*arg1
= 0 ;
17502 wxString
*arg2
= 0 ;
17503 wxString
*arg3
= 0 ;
17504 wxString
*arg4
= 0 ;
17505 wxFileTypeInfo
*result
= 0 ;
17506 bool temp1
= false ;
17507 bool temp2
= false ;
17508 bool temp3
= false ;
17509 bool temp4
= false ;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 PyObject
* obj2
= 0 ;
17513 PyObject
* obj3
= 0 ;
17514 char * kwnames
[] = {
17515 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17520 arg1
= wxString_in_helper(obj0
);
17521 if (arg1
== NULL
) SWIG_fail
;
17525 arg2
= wxString_in_helper(obj1
);
17526 if (arg2
== NULL
) SWIG_fail
;
17530 arg3
= wxString_in_helper(obj2
);
17531 if (arg3
== NULL
) SWIG_fail
;
17535 arg4
= wxString_in_helper(obj3
);
17536 if (arg4
== NULL
) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17584 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
= 0;
17586 wxArrayString
*arg1
= 0 ;
17587 wxFileTypeInfo
*result
= 0 ;
17588 bool temp1
= false ;
17589 PyObject
* obj0
= 0 ;
17590 char * kwnames
[] = {
17591 (char *) "sArray", NULL
17594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17596 if (! PySequence_Check(obj0
)) {
17597 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17600 arg1
= new wxArrayString
;
17602 int i
, len
=PySequence_Length(obj0
);
17603 for (i
=0; i
<len
; i
++) {
17604 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17605 wxString
* s
= wxString_in_helper(item
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17620 if (temp1
) delete arg1
;
17625 if (temp1
) delete arg1
;
17631 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17632 PyObject
*resultobj
= 0;
17633 wxFileTypeInfo
*result
= 0 ;
17635 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17649 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17650 PyObject
*resultobj
= 0;
17651 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17655 PyObject
*swig_obj
[1] ;
17657 if (!args
) SWIG_fail
;
17658 swig_obj
[0] = args
;
17659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17660 if (!SWIG_IsOK(res1
)) {
17661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17663 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17679 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17680 PyObject
*resultobj
= 0;
17681 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17682 wxString
*arg2
= 0 ;
17683 int arg3
= (int) 0 ;
17686 bool temp2
= false ;
17689 PyObject
* obj0
= 0 ;
17690 PyObject
* obj1
= 0 ;
17691 PyObject
* obj2
= 0 ;
17692 char * kwnames
[] = {
17693 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17698 if (!SWIG_IsOK(res1
)) {
17699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17701 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17703 arg2
= wxString_in_helper(obj1
);
17704 if (arg2
== NULL
) SWIG_fail
;
17708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17709 if (!SWIG_IsOK(ecode3
)) {
17710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17712 arg3
= static_cast< int >(val3
);
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17717 wxPyEndAllowThreads(__tstate
);
17718 if (PyErr_Occurred()) SWIG_fail
;
17720 resultobj
= SWIG_Py_Void();
17735 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
= 0;
17737 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17738 wxString
*arg2
= 0 ;
17741 bool temp2
= false ;
17742 PyObject
* obj0
= 0 ;
17743 PyObject
* obj1
= 0 ;
17744 char * kwnames
[] = {
17745 (char *) "self",(char *) "shortDesc", NULL
17748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17750 if (!SWIG_IsOK(res1
)) {
17751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17753 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17755 arg2
= wxString_in_helper(obj1
);
17756 if (arg2
== NULL
) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 resultobj
= SWIG_Py_Void();
17780 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17781 PyObject
*resultobj
= 0;
17782 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17783 wxString
*result
= 0 ;
17786 PyObject
*swig_obj
[1] ;
17788 if (!args
) SWIG_fail
;
17789 swig_obj
[0] = args
;
17790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17791 if (!SWIG_IsOK(res1
)) {
17792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17794 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17799 result
= (wxString
*) &_result_ref
;
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17808 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17817 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17818 PyObject
*resultobj
= 0;
17819 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17820 wxString
*result
= 0 ;
17823 PyObject
*swig_obj
[1] ;
17825 if (!args
) SWIG_fail
;
17826 swig_obj
[0] = args
;
17827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17828 if (!SWIG_IsOK(res1
)) {
17829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17831 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17836 result
= (wxString
*) &_result_ref
;
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17845 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17854 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17855 PyObject
*resultobj
= 0;
17856 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17857 wxString
*result
= 0 ;
17860 PyObject
*swig_obj
[1] ;
17862 if (!args
) SWIG_fail
;
17863 swig_obj
[0] = args
;
17864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17865 if (!SWIG_IsOK(res1
)) {
17866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17868 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17873 result
= (wxString
*) &_result_ref
;
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17880 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17882 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17891 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17892 PyObject
*resultobj
= 0;
17893 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17894 wxString
*result
= 0 ;
17897 PyObject
*swig_obj
[1] ;
17899 if (!args
) SWIG_fail
;
17900 swig_obj
[0] = args
;
17901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17902 if (!SWIG_IsOK(res1
)) {
17903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17905 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17910 result
= (wxString
*) &_result_ref
;
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17919 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17928 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17929 PyObject
*resultobj
= 0;
17930 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17931 wxString
*result
= 0 ;
17934 PyObject
*swig_obj
[1] ;
17936 if (!args
) SWIG_fail
;
17937 swig_obj
[0] = args
;
17938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17939 if (!SWIG_IsOK(res1
)) {
17940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17942 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17947 result
= (wxString
*) &_result_ref
;
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17956 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17965 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17966 PyObject
*resultobj
= 0;
17967 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17968 wxArrayString
*result
= 0 ;
17971 PyObject
*swig_obj
[1] ;
17973 if (!args
) SWIG_fail
;
17974 swig_obj
[0] = args
;
17975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17976 if (!SWIG_IsOK(res1
)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17979 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17984 result
= (wxArrayString
*) &_result_ref
;
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= wxArrayString2PyList_helper(*result
);
17998 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17999 PyObject
*resultobj
= 0;
18000 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18004 PyObject
*swig_obj
[1] ;
18006 if (!args
) SWIG_fail
;
18007 swig_obj
[0] = args
;
18008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18009 if (!SWIG_IsOK(res1
)) {
18010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18012 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18026 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18027 PyObject
*resultobj
= 0;
18028 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18029 wxString
*result
= 0 ;
18032 PyObject
*swig_obj
[1] ;
18034 if (!args
) SWIG_fail
;
18035 swig_obj
[0] = args
;
18036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18037 if (!SWIG_IsOK(res1
)) {
18038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18040 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
18045 result
= (wxString
*) &_result_ref
;
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18052 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18054 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18063 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18064 PyObject
*resultobj
= 0;
18065 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18069 PyObject
*swig_obj
[1] ;
18071 if (!args
) SWIG_fail
;
18072 swig_obj
[0] = args
;
18073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18074 if (!SWIG_IsOK(res1
)) {
18075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18077 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= SWIG_From_int(static_cast< int >(result
));
18091 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18094 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
18095 return SWIG_Py_Void();
18098 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18099 return SWIG_Python_InitShadowInstance(args
);
18102 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
= 0;
18104 wxFileTypeInfo
*arg1
= 0 ;
18105 wxFileType
*result
= 0 ;
18108 PyObject
* obj0
= 0 ;
18109 char * kwnames
[] = {
18110 (char *) "ftInfo", NULL
18113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
18114 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18115 if (!SWIG_IsOK(res1
)) {
18116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18121 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
18135 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18136 PyObject
*resultobj
= 0;
18137 wxFileType
*arg1
= (wxFileType
*) 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
, SWIG_POINTER_DISOWN
| 0 );
18145 if (!SWIG_IsOK(res1
)) {
18146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
18148 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= SWIG_Py_Void();
18163 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18164 PyObject
*resultobj
= 0;
18165 wxFileType
*arg1
= (wxFileType
*) 0 ;
18166 PyObject
*result
= 0 ;
18169 PyObject
*swig_obj
[1] ;
18171 if (!args
) SWIG_fail
;
18172 swig_obj
[0] = args
;
18173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18174 if (!SWIG_IsOK(res1
)) {
18175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
18177 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= result
;
18191 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18192 PyObject
*resultobj
= 0;
18193 wxFileType
*arg1
= (wxFileType
*) 0 ;
18194 PyObject
*result
= 0 ;
18197 PyObject
*swig_obj
[1] ;
18199 if (!args
) SWIG_fail
;
18200 swig_obj
[0] = args
;
18201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18202 if (!SWIG_IsOK(res1
)) {
18203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
18205 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= result
;
18219 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18220 PyObject
*resultobj
= 0;
18221 wxFileType
*arg1
= (wxFileType
*) 0 ;
18222 PyObject
*result
= 0 ;
18225 PyObject
*swig_obj
[1] ;
18227 if (!args
) SWIG_fail
;
18228 swig_obj
[0] = args
;
18229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18230 if (!SWIG_IsOK(res1
)) {
18231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18233 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18237 wxPyEndAllowThreads(__tstate
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 resultobj
= result
;
18247 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18248 PyObject
*resultobj
= 0;
18249 wxFileType
*arg1
= (wxFileType
*) 0 ;
18250 wxIcon
*result
= 0 ;
18253 PyObject
*swig_obj
[1] ;
18255 if (!args
) SWIG_fail
;
18256 swig_obj
[0] = args
;
18257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18258 if (!SWIG_IsOK(res1
)) {
18259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18261 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18275 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18276 PyObject
*resultobj
= 0;
18277 wxFileType
*arg1
= (wxFileType
*) 0 ;
18278 PyObject
*result
= 0 ;
18281 PyObject
*swig_obj
[1] ;
18283 if (!args
) SWIG_fail
;
18284 swig_obj
[0] = args
;
18285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18286 if (!SWIG_IsOK(res1
)) {
18287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18289 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18292 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 resultobj
= result
;
18303 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18304 PyObject
*resultobj
= 0;
18305 wxFileType
*arg1
= (wxFileType
*) 0 ;
18306 PyObject
*result
= 0 ;
18309 PyObject
*swig_obj
[1] ;
18311 if (!args
) SWIG_fail
;
18312 swig_obj
[0] = args
;
18313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18314 if (!SWIG_IsOK(res1
)) {
18315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18317 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= result
;
18331 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
= 0;
18333 wxFileType
*arg1
= (wxFileType
*) 0 ;
18334 wxString
*arg2
= 0 ;
18335 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18336 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18337 PyObject
*result
= 0 ;
18340 bool temp2
= false ;
18341 bool temp3
= false ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 PyObject
* obj2
= 0 ;
18345 char * kwnames
[] = {
18346 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18351 if (!SWIG_IsOK(res1
)) {
18352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18354 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18356 arg2
= wxString_in_helper(obj1
);
18357 if (arg2
== NULL
) SWIG_fail
;
18362 arg3
= wxString_in_helper(obj2
);
18363 if (arg3
== NULL
) SWIG_fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18373 resultobj
= result
;
18396 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
= 0;
18398 wxFileType
*arg1
= (wxFileType
*) 0 ;
18399 wxString
*arg2
= 0 ;
18400 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18401 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18402 PyObject
*result
= 0 ;
18405 bool temp2
= false ;
18406 bool temp3
= false ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 PyObject
* obj2
= 0 ;
18410 char * kwnames
[] = {
18411 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18416 if (!SWIG_IsOK(res1
)) {
18417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18419 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18421 arg2
= wxString_in_helper(obj1
);
18422 if (arg2
== NULL
) SWIG_fail
;
18427 arg3
= wxString_in_helper(obj2
);
18428 if (arg3
== NULL
) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= result
;
18461 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
= 0;
18463 wxFileType
*arg1
= (wxFileType
*) 0 ;
18464 wxString
*arg2
= 0 ;
18465 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18466 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18467 PyObject
*result
= 0 ;
18470 bool temp2
= false ;
18471 bool temp3
= false ;
18472 PyObject
* obj0
= 0 ;
18473 PyObject
* obj1
= 0 ;
18474 PyObject
* obj2
= 0 ;
18475 char * kwnames
[] = {
18476 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18481 if (!SWIG_IsOK(res1
)) {
18482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18484 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18486 arg2
= wxString_in_helper(obj1
);
18487 if (arg2
== NULL
) SWIG_fail
;
18492 arg3
= wxString_in_helper(obj2
);
18493 if (arg3
== NULL
) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= result
;
18526 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
= 0;
18528 wxFileType
*arg1
= (wxFileType
*) 0 ;
18529 wxString
*arg2
= 0 ;
18530 wxString
*arg3
= 0 ;
18531 bool arg4
= (bool) true ;
18535 bool temp2
= false ;
18536 bool temp3
= false ;
18539 PyObject
* obj0
= 0 ;
18540 PyObject
* obj1
= 0 ;
18541 PyObject
* obj2
= 0 ;
18542 PyObject
* obj3
= 0 ;
18543 char * kwnames
[] = {
18544 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18549 if (!SWIG_IsOK(res1
)) {
18550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18552 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18554 arg2
= wxString_in_helper(obj1
);
18555 if (arg2
== NULL
) SWIG_fail
;
18559 arg3
= wxString_in_helper(obj2
);
18560 if (arg3
== NULL
) SWIG_fail
;
18564 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18565 if (!SWIG_IsOK(ecode4
)) {
18566 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18568 arg4
= static_cast< bool >(val4
);
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18601 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
= 0;
18603 wxFileType
*arg1
= (wxFileType
*) 0 ;
18604 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18605 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18606 int arg3
= (int) 0 ;
18610 bool temp2
= false ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18615 PyObject
* obj2
= 0 ;
18616 char * kwnames
[] = {
18617 (char *) "self",(char *) "cmd",(char *) "index", NULL
18620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18622 if (!SWIG_IsOK(res1
)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18625 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18628 arg2
= wxString_in_helper(obj1
);
18629 if (arg2
== NULL
) SWIG_fail
;
18634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18635 if (!SWIG_IsOK(ecode3
)) {
18636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18638 arg3
= static_cast< int >(val3
);
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18663 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18664 PyObject
*resultobj
= 0;
18665 wxFileType
*arg1
= (wxFileType
*) 0 ;
18669 PyObject
*swig_obj
[1] ;
18671 if (!args
) SWIG_fail
;
18672 swig_obj
[0] = args
;
18673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18674 if (!SWIG_IsOK(res1
)) {
18675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18677 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (bool)(arg1
)->Unassociate();
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18693 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
= 0;
18695 wxString
*arg1
= 0 ;
18696 wxString
*arg2
= 0 ;
18697 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18698 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18700 bool temp1
= false ;
18701 bool temp2
= false ;
18702 bool temp3
= false ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 PyObject
* obj2
= 0 ;
18706 char * kwnames
[] = {
18707 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18712 arg1
= wxString_in_helper(obj0
);
18713 if (arg1
== NULL
) SWIG_fail
;
18717 arg2
= wxString_in_helper(obj1
);
18718 if (arg2
== NULL
) SWIG_fail
;
18723 arg3
= wxString_in_helper(obj2
);
18724 if (arg3
== NULL
) SWIG_fail
;
18729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18771 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18774 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18775 return SWIG_Py_Void();
18778 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18779 return SWIG_Python_InitShadowInstance(args
);
18782 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18783 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18788 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18789 PyObject
*pyobj
= 0;
18791 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18796 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
= 0;
18798 wxString
*arg1
= 0 ;
18799 wxString
*arg2
= 0 ;
18801 bool temp1
= false ;
18802 bool temp2
= false ;
18803 PyObject
* obj0
= 0 ;
18804 PyObject
* obj1
= 0 ;
18805 char * kwnames
[] = {
18806 (char *) "mimeType",(char *) "wildcard", NULL
18809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18811 arg1
= wxString_in_helper(obj0
);
18812 if (arg1
== NULL
) SWIG_fail
;
18816 arg2
= wxString_in_helper(obj1
);
18817 if (arg2
== NULL
) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18851 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18852 PyObject
*resultobj
= 0;
18853 wxMimeTypesManager
*result
= 0 ;
18855 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18869 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18870 PyObject
*resultobj
= 0;
18871 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18872 int arg2
= (int) wxMAILCAP_ALL
;
18873 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18874 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18879 bool temp3
= false ;
18880 PyObject
* obj0
= 0 ;
18881 PyObject
* obj1
= 0 ;
18882 PyObject
* obj2
= 0 ;
18883 char * kwnames
[] = {
18884 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18889 if (!SWIG_IsOK(res1
)) {
18890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18892 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18895 if (!SWIG_IsOK(ecode2
)) {
18896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18898 arg2
= static_cast< int >(val2
);
18902 arg3
= wxString_in_helper(obj2
);
18903 if (arg3
== NULL
) SWIG_fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18910 wxPyEndAllowThreads(__tstate
);
18911 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= SWIG_Py_Void();
18928 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18929 PyObject
*resultobj
= 0;
18930 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18933 PyObject
*swig_obj
[1] ;
18935 if (!args
) SWIG_fail
;
18936 swig_obj
[0] = args
;
18937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18938 if (!SWIG_IsOK(res1
)) {
18939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18941 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 (arg1
)->ClearData();
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 resultobj
= SWIG_Py_Void();
18955 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
= 0;
18957 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18958 wxString
*arg2
= 0 ;
18959 wxFileType
*result
= 0 ;
18962 bool temp2
= false ;
18963 PyObject
* obj0
= 0 ;
18964 PyObject
* obj1
= 0 ;
18965 char * kwnames
[] = {
18966 (char *) "self",(char *) "ext", NULL
18969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18971 if (!SWIG_IsOK(res1
)) {
18972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18974 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18976 arg2
= wxString_in_helper(obj1
);
18977 if (arg2
== NULL
) SWIG_fail
;
18981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19001 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
= 0;
19003 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19004 wxString
*arg2
= 0 ;
19005 wxFileType
*result
= 0 ;
19008 bool temp2
= false ;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 char * kwnames
[] = {
19012 (char *) "self",(char *) "mimeType", NULL
19015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19017 if (!SWIG_IsOK(res1
)) {
19018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19020 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19022 arg2
= wxString_in_helper(obj1
);
19023 if (arg2
== NULL
) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
19029 wxPyEndAllowThreads(__tstate
);
19030 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19047 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
= 0;
19049 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19050 wxString
*arg2
= 0 ;
19051 bool arg3
= (bool) false ;
19055 bool temp2
= false ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 PyObject
* obj2
= 0 ;
19061 char * kwnames
[] = {
19062 (char *) "self",(char *) "filename",(char *) "fallback", NULL
19065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19067 if (!SWIG_IsOK(res1
)) {
19068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19070 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19072 arg2
= wxString_in_helper(obj1
);
19073 if (arg2
== NULL
) SWIG_fail
;
19077 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19078 if (!SWIG_IsOK(ecode3
)) {
19079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
19081 arg3
= static_cast< bool >(val3
);
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19106 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
= 0;
19108 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19109 wxString
*arg2
= 0 ;
19113 bool temp2
= false ;
19114 PyObject
* obj0
= 0 ;
19115 PyObject
* obj1
= 0 ;
19116 char * kwnames
[] = {
19117 (char *) "self",(char *) "filename", NULL
19120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19122 if (!SWIG_IsOK(res1
)) {
19123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19125 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19127 arg2
= wxString_in_helper(obj1
);
19128 if (arg2
== NULL
) SWIG_fail
;
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19154 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19155 PyObject
*resultobj
= 0;
19156 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19157 PyObject
*result
= 0 ;
19160 PyObject
*swig_obj
[1] ;
19162 if (!args
) SWIG_fail
;
19163 swig_obj
[0] = args
;
19164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19165 if (!SWIG_IsOK(res1
)) {
19166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19168 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19175 resultobj
= result
;
19182 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
= 0;
19184 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19185 wxFileTypeInfo
*arg2
= 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char * kwnames
[] = {
19193 (char *) "self",(char *) "ft", NULL
19196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19198 if (!SWIG_IsOK(res1
)) {
19199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19201 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19203 if (!SWIG_IsOK(res2
)) {
19204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19209 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 resultobj
= SWIG_Py_Void();
19223 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
= 0;
19225 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19226 wxFileTypeInfo
*arg2
= 0 ;
19227 wxFileType
*result
= 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char * kwnames
[] = {
19235 (char *) "self",(char *) "ftInfo", NULL
19238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19240 if (!SWIG_IsOK(res1
)) {
19241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19243 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19245 if (!SWIG_IsOK(res2
)) {
19246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19251 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19265 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
= 0;
19267 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19268 wxFileType
*arg2
= (wxFileType
*) 0 ;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 char * kwnames
[] = {
19277 (char *) "self",(char *) "ft", NULL
19280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19282 if (!SWIG_IsOK(res1
)) {
19283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19285 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19287 if (!SWIG_IsOK(res2
)) {
19288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19290 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= (bool)(arg1
)->Unassociate(arg2
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19306 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19307 PyObject
*resultobj
= 0;
19308 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19311 PyObject
*swig_obj
[1] ;
19313 if (!args
) SWIG_fail
;
19314 swig_obj
[0] = args
;
19315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19316 if (!SWIG_IsOK(res1
)) {
19317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19319 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 resultobj
= SWIG_Py_Void();
19334 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19337 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19338 return SWIG_Py_Void();
19341 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19342 return SWIG_Python_InitShadowInstance(args
);
19345 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19346 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19351 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19352 PyObject
*pyobj
= 0;
19356 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19358 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19365 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19366 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19371 SWIGINTERN PyObject
*ART_MENU_get(void) {
19372 PyObject
*pyobj
= 0;
19376 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19378 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19385 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19386 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19391 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19392 PyObject
*pyobj
= 0;
19396 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19398 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19405 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19406 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19411 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19412 PyObject
*pyobj
= 0;
19416 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19418 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19425 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19426 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19431 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19432 PyObject
*pyobj
= 0;
19436 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19438 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19445 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19446 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19451 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19452 PyObject
*pyobj
= 0;
19456 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19458 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19465 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19466 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19471 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19472 PyObject
*pyobj
= 0;
19476 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19478 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19485 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19486 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19491 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19492 PyObject
*pyobj
= 0;
19496 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19498 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19505 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19506 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19511 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19512 PyObject
*pyobj
= 0;
19516 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19518 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19525 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19526 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19531 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19532 PyObject
*pyobj
= 0;
19536 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19538 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19545 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19546 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19551 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19552 PyObject
*pyobj
= 0;
19556 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19558 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19565 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19566 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19571 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19572 PyObject
*pyobj
= 0;
19576 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19578 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19585 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19586 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19591 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19592 PyObject
*pyobj
= 0;
19596 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19598 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19605 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19606 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19611 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19612 PyObject
*pyobj
= 0;
19616 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19618 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19625 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19626 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19631 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19632 PyObject
*pyobj
= 0;
19636 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19638 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19645 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19646 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19651 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19652 PyObject
*pyobj
= 0;
19656 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19658 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19665 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19666 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19671 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19672 PyObject
*pyobj
= 0;
19676 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19678 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19685 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19686 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19691 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19692 PyObject
*pyobj
= 0;
19696 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19698 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19705 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19706 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19711 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19712 PyObject
*pyobj
= 0;
19716 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19718 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19725 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19726 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19731 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19732 PyObject
*pyobj
= 0;
19736 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19738 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19745 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19746 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19751 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19752 PyObject
*pyobj
= 0;
19756 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19758 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19765 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19766 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19771 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19772 PyObject
*pyobj
= 0;
19776 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19778 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19785 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19786 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19791 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19792 PyObject
*pyobj
= 0;
19796 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19798 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19805 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19806 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19811 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19812 PyObject
*pyobj
= 0;
19816 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19818 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19825 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19826 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19831 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19832 PyObject
*pyobj
= 0;
19836 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19838 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19845 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19846 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19851 SWIGINTERN PyObject
*ART_HELP_get(void) {
19852 PyObject
*pyobj
= 0;
19856 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19858 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19865 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19866 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19871 SWIGINTERN PyObject
*ART_TIP_get(void) {
19872 PyObject
*pyobj
= 0;
19876 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19878 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19885 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19886 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19891 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19892 PyObject
*pyobj
= 0;
19896 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19898 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19905 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19906 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19911 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19912 PyObject
*pyobj
= 0;
19916 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19918 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19925 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19926 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19931 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19932 PyObject
*pyobj
= 0;
19936 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19938 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19945 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19946 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19951 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19952 PyObject
*pyobj
= 0;
19956 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19958 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19965 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19966 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19971 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19972 PyObject
*pyobj
= 0;
19976 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19978 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19985 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19986 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19991 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19992 PyObject
*pyobj
= 0;
19996 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19998 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
20005 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
20006 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
20011 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
20012 PyObject
*pyobj
= 0;
20016 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
20018 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
20025 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
20026 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
20031 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
20032 PyObject
*pyobj
= 0;
20036 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20038 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20045 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
20046 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
20051 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
20052 PyObject
*pyobj
= 0;
20056 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20058 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20065 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
20066 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
20071 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
20072 PyObject
*pyobj
= 0;
20076 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20078 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20085 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
20086 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
20091 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
20092 PyObject
*pyobj
= 0;
20096 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20098 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20105 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
20106 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
20111 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
20112 PyObject
*pyobj
= 0;
20116 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20118 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20125 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
20126 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
20131 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
20132 PyObject
*pyobj
= 0;
20136 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20138 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20145 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
20146 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
20151 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
20152 PyObject
*pyobj
= 0;
20156 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20158 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20165 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
20166 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
20171 SWIGINTERN PyObject
*ART_ERROR_get(void) {
20172 PyObject
*pyobj
= 0;
20176 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20178 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20185 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
20186 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
20191 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
20192 PyObject
*pyobj
= 0;
20196 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20198 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20205 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
20206 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
20211 SWIGINTERN PyObject
*ART_WARNING_get(void) {
20212 PyObject
*pyobj
= 0;
20216 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20218 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20225 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20226 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20231 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20232 PyObject
*pyobj
= 0;
20236 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20238 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20245 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20246 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20251 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20252 PyObject
*pyobj
= 0;
20256 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20258 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20265 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20266 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20271 SWIGINTERN PyObject
*ART_COPY_get(void) {
20272 PyObject
*pyobj
= 0;
20276 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20278 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20285 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20286 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20291 SWIGINTERN PyObject
*ART_CUT_get(void) {
20292 PyObject
*pyobj
= 0;
20296 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20298 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20305 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20306 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20311 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20312 PyObject
*pyobj
= 0;
20316 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20318 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20325 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20326 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20331 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20332 PyObject
*pyobj
= 0;
20336 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20338 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20345 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20346 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20351 SWIGINTERN PyObject
*ART_NEW_get(void) {
20352 PyObject
*pyobj
= 0;
20356 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20358 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20365 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20366 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20371 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20372 PyObject
*pyobj
= 0;
20376 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20378 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20385 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20386 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20391 SWIGINTERN PyObject
*ART_REDO_get(void) {
20392 PyObject
*pyobj
= 0;
20396 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20398 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20405 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20406 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20411 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20412 PyObject
*pyobj
= 0;
20416 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20418 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20425 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20426 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20431 SWIGINTERN PyObject
*ART_FIND_get(void) {
20432 PyObject
*pyobj
= 0;
20436 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20438 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20445 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20446 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20451 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20452 PyObject
*pyobj
= 0;
20456 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20458 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20465 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20466 PyObject
*resultobj
= 0;
20467 wxPyArtProvider
*result
= 0 ;
20469 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20471 if (!wxPyCheckForApp()) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20484 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20485 PyObject
*resultobj
= 0;
20486 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20489 PyObject
*swig_obj
[1] ;
20491 if (!args
) SWIG_fail
;
20492 swig_obj
[0] = args
;
20493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20494 if (!SWIG_IsOK(res1
)) {
20495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20497 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= SWIG_Py_Void();
20512 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
= 0;
20514 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20515 PyObject
*arg2
= (PyObject
*) 0 ;
20516 PyObject
*arg3
= (PyObject
*) 0 ;
20519 PyObject
* obj0
= 0 ;
20520 PyObject
* obj1
= 0 ;
20521 PyObject
* obj2
= 0 ;
20522 char * kwnames
[] = {
20523 (char *) "self",(char *) "self",(char *) "_class", NULL
20526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20528 if (!SWIG_IsOK(res1
)) {
20529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20531 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_Py_Void();
20547 SWIGINTERN PyObject
*_wrap_ArtProvider_Push(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char * kwnames
[] = {
20553 (char *) "provider", NULL
20556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Push",kwnames
,&obj0
)) SWIG_fail
;
20557 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20558 if (!SWIG_IsOK(res1
)) {
20559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Push" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 wxPyArtProvider::Push(arg1
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_Py_Void();
20574 SWIGINTERN PyObject
*_wrap_ArtProvider_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
= 0;
20576 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 char * kwnames
[] = {
20580 (char *) "provider", NULL
20583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Insert",kwnames
,&obj0
)) SWIG_fail
;
20584 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20585 if (!SWIG_IsOK(res1
)) {
20586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Insert" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 wxPyArtProvider::Insert(arg1
);
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= SWIG_Py_Void();
20601 SWIGINTERN PyObject
*_wrap_ArtProvider_Pop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20602 PyObject
*resultobj
= 0;
20605 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_Pop",0,0,0)) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= (bool)wxPyArtProvider::Pop();
20609 wxPyEndAllowThreads(__tstate
);
20610 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20621 SWIGINTERN PyObject
*_wrap_ArtProvider_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
= 0;
20623 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20627 PyObject
* obj0
= 0 ;
20628 char * kwnames
[] = {
20629 (char *) "provider", NULL
20632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Delete",kwnames
,&obj0
)) SWIG_fail
;
20633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20634 if (!SWIG_IsOK(res1
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Delete" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20637 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (bool)wxPyArtProvider::Delete(arg1
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20653 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
= 0;
20655 wxString
*arg1
= 0 ;
20656 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20657 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20658 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20659 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20661 bool temp1
= false ;
20662 bool temp2
= false ;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 PyObject
* obj2
= 0 ;
20667 char * kwnames
[] = {
20668 (char *) "id",(char *) "client",(char *) "size", NULL
20671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20673 arg1
= wxString_in_helper(obj0
);
20674 if (arg1
== NULL
) SWIG_fail
;
20679 arg2
= wxString_in_helper(obj1
);
20680 if (arg2
== NULL
) SWIG_fail
;
20687 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20691 if (!wxPyCheckForApp()) SWIG_fail
;
20692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20693 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20697 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20720 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
= 0;
20722 wxString
*arg1
= 0 ;
20723 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20724 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20725 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20726 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20728 bool temp1
= false ;
20729 bool temp2
= false ;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 PyObject
* obj2
= 0 ;
20734 char * kwnames
[] = {
20735 (char *) "id",(char *) "client",(char *) "size", NULL
20738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20740 arg1
= wxString_in_helper(obj0
);
20741 if (arg1
== NULL
) SWIG_fail
;
20746 arg2
= wxString_in_helper(obj1
);
20747 if (arg2
== NULL
) SWIG_fail
;
20754 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20758 if (!wxPyCheckForApp()) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20787 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
= 0;
20789 wxString
*arg1
= 0 ;
20790 bool arg2
= (bool) false ;
20792 bool temp1
= false ;
20795 PyObject
* obj0
= 0 ;
20796 PyObject
* obj1
= 0 ;
20797 char * kwnames
[] = {
20798 (char *) "client",(char *) "platform_dependent", NULL
20801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20803 arg1
= wxString_in_helper(obj0
);
20804 if (arg1
== NULL
) SWIG_fail
;
20808 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20809 if (!SWIG_IsOK(ecode2
)) {
20810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20812 arg2
= static_cast< bool >(val2
);
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20817 wxPyEndAllowThreads(__tstate
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20820 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20835 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20836 PyObject
*resultobj
= 0;
20837 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20840 PyObject
*swig_obj
[1] ;
20842 if (!args
) SWIG_fail
;
20843 swig_obj
[0] = args
;
20844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20845 if (!SWIG_IsOK(res1
)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20848 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 wxPyArtProvider_Destroy(arg1
);
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20855 resultobj
= SWIG_Py_Void();
20862 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20865 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20866 return SWIG_Py_Void();
20869 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20870 return SWIG_Python_InitShadowInstance(args
);
20873 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20874 PyObject
*resultobj
= 0;
20875 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20878 PyObject
*swig_obj
[1] ;
20880 if (!args
) SWIG_fail
;
20881 swig_obj
[0] = args
;
20882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20883 if (!SWIG_IsOK(res1
)) {
20884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20886 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_Py_Void();
20901 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
= 0;
20903 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20904 wxConfigBase
*result
= 0 ;
20906 PyObject
* obj0
= 0 ;
20907 char * kwnames
[] = {
20908 (char *) "config", NULL
20911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20912 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20913 if (!SWIG_IsOK(res1
)) {
20914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20929 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
= 0;
20931 bool arg1
= (bool) true ;
20932 wxConfigBase
*result
= 0 ;
20935 PyObject
* obj0
= 0 ;
20936 char * kwnames
[] = {
20937 (char *) "createOnDemand", NULL
20940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20942 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20943 if (!SWIG_IsOK(ecode1
)) {
20944 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20946 arg1
= static_cast< bool >(val1
);
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20961 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20962 PyObject
*resultobj
= 0;
20963 wxConfigBase
*result
= 0 ;
20965 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 result
= (wxConfigBase
*)wxConfigBase::Create();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20979 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20980 PyObject
*resultobj
= 0;
20982 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 wxConfigBase::DontCreateOnDemand();
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 resultobj
= SWIG_Py_Void();
20996 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
= 0;
20998 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20999 wxString
*arg2
= 0 ;
21002 bool temp2
= false ;
21003 PyObject
* obj0
= 0 ;
21004 PyObject
* obj1
= 0 ;
21005 char * kwnames
[] = {
21006 (char *) "self",(char *) "path", NULL
21009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21011 if (!SWIG_IsOK(res1
)) {
21012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21014 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21016 arg2
= wxString_in_helper(obj1
);
21017 if (arg2
== NULL
) SWIG_fail
;
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 (arg1
)->SetPath((wxString
const &)*arg2
);
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= SWIG_Py_Void();
21041 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21042 PyObject
*resultobj
= 0;
21043 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21044 wxString
*result
= 0 ;
21047 PyObject
*swig_obj
[1] ;
21049 if (!args
) SWIG_fail
;
21050 swig_obj
[0] = args
;
21051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21052 if (!SWIG_IsOK(res1
)) {
21053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21055 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21059 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
21060 result
= (wxString
*) &_result_ref
;
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21067 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21069 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21078 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21079 PyObject
*resultobj
= 0;
21080 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21081 PyObject
*result
= 0 ;
21084 PyObject
*swig_obj
[1] ;
21086 if (!args
) SWIG_fail
;
21087 swig_obj
[0] = args
;
21088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21089 if (!SWIG_IsOK(res1
)) {
21090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21092 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= result
;
21106 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
= 0;
21108 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21110 PyObject
*result
= 0 ;
21115 PyObject
* obj0
= 0 ;
21116 PyObject
* obj1
= 0 ;
21117 char * kwnames
[] = {
21118 (char *) "self",(char *) "index", NULL
21121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21123 if (!SWIG_IsOK(res1
)) {
21124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21126 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21127 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21128 if (!SWIG_IsOK(ecode2
)) {
21129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
21131 arg2
= static_cast< long >(val2
);
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= result
;
21145 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21146 PyObject
*resultobj
= 0;
21147 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21148 PyObject
*result
= 0 ;
21151 PyObject
*swig_obj
[1] ;
21153 if (!args
) SWIG_fail
;
21154 swig_obj
[0] = args
;
21155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21156 if (!SWIG_IsOK(res1
)) {
21157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21159 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= result
;
21173 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21174 PyObject
*resultobj
= 0;
21175 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21177 PyObject
*result
= 0 ;
21182 PyObject
* obj0
= 0 ;
21183 PyObject
* obj1
= 0 ;
21184 char * kwnames
[] = {
21185 (char *) "self",(char *) "index", NULL
21188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21190 if (!SWIG_IsOK(res1
)) {
21191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21193 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21194 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21195 if (!SWIG_IsOK(ecode2
)) {
21196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
21198 arg2
= static_cast< long >(val2
);
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21205 resultobj
= result
;
21212 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
= 0;
21214 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21215 bool arg2
= (bool) false ;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 char * kwnames
[] = {
21224 (char *) "self",(char *) "recursive", NULL
21227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21229 if (!SWIG_IsOK(res1
)) {
21230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21232 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21234 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21235 if (!SWIG_IsOK(ecode2
)) {
21236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21238 arg2
= static_cast< bool >(val2
);
21241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21253 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
= 0;
21255 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21256 bool arg2
= (bool) false ;
21262 PyObject
* obj0
= 0 ;
21263 PyObject
* obj1
= 0 ;
21264 char * kwnames
[] = {
21265 (char *) "self",(char *) "recursive", NULL
21268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21270 if (!SWIG_IsOK(res1
)) {
21271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21273 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21275 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21276 if (!SWIG_IsOK(ecode2
)) {
21277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21279 arg2
= static_cast< bool >(val2
);
21282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21287 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21294 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
= 0;
21296 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21297 wxString
*arg2
= 0 ;
21301 bool temp2
= false ;
21302 PyObject
* obj0
= 0 ;
21303 PyObject
* obj1
= 0 ;
21304 char * kwnames
[] = {
21305 (char *) "self",(char *) "name", NULL
21308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21310 if (!SWIG_IsOK(res1
)) {
21311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21313 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21315 arg2
= wxString_in_helper(obj1
);
21316 if (arg2
== NULL
) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21342 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
= 0;
21344 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21345 wxString
*arg2
= 0 ;
21349 bool temp2
= false ;
21350 PyObject
* obj0
= 0 ;
21351 PyObject
* obj1
= 0 ;
21352 char * kwnames
[] = {
21353 (char *) "self",(char *) "name", NULL
21356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21358 if (!SWIG_IsOK(res1
)) {
21359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21361 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21363 arg2
= wxString_in_helper(obj1
);
21364 if (arg2
== NULL
) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21390 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
= 0;
21392 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21393 wxString
*arg2
= 0 ;
21397 bool temp2
= false ;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 char * kwnames
[] = {
21401 (char *) "self",(char *) "name", NULL
21404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21406 if (!SWIG_IsOK(res1
)) {
21407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21409 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21411 arg2
= wxString_in_helper(obj1
);
21412 if (arg2
== NULL
) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21438 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
= 0;
21440 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21441 wxString
*arg2
= 0 ;
21442 wxConfigBase::EntryType result
;
21445 bool temp2
= false ;
21446 PyObject
* obj0
= 0 ;
21447 PyObject
* obj1
= 0 ;
21448 char * kwnames
[] = {
21449 (char *) "self",(char *) "name", NULL
21452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21454 if (!SWIG_IsOK(res1
)) {
21455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21457 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21459 arg2
= wxString_in_helper(obj1
);
21460 if (arg2
== NULL
) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21466 wxPyEndAllowThreads(__tstate
);
21467 if (PyErr_Occurred()) SWIG_fail
;
21469 resultobj
= SWIG_From_int(static_cast< int >(result
));
21484 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
= 0;
21486 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21487 wxString
*arg2
= 0 ;
21488 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21489 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21493 bool temp2
= false ;
21494 bool temp3
= false ;
21495 PyObject
* obj0
= 0 ;
21496 PyObject
* obj1
= 0 ;
21497 PyObject
* obj2
= 0 ;
21498 char * kwnames
[] = {
21499 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21504 if (!SWIG_IsOK(res1
)) {
21505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21507 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21509 arg2
= wxString_in_helper(obj1
);
21510 if (arg2
== NULL
) SWIG_fail
;
21515 arg3
= wxString_in_helper(obj2
);
21516 if (arg3
== NULL
) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21555 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
= 0;
21557 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21558 wxString
*arg2
= 0 ;
21559 long arg3
= (long) 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_ReadInt",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_ReadInt" "', 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_long(obj2
, &val3
);
21586 if (!SWIG_IsOK(ecode3
)) {
21587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21589 arg3
= static_cast< long >(val3
);
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= SWIG_From_long(static_cast< long >(result
));
21612 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
= 0;
21614 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21615 wxString
*arg2
= 0 ;
21616 double arg3
= (double) 0.0 ;
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_ReadFloat",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_ReadFloat" "', 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_double(obj2
, &val3
);
21643 if (!SWIG_IsOK(ecode3
)) {
21644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21646 arg3
= static_cast< double >(val3
);
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 resultobj
= SWIG_From_double(static_cast< double >(result
));
21669 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
= 0;
21671 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21672 wxString
*arg2
= 0 ;
21673 bool arg3
= (bool) false ;
21677 bool temp2
= false ;
21680 PyObject
* obj0
= 0 ;
21681 PyObject
* obj1
= 0 ;
21682 PyObject
* obj2
= 0 ;
21683 char * kwnames
[] = {
21684 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21689 if (!SWIG_IsOK(res1
)) {
21690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21692 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21694 arg2
= wxString_in_helper(obj1
);
21695 if (arg2
== NULL
) SWIG_fail
;
21699 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21700 if (!SWIG_IsOK(ecode3
)) {
21701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21703 arg3
= static_cast< bool >(val3
);
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21728 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
= 0;
21730 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21731 wxString
*arg2
= 0 ;
21732 wxString
*arg3
= 0 ;
21736 bool temp2
= false ;
21737 bool temp3
= false ;
21738 PyObject
* obj0
= 0 ;
21739 PyObject
* obj1
= 0 ;
21740 PyObject
* obj2
= 0 ;
21741 char * kwnames
[] = {
21742 (char *) "self",(char *) "key",(char *) "value", NULL
21745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21747 if (!SWIG_IsOK(res1
)) {
21748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21750 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21752 arg2
= wxString_in_helper(obj1
);
21753 if (arg2
== NULL
) SWIG_fail
;
21757 arg3
= wxString_in_helper(obj2
);
21758 if (arg3
== NULL
) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21792 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(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_WriteInt",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_WriteInt" "', 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_long(obj2
, &val3
);
21822 if (!SWIG_IsOK(ecode3
)) {
21823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21825 arg3
= static_cast< long >(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_WriteFloat(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_WriteFloat",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_WriteFloat" "', 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_double(obj2
, &val3
);
21879 if (!SWIG_IsOK(ecode3
)) {
21880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21882 arg3
= static_cast< double >(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_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
= 0;
21908 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21909 wxString
*arg2
= 0 ;
21914 bool temp2
= false ;
21917 PyObject
* obj0
= 0 ;
21918 PyObject
* obj1
= 0 ;
21919 PyObject
* obj2
= 0 ;
21920 char * kwnames
[] = {
21921 (char *) "self",(char *) "key",(char *) "value", NULL
21924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21926 if (!SWIG_IsOK(res1
)) {
21927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21929 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21931 arg2
= wxString_in_helper(obj1
);
21932 if (arg2
== NULL
) SWIG_fail
;
21935 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21936 if (!SWIG_IsOK(ecode3
)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21939 arg3
= static_cast< bool >(val3
);
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21963 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
= 0;
21965 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21966 bool arg2
= (bool) false ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 char * kwnames
[] = {
21975 (char *) "self",(char *) "currentOnly", NULL
21978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21980 if (!SWIG_IsOK(res1
)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21983 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21985 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21986 if (!SWIG_IsOK(ecode2
)) {
21987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21989 arg2
= static_cast< bool >(val2
);
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= (bool)(arg1
)->Flush(arg2
);
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22006 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22007 PyObject
*resultobj
= 0;
22008 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22009 wxString
*arg2
= 0 ;
22010 wxString
*arg3
= 0 ;
22014 bool temp2
= false ;
22015 bool temp3
= false ;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 PyObject
* obj2
= 0 ;
22019 char * kwnames
[] = {
22020 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22025 if (!SWIG_IsOK(res1
)) {
22026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22028 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22030 arg2
= wxString_in_helper(obj1
);
22031 if (arg2
== NULL
) SWIG_fail
;
22035 arg3
= wxString_in_helper(obj2
);
22036 if (arg3
== NULL
) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22070 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
= 0;
22072 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22073 wxString
*arg2
= 0 ;
22074 wxString
*arg3
= 0 ;
22078 bool temp2
= false ;
22079 bool temp3
= false ;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 PyObject
* obj2
= 0 ;
22083 char * kwnames
[] = {
22084 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22089 if (!SWIG_IsOK(res1
)) {
22090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22092 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22094 arg2
= wxString_in_helper(obj1
);
22095 if (arg2
== NULL
) SWIG_fail
;
22099 arg3
= wxString_in_helper(obj2
);
22100 if (arg3
== NULL
) SWIG_fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22134 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
= 0;
22136 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22137 wxString
*arg2
= 0 ;
22138 bool arg3
= (bool) true ;
22142 bool temp2
= false ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 PyObject
* obj2
= 0 ;
22148 char * kwnames
[] = {
22149 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
22152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22154 if (!SWIG_IsOK(res1
)) {
22155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22157 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22159 arg2
= wxString_in_helper(obj1
);
22160 if (arg2
== NULL
) SWIG_fail
;
22164 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22165 if (!SWIG_IsOK(ecode3
)) {
22166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
22168 arg3
= static_cast< bool >(val3
);
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22193 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
= 0;
22195 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22196 wxString
*arg2
= 0 ;
22200 bool temp2
= false ;
22201 PyObject
* obj0
= 0 ;
22202 PyObject
* obj1
= 0 ;
22203 char * kwnames
[] = {
22204 (char *) "self",(char *) "key", NULL
22207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22209 if (!SWIG_IsOK(res1
)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22212 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22214 arg2
= wxString_in_helper(obj1
);
22215 if (arg2
== NULL
) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22241 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22242 PyObject
*resultobj
= 0;
22243 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22247 PyObject
*swig_obj
[1] ;
22249 if (!args
) SWIG_fail
;
22250 swig_obj
[0] = args
;
22251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22252 if (!SWIG_IsOK(res1
)) {
22253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22255 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (bool)(arg1
)->DeleteAll();
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22271 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
= 0;
22273 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22274 bool arg2
= (bool) true ;
22279 PyObject
* obj0
= 0 ;
22280 PyObject
* obj1
= 0 ;
22281 char * kwnames
[] = {
22282 (char *) "self",(char *) "doIt", NULL
22285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22287 if (!SWIG_IsOK(res1
)) {
22288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22290 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22292 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22293 if (!SWIG_IsOK(ecode2
)) {
22294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22296 arg2
= static_cast< bool >(val2
);
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 (arg1
)->SetExpandEnvVars(arg2
);
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 resultobj
= SWIG_Py_Void();
22311 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22312 PyObject
*resultobj
= 0;
22313 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22317 PyObject
*swig_obj
[1] ;
22319 if (!args
) SWIG_fail
;
22320 swig_obj
[0] = args
;
22321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22322 if (!SWIG_IsOK(res1
)) {
22323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22325 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22328 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22341 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
= 0;
22343 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22344 bool arg2
= (bool) true ;
22349 PyObject
* obj0
= 0 ;
22350 PyObject
* obj1
= 0 ;
22351 char * kwnames
[] = {
22352 (char *) "self",(char *) "doIt", NULL
22355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22357 if (!SWIG_IsOK(res1
)) {
22358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22360 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22362 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22363 if (!SWIG_IsOK(ecode2
)) {
22364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22366 arg2
= static_cast< bool >(val2
);
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 (arg1
)->SetRecordDefaults(arg2
);
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= SWIG_Py_Void();
22381 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22382 PyObject
*resultobj
= 0;
22383 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22387 PyObject
*swig_obj
[1] ;
22389 if (!args
) SWIG_fail
;
22390 swig_obj
[0] = args
;
22391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22392 if (!SWIG_IsOK(res1
)) {
22393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22395 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22411 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22412 PyObject
*resultobj
= 0;
22413 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22414 wxString
*arg2
= 0 ;
22418 bool temp2
= false ;
22419 PyObject
* obj0
= 0 ;
22420 PyObject
* obj1
= 0 ;
22421 char * kwnames
[] = {
22422 (char *) "self",(char *) "str", NULL
22425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22427 if (!SWIG_IsOK(res1
)) {
22428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22430 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22432 arg2
= wxString_in_helper(obj1
);
22433 if (arg2
== NULL
) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22463 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22464 PyObject
*resultobj
= 0;
22465 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22469 PyObject
*swig_obj
[1] ;
22471 if (!args
) SWIG_fail
;
22472 swig_obj
[0] = args
;
22473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22474 if (!SWIG_IsOK(res1
)) {
22475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22477 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22486 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22488 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22497 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22498 PyObject
*resultobj
= 0;
22499 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22503 PyObject
*swig_obj
[1] ;
22505 if (!args
) SWIG_fail
;
22506 swig_obj
[0] = args
;
22507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22508 if (!SWIG_IsOK(res1
)) {
22509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22511 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22531 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
= 0;
22533 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22534 wxString
*arg2
= 0 ;
22537 bool temp2
= false ;
22538 PyObject
* obj0
= 0 ;
22539 PyObject
* obj1
= 0 ;
22540 char * kwnames
[] = {
22541 (char *) "self",(char *) "appName", NULL
22544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22546 if (!SWIG_IsOK(res1
)) {
22547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22549 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22551 arg2
= wxString_in_helper(obj1
);
22552 if (arg2
== NULL
) SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 (arg1
)->SetAppName((wxString
const &)*arg2
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= SWIG_Py_Void();
22576 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
= 0;
22578 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22579 wxString
*arg2
= 0 ;
22582 bool temp2
= false ;
22583 PyObject
* obj0
= 0 ;
22584 PyObject
* obj1
= 0 ;
22585 char * kwnames
[] = {
22586 (char *) "self",(char *) "vendorName", NULL
22589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22591 if (!SWIG_IsOK(res1
)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22594 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22596 arg2
= wxString_in_helper(obj1
);
22597 if (arg2
== NULL
) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= SWIG_Py_Void();
22621 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
= 0;
22623 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22629 PyObject
* obj0
= 0 ;
22630 PyObject
* obj1
= 0 ;
22631 char * kwnames
[] = {
22632 (char *) "self",(char *) "style", NULL
22635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22637 if (!SWIG_IsOK(res1
)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22640 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22641 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22642 if (!SWIG_IsOK(ecode2
)) {
22643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22645 arg2
= static_cast< long >(val2
);
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 (arg1
)->SetStyle(arg2
);
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= SWIG_Py_Void();
22659 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22660 PyObject
*resultobj
= 0;
22661 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22665 PyObject
*swig_obj
[1] ;
22667 if (!args
) SWIG_fail
;
22668 swig_obj
[0] = args
;
22669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22670 if (!SWIG_IsOK(res1
)) {
22671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22673 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22680 resultobj
= SWIG_From_long(static_cast< long >(result
));
22687 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22690 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22691 return SWIG_Py_Void();
22694 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
= 0;
22696 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22697 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22698 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22699 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22700 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22701 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22702 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22703 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22704 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22705 wxConfig
*result
= 0 ;
22706 bool temp1
= false ;
22707 bool temp2
= false ;
22708 bool temp3
= false ;
22709 bool temp4
= false ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 PyObject
* obj2
= 0 ;
22715 PyObject
* obj3
= 0 ;
22716 PyObject
* obj4
= 0 ;
22717 char * kwnames
[] = {
22718 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22724 arg1
= wxString_in_helper(obj0
);
22725 if (arg1
== NULL
) SWIG_fail
;
22731 arg2
= wxString_in_helper(obj1
);
22732 if (arg2
== NULL
) SWIG_fail
;
22738 arg3
= wxString_in_helper(obj2
);
22739 if (arg3
== NULL
) SWIG_fail
;
22745 arg4
= wxString_in_helper(obj3
);
22746 if (arg4
== NULL
) SWIG_fail
;
22751 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22752 if (!SWIG_IsOK(ecode5
)) {
22753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22755 arg5
= static_cast< long >(val5
);
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22802 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22803 PyObject
*resultobj
= 0;
22804 wxConfig
*arg1
= (wxConfig
*) 0 ;
22807 PyObject
*swig_obj
[1] ;
22809 if (!args
) SWIG_fail
;
22810 swig_obj
[0] = args
;
22811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22812 if (!SWIG_IsOK(res1
)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22815 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= SWIG_Py_Void();
22830 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22833 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22834 return SWIG_Py_Void();
22837 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22838 return SWIG_Python_InitShadowInstance(args
);
22841 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
= 0;
22843 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22844 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22845 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22846 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22849 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22850 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22851 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22852 wxFileConfig
*result
= 0 ;
22853 bool temp1
= false ;
22854 bool temp2
= false ;
22855 bool temp3
= false ;
22856 bool temp4
= false ;
22859 PyObject
* obj0
= 0 ;
22860 PyObject
* obj1
= 0 ;
22861 PyObject
* obj2
= 0 ;
22862 PyObject
* obj3
= 0 ;
22863 PyObject
* obj4
= 0 ;
22864 char * kwnames
[] = {
22865 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22871 arg1
= wxString_in_helper(obj0
);
22872 if (arg1
== NULL
) SWIG_fail
;
22878 arg2
= wxString_in_helper(obj1
);
22879 if (arg2
== NULL
) SWIG_fail
;
22885 arg3
= wxString_in_helper(obj2
);
22886 if (arg3
== NULL
) SWIG_fail
;
22892 arg4
= wxString_in_helper(obj3
);
22893 if (arg4
== NULL
) SWIG_fail
;
22898 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22899 if (!SWIG_IsOK(ecode5
)) {
22900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22902 arg5
= static_cast< long >(val5
);
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22949 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22950 PyObject
*resultobj
= 0;
22951 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22954 PyObject
*swig_obj
[1] ;
22956 if (!args
) SWIG_fail
;
22957 swig_obj
[0] = args
;
22958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22959 if (!SWIG_IsOK(res1
)) {
22960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22962 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_Py_Void();
22977 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22980 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22981 return SWIG_Py_Void();
22984 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22985 return SWIG_Python_InitShadowInstance(args
);
22988 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
= 0;
22990 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22991 wxString
*arg2
= 0 ;
22992 wxConfigPathChanger
*result
= 0 ;
22995 bool temp2
= false ;
22996 PyObject
* obj0
= 0 ;
22997 PyObject
* obj1
= 0 ;
22998 char * kwnames
[] = {
22999 (char *) "config",(char *) "entry", NULL
23002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
23004 if (!SWIG_IsOK(res1
)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
23007 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
23009 arg2
= wxString_in_helper(obj1
);
23010 if (arg2
== NULL
) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
23034 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23035 PyObject
*resultobj
= 0;
23036 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23039 PyObject
*swig_obj
[1] ;
23041 if (!args
) SWIG_fail
;
23042 swig_obj
[0] = args
;
23043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
23044 if (!SWIG_IsOK(res1
)) {
23045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
23047 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 resultobj
= SWIG_Py_Void();
23062 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23063 PyObject
*resultobj
= 0;
23064 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23065 wxString
*result
= 0 ;
23068 PyObject
*swig_obj
[1] ;
23070 if (!args
) SWIG_fail
;
23071 swig_obj
[0] = args
;
23072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
23073 if (!SWIG_IsOK(res1
)) {
23074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
23076 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
23081 result
= (wxString
*) &_result_ref
;
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23090 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23099 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23102 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
23103 return SWIG_Py_Void();
23106 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23107 return SWIG_Python_InitShadowInstance(args
);
23110 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
= 0;
23112 wxString
*arg1
= 0 ;
23114 bool temp1
= false ;
23115 PyObject
* obj0
= 0 ;
23116 char * kwnames
[] = {
23117 (char *) "sz", NULL
23120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
23122 arg1
= wxString_in_helper(obj0
);
23123 if (arg1
== NULL
) SWIG_fail
;
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 result
= wxExpandEnvVars((wxString
const &)*arg1
);
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23153 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
23154 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
23159 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
23160 PyObject
*pyobj
= 0;
23164 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23166 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23173 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
23174 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
23179 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
23180 PyObject
*pyobj
= 0;
23184 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23186 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23193 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23194 PyObject
*resultobj
= 0;
23195 wxDateTime::Country arg1
;
23198 PyObject
* obj0
= 0 ;
23199 char * kwnames
[] = {
23200 (char *) "country", NULL
23203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
23204 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23205 if (!SWIG_IsOK(ecode1
)) {
23206 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23208 arg1
= static_cast< wxDateTime::Country
>(val1
);
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 wxDateTime::SetCountry(arg1
);
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_Py_Void();
23222 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23223 PyObject
*resultobj
= 0;
23224 wxDateTime::Country result
;
23226 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 resultobj
= SWIG_From_int(static_cast< int >(result
));
23240 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
= 0;
23242 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23246 PyObject
* obj0
= 0 ;
23247 char * kwnames
[] = {
23248 (char *) "country", NULL
23251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23254 if (!SWIG_IsOK(ecode1
)) {
23255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23257 arg1
= static_cast< wxDateTime::Country
>(val1
);
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23274 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
= 0;
23276 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23280 PyObject
* obj0
= 0 ;
23281 char * kwnames
[] = {
23282 (char *) "cal", NULL
23285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23287 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23288 if (!SWIG_IsOK(ecode1
)) {
23289 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23291 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= SWIG_From_int(static_cast< int >(result
));
23306 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
= 0;
23312 PyObject
* obj0
= 0 ;
23313 char * kwnames
[] = {
23314 (char *) "year", NULL
23317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23318 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23319 if (!SWIG_IsOK(ecode1
)) {
23320 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23322 arg1
= static_cast< int >(val1
);
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 resultobj
= SWIG_From_int(static_cast< int >(result
));
23336 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
= 0;
23338 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23339 wxDateTime::Month result
;
23342 PyObject
* obj0
= 0 ;
23343 char * kwnames
[] = {
23344 (char *) "cal", NULL
23347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23349 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23350 if (!SWIG_IsOK(ecode1
)) {
23351 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23353 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 resultobj
= SWIG_From_int(static_cast< int >(result
));
23368 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
= 0;
23370 int arg1
= (int) wxDateTime::Inv_Year
;
23371 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23377 PyObject
* obj0
= 0 ;
23378 PyObject
* obj1
= 0 ;
23379 char * kwnames
[] = {
23380 (char *) "year",(char *) "cal", NULL
23383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23385 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23386 if (!SWIG_IsOK(ecode1
)) {
23387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23389 arg1
= static_cast< int >(val1
);
23392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23393 if (!SWIG_IsOK(ecode2
)) {
23394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23396 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23400 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23413 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
= 0;
23415 int arg1
= (int) wxDateTime::Inv_Year
;
23419 PyObject
* obj0
= 0 ;
23420 char * kwnames
[] = {
23421 (char *) "year", NULL
23424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23426 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23427 if (!SWIG_IsOK(ecode1
)) {
23428 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23430 arg1
= static_cast< int >(val1
);
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 result
= (int)wxDateTime::GetCentury(arg1
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 resultobj
= SWIG_From_int(static_cast< int >(result
));
23445 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
= 0;
23448 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 char * kwnames
[] = {
23457 (char *) "year",(char *) "cal", NULL
23460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23461 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23462 if (!SWIG_IsOK(ecode1
)) {
23463 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23465 arg1
= static_cast< int >(val1
);
23467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23468 if (!SWIG_IsOK(ecode2
)) {
23469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23471 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23479 resultobj
= SWIG_From_int(static_cast< int >(result
));
23486 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
= 0;
23488 wxDateTime::Month arg1
;
23489 int arg2
= (int) wxDateTime::Inv_Year
;
23490 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 PyObject
* obj2
= 0 ;
23501 char * kwnames
[] = {
23502 (char *) "month",(char *) "year",(char *) "cal", NULL
23505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23506 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23507 if (!SWIG_IsOK(ecode1
)) {
23508 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23510 arg1
= static_cast< wxDateTime::Month
>(val1
);
23512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23513 if (!SWIG_IsOK(ecode2
)) {
23514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23516 arg2
= static_cast< int >(val2
);
23519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23520 if (!SWIG_IsOK(ecode3
)) {
23521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23523 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= SWIG_From_int(static_cast< int >(result
));
23538 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
= 0;
23540 wxDateTime::Month arg1
;
23541 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 char * kwnames
[] = {
23550 (char *) "month",(char *) "flags", NULL
23553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23554 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23555 if (!SWIG_IsOK(ecode1
)) {
23556 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23558 arg1
= static_cast< wxDateTime::Month
>(val1
);
23560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23561 if (!SWIG_IsOK(ecode2
)) {
23562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23564 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23585 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
= 0;
23587 wxDateTime::WeekDay arg1
;
23588 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23594 PyObject
* obj0
= 0 ;
23595 PyObject
* obj1
= 0 ;
23596 char * kwnames
[] = {
23597 (char *) "weekday",(char *) "flags", NULL
23600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23601 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23602 if (!SWIG_IsOK(ecode1
)) {
23603 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23605 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23608 if (!SWIG_IsOK(ecode2
)) {
23609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23611 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23632 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23633 PyObject
*resultobj
= 0;
23634 PyObject
*result
= 0 ;
23636 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= result
;
23650 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
= 0;
23652 int arg1
= (int) wxDateTime::Inv_Year
;
23653 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23659 PyObject
* obj0
= 0 ;
23660 PyObject
* obj1
= 0 ;
23661 char * kwnames
[] = {
23662 (char *) "year",(char *) "country", NULL
23665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23667 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23668 if (!SWIG_IsOK(ecode1
)) {
23669 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23671 arg1
= static_cast< int >(val1
);
23674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23675 if (!SWIG_IsOK(ecode2
)) {
23676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23678 arg2
= static_cast< wxDateTime::Country
>(val2
);
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23695 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
= 0;
23697 int arg1
= (int) wxDateTime::Inv_Year
;
23698 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23704 PyObject
* obj0
= 0 ;
23705 PyObject
* obj1
= 0 ;
23706 char * kwnames
[] = {
23707 (char *) "year",(char *) "country", NULL
23710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23712 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23713 if (!SWIG_IsOK(ecode1
)) {
23714 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23716 arg1
= static_cast< int >(val1
);
23719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23720 if (!SWIG_IsOK(ecode2
)) {
23721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23723 arg2
= static_cast< wxDateTime::Country
>(val2
);
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23738 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
= 0;
23740 int arg1
= (int) wxDateTime::Inv_Year
;
23741 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 char * kwnames
[] = {
23750 (char *) "year",(char *) "country", NULL
23753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23755 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23756 if (!SWIG_IsOK(ecode1
)) {
23757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23759 arg1
= static_cast< int >(val1
);
23762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23763 if (!SWIG_IsOK(ecode2
)) {
23764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23766 arg2
= static_cast< wxDateTime::Country
>(val2
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23781 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23782 PyObject
*resultobj
= 0;
23785 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= wxDateTime::Now();
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23799 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23800 PyObject
*resultobj
= 0;
23803 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= wxDateTime::UNow();
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23817 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23818 PyObject
*resultobj
= 0;
23821 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= wxDateTime::Today();
23825 wxPyEndAllowThreads(__tstate
);
23826 if (PyErr_Occurred()) SWIG_fail
;
23828 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23835 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23836 PyObject
*resultobj
= 0;
23837 wxDateTime
*result
= 0 ;
23839 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (wxDateTime
*)new wxDateTime();
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23853 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
= 0;
23856 wxDateTime
*result
= 0 ;
23857 unsigned int val1
;
23859 PyObject
* obj0
= 0 ;
23860 char * kwnames
[] = {
23861 (char *) "timet", NULL
23864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23865 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23866 if (!SWIG_IsOK(ecode1
)) {
23867 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23869 arg1
= static_cast< time_t >(val1
);
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (wxDateTime
*)new wxDateTime(arg1
);
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23883 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23884 PyObject
*resultobj
= 0;
23886 wxDateTime
*result
= 0 ;
23889 PyObject
* obj0
= 0 ;
23890 char * kwnames
[] = {
23891 (char *) "jdn", NULL
23894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23895 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23896 if (!SWIG_IsOK(ecode1
)) {
23897 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23899 arg1
= static_cast< double >(val1
);
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (wxDateTime
*)new wxDateTime(arg1
);
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23913 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
= 0;
23916 int arg2
= (int) 0 ;
23917 int arg3
= (int) 0 ;
23918 int arg4
= (int) 0 ;
23919 wxDateTime
*result
= 0 ;
23928 PyObject
* obj0
= 0 ;
23929 PyObject
* obj1
= 0 ;
23930 PyObject
* obj2
= 0 ;
23931 PyObject
* obj3
= 0 ;
23932 char * kwnames
[] = {
23933 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23937 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23938 if (!SWIG_IsOK(ecode1
)) {
23939 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23941 arg1
= static_cast< int >(val1
);
23943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23944 if (!SWIG_IsOK(ecode2
)) {
23945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23947 arg2
= static_cast< int >(val2
);
23950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23951 if (!SWIG_IsOK(ecode3
)) {
23952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23954 arg3
= static_cast< int >(val3
);
23957 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23958 if (!SWIG_IsOK(ecode4
)) {
23959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23961 arg4
= static_cast< int >(val4
);
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23976 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
= 0;
23979 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23980 int arg3
= (int) wxDateTime::Inv_Year
;
23981 int arg4
= (int) 0 ;
23982 int arg5
= (int) 0 ;
23983 int arg6
= (int) 0 ;
23984 int arg7
= (int) 0 ;
23985 wxDateTime
*result
= 0 ;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 PyObject
* obj2
= 0 ;
24003 PyObject
* obj3
= 0 ;
24004 PyObject
* obj4
= 0 ;
24005 PyObject
* obj5
= 0 ;
24006 PyObject
* obj6
= 0 ;
24007 char * kwnames
[] = {
24008 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24013 if (!SWIG_IsOK(ecode1
)) {
24014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
24016 arg1
= static_cast< int >(val1
);
24018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24019 if (!SWIG_IsOK(ecode2
)) {
24020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24022 arg2
= static_cast< wxDateTime::Month
>(val2
);
24025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24026 if (!SWIG_IsOK(ecode3
)) {
24027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
24029 arg3
= static_cast< int >(val3
);
24032 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24033 if (!SWIG_IsOK(ecode4
)) {
24034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
24036 arg4
= static_cast< int >(val4
);
24039 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24040 if (!SWIG_IsOK(ecode5
)) {
24041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
24043 arg5
= static_cast< int >(val5
);
24046 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24047 if (!SWIG_IsOK(ecode6
)) {
24048 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
24050 arg6
= static_cast< int >(val6
);
24053 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24054 if (!SWIG_IsOK(ecode7
)) {
24055 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
24057 arg7
= static_cast< int >(val7
);
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24062 wxPyEndAllowThreads(__tstate
);
24063 if (PyErr_Occurred()) SWIG_fail
;
24065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24072 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
= 0;
24074 wxDateTime
*arg1
= 0 ;
24075 wxDateTime
*result
= 0 ;
24078 PyObject
* obj0
= 0 ;
24079 char * kwnames
[] = {
24080 (char *) "date", NULL
24083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
24084 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
24085 if (!SWIG_IsOK(res1
)) {
24086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24091 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24105 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24106 PyObject
*resultobj
= 0;
24107 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24110 PyObject
*swig_obj
[1] ;
24112 if (!args
) SWIG_fail
;
24113 swig_obj
[0] = args
;
24114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
24115 if (!SWIG_IsOK(res1
)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24118 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= SWIG_Py_Void();
24133 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24134 PyObject
*resultobj
= 0;
24135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24136 wxDateTime
*result
= 0 ;
24139 PyObject
*swig_obj
[1] ;
24141 if (!args
) SWIG_fail
;
24142 swig_obj
[0] = args
;
24143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24144 if (!SWIG_IsOK(res1
)) {
24145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
24147 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
24152 result
= (wxDateTime
*) &_result_ref
;
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24164 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
= 0;
24166 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24168 wxDateTime
*result
= 0 ;
24171 unsigned int val2
;
24173 PyObject
* obj0
= 0 ;
24174 PyObject
* obj1
= 0 ;
24175 char * kwnames
[] = {
24176 (char *) "self",(char *) "timet", NULL
24179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24181 if (!SWIG_IsOK(res1
)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24184 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24185 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
24186 if (!SWIG_IsOK(ecode2
)) {
24187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
24189 arg2
= static_cast< time_t >(val2
);
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24194 result
= (wxDateTime
*) &_result_ref
;
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24206 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
= 0;
24208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24210 wxDateTime
*result
= 0 ;
24215 PyObject
* obj0
= 0 ;
24216 PyObject
* obj1
= 0 ;
24217 char * kwnames
[] = {
24218 (char *) "self",(char *) "jdn", NULL
24221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24223 if (!SWIG_IsOK(res1
)) {
24224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24226 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24227 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24228 if (!SWIG_IsOK(ecode2
)) {
24229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24231 arg2
= static_cast< double >(val2
);
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24236 result
= (wxDateTime
*) &_result_ref
;
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24248 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
= 0;
24250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24252 int arg3
= (int) 0 ;
24253 int arg4
= (int) 0 ;
24254 int arg5
= (int) 0 ;
24255 wxDateTime
*result
= 0 ;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 PyObject
* obj2
= 0 ;
24269 PyObject
* obj3
= 0 ;
24270 PyObject
* obj4
= 0 ;
24271 char * kwnames
[] = {
24272 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24277 if (!SWIG_IsOK(res1
)) {
24278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24280 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24282 if (!SWIG_IsOK(ecode2
)) {
24283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24285 arg2
= static_cast< int >(val2
);
24287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24288 if (!SWIG_IsOK(ecode3
)) {
24289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24291 arg3
= static_cast< int >(val3
);
24294 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24295 if (!SWIG_IsOK(ecode4
)) {
24296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24298 arg4
= static_cast< int >(val4
);
24301 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24302 if (!SWIG_IsOK(ecode5
)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24305 arg5
= static_cast< int >(val5
);
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24311 result
= (wxDateTime
*) &_result_ref
;
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24323 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
= 0;
24325 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24327 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24328 int arg4
= (int) wxDateTime::Inv_Year
;
24329 int arg5
= (int) 0 ;
24330 int arg6
= (int) 0 ;
24331 int arg7
= (int) 0 ;
24332 int arg8
= (int) 0 ;
24333 wxDateTime
*result
= 0 ;
24350 PyObject
* obj0
= 0 ;
24351 PyObject
* obj1
= 0 ;
24352 PyObject
* obj2
= 0 ;
24353 PyObject
* obj3
= 0 ;
24354 PyObject
* obj4
= 0 ;
24355 PyObject
* obj5
= 0 ;
24356 PyObject
* obj6
= 0 ;
24357 PyObject
* obj7
= 0 ;
24358 char * kwnames
[] = {
24359 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24364 if (!SWIG_IsOK(res1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24367 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24369 if (!SWIG_IsOK(ecode2
)) {
24370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24372 arg2
= static_cast< int >(val2
);
24374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24375 if (!SWIG_IsOK(ecode3
)) {
24376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24378 arg3
= static_cast< wxDateTime::Month
>(val3
);
24381 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24382 if (!SWIG_IsOK(ecode4
)) {
24383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24385 arg4
= static_cast< int >(val4
);
24388 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24389 if (!SWIG_IsOK(ecode5
)) {
24390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24392 arg5
= static_cast< int >(val5
);
24395 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24396 if (!SWIG_IsOK(ecode6
)) {
24397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24399 arg6
= static_cast< int >(val6
);
24402 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24403 if (!SWIG_IsOK(ecode7
)) {
24404 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24406 arg7
= static_cast< int >(val7
);
24409 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24410 if (!SWIG_IsOK(ecode8
)) {
24411 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24413 arg8
= static_cast< int >(val8
);
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24419 result
= (wxDateTime
*) &_result_ref
;
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24431 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24432 PyObject
*resultobj
= 0;
24433 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24434 wxDateTime
*result
= 0 ;
24437 PyObject
*swig_obj
[1] ;
24439 if (!args
) SWIG_fail
;
24440 swig_obj
[0] = args
;
24441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24442 if (!SWIG_IsOK(res1
)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24445 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24450 result
= (wxDateTime
*) &_result_ref
;
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24462 SWIGINTERN PyObject
*_wrap_DateTime_GetDateOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24463 PyObject
*resultobj
= 0;
24464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24468 PyObject
*swig_obj
[1] ;
24470 if (!args
) SWIG_fail
;
24471 swig_obj
[0] = args
;
24472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24473 if (!SWIG_IsOK(res1
)) {
24474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDateOnly" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24476 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= ((wxDateTime
const *)arg1
)->GetDateOnly();
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24490 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
= 0;
24492 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24494 wxDateTime
*result
= 0 ;
24499 PyObject
* obj0
= 0 ;
24500 PyObject
* obj1
= 0 ;
24501 char * kwnames
[] = {
24502 (char *) "self",(char *) "year", NULL
24505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24507 if (!SWIG_IsOK(res1
)) {
24508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24510 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24512 if (!SWIG_IsOK(ecode2
)) {
24513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24515 arg2
= static_cast< int >(val2
);
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24519 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24520 result
= (wxDateTime
*) &_result_ref
;
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24532 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24533 PyObject
*resultobj
= 0;
24534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24535 wxDateTime::Month arg2
;
24536 wxDateTime
*result
= 0 ;
24541 PyObject
* obj0
= 0 ;
24542 PyObject
* obj1
= 0 ;
24543 char * kwnames
[] = {
24544 (char *) "self",(char *) "month", NULL
24547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24549 if (!SWIG_IsOK(res1
)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24552 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24554 if (!SWIG_IsOK(ecode2
)) {
24555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24557 arg2
= static_cast< wxDateTime::Month
>(val2
);
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24562 result
= (wxDateTime
*) &_result_ref
;
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24574 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
= 0;
24576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24578 wxDateTime
*result
= 0 ;
24583 PyObject
* obj0
= 0 ;
24584 PyObject
* obj1
= 0 ;
24585 char * kwnames
[] = {
24586 (char *) "self",(char *) "day", NULL
24589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24591 if (!SWIG_IsOK(res1
)) {
24592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24594 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24596 if (!SWIG_IsOK(ecode2
)) {
24597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24599 arg2
= static_cast< int >(val2
);
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24604 result
= (wxDateTime
*) &_result_ref
;
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24616 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
= 0;
24618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24620 wxDateTime
*result
= 0 ;
24625 PyObject
* obj0
= 0 ;
24626 PyObject
* obj1
= 0 ;
24627 char * kwnames
[] = {
24628 (char *) "self",(char *) "hour", NULL
24631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24633 if (!SWIG_IsOK(res1
)) {
24634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24636 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24638 if (!SWIG_IsOK(ecode2
)) {
24639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24641 arg2
= static_cast< int >(val2
);
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24646 result
= (wxDateTime
*) &_result_ref
;
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24658 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
= 0;
24660 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24662 wxDateTime
*result
= 0 ;
24667 PyObject
* obj0
= 0 ;
24668 PyObject
* obj1
= 0 ;
24669 char * kwnames
[] = {
24670 (char *) "self",(char *) "minute", NULL
24673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24675 if (!SWIG_IsOK(res1
)) {
24676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24678 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24680 if (!SWIG_IsOK(ecode2
)) {
24681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24683 arg2
= static_cast< int >(val2
);
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24687 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24688 result
= (wxDateTime
*) &_result_ref
;
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24700 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24701 PyObject
*resultobj
= 0;
24702 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24704 wxDateTime
*result
= 0 ;
24709 PyObject
* obj0
= 0 ;
24710 PyObject
* obj1
= 0 ;
24711 char * kwnames
[] = {
24712 (char *) "self",(char *) "second", NULL
24715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24717 if (!SWIG_IsOK(res1
)) {
24718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24720 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24722 if (!SWIG_IsOK(ecode2
)) {
24723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24725 arg2
= static_cast< int >(val2
);
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24730 result
= (wxDateTime
*) &_result_ref
;
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24742 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
= 0;
24744 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24746 wxDateTime
*result
= 0 ;
24751 PyObject
* obj0
= 0 ;
24752 PyObject
* obj1
= 0 ;
24753 char * kwnames
[] = {
24754 (char *) "self",(char *) "millisecond", NULL
24757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24759 if (!SWIG_IsOK(res1
)) {
24760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24762 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24764 if (!SWIG_IsOK(ecode2
)) {
24765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24767 arg2
= static_cast< int >(val2
);
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24772 result
= (wxDateTime
*) &_result_ref
;
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24784 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
= 0;
24786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24787 wxDateTime::WeekDay arg2
;
24788 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24789 wxDateTime
*result
= 0 ;
24796 PyObject
* obj0
= 0 ;
24797 PyObject
* obj1
= 0 ;
24798 PyObject
* obj2
= 0 ;
24799 char * kwnames
[] = {
24800 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24805 if (!SWIG_IsOK(res1
)) {
24806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24808 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24810 if (!SWIG_IsOK(ecode2
)) {
24811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24813 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24816 if (!SWIG_IsOK(ecode3
)) {
24817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24819 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24825 result
= (wxDateTime
*) &_result_ref
;
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24837 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24838 PyObject
*resultobj
= 0;
24839 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24840 wxDateTime::WeekDay arg2
;
24841 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24849 PyObject
* obj0
= 0 ;
24850 PyObject
* obj1
= 0 ;
24851 PyObject
* obj2
= 0 ;
24852 char * kwnames
[] = {
24853 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24858 if (!SWIG_IsOK(res1
)) {
24859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24861 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24863 if (!SWIG_IsOK(ecode2
)) {
24864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24866 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24869 if (!SWIG_IsOK(ecode3
)) {
24870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24872 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24877 wxPyEndAllowThreads(__tstate
);
24878 if (PyErr_Occurred()) SWIG_fail
;
24880 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24887 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
= 0;
24889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24890 wxDateTime::WeekDay arg2
;
24891 wxDateTime
*result
= 0 ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 char * kwnames
[] = {
24899 (char *) "self",(char *) "weekday", NULL
24902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24904 if (!SWIG_IsOK(res1
)) {
24905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24907 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24909 if (!SWIG_IsOK(ecode2
)) {
24910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24912 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24916 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24917 result
= (wxDateTime
*) &_result_ref
;
24919 wxPyEndAllowThreads(__tstate
);
24920 if (PyErr_Occurred()) SWIG_fail
;
24922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24929 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
= 0;
24931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24932 wxDateTime::WeekDay arg2
;
24938 PyObject
* obj0
= 0 ;
24939 PyObject
* obj1
= 0 ;
24940 char * kwnames
[] = {
24941 (char *) "self",(char *) "weekday", NULL
24944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24946 if (!SWIG_IsOK(res1
)) {
24947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24949 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24951 if (!SWIG_IsOK(ecode2
)) {
24952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24954 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (arg1
)->GetNextWeekDay(arg2
);
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24968 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24969 PyObject
*resultobj
= 0;
24970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24971 wxDateTime::WeekDay arg2
;
24972 wxDateTime
*result
= 0 ;
24977 PyObject
* obj0
= 0 ;
24978 PyObject
* obj1
= 0 ;
24979 char * kwnames
[] = {
24980 (char *) "self",(char *) "weekday", NULL
24983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24985 if (!SWIG_IsOK(res1
)) {
24986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24988 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24990 if (!SWIG_IsOK(ecode2
)) {
24991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24993 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24998 result
= (wxDateTime
*) &_result_ref
;
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25010 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
= 0;
25012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25013 wxDateTime::WeekDay arg2
;
25019 PyObject
* obj0
= 0 ;
25020 PyObject
* obj1
= 0 ;
25021 char * kwnames
[] = {
25022 (char *) "self",(char *) "weekday", NULL
25025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25027 if (!SWIG_IsOK(res1
)) {
25028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25030 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25032 if (!SWIG_IsOK(ecode2
)) {
25033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25035 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 result
= (arg1
)->GetPrevWeekDay(arg2
);
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25042 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25049 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
= 0;
25051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25052 wxDateTime::WeekDay arg2
;
25053 int arg3
= (int) 1 ;
25054 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25055 int arg5
= (int) wxDateTime::Inv_Year
;
25067 PyObject
* obj0
= 0 ;
25068 PyObject
* obj1
= 0 ;
25069 PyObject
* obj2
= 0 ;
25070 PyObject
* obj3
= 0 ;
25071 PyObject
* obj4
= 0 ;
25072 char * kwnames
[] = {
25073 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
25076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25078 if (!SWIG_IsOK(res1
)) {
25079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25081 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25083 if (!SWIG_IsOK(ecode2
)) {
25084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25086 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25089 if (!SWIG_IsOK(ecode3
)) {
25090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
25092 arg3
= static_cast< int >(val3
);
25095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25096 if (!SWIG_IsOK(ecode4
)) {
25097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
25099 arg4
= static_cast< wxDateTime::Month
>(val4
);
25102 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25103 if (!SWIG_IsOK(ecode5
)) {
25104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
25106 arg5
= static_cast< int >(val5
);
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25123 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
= 0;
25125 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25126 wxDateTime::WeekDay arg2
;
25127 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25128 int arg4
= (int) wxDateTime::Inv_Year
;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 PyObject
* obj2
= 0 ;
25141 PyObject
* obj3
= 0 ;
25142 char * kwnames
[] = {
25143 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25148 if (!SWIG_IsOK(res1
)) {
25149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25151 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25153 if (!SWIG_IsOK(ecode2
)) {
25154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25156 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25159 if (!SWIG_IsOK(ecode3
)) {
25160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25162 arg3
= static_cast< wxDateTime::Month
>(val3
);
25165 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25166 if (!SWIG_IsOK(ecode4
)) {
25167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25169 arg4
= static_cast< int >(val4
);
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25186 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
= 0;
25188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25189 wxDateTime::WeekDay arg2
;
25190 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25191 int arg4
= (int) wxDateTime::Inv_Year
;
25201 PyObject
* obj0
= 0 ;
25202 PyObject
* obj1
= 0 ;
25203 PyObject
* obj2
= 0 ;
25204 PyObject
* obj3
= 0 ;
25205 char * kwnames
[] = {
25206 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25211 if (!SWIG_IsOK(res1
)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25214 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25216 if (!SWIG_IsOK(ecode2
)) {
25217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25219 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25222 if (!SWIG_IsOK(ecode3
)) {
25223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25225 arg3
= static_cast< wxDateTime::Month
>(val3
);
25228 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25229 if (!SWIG_IsOK(ecode4
)) {
25230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25232 arg4
= static_cast< int >(val4
);
25235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25236 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
25237 wxPyEndAllowThreads(__tstate
);
25238 if (PyErr_Occurred()) SWIG_fail
;
25240 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25247 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
= 0;
25249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25251 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25252 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 PyObject
* obj2
= 0 ;
25265 PyObject
* obj3
= 0 ;
25266 char * kwnames
[] = {
25267 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25272 if (!SWIG_IsOK(res1
)) {
25273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25275 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25277 if (!SWIG_IsOK(ecode2
)) {
25278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
25280 arg2
= static_cast< int >(val2
);
25282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25283 if (!SWIG_IsOK(ecode3
)) {
25284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25286 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25290 if (!SWIG_IsOK(ecode4
)) {
25291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25293 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25310 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
= 0;
25312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25314 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25315 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 PyObject
* obj2
= 0 ;
25328 PyObject
* obj3
= 0 ;
25329 char * kwnames
[] = {
25330 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25335 if (!SWIG_IsOK(res1
)) {
25336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25338 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25340 if (!SWIG_IsOK(ecode2
)) {
25341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25343 arg2
= static_cast< int >(val2
);
25345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25346 if (!SWIG_IsOK(ecode3
)) {
25347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25349 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25352 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25353 if (!SWIG_IsOK(ecode4
)) {
25354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25356 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25360 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25364 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25371 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
= 0;
25375 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 PyObject
* obj2
= 0 ;
25386 char * kwnames
[] = {
25387 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25391 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25392 if (!SWIG_IsOK(ecode1
)) {
25393 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25395 arg1
= static_cast< int >(val1
);
25396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25397 if (!SWIG_IsOK(ecode2
)) {
25398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25400 arg2
= static_cast< int >(val2
);
25402 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25403 if (!SWIG_IsOK(ecode3
)) {
25404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25406 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25421 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
= 0;
25423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25424 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25425 int arg3
= (int) wxDateTime::Inv_Year
;
25426 wxDateTime
*result
= 0 ;
25433 PyObject
* obj0
= 0 ;
25434 PyObject
* obj1
= 0 ;
25435 PyObject
* obj2
= 0 ;
25436 char * kwnames
[] = {
25437 (char *) "self",(char *) "month",(char *) "year", NULL
25440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25442 if (!SWIG_IsOK(res1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25445 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25448 if (!SWIG_IsOK(ecode2
)) {
25449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25451 arg2
= static_cast< wxDateTime::Month
>(val2
);
25454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25455 if (!SWIG_IsOK(ecode3
)) {
25456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25458 arg3
= static_cast< int >(val3
);
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25464 result
= (wxDateTime
*) &_result_ref
;
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25476 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
= 0;
25478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25479 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25480 int arg3
= (int) wxDateTime::Inv_Year
;
25488 PyObject
* obj0
= 0 ;
25489 PyObject
* obj1
= 0 ;
25490 PyObject
* obj2
= 0 ;
25491 char * kwnames
[] = {
25492 (char *) "self",(char *) "month",(char *) "year", NULL
25495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25497 if (!SWIG_IsOK(res1
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25500 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25503 if (!SWIG_IsOK(ecode2
)) {
25504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25506 arg2
= static_cast< wxDateTime::Month
>(val2
);
25509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25510 if (!SWIG_IsOK(ecode3
)) {
25511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25513 arg3
= static_cast< int >(val3
);
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25517 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25518 wxPyEndAllowThreads(__tstate
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25521 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25528 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
= 0;
25530 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25532 wxDateTime
*result
= 0 ;
25537 PyObject
* obj0
= 0 ;
25538 PyObject
* obj1
= 0 ;
25539 char * kwnames
[] = {
25540 (char *) "self",(char *) "yday", NULL
25543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25545 if (!SWIG_IsOK(res1
)) {
25546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25548 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25550 if (!SWIG_IsOK(ecode2
)) {
25551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25553 arg2
= static_cast< int >(val2
);
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25557 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25558 result
= (wxDateTime
*) &_result_ref
;
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25570 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25571 PyObject
*resultobj
= 0;
25572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25579 PyObject
* obj0
= 0 ;
25580 PyObject
* obj1
= 0 ;
25581 char * kwnames
[] = {
25582 (char *) "self",(char *) "yday", NULL
25585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25587 if (!SWIG_IsOK(res1
)) {
25588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25590 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25592 if (!SWIG_IsOK(ecode2
)) {
25593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25595 arg2
= static_cast< int >(val2
);
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (arg1
)->GetYearDay(arg2
);
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25609 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(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_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25623 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (double)(arg1
)->GetJulianDayNumber();
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 resultobj
= SWIG_From_double(static_cast< double >(result
));
25637 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(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_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25651 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= (double)(arg1
)->GetJDN();
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= SWIG_From_double(static_cast< double >(result
));
25665 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25666 PyObject
*resultobj
= 0;
25667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25671 PyObject
*swig_obj
[1] ;
25673 if (!args
) SWIG_fail
;
25674 swig_obj
[0] = args
;
25675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25676 if (!SWIG_IsOK(res1
)) {
25677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25679 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 resultobj
= SWIG_From_double(static_cast< double >(result
));
25693 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25694 PyObject
*resultobj
= 0;
25695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25699 PyObject
*swig_obj
[1] ;
25701 if (!args
) SWIG_fail
;
25702 swig_obj
[0] = args
;
25703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25704 if (!SWIG_IsOK(res1
)) {
25705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25707 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= (double)(arg1
)->GetMJD();
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= SWIG_From_double(static_cast< double >(result
));
25721 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25722 PyObject
*resultobj
= 0;
25723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25727 PyObject
*swig_obj
[1] ;
25729 if (!args
) SWIG_fail
;
25730 swig_obj
[0] = args
;
25731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25732 if (!SWIG_IsOK(res1
)) {
25733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25735 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= (double)(arg1
)->GetRataDie();
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= SWIG_From_double(static_cast< double >(result
));
25749 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25750 PyObject
*resultobj
= 0;
25751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25752 wxDateTime::TimeZone
*arg2
= 0 ;
25753 bool arg3
= (bool) false ;
25757 bool temp2
= false ;
25760 PyObject
* obj0
= 0 ;
25761 PyObject
* obj1
= 0 ;
25762 PyObject
* obj2
= 0 ;
25763 char * kwnames
[] = {
25764 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25769 if (!SWIG_IsOK(res1
)) {
25770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25772 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25774 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25778 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25779 if (!SWIG_IsOK(ecode3
)) {
25780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25782 arg3
= static_cast< bool >(val3
);
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25792 if (temp2
) delete arg2
;
25797 if (temp2
) delete arg2
;
25803 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
= 0;
25805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25806 wxDateTime::TimeZone
*arg2
= 0 ;
25807 bool arg3
= (bool) false ;
25808 wxDateTime
*result
= 0 ;
25811 bool temp2
= false ;
25814 PyObject
* obj0
= 0 ;
25815 PyObject
* obj1
= 0 ;
25816 PyObject
* obj2
= 0 ;
25817 char * kwnames
[] = {
25818 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25823 if (!SWIG_IsOK(res1
)) {
25824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25826 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25828 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25832 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25833 if (!SWIG_IsOK(ecode3
)) {
25834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25836 arg3
= static_cast< bool >(val3
);
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25842 result
= (wxDateTime
*) &_result_ref
;
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25849 if (temp2
) delete arg2
;
25854 if (temp2
) delete arg2
;
25860 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25861 PyObject
*resultobj
= 0;
25862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25863 wxDateTime::TimeZone
*arg2
= 0 ;
25864 bool arg3
= (bool) false ;
25868 bool temp2
= false ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 PyObject
* obj2
= 0 ;
25874 char * kwnames
[] = {
25875 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25880 if (!SWIG_IsOK(res1
)) {
25881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25883 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25885 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25889 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25890 if (!SWIG_IsOK(ecode3
)) {
25891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25893 arg3
= static_cast< bool >(val3
);
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25903 if (temp2
) delete arg2
;
25908 if (temp2
) delete arg2
;
25914 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
= 0;
25916 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25917 wxDateTime::TimeZone
*arg2
= 0 ;
25918 bool arg3
= (bool) false ;
25919 wxDateTime
*result
= 0 ;
25922 bool temp2
= false ;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 PyObject
* obj2
= 0 ;
25928 char * kwnames
[] = {
25929 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25934 if (!SWIG_IsOK(res1
)) {
25935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25937 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25939 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25943 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25944 if (!SWIG_IsOK(ecode3
)) {
25945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25947 arg3
= static_cast< bool >(val3
);
25950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25953 result
= (wxDateTime
*) &_result_ref
;
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25960 if (temp2
) delete arg2
;
25965 if (temp2
) delete arg2
;
25971 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
= 0;
25973 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25974 bool arg2
= (bool) false ;
25980 PyObject
* obj0
= 0 ;
25981 PyObject
* obj1
= 0 ;
25982 char * kwnames
[] = {
25983 (char *) "self",(char *) "noDST", NULL
25986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25988 if (!SWIG_IsOK(res1
)) {
25989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25991 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25993 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25994 if (!SWIG_IsOK(ecode2
)) {
25995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25997 arg2
= static_cast< bool >(val2
);
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26012 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
= 0;
26014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26015 bool arg2
= (bool) false ;
26016 wxDateTime
*result
= 0 ;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 char * kwnames
[] = {
26024 (char *) "self",(char *) "noDST", NULL
26027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26029 if (!SWIG_IsOK(res1
)) {
26030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26032 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26034 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26035 if (!SWIG_IsOK(ecode2
)) {
26036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
26038 arg2
= static_cast< bool >(val2
);
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
26044 result
= (wxDateTime
*) &_result_ref
;
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26056 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26057 PyObject
*resultobj
= 0;
26058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26059 bool arg2
= (bool) false ;
26065 PyObject
* obj0
= 0 ;
26066 PyObject
* obj1
= 0 ;
26067 char * kwnames
[] = {
26068 (char *) "self",(char *) "noDST", NULL
26071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26073 if (!SWIG_IsOK(res1
)) {
26074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26076 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26078 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26079 if (!SWIG_IsOK(ecode2
)) {
26080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
26082 arg2
= static_cast< bool >(val2
);
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
26087 wxPyEndAllowThreads(__tstate
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26090 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26097 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
= 0;
26099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26100 bool arg2
= (bool) false ;
26101 wxDateTime
*result
= 0 ;
26106 PyObject
* obj0
= 0 ;
26107 PyObject
* obj1
= 0 ;
26108 char * kwnames
[] = {
26109 (char *) "self",(char *) "noDST", NULL
26112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26114 if (!SWIG_IsOK(res1
)) {
26115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
26117 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26119 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26120 if (!SWIG_IsOK(ecode2
)) {
26121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
26123 arg2
= static_cast< bool >(val2
);
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
26129 result
= (wxDateTime
*) &_result_ref
;
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26141 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
= 0;
26143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26144 bool arg2
= (bool) false ;
26150 PyObject
* obj0
= 0 ;
26151 PyObject
* obj1
= 0 ;
26152 char * kwnames
[] = {
26153 (char *) "self",(char *) "noDST", NULL
26156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26158 if (!SWIG_IsOK(res1
)) {
26159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26161 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26163 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26164 if (!SWIG_IsOK(ecode2
)) {
26165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
26167 arg2
= static_cast< bool >(val2
);
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26175 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26182 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26183 PyObject
*resultobj
= 0;
26184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26185 bool arg2
= (bool) false ;
26186 wxDateTime
*result
= 0 ;
26191 PyObject
* obj0
= 0 ;
26192 PyObject
* obj1
= 0 ;
26193 char * kwnames
[] = {
26194 (char *) "self",(char *) "noDST", NULL
26197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26199 if (!SWIG_IsOK(res1
)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26202 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26204 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26205 if (!SWIG_IsOK(ecode2
)) {
26206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
26208 arg2
= static_cast< bool >(val2
);
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
26214 result
= (wxDateTime
*) &_result_ref
;
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26226 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26227 PyObject
*resultobj
= 0;
26228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26229 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26235 PyObject
* obj0
= 0 ;
26236 PyObject
* obj1
= 0 ;
26237 char * kwnames
[] = {
26238 (char *) "self",(char *) "country", NULL
26241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26243 if (!SWIG_IsOK(res1
)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26246 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26249 if (!SWIG_IsOK(ecode2
)) {
26250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26252 arg2
= static_cast< wxDateTime::Country
>(val2
);
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= (int)(arg1
)->IsDST(arg2
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 resultobj
= SWIG_From_int(static_cast< int >(result
));
26267 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26268 PyObject
*resultobj
= 0;
26269 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26273 PyObject
*swig_obj
[1] ;
26275 if (!args
) SWIG_fail
;
26276 swig_obj
[0] = args
;
26277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26278 if (!SWIG_IsOK(res1
)) {
26279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26281 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26297 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26298 PyObject
*resultobj
= 0;
26299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26303 PyObject
*swig_obj
[1] ;
26305 if (!args
) SWIG_fail
;
26306 swig_obj
[0] = args
;
26307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26308 if (!SWIG_IsOK(res1
)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26311 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26325 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
= 0;
26327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26328 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26329 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26333 bool temp2
= false ;
26334 PyObject
* obj0
= 0 ;
26335 PyObject
* obj1
= 0 ;
26336 char * kwnames
[] = {
26337 (char *) "self",(char *) "tz", NULL
26340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26342 if (!SWIG_IsOK(res1
)) {
26343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26345 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26348 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26354 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= SWIG_From_int(static_cast< int >(result
));
26360 if (temp2
) delete arg2
;
26365 if (temp2
) delete arg2
;
26371 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
= 0;
26373 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26374 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26375 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26376 wxDateTime::Month result
;
26379 bool temp2
= false ;
26380 PyObject
* obj0
= 0 ;
26381 PyObject
* obj1
= 0 ;
26382 char * kwnames
[] = {
26383 (char *) "self",(char *) "tz", NULL
26386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26388 if (!SWIG_IsOK(res1
)) {
26389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26391 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26394 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= SWIG_From_int(static_cast< int >(result
));
26406 if (temp2
) delete arg2
;
26411 if (temp2
) delete arg2
;
26417 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
= 0;
26419 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26420 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26421 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26425 bool temp2
= false ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 char * kwnames
[] = {
26429 (char *) "self",(char *) "tz", NULL
26432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26434 if (!SWIG_IsOK(res1
)) {
26435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26437 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26440 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_From_int(static_cast< int >(result
));
26452 if (temp2
) delete arg2
;
26457 if (temp2
) delete arg2
;
26463 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
= 0;
26465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26466 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26467 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26468 wxDateTime::WeekDay result
;
26471 bool temp2
= false ;
26472 PyObject
* obj0
= 0 ;
26473 PyObject
* obj1
= 0 ;
26474 char * kwnames
[] = {
26475 (char *) "self",(char *) "tz", NULL
26478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26480 if (!SWIG_IsOK(res1
)) {
26481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26483 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26486 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= SWIG_From_int(static_cast< int >(result
));
26498 if (temp2
) delete arg2
;
26503 if (temp2
) delete arg2
;
26509 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
= 0;
26511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26512 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26513 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26517 bool temp2
= false ;
26518 PyObject
* obj0
= 0 ;
26519 PyObject
* obj1
= 0 ;
26520 char * kwnames
[] = {
26521 (char *) "self",(char *) "tz", NULL
26524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26529 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26532 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 resultobj
= SWIG_From_int(static_cast< int >(result
));
26544 if (temp2
) delete arg2
;
26549 if (temp2
) delete arg2
;
26555 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26556 PyObject
*resultobj
= 0;
26557 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26558 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26559 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26563 bool temp2
= false ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 char * kwnames
[] = {
26567 (char *) "self",(char *) "tz", NULL
26570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26572 if (!SWIG_IsOK(res1
)) {
26573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26575 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26578 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_From_int(static_cast< int >(result
));
26590 if (temp2
) delete arg2
;
26595 if (temp2
) delete arg2
;
26601 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
= 0;
26603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26604 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26605 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26609 bool temp2
= false ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 char * kwnames
[] = {
26613 (char *) "self",(char *) "tz", NULL
26616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26618 if (!SWIG_IsOK(res1
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26621 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26624 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26631 wxPyEndAllowThreads(__tstate
);
26632 if (PyErr_Occurred()) SWIG_fail
;
26634 resultobj
= SWIG_From_int(static_cast< int >(result
));
26636 if (temp2
) delete arg2
;
26641 if (temp2
) delete arg2
;
26647 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26648 PyObject
*resultobj
= 0;
26649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26650 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26651 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26655 bool temp2
= false ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 char * kwnames
[] = {
26659 (char *) "self",(char *) "tz", NULL
26662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26664 if (!SWIG_IsOK(res1
)) {
26665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26667 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26670 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_From_int(static_cast< int >(result
));
26682 if (temp2
) delete arg2
;
26687 if (temp2
) delete arg2
;
26693 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
= 0;
26695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26696 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26697 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26701 bool temp2
= false ;
26702 PyObject
* obj0
= 0 ;
26703 PyObject
* obj1
= 0 ;
26704 char * kwnames
[] = {
26705 (char *) "self",(char *) "tz", NULL
26708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26710 if (!SWIG_IsOK(res1
)) {
26711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26713 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26716 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= SWIG_From_int(static_cast< int >(result
));
26728 if (temp2
) delete arg2
;
26733 if (temp2
) delete arg2
;
26739 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
= 0;
26741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26742 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26743 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26744 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26750 bool temp3
= false ;
26751 PyObject
* obj0
= 0 ;
26752 PyObject
* obj1
= 0 ;
26753 PyObject
* obj2
= 0 ;
26754 char * kwnames
[] = {
26755 (char *) "self",(char *) "flags",(char *) "tz", NULL
26758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26763 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26766 if (!SWIG_IsOK(ecode2
)) {
26767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26769 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26773 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 resultobj
= SWIG_From_int(static_cast< int >(result
));
26785 if (temp3
) delete arg3
;
26790 if (temp3
) delete arg3
;
26796 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
= 0;
26798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26799 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26800 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26801 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26807 bool temp3
= false ;
26808 PyObject
* obj0
= 0 ;
26809 PyObject
* obj1
= 0 ;
26810 PyObject
* obj2
= 0 ;
26811 char * kwnames
[] = {
26812 (char *) "self",(char *) "flags",(char *) "tz", NULL
26815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26817 if (!SWIG_IsOK(res1
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26820 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26823 if (!SWIG_IsOK(ecode2
)) {
26824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26826 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26830 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= SWIG_From_int(static_cast< int >(result
));
26842 if (temp3
) delete arg3
;
26847 if (temp3
) delete arg3
;
26853 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
= 0;
26855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26856 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26862 PyObject
* obj0
= 0 ;
26863 PyObject
* obj1
= 0 ;
26864 char * kwnames
[] = {
26865 (char *) "self",(char *) "country", NULL
26868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26870 if (!SWIG_IsOK(res1
)) {
26871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26873 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26876 if (!SWIG_IsOK(ecode2
)) {
26877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26879 arg2
= static_cast< wxDateTime::Country
>(val2
);
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26896 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26897 PyObject
*resultobj
= 0;
26898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26899 wxDateTime
*arg2
= 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char * kwnames
[] = {
26908 (char *) "self",(char *) "datetime", NULL
26911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26913 if (!SWIG_IsOK(res1
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26916 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26917 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26918 if (!SWIG_IsOK(res2
)) {
26919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26924 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26940 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
= 0;
26942 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26943 wxDateTime
*arg2
= 0 ;
26949 PyObject
* obj0
= 0 ;
26950 PyObject
* obj1
= 0 ;
26951 char * kwnames
[] = {
26952 (char *) "self",(char *) "datetime", NULL
26955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26957 if (!SWIG_IsOK(res1
)) {
26958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26960 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26962 if (!SWIG_IsOK(res2
)) {
26963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26968 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26984 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
= 0;
26986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26987 wxDateTime
*arg2
= 0 ;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 char * kwnames
[] = {
26996 (char *) "self",(char *) "datetime", NULL
26999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27001 if (!SWIG_IsOK(res1
)) {
27002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27004 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27006 if (!SWIG_IsOK(res2
)) {
27007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27012 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
27016 wxPyEndAllowThreads(__tstate
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27028 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27029 PyObject
*resultobj
= 0;
27030 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27031 wxDateTime
*arg2
= 0 ;
27032 wxDateTime
*arg3
= 0 ;
27040 PyObject
* obj0
= 0 ;
27041 PyObject
* obj1
= 0 ;
27042 PyObject
* obj2
= 0 ;
27043 char * kwnames
[] = {
27044 (char *) "self",(char *) "t1",(char *) "t2", NULL
27047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27049 if (!SWIG_IsOK(res1
)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27052 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27054 if (!SWIG_IsOK(res2
)) {
27055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27060 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27061 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27062 if (!SWIG_IsOK(res3
)) {
27063 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27068 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27071 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27084 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
= 0;
27086 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27087 wxDateTime
*arg2
= 0 ;
27088 wxDateTime
*arg3
= 0 ;
27096 PyObject
* obj0
= 0 ;
27097 PyObject
* obj1
= 0 ;
27098 PyObject
* obj2
= 0 ;
27099 char * kwnames
[] = {
27100 (char *) "self",(char *) "t1",(char *) "t2", NULL
27103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27105 if (!SWIG_IsOK(res1
)) {
27106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27108 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27110 if (!SWIG_IsOK(res2
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27116 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27117 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27118 if (!SWIG_IsOK(res3
)) {
27119 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27124 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27140 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
= 0;
27142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27143 wxDateTime
*arg2
= 0 ;
27149 PyObject
* obj0
= 0 ;
27150 PyObject
* obj1
= 0 ;
27151 char * kwnames
[] = {
27152 (char *) "self",(char *) "dt", NULL
27155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27157 if (!SWIG_IsOK(res1
)) {
27158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27160 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27161 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27162 if (!SWIG_IsOK(res2
)) {
27163 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27168 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27171 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27184 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
= 0;
27186 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27187 wxDateTime
*arg2
= 0 ;
27193 PyObject
* obj0
= 0 ;
27194 PyObject
* obj1
= 0 ;
27195 char * kwnames
[] = {
27196 (char *) "self",(char *) "dt", NULL
27199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27201 if (!SWIG_IsOK(res1
)) {
27202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27204 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27206 if (!SWIG_IsOK(res2
)) {
27207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27212 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27228 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
= 0;
27230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27231 wxDateTime
*arg2
= 0 ;
27232 wxTimeSpan
*arg3
= 0 ;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 PyObject
* obj2
= 0 ;
27243 char * kwnames
[] = {
27244 (char *) "self",(char *) "dt",(char *) "ts", NULL
27247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27249 if (!SWIG_IsOK(res1
)) {
27250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27252 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27254 if (!SWIG_IsOK(res2
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27260 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27261 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27262 if (!SWIG_IsOK(res3
)) {
27263 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27268 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27284 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
= 0;
27286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27287 wxTimeSpan
*arg2
= 0 ;
27288 wxDateTime
*result
= 0 ;
27293 PyObject
* obj0
= 0 ;
27294 PyObject
* obj1
= 0 ;
27295 char * kwnames
[] = {
27296 (char *) "self",(char *) "diff", NULL
27299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27301 if (!SWIG_IsOK(res1
)) {
27302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27304 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27306 if (!SWIG_IsOK(res2
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27312 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27316 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27317 result
= (wxDateTime
*) &_result_ref
;
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27329 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
= 0;
27331 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27332 wxDateSpan
*arg2
= 0 ;
27333 wxDateTime
*result
= 0 ;
27338 PyObject
* obj0
= 0 ;
27339 PyObject
* obj1
= 0 ;
27340 char * kwnames
[] = {
27341 (char *) "self",(char *) "diff", NULL
27344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27346 if (!SWIG_IsOK(res1
)) {
27347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27349 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27351 if (!SWIG_IsOK(res2
)) {
27352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27357 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27361 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27362 result
= (wxDateTime
*) &_result_ref
;
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27374 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
= 0;
27376 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27377 wxTimeSpan
*arg2
= 0 ;
27378 wxDateTime
*result
= 0 ;
27383 PyObject
* obj0
= 0 ;
27384 PyObject
* obj1
= 0 ;
27385 char * kwnames
[] = {
27386 (char *) "self",(char *) "diff", NULL
27389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27391 if (!SWIG_IsOK(res1
)) {
27392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27394 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27396 if (!SWIG_IsOK(res2
)) {
27397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27402 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27406 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27407 result
= (wxDateTime
*) &_result_ref
;
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27419 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27420 PyObject
*resultobj
= 0;
27421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27422 wxDateSpan
*arg2
= 0 ;
27423 wxDateTime
*result
= 0 ;
27428 PyObject
* obj0
= 0 ;
27429 PyObject
* obj1
= 0 ;
27430 char * kwnames
[] = {
27431 (char *) "self",(char *) "diff", NULL
27434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27436 if (!SWIG_IsOK(res1
)) {
27437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27439 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27440 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27441 if (!SWIG_IsOK(res2
)) {
27442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27447 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27452 result
= (wxDateTime
*) &_result_ref
;
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27464 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
= 0;
27466 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27467 wxDateTime
*arg2
= 0 ;
27473 PyObject
* obj0
= 0 ;
27474 PyObject
* obj1
= 0 ;
27475 char * kwnames
[] = {
27476 (char *) "self",(char *) "dt", NULL
27479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27481 if (!SWIG_IsOK(res1
)) {
27482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27484 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27486 if (!SWIG_IsOK(res2
)) {
27487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27492 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27495 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27496 wxPyEndAllowThreads(__tstate
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27499 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27506 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27507 PyObject
*resultobj
= 0;
27508 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27509 wxTimeSpan
*arg2
= 0 ;
27510 wxDateTime
*result
= 0 ;
27516 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27518 if (!SWIG_IsOK(res1
)) {
27519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27521 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27522 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27523 if (!SWIG_IsOK(res2
)) {
27524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27529 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27533 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27534 result
= (wxDateTime
*) &_result_ref
;
27536 wxPyEndAllowThreads(__tstate
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27546 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27547 PyObject
*resultobj
= 0;
27548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27549 wxDateSpan
*arg2
= 0 ;
27550 wxDateTime
*result
= 0 ;
27556 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27558 if (!SWIG_IsOK(res1
)) {
27559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27561 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27562 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27563 if (!SWIG_IsOK(res2
)) {
27564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27569 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27574 result
= (wxDateTime
*) &_result_ref
;
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27586 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27590 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27595 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27596 _v
= SWIG_CheckState(res
);
27598 if (!_v
) goto check_1
;
27599 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27604 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27608 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27613 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27614 PyObject
*resultobj
= 0;
27615 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27616 wxTimeSpan
*arg2
= 0 ;
27617 wxDateTime
*result
= 0 ;
27623 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27625 if (!SWIG_IsOK(res1
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27628 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27629 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27630 if (!SWIG_IsOK(res2
)) {
27631 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27634 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27636 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27641 result
= (wxDateTime
*) &_result_ref
;
27643 wxPyEndAllowThreads(__tstate
);
27644 if (PyErr_Occurred()) SWIG_fail
;
27646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27653 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27654 PyObject
*resultobj
= 0;
27655 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27656 wxDateSpan
*arg2
= 0 ;
27657 wxDateTime
*result
= 0 ;
27663 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27665 if (!SWIG_IsOK(res1
)) {
27666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27668 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27669 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27670 if (!SWIG_IsOK(res2
)) {
27671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27676 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27680 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27681 result
= (wxDateTime
*) &_result_ref
;
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27693 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27697 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27702 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27703 _v
= SWIG_CheckState(res
);
27705 if (!_v
) goto check_1
;
27706 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27711 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27715 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27720 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27721 PyObject
*resultobj
= 0;
27722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27723 wxTimeSpan
*arg2
= 0 ;
27730 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27732 if (!SWIG_IsOK(res1
)) {
27733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27735 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27736 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27737 if (!SWIG_IsOK(res2
)) {
27738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27743 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27747 wxPyEndAllowThreads(__tstate
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27750 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27757 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27758 PyObject
*resultobj
= 0;
27759 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27760 wxDateSpan
*arg2
= 0 ;
27767 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27769 if (!SWIG_IsOK(res1
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27772 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27773 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27774 if (!SWIG_IsOK(res2
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27780 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27784 wxPyEndAllowThreads(__tstate
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27787 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27794 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27798 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27803 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27804 _v
= SWIG_CheckState(res
);
27806 if (!_v
) goto check_1
;
27807 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27812 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27816 Py_INCREF(Py_NotImplemented
);
27817 return Py_NotImplemented
;
27821 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27822 PyObject
*resultobj
= 0;
27823 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27824 wxDateTime
*arg2
= 0 ;
27831 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27833 if (!SWIG_IsOK(res1
)) {
27834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27836 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27837 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27838 if (!SWIG_IsOK(res2
)) {
27839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27844 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27858 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27859 PyObject
*resultobj
= 0;
27860 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27861 wxTimeSpan
*arg2
= 0 ;
27868 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27873 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27874 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27875 if (!SWIG_IsOK(res2
)) {
27876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27881 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27884 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27888 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27895 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27896 PyObject
*resultobj
= 0;
27897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27898 wxDateSpan
*arg2
= 0 ;
27905 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27907 if (!SWIG_IsOK(res1
)) {
27908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27910 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27911 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27912 if (!SWIG_IsOK(res2
)) {
27913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27918 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27922 wxPyEndAllowThreads(__tstate
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27925 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27932 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27936 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27941 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27942 _v
= SWIG_CheckState(res
);
27944 if (!_v
) goto check_1
;
27945 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27952 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27953 _v
= SWIG_CheckState(res
);
27955 if (!_v
) goto check_2
;
27956 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27961 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27965 Py_INCREF(Py_NotImplemented
);
27966 return Py_NotImplemented
;
27970 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27971 PyObject
*resultobj
= 0;
27972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27973 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27979 PyObject
* obj0
= 0 ;
27980 PyObject
* obj1
= 0 ;
27981 char * kwnames
[] = {
27982 (char *) "self",(char *) "other", NULL
27985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27987 if (!SWIG_IsOK(res1
)) {
27988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27990 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27991 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27992 if (!SWIG_IsOK(res2
)) {
27993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27995 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27998 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27999 wxPyEndAllowThreads(__tstate
);
28000 if (PyErr_Occurred()) SWIG_fail
;
28003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28011 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
= 0;
28013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28014 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28020 PyObject
* obj0
= 0 ;
28021 PyObject
* obj1
= 0 ;
28022 char * kwnames
[] = {
28023 (char *) "self",(char *) "other", NULL
28026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28028 if (!SWIG_IsOK(res1
)) {
28029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28031 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28032 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28033 if (!SWIG_IsOK(res2
)) {
28034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28036 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28052 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28053 PyObject
*resultobj
= 0;
28054 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28055 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28061 PyObject
* obj0
= 0 ;
28062 PyObject
* obj1
= 0 ;
28063 char * kwnames
[] = {
28064 (char *) "self",(char *) "other", NULL
28067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28069 if (!SWIG_IsOK(res1
)) {
28070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28072 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28073 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28074 if (!SWIG_IsOK(res2
)) {
28075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28077 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28093 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28094 PyObject
*resultobj
= 0;
28095 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28096 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 PyObject
* obj1
= 0 ;
28104 char * kwnames
[] = {
28105 (char *) "self",(char *) "other", NULL
28108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28110 if (!SWIG_IsOK(res1
)) {
28111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28113 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28114 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28115 if (!SWIG_IsOK(res2
)) {
28116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28118 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28121 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28134 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
= 0;
28136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28137 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28143 PyObject
* obj0
= 0 ;
28144 PyObject
* obj1
= 0 ;
28145 char * kwnames
[] = {
28146 (char *) "self",(char *) "other", NULL
28149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28151 if (!SWIG_IsOK(res1
)) {
28152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28154 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28156 if (!SWIG_IsOK(res2
)) {
28157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28159 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28175 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28176 PyObject
*resultobj
= 0;
28177 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28178 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28184 PyObject
* obj0
= 0 ;
28185 PyObject
* obj1
= 0 ;
28186 char * kwnames
[] = {
28187 (char *) "self",(char *) "other", NULL
28190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28192 if (!SWIG_IsOK(res1
)) {
28193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28195 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28196 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28197 if (!SWIG_IsOK(res2
)) {
28198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28200 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
28204 wxPyEndAllowThreads(__tstate
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28216 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28217 PyObject
*resultobj
= 0;
28218 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28219 wxString
*arg2
= 0 ;
28223 bool temp2
= false ;
28224 PyObject
* obj0
= 0 ;
28225 PyObject
* obj1
= 0 ;
28226 char * kwnames
[] = {
28227 (char *) "self",(char *) "date", NULL
28230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28232 if (!SWIG_IsOK(res1
)) {
28233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
28235 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28237 arg2
= wxString_in_helper(obj1
);
28238 if (arg2
== NULL
) SWIG_fail
;
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28244 wxPyEndAllowThreads(__tstate
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= SWIG_From_int(static_cast< int >(result
));
28262 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
= 0;
28264 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28265 wxString
*arg2
= 0 ;
28266 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28267 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28268 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28269 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28273 bool temp2
= false ;
28274 bool temp3
= false ;
28277 PyObject
* obj0
= 0 ;
28278 PyObject
* obj1
= 0 ;
28279 PyObject
* obj2
= 0 ;
28280 PyObject
* obj3
= 0 ;
28281 char * kwnames
[] = {
28282 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28287 if (!SWIG_IsOK(res1
)) {
28288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28290 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28292 arg2
= wxString_in_helper(obj1
);
28293 if (arg2
== NULL
) SWIG_fail
;
28298 arg3
= wxString_in_helper(obj2
);
28299 if (arg3
== NULL
) SWIG_fail
;
28304 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28305 if (!SWIG_IsOK(res4
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28311 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= SWIG_From_int(static_cast< int >(result
));
28342 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28343 PyObject
*resultobj
= 0;
28344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28345 wxString
*arg2
= 0 ;
28349 bool temp2
= false ;
28350 PyObject
* obj0
= 0 ;
28351 PyObject
* obj1
= 0 ;
28352 char * kwnames
[] = {
28353 (char *) "self",(char *) "datetime", NULL
28356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28358 if (!SWIG_IsOK(res1
)) {
28359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28361 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28363 arg2
= wxString_in_helper(obj1
);
28364 if (arg2
== NULL
) SWIG_fail
;
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28373 resultobj
= SWIG_From_int(static_cast< int >(result
));
28388 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
= 0;
28390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28391 wxString
*arg2
= 0 ;
28395 bool temp2
= false ;
28396 PyObject
* obj0
= 0 ;
28397 PyObject
* obj1
= 0 ;
28398 char * kwnames
[] = {
28399 (char *) "self",(char *) "date", NULL
28402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28404 if (!SWIG_IsOK(res1
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28407 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28409 arg2
= wxString_in_helper(obj1
);
28410 if (arg2
== NULL
) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= SWIG_From_int(static_cast< int >(result
));
28434 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
= 0;
28436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28437 wxString
*arg2
= 0 ;
28441 bool temp2
= false ;
28442 PyObject
* obj0
= 0 ;
28443 PyObject
* obj1
= 0 ;
28444 char * kwnames
[] = {
28445 (char *) "self",(char *) "time", NULL
28448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28450 if (!SWIG_IsOK(res1
)) {
28451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28453 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28455 arg2
= wxString_in_helper(obj1
);
28456 if (arg2
== NULL
) SWIG_fail
;
28460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28461 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 resultobj
= SWIG_From_int(static_cast< int >(result
));
28480 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
= 0;
28482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28483 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28484 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28485 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28486 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28490 bool temp2
= false ;
28491 bool temp3
= false ;
28492 PyObject
* obj0
= 0 ;
28493 PyObject
* obj1
= 0 ;
28494 PyObject
* obj2
= 0 ;
28495 char * kwnames
[] = {
28496 (char *) "self",(char *) "format",(char *) "tz", NULL
28499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28501 if (!SWIG_IsOK(res1
)) {
28502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28504 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28507 arg2
= wxString_in_helper(obj1
);
28508 if (arg2
== NULL
) SWIG_fail
;
28514 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28521 wxPyEndAllowThreads(__tstate
);
28522 if (PyErr_Occurred()) SWIG_fail
;
28526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28536 if (temp3
) delete arg3
;
28545 if (temp3
) delete arg3
;
28551 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28552 PyObject
*resultobj
= 0;
28553 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28557 PyObject
*swig_obj
[1] ;
28559 if (!args
) SWIG_fail
;
28560 swig_obj
[0] = args
;
28561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28562 if (!SWIG_IsOK(res1
)) {
28563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28565 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28569 wxPyEndAllowThreads(__tstate
);
28570 if (PyErr_Occurred()) SWIG_fail
;
28574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28585 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28586 PyObject
*resultobj
= 0;
28587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28591 PyObject
*swig_obj
[1] ;
28593 if (!args
) SWIG_fail
;
28594 swig_obj
[0] = args
;
28595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28596 if (!SWIG_IsOK(res1
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28599 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28619 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28620 PyObject
*resultobj
= 0;
28621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28625 PyObject
*swig_obj
[1] ;
28627 if (!args
) SWIG_fail
;
28628 swig_obj
[0] = args
;
28629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28630 if (!SWIG_IsOK(res1
)) {
28631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28633 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28637 wxPyEndAllowThreads(__tstate
);
28638 if (PyErr_Occurred()) SWIG_fail
;
28642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28653 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28654 PyObject
*resultobj
= 0;
28655 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28659 PyObject
*swig_obj
[1] ;
28661 if (!args
) SWIG_fail
;
28662 swig_obj
[0] = args
;
28663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28664 if (!SWIG_IsOK(res1
)) {
28665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28667 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28687 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28690 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28691 return SWIG_Py_Void();
28694 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28695 return SWIG_Python_InitShadowInstance(args
);
28698 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28699 PyObject
*resultobj
= 0;
28704 PyObject
* obj0
= 0 ;
28705 char * kwnames
[] = {
28706 (char *) "ms", NULL
28709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28710 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28711 if (!SWIG_IsOK(ecode1
)) {
28712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28714 arg1
= static_cast< long >(val1
);
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= wxTimeSpan::Milliseconds(arg1
);
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28721 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28728 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28729 PyObject
*resultobj
= 0;
28732 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 result
= wxTimeSpan::Millisecond();
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28739 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28746 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
= 0;
28752 PyObject
* obj0
= 0 ;
28753 char * kwnames
[] = {
28754 (char *) "sec", NULL
28757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28758 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28759 if (!SWIG_IsOK(ecode1
)) {
28760 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28762 arg1
= static_cast< long >(val1
);
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 result
= wxTimeSpan::Seconds(arg1
);
28766 wxPyEndAllowThreads(__tstate
);
28767 if (PyErr_Occurred()) SWIG_fail
;
28769 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28776 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28777 PyObject
*resultobj
= 0;
28780 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 result
= wxTimeSpan::Second();
28784 wxPyEndAllowThreads(__tstate
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28794 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
= 0;
28800 PyObject
* obj0
= 0 ;
28801 char * kwnames
[] = {
28802 (char *) "min", NULL
28805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28806 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28807 if (!SWIG_IsOK(ecode1
)) {
28808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28810 arg1
= static_cast< long >(val1
);
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= wxTimeSpan::Minutes(arg1
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28824 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28825 PyObject
*resultobj
= 0;
28828 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 result
= wxTimeSpan::Minute();
28832 wxPyEndAllowThreads(__tstate
);
28833 if (PyErr_Occurred()) SWIG_fail
;
28835 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28842 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28843 PyObject
*resultobj
= 0;
28848 PyObject
* obj0
= 0 ;
28849 char * kwnames
[] = {
28850 (char *) "hours", NULL
28853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28854 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28855 if (!SWIG_IsOK(ecode1
)) {
28856 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28858 arg1
= static_cast< long >(val1
);
28860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28861 result
= wxTimeSpan::Hours(arg1
);
28862 wxPyEndAllowThreads(__tstate
);
28863 if (PyErr_Occurred()) SWIG_fail
;
28865 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28872 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28873 PyObject
*resultobj
= 0;
28876 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 result
= wxTimeSpan::Hour();
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28890 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
= 0;
28896 PyObject
* obj0
= 0 ;
28897 char * kwnames
[] = {
28898 (char *) "days", NULL
28901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28902 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28903 if (!SWIG_IsOK(ecode1
)) {
28904 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28906 arg1
= static_cast< long >(val1
);
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 result
= wxTimeSpan::Days(arg1
);
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28920 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28921 PyObject
*resultobj
= 0;
28924 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28927 result
= wxTimeSpan::Day();
28928 wxPyEndAllowThreads(__tstate
);
28929 if (PyErr_Occurred()) SWIG_fail
;
28931 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28938 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28939 PyObject
*resultobj
= 0;
28944 PyObject
* obj0
= 0 ;
28945 char * kwnames
[] = {
28946 (char *) "days", NULL
28949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28950 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28951 if (!SWIG_IsOK(ecode1
)) {
28952 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28954 arg1
= static_cast< long >(val1
);
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 result
= wxTimeSpan::Weeks(arg1
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28968 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28969 PyObject
*resultobj
= 0;
28972 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 result
= wxTimeSpan::Week();
28976 wxPyEndAllowThreads(__tstate
);
28977 if (PyErr_Occurred()) SWIG_fail
;
28979 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28986 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28987 PyObject
*resultobj
= 0;
28988 long arg1
= (long) 0 ;
28989 long arg2
= (long) 0 ;
28990 long arg3
= (long) 0 ;
28991 long arg4
= (long) 0 ;
28992 wxTimeSpan
*result
= 0 ;
29001 PyObject
* obj0
= 0 ;
29002 PyObject
* obj1
= 0 ;
29003 PyObject
* obj2
= 0 ;
29004 PyObject
* obj3
= 0 ;
29005 char * kwnames
[] = {
29006 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
29009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29011 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
29012 if (!SWIG_IsOK(ecode1
)) {
29013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
29015 arg1
= static_cast< long >(val1
);
29018 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29019 if (!SWIG_IsOK(ecode2
)) {
29020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
29022 arg2
= static_cast< long >(val2
);
29025 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29026 if (!SWIG_IsOK(ecode3
)) {
29027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
29029 arg3
= static_cast< long >(val3
);
29032 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29033 if (!SWIG_IsOK(ecode4
)) {
29034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
29036 arg4
= static_cast< long >(val4
);
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
29051 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29052 PyObject
*resultobj
= 0;
29053 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29056 PyObject
*swig_obj
[1] ;
29058 if (!args
) SWIG_fail
;
29059 swig_obj
[0] = args
;
29060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29061 if (!SWIG_IsOK(res1
)) {
29062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29064 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 resultobj
= SWIG_Py_Void();
29079 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
= 0;
29081 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29082 wxTimeSpan
*arg2
= 0 ;
29083 wxTimeSpan
*result
= 0 ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 char * kwnames
[] = {
29091 (char *) "self",(char *) "diff", NULL
29094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29096 if (!SWIG_IsOK(res1
)) {
29097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29099 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29100 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29101 if (!SWIG_IsOK(res2
)) {
29102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29105 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29107 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29111 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
29112 result
= (wxTimeSpan
*) &_result_ref
;
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29124 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29125 PyObject
*resultobj
= 0;
29126 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29127 wxTimeSpan
*arg2
= 0 ;
29128 wxTimeSpan
*result
= 0 ;
29133 PyObject
* obj0
= 0 ;
29134 PyObject
* obj1
= 0 ;
29135 char * kwnames
[] = {
29136 (char *) "self",(char *) "diff", NULL
29139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29141 if (!SWIG_IsOK(res1
)) {
29142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29144 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29146 if (!SWIG_IsOK(res2
)) {
29147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29152 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29156 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
29157 result
= (wxTimeSpan
*) &_result_ref
;
29159 wxPyEndAllowThreads(__tstate
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29169 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
= 0;
29171 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29173 wxTimeSpan
*result
= 0 ;
29178 PyObject
* obj0
= 0 ;
29179 PyObject
* obj1
= 0 ;
29180 char * kwnames
[] = {
29181 (char *) "self",(char *) "n", NULL
29184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29186 if (!SWIG_IsOK(res1
)) {
29187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29189 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29191 if (!SWIG_IsOK(ecode2
)) {
29192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29194 arg2
= static_cast< int >(val2
);
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29198 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29199 result
= (wxTimeSpan
*) &_result_ref
;
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29211 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29212 PyObject
*resultobj
= 0;
29213 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29214 wxTimeSpan
*result
= 0 ;
29217 PyObject
*swig_obj
[1] ;
29219 if (!args
) SWIG_fail
;
29220 swig_obj
[0] = args
;
29221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29222 if (!SWIG_IsOK(res1
)) {
29223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29225 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
29230 result
= (wxTimeSpan
*) &_result_ref
;
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29242 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29243 PyObject
*resultobj
= 0;
29244 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29248 PyObject
*swig_obj
[1] ;
29250 if (!args
) SWIG_fail
;
29251 swig_obj
[0] = args
;
29252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29253 if (!SWIG_IsOK(res1
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29256 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29270 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
= 0;
29272 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29273 wxTimeSpan
*arg2
= 0 ;
29274 wxTimeSpan
*result
= 0 ;
29279 PyObject
* obj0
= 0 ;
29280 PyObject
* obj1
= 0 ;
29281 char * kwnames
[] = {
29282 (char *) "self",(char *) "diff", NULL
29285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29287 if (!SWIG_IsOK(res1
)) {
29288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29290 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29291 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29292 if (!SWIG_IsOK(res2
)) {
29293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29298 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29302 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29303 result
= (wxTimeSpan
*) &_result_ref
;
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29315 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
= 0;
29317 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29318 wxTimeSpan
*arg2
= 0 ;
29319 wxTimeSpan
*result
= 0 ;
29324 PyObject
* obj0
= 0 ;
29325 PyObject
* obj1
= 0 ;
29326 char * kwnames
[] = {
29327 (char *) "self",(char *) "diff", NULL
29330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29332 if (!SWIG_IsOK(res1
)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29335 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29337 if (!SWIG_IsOK(res2
)) {
29338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29343 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29348 result
= (wxTimeSpan
*) &_result_ref
;
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29360 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29361 PyObject
*resultobj
= 0;
29362 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29364 wxTimeSpan
*result
= 0 ;
29369 PyObject
* obj0
= 0 ;
29370 PyObject
* obj1
= 0 ;
29371 char * kwnames
[] = {
29372 (char *) "self",(char *) "n", NULL
29375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29377 if (!SWIG_IsOK(res1
)) {
29378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29380 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29382 if (!SWIG_IsOK(ecode2
)) {
29383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29385 arg2
= static_cast< int >(val2
);
29387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29390 result
= (wxTimeSpan
*) &_result_ref
;
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29402 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29403 PyObject
*resultobj
= 0;
29404 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29405 wxTimeSpan
*result
= 0 ;
29408 PyObject
*swig_obj
[1] ;
29410 if (!args
) SWIG_fail
;
29411 swig_obj
[0] = args
;
29412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29413 if (!SWIG_IsOK(res1
)) {
29414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29416 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29421 result
= (wxTimeSpan
*) &_result_ref
;
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29433 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29434 PyObject
*resultobj
= 0;
29435 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29436 wxTimeSpan
*arg2
= 0 ;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 char * kwnames
[] = {
29445 (char *) "self",(char *) "other", NULL
29448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",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___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29453 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29455 if (!SWIG_IsOK(res2
)) {
29456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29461 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29464 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29465 wxPyEndAllowThreads(__tstate
);
29466 if (PyErr_Occurred()) SWIG_fail
;
29468 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29475 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29476 PyObject
*resultobj
= 0;
29477 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29478 wxTimeSpan
*arg2
= 0 ;
29484 PyObject
* obj0
= 0 ;
29485 PyObject
* obj1
= 0 ;
29486 char * kwnames
[] = {
29487 (char *) "self",(char *) "other", NULL
29490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29492 if (!SWIG_IsOK(res1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29495 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29496 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29497 if (!SWIG_IsOK(res2
)) {
29498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29503 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29507 wxPyEndAllowThreads(__tstate
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29510 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29517 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29518 PyObject
*resultobj
= 0;
29519 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29526 PyObject
* obj0
= 0 ;
29527 PyObject
* obj1
= 0 ;
29528 char * kwnames
[] = {
29529 (char *) "self",(char *) "n", NULL
29532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29534 if (!SWIG_IsOK(res1
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29537 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29539 if (!SWIG_IsOK(ecode2
)) {
29540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29542 arg2
= static_cast< int >(val2
);
29544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29545 result
= wxTimeSpan___mul__(arg1
,arg2
);
29546 wxPyEndAllowThreads(__tstate
);
29547 if (PyErr_Occurred()) SWIG_fail
;
29549 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29556 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29557 PyObject
*resultobj
= 0;
29558 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29565 PyObject
* obj0
= 0 ;
29566 PyObject
* obj1
= 0 ;
29567 char * kwnames
[] = {
29568 (char *) "self",(char *) "n", NULL
29571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29573 if (!SWIG_IsOK(res1
)) {
29574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29576 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29578 if (!SWIG_IsOK(ecode2
)) {
29579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29581 arg2
= static_cast< int >(val2
);
29583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29584 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29585 wxPyEndAllowThreads(__tstate
);
29586 if (PyErr_Occurred()) SWIG_fail
;
29588 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29595 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29596 PyObject
*resultobj
= 0;
29597 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29598 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29604 PyObject
* obj0
= 0 ;
29605 PyObject
* obj1
= 0 ;
29606 char * kwnames
[] = {
29607 (char *) "self",(char *) "other", NULL
29610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29612 if (!SWIG_IsOK(res1
)) {
29613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29615 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29617 if (!SWIG_IsOK(res2
)) {
29618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29620 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29623 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29624 wxPyEndAllowThreads(__tstate
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29636 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
= 0;
29638 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29639 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29645 PyObject
* obj0
= 0 ;
29646 PyObject
* obj1
= 0 ;
29647 char * kwnames
[] = {
29648 (char *) "self",(char *) "other", NULL
29651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29653 if (!SWIG_IsOK(res1
)) {
29654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29656 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29658 if (!SWIG_IsOK(res2
)) {
29659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29661 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29664 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29665 wxPyEndAllowThreads(__tstate
);
29666 if (PyErr_Occurred()) SWIG_fail
;
29669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29677 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29678 PyObject
*resultobj
= 0;
29679 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29680 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29686 PyObject
* obj0
= 0 ;
29687 PyObject
* obj1
= 0 ;
29688 char * kwnames
[] = {
29689 (char *) "self",(char *) "other", NULL
29692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29694 if (!SWIG_IsOK(res1
)) {
29695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29697 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29698 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29699 if (!SWIG_IsOK(res2
)) {
29700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29702 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29706 wxPyEndAllowThreads(__tstate
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29718 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29719 PyObject
*resultobj
= 0;
29720 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29721 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29727 PyObject
* obj0
= 0 ;
29728 PyObject
* obj1
= 0 ;
29729 char * kwnames
[] = {
29730 (char *) "self",(char *) "other", NULL
29733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29738 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29740 if (!SWIG_IsOK(res2
)) {
29741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29743 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29747 wxPyEndAllowThreads(__tstate
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29759 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
= 0;
29761 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29762 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29768 PyObject
* obj0
= 0 ;
29769 PyObject
* obj1
= 0 ;
29770 char * kwnames
[] = {
29771 (char *) "self",(char *) "other", NULL
29774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29776 if (!SWIG_IsOK(res1
)) {
29777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29779 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29781 if (!SWIG_IsOK(res2
)) {
29782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29784 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29787 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29800 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
= 0;
29802 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29803 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29809 PyObject
* obj0
= 0 ;
29810 PyObject
* obj1
= 0 ;
29811 char * kwnames
[] = {
29812 (char *) "self",(char *) "other", NULL
29815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29817 if (!SWIG_IsOK(res1
)) {
29818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29820 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29821 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29822 if (!SWIG_IsOK(res2
)) {
29823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29825 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29828 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29841 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29842 PyObject
*resultobj
= 0;
29843 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29847 PyObject
*swig_obj
[1] ;
29849 if (!args
) SWIG_fail
;
29850 swig_obj
[0] = args
;
29851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29852 if (!SWIG_IsOK(res1
)) {
29853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29855 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29871 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29872 PyObject
*resultobj
= 0;
29873 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29877 PyObject
*swig_obj
[1] ;
29879 if (!args
) SWIG_fail
;
29880 swig_obj
[0] = args
;
29881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29882 if (!SWIG_IsOK(res1
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29885 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29888 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29889 wxPyEndAllowThreads(__tstate
);
29890 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29901 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29902 PyObject
*resultobj
= 0;
29903 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29907 PyObject
*swig_obj
[1] ;
29909 if (!args
) SWIG_fail
;
29910 swig_obj
[0] = args
;
29911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29912 if (!SWIG_IsOK(res1
)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29915 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29918 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29919 wxPyEndAllowThreads(__tstate
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29931 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29932 PyObject
*resultobj
= 0;
29933 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29934 wxTimeSpan
*arg2
= 0 ;
29940 PyObject
* obj0
= 0 ;
29941 PyObject
* obj1
= 0 ;
29942 char * kwnames
[] = {
29943 (char *) "self",(char *) "ts", NULL
29946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29948 if (!SWIG_IsOK(res1
)) {
29949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29951 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29953 if (!SWIG_IsOK(res2
)) {
29954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29959 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29963 wxPyEndAllowThreads(__tstate
);
29964 if (PyErr_Occurred()) SWIG_fail
;
29967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29975 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29976 PyObject
*resultobj
= 0;
29977 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29978 wxTimeSpan
*arg2
= 0 ;
29984 PyObject
* obj0
= 0 ;
29985 PyObject
* obj1
= 0 ;
29986 char * kwnames
[] = {
29987 (char *) "self",(char *) "ts", NULL
29990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29992 if (!SWIG_IsOK(res1
)) {
29993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29995 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29997 if (!SWIG_IsOK(res2
)) {
29998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30003 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30019 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30020 PyObject
*resultobj
= 0;
30021 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30022 wxTimeSpan
*arg2
= 0 ;
30028 PyObject
* obj0
= 0 ;
30029 PyObject
* obj1
= 0 ;
30030 char * kwnames
[] = {
30031 (char *) "self",(char *) "t", NULL
30034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30036 if (!SWIG_IsOK(res1
)) {
30037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30039 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
30041 if (!SWIG_IsOK(res2
)) {
30042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30047 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30063 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(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_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30077 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30080 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30084 resultobj
= SWIG_From_int(static_cast< int >(result
));
30091 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(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_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30105 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_From_int(static_cast< int >(result
));
30119 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30120 PyObject
*resultobj
= 0;
30121 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30125 PyObject
*swig_obj
[1] ;
30127 if (!args
) SWIG_fail
;
30128 swig_obj
[0] = args
;
30129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30130 if (!SWIG_IsOK(res1
)) {
30131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30133 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30136 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
30137 wxPyEndAllowThreads(__tstate
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30140 resultobj
= SWIG_From_int(static_cast< int >(result
));
30147 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30148 PyObject
*resultobj
= 0;
30149 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30153 PyObject
*swig_obj
[1] ;
30155 if (!args
) SWIG_fail
;
30156 swig_obj
[0] = args
;
30157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30161 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30164 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30168 resultobj
= SWIG_From_int(static_cast< int >(result
));
30175 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30176 PyObject
*resultobj
= 0;
30177 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30181 PyObject
*swig_obj
[1] ;
30183 if (!args
) SWIG_fail
;
30184 swig_obj
[0] = args
;
30185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30186 if (!SWIG_IsOK(res1
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30189 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30192 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30197 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30198 hi
= PyLong_FromLong( (&result
)->GetHi() );
30199 lo
= PyLong_FromLong( (&result
)->GetLo() );
30200 shifter
= PyLong_FromLong(32);
30201 shifted
= PyNumber_Lshift(hi
, shifter
);
30202 resultobj
= PyNumber_Or(shifted
, lo
);
30205 Py_DECREF(shifter
);
30206 Py_DECREF(shifted
);
30214 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30215 PyObject
*resultobj
= 0;
30216 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30220 PyObject
*swig_obj
[1] ;
30222 if (!args
) SWIG_fail
;
30223 swig_obj
[0] = args
;
30224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30225 if (!SWIG_IsOK(res1
)) {
30226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30228 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30231 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30236 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30237 hi
= PyLong_FromLong( (&result
)->GetHi() );
30238 lo
= PyLong_FromLong( (&result
)->GetLo() );
30239 shifter
= PyLong_FromLong(32);
30240 shifted
= PyNumber_Lshift(hi
, shifter
);
30241 resultobj
= PyNumber_Or(shifted
, lo
);
30244 Py_DECREF(shifter
);
30245 Py_DECREF(shifted
);
30253 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30254 PyObject
*resultobj
= 0;
30255 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30256 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30257 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30261 bool temp2
= false ;
30262 PyObject
* obj0
= 0 ;
30263 PyObject
* obj1
= 0 ;
30264 char * kwnames
[] = {
30265 (char *) "self",(char *) "format", NULL
30268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30270 if (!SWIG_IsOK(res1
)) {
30271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30273 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30276 arg2
= wxString_in_helper(obj1
);
30277 if (arg2
== NULL
) SWIG_fail
;
30282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30283 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30284 wxPyEndAllowThreads(__tstate
);
30285 if (PyErr_Occurred()) SWIG_fail
;
30289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30308 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30311 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30312 return SWIG_Py_Void();
30315 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30316 return SWIG_Python_InitShadowInstance(args
);
30319 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30320 PyObject
*resultobj
= 0;
30321 int arg1
= (int) 0 ;
30322 int arg2
= (int) 0 ;
30323 int arg3
= (int) 0 ;
30324 int arg4
= (int) 0 ;
30325 wxDateSpan
*result
= 0 ;
30334 PyObject
* obj0
= 0 ;
30335 PyObject
* obj1
= 0 ;
30336 PyObject
* obj2
= 0 ;
30337 PyObject
* obj3
= 0 ;
30338 char * kwnames
[] = {
30339 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30345 if (!SWIG_IsOK(ecode1
)) {
30346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30348 arg1
= static_cast< int >(val1
);
30351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30352 if (!SWIG_IsOK(ecode2
)) {
30353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30355 arg2
= static_cast< int >(val2
);
30358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30359 if (!SWIG_IsOK(ecode3
)) {
30360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30362 arg3
= static_cast< int >(val3
);
30365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30366 if (!SWIG_IsOK(ecode4
)) {
30367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30369 arg4
= static_cast< int >(val4
);
30372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30373 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30374 wxPyEndAllowThreads(__tstate
);
30375 if (PyErr_Occurred()) SWIG_fail
;
30377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30384 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30385 PyObject
*resultobj
= 0;
30386 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30389 PyObject
*swig_obj
[1] ;
30391 if (!args
) SWIG_fail
;
30392 swig_obj
[0] = args
;
30393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30394 if (!SWIG_IsOK(res1
)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30397 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= SWIG_Py_Void();
30412 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
= 0;
30418 PyObject
* obj0
= 0 ;
30419 char * kwnames
[] = {
30420 (char *) "days", NULL
30423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30425 if (!SWIG_IsOK(ecode1
)) {
30426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30428 arg1
= static_cast< int >(val1
);
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 result
= wxDateSpan::Days(arg1
);
30432 wxPyEndAllowThreads(__tstate
);
30433 if (PyErr_Occurred()) SWIG_fail
;
30435 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30442 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30443 PyObject
*resultobj
= 0;
30446 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30449 result
= wxDateSpan::Day();
30450 wxPyEndAllowThreads(__tstate
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30453 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30460 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30461 PyObject
*resultobj
= 0;
30466 PyObject
* obj0
= 0 ;
30467 char * kwnames
[] = {
30468 (char *) "weeks", NULL
30471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30472 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30473 if (!SWIG_IsOK(ecode1
)) {
30474 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30476 arg1
= static_cast< int >(val1
);
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30479 result
= wxDateSpan::Weeks(arg1
);
30480 wxPyEndAllowThreads(__tstate
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30483 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30490 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30491 PyObject
*resultobj
= 0;
30494 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30497 result
= wxDateSpan::Week();
30498 wxPyEndAllowThreads(__tstate
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30501 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30508 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
= 0;
30514 PyObject
* obj0
= 0 ;
30515 char * kwnames
[] = {
30516 (char *) "mon", NULL
30519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30520 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30521 if (!SWIG_IsOK(ecode1
)) {
30522 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30524 arg1
= static_cast< int >(val1
);
30526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30527 result
= wxDateSpan::Months(arg1
);
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30538 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30539 PyObject
*resultobj
= 0;
30542 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30545 result
= wxDateSpan::Month();
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30556 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30557 PyObject
*resultobj
= 0;
30562 PyObject
* obj0
= 0 ;
30563 char * kwnames
[] = {
30564 (char *) "years", NULL
30567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30568 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30569 if (!SWIG_IsOK(ecode1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30572 arg1
= static_cast< int >(val1
);
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30575 result
= wxDateSpan::Years(arg1
);
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30586 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30587 PyObject
*resultobj
= 0;
30590 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 result
= wxDateSpan::Year();
30594 wxPyEndAllowThreads(__tstate
);
30595 if (PyErr_Occurred()) SWIG_fail
;
30597 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30604 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(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_SetYears",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_SetYears" "', 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_SetYears" "', expected argument " "2"" of type '" "int""'");
30629 arg2
= static_cast< int >(val2
);
30631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30633 wxDateSpan
&_result_ref
= (arg1
)->SetYears(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_SetMonths(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_SetMonths",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_SetMonths" "', 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_SetMonths" "', expected argument " "2"" of type '" "int""'");
30671 arg2
= static_cast< int >(val2
);
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30675 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(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_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30689 PyObject
*resultobj
= 0;
30690 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30692 wxDateSpan
*result
= 0 ;
30697 PyObject
* obj0
= 0 ;
30698 PyObject
* obj1
= 0 ;
30699 char * kwnames
[] = {
30700 (char *) "self",(char *) "n", NULL
30703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30705 if (!SWIG_IsOK(res1
)) {
30706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30708 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30710 if (!SWIG_IsOK(ecode2
)) {
30711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30713 arg2
= static_cast< int >(val2
);
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30718 result
= (wxDateSpan
*) &_result_ref
;
30720 wxPyEndAllowThreads(__tstate
);
30721 if (PyErr_Occurred()) SWIG_fail
;
30723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30730 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
= 0;
30732 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30734 wxDateSpan
*result
= 0 ;
30739 PyObject
* obj0
= 0 ;
30740 PyObject
* obj1
= 0 ;
30741 char * kwnames
[] = {
30742 (char *) "self",(char *) "n", NULL
30745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30747 if (!SWIG_IsOK(res1
)) {
30748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30750 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30752 if (!SWIG_IsOK(ecode2
)) {
30753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30755 arg2
= static_cast< int >(val2
);
30757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30760 result
= (wxDateSpan
*) &_result_ref
;
30762 wxPyEndAllowThreads(__tstate
);
30763 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30772 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(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_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30786 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30789 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30793 resultobj
= SWIG_From_int(static_cast< int >(result
));
30800 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(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_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30814 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30817 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30818 wxPyEndAllowThreads(__tstate
);
30819 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= SWIG_From_int(static_cast< int >(result
));
30828 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30829 PyObject
*resultobj
= 0;
30830 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30834 PyObject
*swig_obj
[1] ;
30836 if (!args
) SWIG_fail
;
30837 swig_obj
[0] = args
;
30838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30839 if (!SWIG_IsOK(res1
)) {
30840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30842 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30845 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30846 wxPyEndAllowThreads(__tstate
);
30847 if (PyErr_Occurred()) SWIG_fail
;
30849 resultobj
= SWIG_From_int(static_cast< int >(result
));
30856 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30857 PyObject
*resultobj
= 0;
30858 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30862 PyObject
*swig_obj
[1] ;
30864 if (!args
) SWIG_fail
;
30865 swig_obj
[0] = args
;
30866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30867 if (!SWIG_IsOK(res1
)) {
30868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30870 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30873 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30874 wxPyEndAllowThreads(__tstate
);
30875 if (PyErr_Occurred()) SWIG_fail
;
30877 resultobj
= SWIG_From_int(static_cast< int >(result
));
30884 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30885 PyObject
*resultobj
= 0;
30886 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30890 PyObject
*swig_obj
[1] ;
30892 if (!args
) SWIG_fail
;
30893 swig_obj
[0] = args
;
30894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30895 if (!SWIG_IsOK(res1
)) {
30896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30898 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30901 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 resultobj
= SWIG_From_int(static_cast< int >(result
));
30912 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30913 PyObject
*resultobj
= 0;
30914 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30915 wxDateSpan
*arg2
= 0 ;
30916 wxDateSpan
*result
= 0 ;
30921 PyObject
* obj0
= 0 ;
30922 PyObject
* obj1
= 0 ;
30923 char * kwnames
[] = {
30924 (char *) "self",(char *) "other", NULL
30927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30932 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30934 if (!SWIG_IsOK(res2
)) {
30935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30940 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30945 result
= (wxDateSpan
*) &_result_ref
;
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30957 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30958 PyObject
*resultobj
= 0;
30959 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30960 wxDateSpan
*arg2
= 0 ;
30961 wxDateSpan
*result
= 0 ;
30966 PyObject
* obj0
= 0 ;
30967 PyObject
* obj1
= 0 ;
30968 char * kwnames
[] = {
30969 (char *) "self",(char *) "other", NULL
30972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30974 if (!SWIG_IsOK(res1
)) {
30975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30977 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30979 if (!SWIG_IsOK(res2
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30985 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30990 result
= (wxDateSpan
*) &_result_ref
;
30992 wxPyEndAllowThreads(__tstate
);
30993 if (PyErr_Occurred()) SWIG_fail
;
30995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31002 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31003 PyObject
*resultobj
= 0;
31004 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31005 wxDateSpan
*result
= 0 ;
31008 PyObject
*swig_obj
[1] ;
31010 if (!args
) SWIG_fail
;
31011 swig_obj
[0] = args
;
31012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31013 if (!SWIG_IsOK(res1
)) {
31014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31016 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 wxDateSpan
&_result_ref
= (arg1
)->Neg();
31021 result
= (wxDateSpan
*) &_result_ref
;
31023 wxPyEndAllowThreads(__tstate
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31033 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
= 0;
31035 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31037 wxDateSpan
*result
= 0 ;
31042 PyObject
* obj0
= 0 ;
31043 PyObject
* obj1
= 0 ;
31044 char * kwnames
[] = {
31045 (char *) "self",(char *) "factor", NULL
31048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31050 if (!SWIG_IsOK(res1
)) {
31051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31053 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31055 if (!SWIG_IsOK(ecode2
)) {
31056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
31058 arg2
= static_cast< int >(val2
);
31060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31062 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
31063 result
= (wxDateSpan
*) &_result_ref
;
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31075 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
= 0;
31077 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31078 wxDateSpan
*arg2
= 0 ;
31079 wxDateSpan
*result
= 0 ;
31084 PyObject
* obj0
= 0 ;
31085 PyObject
* obj1
= 0 ;
31086 char * kwnames
[] = {
31087 (char *) "self",(char *) "other", NULL
31090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31092 if (!SWIG_IsOK(res1
)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31095 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31096 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31097 if (!SWIG_IsOK(res2
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31103 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31107 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
31108 result
= (wxDateSpan
*) &_result_ref
;
31110 wxPyEndAllowThreads(__tstate
);
31111 if (PyErr_Occurred()) SWIG_fail
;
31113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31120 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31121 PyObject
*resultobj
= 0;
31122 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31123 wxDateSpan
*arg2
= 0 ;
31124 wxDateSpan
*result
= 0 ;
31129 PyObject
* obj0
= 0 ;
31130 PyObject
* obj1
= 0 ;
31131 char * kwnames
[] = {
31132 (char *) "self",(char *) "other", NULL
31135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31137 if (!SWIG_IsOK(res1
)) {
31138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31140 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31142 if (!SWIG_IsOK(res2
)) {
31143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31148 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31152 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
31153 result
= (wxDateSpan
*) &_result_ref
;
31155 wxPyEndAllowThreads(__tstate
);
31156 if (PyErr_Occurred()) SWIG_fail
;
31158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31165 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31166 PyObject
*resultobj
= 0;
31167 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31168 wxDateSpan
*result
= 0 ;
31171 PyObject
*swig_obj
[1] ;
31173 if (!args
) SWIG_fail
;
31174 swig_obj
[0] = args
;
31175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31176 if (!SWIG_IsOK(res1
)) {
31177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31179 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31183 wxDateSpan
&_result_ref
= (arg1
)->operator -();
31184 result
= (wxDateSpan
*) &_result_ref
;
31186 wxPyEndAllowThreads(__tstate
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31196 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
= 0;
31198 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31200 wxDateSpan
*result
= 0 ;
31205 PyObject
* obj0
= 0 ;
31206 PyObject
* obj1
= 0 ;
31207 char * kwnames
[] = {
31208 (char *) "self",(char *) "factor", NULL
31211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31213 if (!SWIG_IsOK(res1
)) {
31214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31216 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31218 if (!SWIG_IsOK(ecode2
)) {
31219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
31221 arg2
= static_cast< int >(val2
);
31223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
31226 result
= (wxDateSpan
*) &_result_ref
;
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31238 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31239 PyObject
*resultobj
= 0;
31240 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31241 wxDateSpan
*arg2
= 0 ;
31247 PyObject
* obj0
= 0 ;
31248 PyObject
* obj1
= 0 ;
31249 char * kwnames
[] = {
31250 (char *) "self",(char *) "other", NULL
31253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",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___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31258 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31260 if (!SWIG_IsOK(res2
)) {
31261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31266 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31269 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31270 wxPyEndAllowThreads(__tstate
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31273 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31280 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
= 0;
31282 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31283 wxDateSpan
*arg2
= 0 ;
31289 PyObject
* obj0
= 0 ;
31290 PyObject
* obj1
= 0 ;
31291 char * kwnames
[] = {
31292 (char *) "self",(char *) "other", NULL
31295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31297 if (!SWIG_IsOK(res1
)) {
31298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31300 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31302 if (!SWIG_IsOK(res2
)) {
31303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31308 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31311 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31312 wxPyEndAllowThreads(__tstate
);
31313 if (PyErr_Occurred()) SWIG_fail
;
31315 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31322 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31323 PyObject
*resultobj
= 0;
31324 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31331 PyObject
* obj0
= 0 ;
31332 PyObject
* obj1
= 0 ;
31333 char * kwnames
[] = {
31334 (char *) "self",(char *) "n", NULL
31337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31339 if (!SWIG_IsOK(res1
)) {
31340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31342 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31344 if (!SWIG_IsOK(ecode2
)) {
31345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31347 arg2
= static_cast< int >(val2
);
31349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31350 result
= wxDateSpan___mul__(arg1
,arg2
);
31351 wxPyEndAllowThreads(__tstate
);
31352 if (PyErr_Occurred()) SWIG_fail
;
31354 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31361 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
= 0;
31363 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31370 PyObject
* obj0
= 0 ;
31371 PyObject
* obj1
= 0 ;
31372 char * kwnames
[] = {
31373 (char *) "self",(char *) "n", NULL
31376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31378 if (!SWIG_IsOK(res1
)) {
31379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31381 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31383 if (!SWIG_IsOK(ecode2
)) {
31384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31386 arg2
= static_cast< int >(val2
);
31388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31389 result
= wxDateSpan___rmul__(arg1
,arg2
);
31390 wxPyEndAllowThreads(__tstate
);
31391 if (PyErr_Occurred()) SWIG_fail
;
31393 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31400 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
= 0;
31402 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31403 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31409 PyObject
* obj0
= 0 ;
31410 PyObject
* obj1
= 0 ;
31411 char * kwnames
[] = {
31412 (char *) "self",(char *) "other", NULL
31415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31417 if (!SWIG_IsOK(res1
)) {
31418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31420 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31422 if (!SWIG_IsOK(res2
)) {
31423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31425 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31428 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31441 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31442 PyObject
*resultobj
= 0;
31443 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31444 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31450 PyObject
* obj0
= 0 ;
31451 PyObject
* obj1
= 0 ;
31452 char * kwnames
[] = {
31453 (char *) "self",(char *) "other", NULL
31456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31458 if (!SWIG_IsOK(res1
)) {
31459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31461 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31463 if (!SWIG_IsOK(res2
)) {
31464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31466 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31469 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31470 wxPyEndAllowThreads(__tstate
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31482 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31485 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31486 return SWIG_Py_Void();
31489 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31490 return SWIG_Python_InitShadowInstance(args
);
31493 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31494 PyObject
*resultobj
= 0;
31497 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 result
= (long)wxGetLocalTime();
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= SWIG_From_long(static_cast< long >(result
));
31511 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31512 PyObject
*resultobj
= 0;
31515 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31518 result
= (long)wxGetUTCTime();
31519 wxPyEndAllowThreads(__tstate
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31522 resultobj
= SWIG_From_long(static_cast< long >(result
));
31529 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31530 PyObject
*resultobj
= 0;
31533 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31536 result
= (long)wxGetCurrentTime();
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31540 resultobj
= SWIG_From_long(static_cast< long >(result
));
31547 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31548 PyObject
*resultobj
= 0;
31551 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31554 result
= wxGetLocalTimeMillis();
31555 wxPyEndAllowThreads(__tstate
);
31556 if (PyErr_Occurred()) SWIG_fail
;
31559 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31560 hi
= PyLong_FromLong( (&result
)->GetHi() );
31561 lo
= PyLong_FromLong( (&result
)->GetLo() );
31562 shifter
= PyLong_FromLong(32);
31563 shifted
= PyNumber_Lshift(hi
, shifter
);
31564 resultobj
= PyNumber_Or(shifted
, lo
);
31567 Py_DECREF(shifter
);
31568 Py_DECREF(shifted
);
31576 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31577 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31582 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31583 PyObject
*pyobj
= 0;
31585 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31590 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
= 0;
31592 wxDataFormatId arg1
;
31593 wxDataFormat
*result
= 0 ;
31596 PyObject
* obj0
= 0 ;
31597 char * kwnames
[] = {
31598 (char *) "type", NULL
31601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31602 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31603 if (!SWIG_IsOK(ecode1
)) {
31604 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31606 arg1
= static_cast< wxDataFormatId
>(val1
);
31608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31609 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31610 wxPyEndAllowThreads(__tstate
);
31611 if (PyErr_Occurred()) SWIG_fail
;
31613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31620 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31621 PyObject
*resultobj
= 0;
31622 wxString
*arg1
= 0 ;
31623 wxDataFormat
*result
= 0 ;
31624 bool temp1
= false ;
31625 PyObject
* obj0
= 0 ;
31626 char * kwnames
[] = {
31627 (char *) "format", NULL
31630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31632 arg1
= wxString_in_helper(obj0
);
31633 if (arg1
== NULL
) SWIG_fail
;
31637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31639 wxPyEndAllowThreads(__tstate
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31657 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31658 PyObject
*resultobj
= 0;
31659 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31662 PyObject
*swig_obj
[1] ;
31664 if (!args
) SWIG_fail
;
31665 swig_obj
[0] = args
;
31666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31667 if (!SWIG_IsOK(res1
)) {
31668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31670 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 wxPyEndAllowThreads(__tstate
);
31676 if (PyErr_Occurred()) SWIG_fail
;
31678 resultobj
= SWIG_Py_Void();
31685 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31686 PyObject
*resultobj
= 0;
31687 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31688 wxDataFormatId arg2
;
31695 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31697 if (!SWIG_IsOK(res1
)) {
31698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31700 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31701 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31702 if (!SWIG_IsOK(ecode2
)) {
31703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31705 arg2
= static_cast< wxDataFormatId
>(val2
);
31707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31708 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31721 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31722 PyObject
*resultobj
= 0;
31723 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31724 wxDataFormatId arg2
;
31731 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31733 if (!SWIG_IsOK(res1
)) {
31734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31736 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31737 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31738 if (!SWIG_IsOK(ecode2
)) {
31739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31741 arg2
= static_cast< wxDataFormatId
>(val2
);
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31745 wxPyEndAllowThreads(__tstate
);
31746 if (PyErr_Occurred()) SWIG_fail
;
31749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31757 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31758 PyObject
*resultobj
= 0;
31759 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31760 wxDataFormat
*arg2
= 0 ;
31767 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31769 if (!SWIG_IsOK(res1
)) {
31770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31772 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31773 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31774 if (!SWIG_IsOK(res2
)) {
31775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31780 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31783 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31784 wxPyEndAllowThreads(__tstate
);
31785 if (PyErr_Occurred()) SWIG_fail
;
31788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31796 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31800 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31805 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31806 _v
= SWIG_CheckState(res
);
31808 if (!_v
) goto check_1
;
31809 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31814 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31818 Py_INCREF(Py_NotImplemented
);
31819 return Py_NotImplemented
;
31823 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31824 PyObject
*resultobj
= 0;
31825 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31826 wxDataFormat
*arg2
= 0 ;
31833 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31835 if (!SWIG_IsOK(res1
)) {
31836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31838 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31839 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31840 if (!SWIG_IsOK(res2
)) {
31841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31846 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31849 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31850 wxPyEndAllowThreads(__tstate
);
31851 if (PyErr_Occurred()) SWIG_fail
;
31854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31862 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31866 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31871 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31872 _v
= SWIG_CheckState(res
);
31874 if (!_v
) goto check_1
;
31875 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31880 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31884 Py_INCREF(Py_NotImplemented
);
31885 return Py_NotImplemented
;
31889 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31890 PyObject
*resultobj
= 0;
31891 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31892 wxDataFormatId arg2
;
31897 PyObject
* obj0
= 0 ;
31898 PyObject
* obj1
= 0 ;
31899 char * kwnames
[] = {
31900 (char *) "self",(char *) "format", NULL
31903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31905 if (!SWIG_IsOK(res1
)) {
31906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31908 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31910 if (!SWIG_IsOK(ecode2
)) {
31911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31913 arg2
= static_cast< wxDataFormatId
>(val2
);
31915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31916 (arg1
)->SetType(arg2
);
31917 wxPyEndAllowThreads(__tstate
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31920 resultobj
= SWIG_Py_Void();
31927 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31928 PyObject
*resultobj
= 0;
31929 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31930 wxDataFormatId result
;
31933 PyObject
*swig_obj
[1] ;
31935 if (!args
) SWIG_fail
;
31936 swig_obj
[0] = args
;
31937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31938 if (!SWIG_IsOK(res1
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31941 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31944 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31945 wxPyEndAllowThreads(__tstate
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31948 resultobj
= SWIG_From_int(static_cast< int >(result
));
31955 SWIGINTERN PyObject
*_wrap_DataFormat__GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31956 PyObject
*resultobj
= 0;
31957 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31961 PyObject
*swig_obj
[1] ;
31963 if (!args
) SWIG_fail
;
31964 swig_obj
[0] = args
;
31965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31966 if (!SWIG_IsOK(res1
)) {
31967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat__GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31969 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 result
= ((wxDataFormat
const *)arg1
)->GetId();
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31989 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31990 PyObject
*resultobj
= 0;
31991 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31992 wxString
*arg2
= 0 ;
31995 bool temp2
= false ;
31996 PyObject
* obj0
= 0 ;
31997 PyObject
* obj1
= 0 ;
31998 char * kwnames
[] = {
31999 (char *) "self",(char *) "format", NULL
32002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32004 if (!SWIG_IsOK(res1
)) {
32005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
32007 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32009 arg2
= wxString_in_helper(obj1
);
32010 if (arg2
== NULL
) SWIG_fail
;
32014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32015 (arg1
)->SetId((wxString
const &)*arg2
);
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= SWIG_Py_Void();
32034 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32037 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
32038 return SWIG_Py_Void();
32041 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32042 return SWIG_Python_InitShadowInstance(args
);
32045 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
32046 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
32051 SWIGINTERN PyObject
*FormatInvalid_get(void) {
32052 PyObject
*pyobj
= 0;
32054 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
32059 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32060 PyObject
*resultobj
= 0;
32061 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32064 PyObject
*swig_obj
[1] ;
32066 if (!args
) SWIG_fail
;
32067 swig_obj
[0] = args
;
32068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32069 if (!SWIG_IsOK(res1
)) {
32070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
32072 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= SWIG_Py_Void();
32087 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32088 PyObject
*resultobj
= 0;
32089 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32090 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32091 SwigValueWrapper
<wxDataFormat
> result
;
32096 PyObject
* obj0
= 0 ;
32097 PyObject
* obj1
= 0 ;
32098 char * kwnames
[] = {
32099 (char *) "self",(char *) "dir", NULL
32102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32104 if (!SWIG_IsOK(res1
)) {
32105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32107 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32110 if (!SWIG_IsOK(ecode2
)) {
32111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32113 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32117 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32128 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32129 PyObject
*resultobj
= 0;
32130 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32131 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32137 PyObject
* obj0
= 0 ;
32138 PyObject
* obj1
= 0 ;
32139 char * kwnames
[] = {
32140 (char *) "self",(char *) "dir", NULL
32143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32145 if (!SWIG_IsOK(res1
)) {
32146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32148 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32151 if (!SWIG_IsOK(ecode2
)) {
32152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32154 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32158 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32169 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32170 PyObject
*resultobj
= 0;
32171 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32172 wxDataFormat
*arg2
= 0 ;
32173 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
32181 PyObject
* obj0
= 0 ;
32182 PyObject
* obj1
= 0 ;
32183 PyObject
* obj2
= 0 ;
32184 char * kwnames
[] = {
32185 (char *) "self",(char *) "format",(char *) "dir", NULL
32188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32190 if (!SWIG_IsOK(res1
)) {
32191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32193 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32195 if (!SWIG_IsOK(res2
)) {
32196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32201 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32204 if (!SWIG_IsOK(ecode3
)) {
32205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
32207 arg3
= static_cast< wxDataObject::Direction
>(val3
);
32210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32211 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
32212 wxPyEndAllowThreads(__tstate
);
32213 if (PyErr_Occurred()) SWIG_fail
;
32216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32224 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32225 PyObject
*resultobj
= 0;
32226 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32227 wxDataFormat
*arg2
= 0 ;
32233 PyObject
* obj0
= 0 ;
32234 PyObject
* obj1
= 0 ;
32235 char * kwnames
[] = {
32236 (char *) "self",(char *) "format", NULL
32239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32241 if (!SWIG_IsOK(res1
)) {
32242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32244 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32246 if (!SWIG_IsOK(res2
)) {
32247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32252 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32266 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
= 0;
32268 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32269 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32270 PyObject
*result
= 0 ;
32275 PyObject
* obj0
= 0 ;
32276 PyObject
* obj1
= 0 ;
32277 char * kwnames
[] = {
32278 (char *) "self",(char *) "dir", NULL
32281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32283 if (!SWIG_IsOK(res1
)) {
32284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32286 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32289 if (!SWIG_IsOK(ecode2
)) {
32290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32292 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32296 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= result
;
32307 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32308 PyObject
*resultobj
= 0;
32309 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32310 wxDataFormat
*arg2
= 0 ;
32311 PyObject
*result
= 0 ;
32316 PyObject
* obj0
= 0 ;
32317 PyObject
* obj1
= 0 ;
32318 char * kwnames
[] = {
32319 (char *) "self",(char *) "format", NULL
32322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32324 if (!SWIG_IsOK(res1
)) {
32325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32327 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32329 if (!SWIG_IsOK(res2
)) {
32330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32335 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= result
;
32349 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32350 PyObject
*resultobj
= 0;
32351 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32352 wxDataFormat
*arg2
= 0 ;
32353 PyObject
*arg3
= (PyObject
*) 0 ;
32359 PyObject
* obj0
= 0 ;
32360 PyObject
* obj1
= 0 ;
32361 PyObject
* obj2
= 0 ;
32362 char * kwnames
[] = {
32363 (char *) "self",(char *) "format",(char *) "data", NULL
32366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32368 if (!SWIG_IsOK(res1
)) {
32369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32371 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32373 if (!SWIG_IsOK(res2
)) {
32374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32379 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32383 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32384 wxPyEndAllowThreads(__tstate
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32396 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32399 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32400 return SWIG_Py_Void();
32403 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32404 PyObject
*resultobj
= 0;
32405 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32406 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32407 wxDataObjectSimple
*result
= 0 ;
32410 PyObject
* obj0
= 0 ;
32411 char * kwnames
[] = {
32412 (char *) "format", NULL
32415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32417 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32418 if (!SWIG_IsOK(res1
)) {
32419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32424 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32428 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32429 wxPyEndAllowThreads(__tstate
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32439 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32440 PyObject
*resultobj
= 0;
32441 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32442 wxDataFormat
*result
= 0 ;
32445 PyObject
*swig_obj
[1] ;
32447 if (!args
) SWIG_fail
;
32448 swig_obj
[0] = args
;
32449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32450 if (!SWIG_IsOK(res1
)) {
32451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32453 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32457 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32458 result
= (wxDataFormat
*) &_result_ref
;
32460 wxPyEndAllowThreads(__tstate
);
32461 if (PyErr_Occurred()) SWIG_fail
;
32463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32470 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32471 PyObject
*resultobj
= 0;
32472 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32473 wxDataFormat
*arg2
= 0 ;
32478 PyObject
* obj0
= 0 ;
32479 PyObject
* obj1
= 0 ;
32480 char * kwnames
[] = {
32481 (char *) "self",(char *) "format", NULL
32484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32486 if (!SWIG_IsOK(res1
)) {
32487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32489 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32491 if (!SWIG_IsOK(res2
)) {
32492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32497 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32500 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32501 wxPyEndAllowThreads(__tstate
);
32502 if (PyErr_Occurred()) SWIG_fail
;
32504 resultobj
= SWIG_Py_Void();
32511 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32512 PyObject
*resultobj
= 0;
32513 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32517 PyObject
*swig_obj
[1] ;
32519 if (!args
) SWIG_fail
;
32520 swig_obj
[0] = args
;
32521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32522 if (!SWIG_IsOK(res1
)) {
32523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32525 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32529 wxPyEndAllowThreads(__tstate
);
32530 if (PyErr_Occurred()) SWIG_fail
;
32532 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32539 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32540 PyObject
*resultobj
= 0;
32541 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32542 PyObject
*result
= 0 ;
32545 PyObject
*swig_obj
[1] ;
32547 if (!args
) SWIG_fail
;
32548 swig_obj
[0] = args
;
32549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32550 if (!SWIG_IsOK(res1
)) {
32551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32553 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32556 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32560 resultobj
= result
;
32567 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32568 PyObject
*resultobj
= 0;
32569 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32570 PyObject
*arg2
= (PyObject
*) 0 ;
32574 PyObject
* obj0
= 0 ;
32575 PyObject
* obj1
= 0 ;
32576 char * kwnames
[] = {
32577 (char *) "self",(char *) "data", NULL
32580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32582 if (!SWIG_IsOK(res1
)) {
32583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32585 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32589 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32590 wxPyEndAllowThreads(__tstate
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32602 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32605 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32606 return SWIG_Py_Void();
32609 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32610 return SWIG_Python_InitShadowInstance(args
);
32613 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32614 PyObject
*resultobj
= 0;
32615 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32616 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32617 wxPyDataObjectSimple
*result
= 0 ;
32620 PyObject
* obj0
= 0 ;
32621 char * kwnames
[] = {
32622 (char *) "format", NULL
32625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32627 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32628 if (!SWIG_IsOK(res1
)) {
32629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32634 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32638 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32649 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32650 PyObject
*resultobj
= 0;
32651 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32652 PyObject
*arg2
= (PyObject
*) 0 ;
32653 PyObject
*arg3
= (PyObject
*) 0 ;
32656 PyObject
* obj0
= 0 ;
32657 PyObject
* obj1
= 0 ;
32658 PyObject
* obj2
= 0 ;
32659 char * kwnames
[] = {
32660 (char *) "self",(char *) "self",(char *) "_class", NULL
32663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32665 if (!SWIG_IsOK(res1
)) {
32666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32668 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32673 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32677 resultobj
= SWIG_Py_Void();
32684 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32686 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32687 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32688 return SWIG_Py_Void();
32691 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32692 return SWIG_Python_InitShadowInstance(args
);
32695 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32696 PyObject
*resultobj
= 0;
32697 wxDataObjectComposite
*result
= 0 ;
32699 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32702 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32703 wxPyEndAllowThreads(__tstate
);
32704 if (PyErr_Occurred()) SWIG_fail
;
32706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32713 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32714 PyObject
*resultobj
= 0;
32715 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32716 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32717 bool arg3
= (bool) false ;
32723 PyObject
* obj0
= 0 ;
32724 PyObject
* obj1
= 0 ;
32725 PyObject
* obj2
= 0 ;
32726 char * kwnames
[] = {
32727 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32732 if (!SWIG_IsOK(res1
)) {
32733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32735 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32736 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32737 if (!SWIG_IsOK(res2
)) {
32738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32741 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32742 if (!SWIG_IsOK(ecode3
)) {
32743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32745 arg3
= static_cast< bool >(val3
);
32748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32749 (arg1
)->Add(arg2
,arg3
);
32750 wxPyEndAllowThreads(__tstate
);
32751 if (PyErr_Occurred()) SWIG_fail
;
32753 resultobj
= SWIG_Py_Void();
32760 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32761 PyObject
*resultobj
= 0;
32762 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32763 SwigValueWrapper
<wxDataFormat
> result
;
32766 PyObject
*swig_obj
[1] ;
32768 if (!args
) SWIG_fail
;
32769 swig_obj
[0] = args
;
32770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32771 if (!SWIG_IsOK(res1
)) {
32772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32774 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32778 wxPyEndAllowThreads(__tstate
);
32779 if (PyErr_Occurred()) SWIG_fail
;
32781 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32788 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32790 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32791 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32792 return SWIG_Py_Void();
32795 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32796 return SWIG_Python_InitShadowInstance(args
);
32799 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32800 PyObject
*resultobj
= 0;
32801 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32802 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32803 wxTextDataObject
*result
= 0 ;
32804 bool temp1
= false ;
32805 PyObject
* obj0
= 0 ;
32806 char * kwnames
[] = {
32807 (char *) "text", NULL
32810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32813 arg1
= wxString_in_helper(obj0
);
32814 if (arg1
== NULL
) SWIG_fail
;
32819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32820 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32821 wxPyEndAllowThreads(__tstate
);
32822 if (PyErr_Occurred()) SWIG_fail
;
32824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32839 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32840 PyObject
*resultobj
= 0;
32841 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32845 PyObject
*swig_obj
[1] ;
32847 if (!args
) SWIG_fail
;
32848 swig_obj
[0] = args
;
32849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32850 if (!SWIG_IsOK(res1
)) {
32851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32853 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 result
= (size_t)(arg1
)->GetTextLength();
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32860 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32867 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32868 PyObject
*resultobj
= 0;
32869 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32873 PyObject
*swig_obj
[1] ;
32875 if (!args
) SWIG_fail
;
32876 swig_obj
[0] = args
;
32877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32878 if (!SWIG_IsOK(res1
)) {
32879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32881 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32884 result
= (arg1
)->GetText();
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32901 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32902 PyObject
*resultobj
= 0;
32903 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32904 wxString
*arg2
= 0 ;
32907 bool temp2
= false ;
32908 PyObject
* obj0
= 0 ;
32909 PyObject
* obj1
= 0 ;
32910 char * kwnames
[] = {
32911 (char *) "self",(char *) "text", NULL
32914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32916 if (!SWIG_IsOK(res1
)) {
32917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32919 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32921 arg2
= wxString_in_helper(obj1
);
32922 if (arg2
== NULL
) SWIG_fail
;
32926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32927 (arg1
)->SetText((wxString
const &)*arg2
);
32928 wxPyEndAllowThreads(__tstate
);
32929 if (PyErr_Occurred()) SWIG_fail
;
32931 resultobj
= SWIG_Py_Void();
32946 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32949 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32950 return SWIG_Py_Void();
32953 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32954 return SWIG_Python_InitShadowInstance(args
);
32957 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32958 PyObject
*resultobj
= 0;
32959 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32960 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32961 wxPyTextDataObject
*result
= 0 ;
32962 bool temp1
= false ;
32963 PyObject
* obj0
= 0 ;
32964 char * kwnames
[] = {
32965 (char *) "text", NULL
32968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32971 arg1
= wxString_in_helper(obj0
);
32972 if (arg1
== NULL
) SWIG_fail
;
32977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32978 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32979 wxPyEndAllowThreads(__tstate
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32997 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32998 PyObject
*resultobj
= 0;
32999 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
33000 PyObject
*arg2
= (PyObject
*) 0 ;
33001 PyObject
*arg3
= (PyObject
*) 0 ;
33004 PyObject
* obj0
= 0 ;
33005 PyObject
* obj1
= 0 ;
33006 PyObject
* obj2
= 0 ;
33007 char * kwnames
[] = {
33008 (char *) "self",(char *) "self",(char *) "_class", NULL
33011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
33013 if (!SWIG_IsOK(res1
)) {
33014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
33016 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
33020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33021 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33022 wxPyEndAllowThreads(__tstate
);
33023 if (PyErr_Occurred()) SWIG_fail
;
33025 resultobj
= SWIG_Py_Void();
33032 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
33036 return SWIG_Py_Void();
33039 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33040 return SWIG_Python_InitShadowInstance(args
);
33043 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33044 PyObject
*resultobj
= 0;
33045 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33046 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33047 wxBitmapDataObject
*result
= 0 ;
33050 PyObject
* obj0
= 0 ;
33051 char * kwnames
[] = {
33052 (char *) "bitmap", NULL
33055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33057 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33058 if (!SWIG_IsOK(res1
)) {
33059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33064 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33068 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33079 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33080 PyObject
*resultobj
= 0;
33081 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33085 PyObject
*swig_obj
[1] ;
33087 if (!args
) SWIG_fail
;
33088 swig_obj
[0] = args
;
33089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33090 if (!SWIG_IsOK(res1
)) {
33091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
33093 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33096 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
33097 wxPyEndAllowThreads(__tstate
);
33098 if (PyErr_Occurred()) SWIG_fail
;
33100 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
33107 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33108 PyObject
*resultobj
= 0;
33109 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33110 wxBitmap
*arg2
= 0 ;
33115 PyObject
* obj0
= 0 ;
33116 PyObject
* obj1
= 0 ;
33117 char * kwnames
[] = {
33118 (char *) "self",(char *) "bitmap", NULL
33121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33123 if (!SWIG_IsOK(res1
)) {
33124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
33126 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33128 if (!SWIG_IsOK(res2
)) {
33129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33134 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33137 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33138 wxPyEndAllowThreads(__tstate
);
33139 if (PyErr_Occurred()) SWIG_fail
;
33141 resultobj
= SWIG_Py_Void();
33148 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33151 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
33152 return SWIG_Py_Void();
33155 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33156 return SWIG_Python_InitShadowInstance(args
);
33159 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33160 PyObject
*resultobj
= 0;
33161 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33162 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33163 wxPyBitmapDataObject
*result
= 0 ;
33166 PyObject
* obj0
= 0 ;
33167 char * kwnames
[] = {
33168 (char *) "bitmap", NULL
33171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33173 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33174 if (!SWIG_IsOK(res1
)) {
33175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33180 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33184 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
33185 wxPyEndAllowThreads(__tstate
);
33186 if (PyErr_Occurred()) SWIG_fail
;
33188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33195 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33196 PyObject
*resultobj
= 0;
33197 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
33198 PyObject
*arg2
= (PyObject
*) 0 ;
33199 PyObject
*arg3
= (PyObject
*) 0 ;
33202 PyObject
* obj0
= 0 ;
33203 PyObject
* obj1
= 0 ;
33204 PyObject
* obj2
= 0 ;
33205 char * kwnames
[] = {
33206 (char *) "self",(char *) "self",(char *) "_class", NULL
33209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
33211 if (!SWIG_IsOK(res1
)) {
33212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
33214 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
33218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33219 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33220 wxPyEndAllowThreads(__tstate
);
33221 if (PyErr_Occurred()) SWIG_fail
;
33223 resultobj
= SWIG_Py_Void();
33230 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33233 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
33234 return SWIG_Py_Void();
33237 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33238 return SWIG_Python_InitShadowInstance(args
);
33241 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33242 PyObject
*resultobj
= 0;
33243 wxFileDataObject
*result
= 0 ;
33245 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33248 result
= (wxFileDataObject
*)new wxFileDataObject();
33249 wxPyEndAllowThreads(__tstate
);
33250 if (PyErr_Occurred()) SWIG_fail
;
33252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33259 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33260 PyObject
*resultobj
= 0;
33261 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33262 wxArrayString
*result
= 0 ;
33265 PyObject
*swig_obj
[1] ;
33267 if (!args
) SWIG_fail
;
33268 swig_obj
[0] = args
;
33269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33270 if (!SWIG_IsOK(res1
)) {
33271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33273 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33277 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33278 result
= (wxArrayString
*) &_result_ref
;
33280 wxPyEndAllowThreads(__tstate
);
33281 if (PyErr_Occurred()) SWIG_fail
;
33284 resultobj
= wxArrayString2PyList_helper(*result
);
33292 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33293 PyObject
*resultobj
= 0;
33294 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33295 wxString
*arg2
= 0 ;
33298 bool temp2
= false ;
33299 PyObject
* obj0
= 0 ;
33300 PyObject
* obj1
= 0 ;
33301 char * kwnames
[] = {
33302 (char *) "self",(char *) "filename", NULL
33305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33307 if (!SWIG_IsOK(res1
)) {
33308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33310 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33312 arg2
= wxString_in_helper(obj1
);
33313 if (arg2
== NULL
) SWIG_fail
;
33317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33318 (arg1
)->AddFile((wxString
const &)*arg2
);
33319 wxPyEndAllowThreads(__tstate
);
33320 if (PyErr_Occurred()) SWIG_fail
;
33322 resultobj
= SWIG_Py_Void();
33337 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33340 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33341 return SWIG_Py_Void();
33344 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33345 return SWIG_Python_InitShadowInstance(args
);
33348 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33349 PyObject
*resultobj
= 0;
33350 wxDataFormat
*arg1
= 0 ;
33351 wxCustomDataObject
*result
= 0 ;
33355 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33357 if (!SWIG_IsOK(res1
)) {
33358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33363 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33366 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33367 wxPyEndAllowThreads(__tstate
);
33368 if (PyErr_Occurred()) SWIG_fail
;
33370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33377 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33378 PyObject
*resultobj
= 0;
33379 wxString
*arg1
= 0 ;
33380 wxCustomDataObject
*result
= 0 ;
33381 bool temp1
= false ;
33383 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33385 arg1
= wxString_in_helper(swig_obj
[0]);
33386 if (arg1
== NULL
) SWIG_fail
;
33390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33391 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33392 wxPyEndAllowThreads(__tstate
);
33393 if (PyErr_Occurred()) SWIG_fail
;
33395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33410 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33411 PyObject
*resultobj
= 0;
33412 wxCustomDataObject
*result
= 0 ;
33414 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33417 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33428 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33432 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33435 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33441 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33444 if (!_v
) goto check_2
;
33445 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33450 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33454 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33459 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33460 PyObject
*resultobj
= 0;
33461 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33462 PyObject
*arg2
= (PyObject
*) 0 ;
33466 PyObject
* obj0
= 0 ;
33467 PyObject
* obj1
= 0 ;
33468 char * kwnames
[] = {
33469 (char *) "self",(char *) "data", NULL
33472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33474 if (!SWIG_IsOK(res1
)) {
33475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33477 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33481 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33482 wxPyEndAllowThreads(__tstate
);
33483 if (PyErr_Occurred()) SWIG_fail
;
33486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33494 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33495 PyObject
*resultobj
= 0;
33496 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33500 PyObject
*swig_obj
[1] ;
33502 if (!args
) SWIG_fail
;
33503 swig_obj
[0] = args
;
33504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33505 if (!SWIG_IsOK(res1
)) {
33506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33508 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33511 result
= (size_t)(arg1
)->GetSize();
33512 wxPyEndAllowThreads(__tstate
);
33513 if (PyErr_Occurred()) SWIG_fail
;
33515 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33522 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33523 PyObject
*resultobj
= 0;
33524 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33525 PyObject
*result
= 0 ;
33528 PyObject
*swig_obj
[1] ;
33530 if (!args
) SWIG_fail
;
33531 swig_obj
[0] = args
;
33532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33533 if (!SWIG_IsOK(res1
)) {
33534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33536 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33539 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33540 wxPyEndAllowThreads(__tstate
);
33541 if (PyErr_Occurred()) SWIG_fail
;
33543 resultobj
= result
;
33550 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33553 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33554 return SWIG_Py_Void();
33557 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33558 return SWIG_Python_InitShadowInstance(args
);
33561 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33562 PyObject
*resultobj
= 0;
33563 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33564 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33565 wxURLDataObject
*result
= 0 ;
33566 bool temp1
= false ;
33567 PyObject
* obj0
= 0 ;
33568 char * kwnames
[] = {
33569 (char *) "url", NULL
33572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33575 arg1
= wxString_in_helper(obj0
);
33576 if (arg1
== NULL
) SWIG_fail
;
33581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33582 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33583 wxPyEndAllowThreads(__tstate
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33601 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33602 PyObject
*resultobj
= 0;
33603 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33607 PyObject
*swig_obj
[1] ;
33609 if (!args
) SWIG_fail
;
33610 swig_obj
[0] = args
;
33611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33612 if (!SWIG_IsOK(res1
)) {
33613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33615 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33618 result
= (arg1
)->GetURL();
33619 wxPyEndAllowThreads(__tstate
);
33620 if (PyErr_Occurred()) SWIG_fail
;
33624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33635 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33636 PyObject
*resultobj
= 0;
33637 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33638 wxString
*arg2
= 0 ;
33641 bool temp2
= false ;
33642 PyObject
* obj0
= 0 ;
33643 PyObject
* obj1
= 0 ;
33644 char * kwnames
[] = {
33645 (char *) "self",(char *) "url", NULL
33648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33650 if (!SWIG_IsOK(res1
)) {
33651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33653 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33655 arg2
= wxString_in_helper(obj1
);
33656 if (arg2
== NULL
) SWIG_fail
;
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 (arg1
)->SetURL((wxString
const &)*arg2
);
33662 wxPyEndAllowThreads(__tstate
);
33663 if (PyErr_Occurred()) SWIG_fail
;
33665 resultobj
= SWIG_Py_Void();
33680 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33683 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33684 return SWIG_Py_Void();
33687 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33688 return SWIG_Python_InitShadowInstance(args
);
33691 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33692 PyObject
*resultobj
= 0;
33693 wxMetafileDataObject
*result
= 0 ;
33695 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33698 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33699 wxPyEndAllowThreads(__tstate
);
33700 if (PyErr_Occurred()) SWIG_fail
;
33702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33709 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33712 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33713 return SWIG_Py_Void();
33716 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33717 return SWIG_Python_InitShadowInstance(args
);
33720 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33721 PyObject
*resultobj
= 0;
33722 wxDragResult arg1
;
33726 PyObject
* obj0
= 0 ;
33727 char * kwnames
[] = {
33728 (char *) "res", NULL
33731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33732 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33733 if (!SWIG_IsOK(ecode1
)) {
33734 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33736 arg1
= static_cast< wxDragResult
>(val1
);
33738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33739 result
= (bool)wxIsDragResultOk(arg1
);
33740 wxPyEndAllowThreads(__tstate
);
33741 if (PyErr_Occurred()) SWIG_fail
;
33744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33752 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33753 PyObject
*resultobj
= 0;
33754 wxWindow
*arg1
= (wxWindow
*) 0 ;
33755 wxIcon
const &arg2_defvalue
= wxNullIcon
;
33756 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
33757 wxIcon
const &arg3_defvalue
= wxNullIcon
;
33758 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
33759 wxIcon
const &arg4_defvalue
= wxNullIcon
;
33760 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
33761 wxPyDropSource
*result
= 0 ;
33770 PyObject
* obj0
= 0 ;
33771 PyObject
* obj1
= 0 ;
33772 PyObject
* obj2
= 0 ;
33773 PyObject
* obj3
= 0 ;
33774 char * kwnames
[] = {
33775 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33780 if (!SWIG_IsOK(res1
)) {
33781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33786 if (!SWIG_IsOK(res2
)) {
33787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33792 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33795 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
33796 if (!SWIG_IsOK(res3
)) {
33797 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33802 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
33805 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
33806 if (!SWIG_IsOK(res4
)) {
33807 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33812 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
33817 wxPyEndAllowThreads(__tstate
);
33818 if (PyErr_Occurred()) SWIG_fail
;
33820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33827 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33828 PyObject
*resultobj
= 0;
33829 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33830 PyObject
*arg2
= (PyObject
*) 0 ;
33831 PyObject
*arg3
= (PyObject
*) 0 ;
33832 int arg4
= (int) 0 ;
33837 PyObject
* obj0
= 0 ;
33838 PyObject
* obj1
= 0 ;
33839 PyObject
* obj2
= 0 ;
33840 PyObject
* obj3
= 0 ;
33841 char * kwnames
[] = {
33842 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33847 if (!SWIG_IsOK(res1
)) {
33848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33850 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33854 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33855 if (!SWIG_IsOK(ecode4
)) {
33856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33858 arg4
= static_cast< int >(val4
);
33861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33862 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33863 wxPyEndAllowThreads(__tstate
);
33864 if (PyErr_Occurred()) SWIG_fail
;
33866 resultobj
= SWIG_Py_Void();
33873 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33874 PyObject
*resultobj
= 0;
33875 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33878 PyObject
*swig_obj
[1] ;
33880 if (!args
) SWIG_fail
;
33881 swig_obj
[0] = args
;
33882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33883 if (!SWIG_IsOK(res1
)) {
33884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33886 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33891 wxPyEndAllowThreads(__tstate
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33894 resultobj
= SWIG_Py_Void();
33901 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33902 PyObject
*resultobj
= 0;
33903 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33904 wxDataObject
*arg2
= 0 ;
33909 PyObject
* obj0
= 0 ;
33910 PyObject
* obj1
= 0 ;
33911 char * kwnames
[] = {
33912 (char *) "self",(char *) "data", NULL
33915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33917 if (!SWIG_IsOK(res1
)) {
33918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33920 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33921 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33922 if (!SWIG_IsOK(res2
)) {
33923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33928 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33931 (arg1
)->SetData(*arg2
);
33932 wxPyEndAllowThreads(__tstate
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33935 resultobj
= SWIG_Py_Void();
33942 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33943 PyObject
*resultobj
= 0;
33944 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33945 wxDataObject
*result
= 0 ;
33948 PyObject
*swig_obj
[1] ;
33950 if (!args
) SWIG_fail
;
33951 swig_obj
[0] = args
;
33952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33953 if (!SWIG_IsOK(res1
)) {
33954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33956 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33959 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33960 wxPyEndAllowThreads(__tstate
);
33961 if (PyErr_Occurred()) SWIG_fail
;
33963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33970 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33971 PyObject
*resultobj
= 0;
33972 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33973 wxDragResult arg2
;
33974 wxCursor
*arg3
= 0 ;
33981 PyObject
* obj0
= 0 ;
33982 PyObject
* obj1
= 0 ;
33983 PyObject
* obj2
= 0 ;
33984 char * kwnames
[] = {
33985 (char *) "self",(char *) "res",(char *) "cursor", NULL
33988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33990 if (!SWIG_IsOK(res1
)) {
33991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33993 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33995 if (!SWIG_IsOK(ecode2
)) {
33996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
33998 arg2
= static_cast< wxDragResult
>(val2
);
33999 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
34000 if (!SWIG_IsOK(res3
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34006 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
34008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34009 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
34010 wxPyEndAllowThreads(__tstate
);
34011 if (PyErr_Occurred()) SWIG_fail
;
34013 resultobj
= SWIG_Py_Void();
34020 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34021 PyObject
*resultobj
= 0;
34022 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34023 int arg2
= (int) wxDrag_CopyOnly
;
34024 wxDragResult result
;
34029 PyObject
* obj0
= 0 ;
34030 PyObject
* obj1
= 0 ;
34031 char * kwnames
[] = {
34032 (char *) "self",(char *) "flags", NULL
34035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34037 if (!SWIG_IsOK(res1
)) {
34038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34040 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34043 if (!SWIG_IsOK(ecode2
)) {
34044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
34046 arg2
= static_cast< int >(val2
);
34049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34050 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
34051 wxPyEndAllowThreads(__tstate
);
34052 if (PyErr_Occurred()) SWIG_fail
;
34054 resultobj
= SWIG_From_int(static_cast< int >(result
));
34061 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34062 PyObject
*resultobj
= 0;
34063 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34064 wxDragResult arg2
;
34070 PyObject
* obj0
= 0 ;
34071 PyObject
* obj1
= 0 ;
34072 char * kwnames
[] = {
34073 (char *) "self",(char *) "effect", NULL
34076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34078 if (!SWIG_IsOK(res1
)) {
34079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34081 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34083 if (!SWIG_IsOK(ecode2
)) {
34084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
34086 arg2
= static_cast< wxDragResult
>(val2
);
34088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34089 result
= (bool)(arg1
)->GiveFeedback(arg2
);
34090 wxPyEndAllowThreads(__tstate
);
34091 if (PyErr_Occurred()) SWIG_fail
;
34094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34102 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34105 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
34106 return SWIG_Py_Void();
34109 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34110 return SWIG_Python_InitShadowInstance(args
);
34113 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34114 PyObject
*resultobj
= 0;
34115 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
34116 wxPyDropTarget
*result
= 0 ;
34118 PyObject
* obj0
= 0 ;
34119 char * kwnames
[] = {
34120 (char *) "dataObject", NULL
34123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
34125 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34126 if (!SWIG_IsOK(res1
)) {
34127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
34131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
34133 wxPyEndAllowThreads(__tstate
);
34134 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
34143 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34144 PyObject
*resultobj
= 0;
34145 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34146 PyObject
*arg2
= (PyObject
*) 0 ;
34147 PyObject
*arg3
= (PyObject
*) 0 ;
34150 PyObject
* obj0
= 0 ;
34151 PyObject
* obj1
= 0 ;
34152 PyObject
* obj2
= 0 ;
34153 char * kwnames
[] = {
34154 (char *) "self",(char *) "self",(char *) "_class", NULL
34157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34159 if (!SWIG_IsOK(res1
)) {
34160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34162 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34167 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34168 wxPyEndAllowThreads(__tstate
);
34169 if (PyErr_Occurred()) SWIG_fail
;
34171 resultobj
= SWIG_Py_Void();
34178 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34179 PyObject
*resultobj
= 0;
34180 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34183 PyObject
*swig_obj
[1] ;
34185 if (!args
) SWIG_fail
;
34186 swig_obj
[0] = args
;
34187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
34188 if (!SWIG_IsOK(res1
)) {
34189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34191 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34196 wxPyEndAllowThreads(__tstate
);
34197 if (PyErr_Occurred()) SWIG_fail
;
34199 resultobj
= SWIG_Py_Void();
34206 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34207 PyObject
*resultobj
= 0;
34208 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34209 wxDataObject
*result
= 0 ;
34212 PyObject
*swig_obj
[1] ;
34214 if (!args
) SWIG_fail
;
34215 swig_obj
[0] = args
;
34216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34217 if (!SWIG_IsOK(res1
)) {
34218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34220 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34224 wxPyEndAllowThreads(__tstate
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34234 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34235 PyObject
*resultobj
= 0;
34236 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34237 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34241 PyObject
* obj0
= 0 ;
34242 PyObject
* obj1
= 0 ;
34243 char * kwnames
[] = {
34244 (char *) "self",(char *) "dataObject", NULL
34247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34249 if (!SWIG_IsOK(res1
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34252 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34253 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34254 if (!SWIG_IsOK(res2
)) {
34255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34259 (arg1
)->SetDataObject(arg2
);
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34263 resultobj
= SWIG_Py_Void();
34270 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
= 0;
34272 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34275 wxDragResult arg4
;
34276 wxDragResult result
;
34285 PyObject
* obj0
= 0 ;
34286 PyObject
* obj1
= 0 ;
34287 PyObject
* obj2
= 0 ;
34288 PyObject
* obj3
= 0 ;
34289 char * kwnames
[] = {
34290 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34295 if (!SWIG_IsOK(res1
)) {
34296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34298 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34300 if (!SWIG_IsOK(ecode2
)) {
34301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34303 arg2
= static_cast< int >(val2
);
34304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34305 if (!SWIG_IsOK(ecode3
)) {
34306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34308 arg3
= static_cast< int >(val3
);
34309 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34310 if (!SWIG_IsOK(ecode4
)) {
34311 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34313 arg4
= static_cast< wxDragResult
>(val4
);
34315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34316 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34317 wxPyEndAllowThreads(__tstate
);
34318 if (PyErr_Occurred()) SWIG_fail
;
34320 resultobj
= SWIG_From_int(static_cast< int >(result
));
34327 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34328 PyObject
*resultobj
= 0;
34329 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34332 wxDragResult arg4
;
34333 wxDragResult result
;
34342 PyObject
* obj0
= 0 ;
34343 PyObject
* obj1
= 0 ;
34344 PyObject
* obj2
= 0 ;
34345 PyObject
* obj3
= 0 ;
34346 char * kwnames
[] = {
34347 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34352 if (!SWIG_IsOK(res1
)) {
34353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34355 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34357 if (!SWIG_IsOK(ecode2
)) {
34358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34360 arg2
= static_cast< int >(val2
);
34361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34362 if (!SWIG_IsOK(ecode3
)) {
34363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34365 arg3
= static_cast< int >(val3
);
34366 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34367 if (!SWIG_IsOK(ecode4
)) {
34368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34370 arg4
= static_cast< wxDragResult
>(val4
);
34372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34373 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34374 wxPyEndAllowThreads(__tstate
);
34375 if (PyErr_Occurred()) SWIG_fail
;
34377 resultobj
= SWIG_From_int(static_cast< int >(result
));
34384 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34385 PyObject
*resultobj
= 0;
34386 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34389 PyObject
*swig_obj
[1] ;
34391 if (!args
) SWIG_fail
;
34392 swig_obj
[0] = args
;
34393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34394 if (!SWIG_IsOK(res1
)) {
34395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34397 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34401 wxPyEndAllowThreads(__tstate
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34404 resultobj
= SWIG_Py_Void();
34411 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34412 PyObject
*resultobj
= 0;
34413 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34423 PyObject
* obj0
= 0 ;
34424 PyObject
* obj1
= 0 ;
34425 PyObject
* obj2
= 0 ;
34426 char * kwnames
[] = {
34427 (char *) "self",(char *) "x",(char *) "y", NULL
34430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34432 if (!SWIG_IsOK(res1
)) {
34433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34435 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34437 if (!SWIG_IsOK(ecode2
)) {
34438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34440 arg2
= static_cast< int >(val2
);
34441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34442 if (!SWIG_IsOK(ecode3
)) {
34443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34445 arg3
= static_cast< int >(val3
);
34447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34448 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34449 wxPyEndAllowThreads(__tstate
);
34450 if (PyErr_Occurred()) SWIG_fail
;
34453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34461 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34462 PyObject
*resultobj
= 0;
34463 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34467 PyObject
*swig_obj
[1] ;
34469 if (!args
) SWIG_fail
;
34470 swig_obj
[0] = args
;
34471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34472 if (!SWIG_IsOK(res1
)) {
34473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34475 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34478 result
= (bool)(arg1
)->GetData();
34479 wxPyEndAllowThreads(__tstate
);
34480 if (PyErr_Occurred()) SWIG_fail
;
34483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34491 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34492 PyObject
*resultobj
= 0;
34493 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34494 wxDragResult arg2
;
34499 PyObject
* obj0
= 0 ;
34500 PyObject
* obj1
= 0 ;
34501 char * kwnames
[] = {
34502 (char *) "self",(char *) "action", NULL
34505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34507 if (!SWIG_IsOK(res1
)) {
34508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34510 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34512 if (!SWIG_IsOK(ecode2
)) {
34513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34515 arg2
= static_cast< wxDragResult
>(val2
);
34517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34518 (arg1
)->SetDefaultAction(arg2
);
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34522 resultobj
= SWIG_Py_Void();
34529 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34530 PyObject
*resultobj
= 0;
34531 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34532 wxDragResult result
;
34535 PyObject
*swig_obj
[1] ;
34537 if (!args
) SWIG_fail
;
34538 swig_obj
[0] = args
;
34539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34540 if (!SWIG_IsOK(res1
)) {
34541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34543 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34546 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34547 wxPyEndAllowThreads(__tstate
);
34548 if (PyErr_Occurred()) SWIG_fail
;
34550 resultobj
= SWIG_From_int(static_cast< int >(result
));
34557 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34560 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34561 return SWIG_Py_Void();
34564 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34565 return SWIG_Python_InitShadowInstance(args
);
34568 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34569 PyObject
*resultobj
= 0;
34570 wxPyTextDropTarget
*result
= 0 ;
34572 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34575 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34576 wxPyEndAllowThreads(__tstate
);
34577 if (PyErr_Occurred()) SWIG_fail
;
34579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34586 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34587 PyObject
*resultobj
= 0;
34588 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34589 PyObject
*arg2
= (PyObject
*) 0 ;
34590 PyObject
*arg3
= (PyObject
*) 0 ;
34593 PyObject
* obj0
= 0 ;
34594 PyObject
* obj1
= 0 ;
34595 PyObject
* obj2
= 0 ;
34596 char * kwnames
[] = {
34597 (char *) "self",(char *) "self",(char *) "_class", NULL
34600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34602 if (!SWIG_IsOK(res1
)) {
34603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34605 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34610 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34611 wxPyEndAllowThreads(__tstate
);
34612 if (PyErr_Occurred()) SWIG_fail
;
34614 resultobj
= SWIG_Py_Void();
34621 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34622 PyObject
*resultobj
= 0;
34623 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34626 wxString
*arg4
= 0 ;
34634 bool temp4
= false ;
34635 PyObject
* obj0
= 0 ;
34636 PyObject
* obj1
= 0 ;
34637 PyObject
* obj2
= 0 ;
34638 PyObject
* obj3
= 0 ;
34639 char * kwnames
[] = {
34640 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34645 if (!SWIG_IsOK(res1
)) {
34646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34648 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34650 if (!SWIG_IsOK(ecode2
)) {
34651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34653 arg2
= static_cast< int >(val2
);
34654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34655 if (!SWIG_IsOK(ecode3
)) {
34656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34658 arg3
= static_cast< int >(val3
);
34660 arg4
= wxString_in_helper(obj3
);
34661 if (arg4
== NULL
) SWIG_fail
;
34665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34666 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34667 wxPyEndAllowThreads(__tstate
);
34668 if (PyErr_Occurred()) SWIG_fail
;
34671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34687 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34688 PyObject
*resultobj
= 0;
34689 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34692 wxDragResult arg4
;
34693 wxDragResult result
;
34702 PyObject
* obj0
= 0 ;
34703 PyObject
* obj1
= 0 ;
34704 PyObject
* obj2
= 0 ;
34705 PyObject
* obj3
= 0 ;
34706 char * kwnames
[] = {
34707 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34712 if (!SWIG_IsOK(res1
)) {
34713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34715 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34717 if (!SWIG_IsOK(ecode2
)) {
34718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34720 arg2
= static_cast< int >(val2
);
34721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34722 if (!SWIG_IsOK(ecode3
)) {
34723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34725 arg3
= static_cast< int >(val3
);
34726 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34727 if (!SWIG_IsOK(ecode4
)) {
34728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34730 arg4
= static_cast< wxDragResult
>(val4
);
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34737 resultobj
= SWIG_From_int(static_cast< int >(result
));
34744 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
= 0;
34746 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34749 wxDragResult arg4
;
34750 wxDragResult result
;
34759 PyObject
* obj0
= 0 ;
34760 PyObject
* obj1
= 0 ;
34761 PyObject
* obj2
= 0 ;
34762 PyObject
* obj3
= 0 ;
34763 char * kwnames
[] = {
34764 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34769 if (!SWIG_IsOK(res1
)) {
34770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34772 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34774 if (!SWIG_IsOK(ecode2
)) {
34775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34777 arg2
= static_cast< int >(val2
);
34778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34779 if (!SWIG_IsOK(ecode3
)) {
34780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34782 arg3
= static_cast< int >(val3
);
34783 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34784 if (!SWIG_IsOK(ecode4
)) {
34785 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34787 arg4
= static_cast< wxDragResult
>(val4
);
34789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34790 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34791 wxPyEndAllowThreads(__tstate
);
34792 if (PyErr_Occurred()) SWIG_fail
;
34794 resultobj
= SWIG_From_int(static_cast< int >(result
));
34801 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34802 PyObject
*resultobj
= 0;
34803 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34806 PyObject
*swig_obj
[1] ;
34808 if (!args
) SWIG_fail
;
34809 swig_obj
[0] = args
;
34810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34811 if (!SWIG_IsOK(res1
)) {
34812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34814 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34818 wxPyEndAllowThreads(__tstate
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34821 resultobj
= SWIG_Py_Void();
34828 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
= 0;
34830 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34840 PyObject
* obj0
= 0 ;
34841 PyObject
* obj1
= 0 ;
34842 PyObject
* obj2
= 0 ;
34843 char * kwnames
[] = {
34844 (char *) "self",(char *) "x",(char *) "y", NULL
34847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34849 if (!SWIG_IsOK(res1
)) {
34850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34852 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34854 if (!SWIG_IsOK(ecode2
)) {
34855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34857 arg2
= static_cast< int >(val2
);
34858 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34859 if (!SWIG_IsOK(ecode3
)) {
34860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34862 arg3
= static_cast< int >(val3
);
34864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34865 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34866 wxPyEndAllowThreads(__tstate
);
34867 if (PyErr_Occurred()) SWIG_fail
;
34870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34878 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34879 PyObject
*resultobj
= 0;
34880 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34883 wxDragResult arg4
;
34884 wxDragResult result
;
34893 PyObject
* obj0
= 0 ;
34894 PyObject
* obj1
= 0 ;
34895 PyObject
* obj2
= 0 ;
34896 PyObject
* obj3
= 0 ;
34897 char * kwnames
[] = {
34898 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34903 if (!SWIG_IsOK(res1
)) {
34904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34906 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34908 if (!SWIG_IsOK(ecode2
)) {
34909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34911 arg2
= static_cast< int >(val2
);
34912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34913 if (!SWIG_IsOK(ecode3
)) {
34914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34916 arg3
= static_cast< int >(val3
);
34917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34918 if (!SWIG_IsOK(ecode4
)) {
34919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34921 arg4
= static_cast< wxDragResult
>(val4
);
34923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34924 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34925 wxPyEndAllowThreads(__tstate
);
34926 if (PyErr_Occurred()) SWIG_fail
;
34928 resultobj
= SWIG_From_int(static_cast< int >(result
));
34935 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34938 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34939 return SWIG_Py_Void();
34942 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34943 return SWIG_Python_InitShadowInstance(args
);
34946 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34947 PyObject
*resultobj
= 0;
34948 wxPyFileDropTarget
*result
= 0 ;
34950 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34953 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34954 wxPyEndAllowThreads(__tstate
);
34955 if (PyErr_Occurred()) SWIG_fail
;
34957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34964 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34965 PyObject
*resultobj
= 0;
34966 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34967 PyObject
*arg2
= (PyObject
*) 0 ;
34968 PyObject
*arg3
= (PyObject
*) 0 ;
34971 PyObject
* obj0
= 0 ;
34972 PyObject
* obj1
= 0 ;
34973 PyObject
* obj2
= 0 ;
34974 char * kwnames
[] = {
34975 (char *) "self",(char *) "self",(char *) "_class", NULL
34978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34980 if (!SWIG_IsOK(res1
)) {
34981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34983 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34988 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34989 wxPyEndAllowThreads(__tstate
);
34990 if (PyErr_Occurred()) SWIG_fail
;
34992 resultobj
= SWIG_Py_Void();
34999 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35000 PyObject
*resultobj
= 0;
35001 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35004 wxArrayString
*arg4
= 0 ;
35012 bool temp4
= false ;
35013 PyObject
* obj0
= 0 ;
35014 PyObject
* obj1
= 0 ;
35015 PyObject
* obj2
= 0 ;
35016 PyObject
* obj3
= 0 ;
35017 char * kwnames
[] = {
35018 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
35021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35023 if (!SWIG_IsOK(res1
)) {
35024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35026 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35028 if (!SWIG_IsOK(ecode2
)) {
35029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
35031 arg2
= static_cast< int >(val2
);
35032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35033 if (!SWIG_IsOK(ecode3
)) {
35034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
35036 arg3
= static_cast< int >(val3
);
35038 if (! PySequence_Check(obj3
)) {
35039 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
35042 arg4
= new wxArrayString
;
35044 int i
, len
=PySequence_Length(obj3
);
35045 for (i
=0; i
<len
; i
++) {
35046 PyObject
* item
= PySequence_GetItem(obj3
, i
);
35047 wxString
* s
= wxString_in_helper(item
);
35048 if (PyErr_Occurred()) SWIG_fail
;
35055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35056 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
35057 wxPyEndAllowThreads(__tstate
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35064 if (temp4
) delete arg4
;
35069 if (temp4
) delete arg4
;
35075 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35076 PyObject
*resultobj
= 0;
35077 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35080 wxDragResult arg4
;
35081 wxDragResult result
;
35090 PyObject
* obj0
= 0 ;
35091 PyObject
* obj1
= 0 ;
35092 PyObject
* obj2
= 0 ;
35093 PyObject
* obj3
= 0 ;
35094 char * kwnames
[] = {
35095 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35100 if (!SWIG_IsOK(res1
)) {
35101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35103 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35105 if (!SWIG_IsOK(ecode2
)) {
35106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
35108 arg2
= static_cast< int >(val2
);
35109 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35110 if (!SWIG_IsOK(ecode3
)) {
35111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
35113 arg3
= static_cast< int >(val3
);
35114 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35115 if (!SWIG_IsOK(ecode4
)) {
35116 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
35118 arg4
= static_cast< wxDragResult
>(val4
);
35120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35121 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
35122 wxPyEndAllowThreads(__tstate
);
35123 if (PyErr_Occurred()) SWIG_fail
;
35125 resultobj
= SWIG_From_int(static_cast< int >(result
));
35132 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35133 PyObject
*resultobj
= 0;
35134 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35137 wxDragResult arg4
;
35138 wxDragResult result
;
35147 PyObject
* obj0
= 0 ;
35148 PyObject
* obj1
= 0 ;
35149 PyObject
* obj2
= 0 ;
35150 PyObject
* obj3
= 0 ;
35151 char * kwnames
[] = {
35152 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35157 if (!SWIG_IsOK(res1
)) {
35158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35160 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35162 if (!SWIG_IsOK(ecode2
)) {
35163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
35165 arg2
= static_cast< int >(val2
);
35166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35167 if (!SWIG_IsOK(ecode3
)) {
35168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
35170 arg3
= static_cast< int >(val3
);
35171 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35172 if (!SWIG_IsOK(ecode4
)) {
35173 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
35175 arg4
= static_cast< wxDragResult
>(val4
);
35177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35178 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
35179 wxPyEndAllowThreads(__tstate
);
35180 if (PyErr_Occurred()) SWIG_fail
;
35182 resultobj
= SWIG_From_int(static_cast< int >(result
));
35189 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35190 PyObject
*resultobj
= 0;
35191 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35194 PyObject
*swig_obj
[1] ;
35196 if (!args
) SWIG_fail
;
35197 swig_obj
[0] = args
;
35198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35199 if (!SWIG_IsOK(res1
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35202 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35206 wxPyEndAllowThreads(__tstate
);
35207 if (PyErr_Occurred()) SWIG_fail
;
35209 resultobj
= SWIG_Py_Void();
35216 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35217 PyObject
*resultobj
= 0;
35218 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35228 PyObject
* obj0
= 0 ;
35229 PyObject
* obj1
= 0 ;
35230 PyObject
* obj2
= 0 ;
35231 char * kwnames
[] = {
35232 (char *) "self",(char *) "x",(char *) "y", NULL
35235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35237 if (!SWIG_IsOK(res1
)) {
35238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35240 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35242 if (!SWIG_IsOK(ecode2
)) {
35243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35245 arg2
= static_cast< int >(val2
);
35246 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35247 if (!SWIG_IsOK(ecode3
)) {
35248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35250 arg3
= static_cast< int >(val3
);
35252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35253 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35254 wxPyEndAllowThreads(__tstate
);
35255 if (PyErr_Occurred()) SWIG_fail
;
35258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35266 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35267 PyObject
*resultobj
= 0;
35268 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35271 wxDragResult arg4
;
35272 wxDragResult result
;
35281 PyObject
* obj0
= 0 ;
35282 PyObject
* obj1
= 0 ;
35283 PyObject
* obj2
= 0 ;
35284 PyObject
* obj3
= 0 ;
35285 char * kwnames
[] = {
35286 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35291 if (!SWIG_IsOK(res1
)) {
35292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35294 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35296 if (!SWIG_IsOK(ecode2
)) {
35297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35299 arg2
= static_cast< int >(val2
);
35300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35301 if (!SWIG_IsOK(ecode3
)) {
35302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35304 arg3
= static_cast< int >(val3
);
35305 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35306 if (!SWIG_IsOK(ecode4
)) {
35307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35309 arg4
= static_cast< wxDragResult
>(val4
);
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35316 resultobj
= SWIG_From_int(static_cast< int >(result
));
35323 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35326 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35327 return SWIG_Py_Void();
35330 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35331 return SWIG_Python_InitShadowInstance(args
);
35334 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35335 PyObject
*resultobj
= 0;
35336 wxClipboard
*result
= 0 ;
35338 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35341 result
= (wxClipboard
*)new wxClipboard();
35342 wxPyEndAllowThreads(__tstate
);
35343 if (PyErr_Occurred()) SWIG_fail
;
35345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35352 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35353 PyObject
*resultobj
= 0;
35354 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35357 PyObject
*swig_obj
[1] ;
35359 if (!args
) SWIG_fail
;
35360 swig_obj
[0] = args
;
35361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35362 if (!SWIG_IsOK(res1
)) {
35363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35365 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35370 wxPyEndAllowThreads(__tstate
);
35371 if (PyErr_Occurred()) SWIG_fail
;
35373 resultobj
= SWIG_Py_Void();
35380 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35381 PyObject
*resultobj
= 0;
35382 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35386 PyObject
*swig_obj
[1] ;
35388 if (!args
) SWIG_fail
;
35389 swig_obj
[0] = args
;
35390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35391 if (!SWIG_IsOK(res1
)) {
35392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35394 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35397 result
= (bool)(arg1
)->Open();
35398 wxPyEndAllowThreads(__tstate
);
35399 if (PyErr_Occurred()) SWIG_fail
;
35402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35410 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35411 PyObject
*resultobj
= 0;
35412 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35415 PyObject
*swig_obj
[1] ;
35417 if (!args
) SWIG_fail
;
35418 swig_obj
[0] = args
;
35419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35420 if (!SWIG_IsOK(res1
)) {
35421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35423 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35427 wxPyEndAllowThreads(__tstate
);
35428 if (PyErr_Occurred()) SWIG_fail
;
35430 resultobj
= SWIG_Py_Void();
35437 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35438 PyObject
*resultobj
= 0;
35439 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35443 PyObject
*swig_obj
[1] ;
35445 if (!args
) SWIG_fail
;
35446 swig_obj
[0] = args
;
35447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35448 if (!SWIG_IsOK(res1
)) {
35449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35451 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35454 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35455 wxPyEndAllowThreads(__tstate
);
35456 if (PyErr_Occurred()) SWIG_fail
;
35459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35467 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35468 PyObject
*resultobj
= 0;
35469 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35470 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35475 PyObject
* obj0
= 0 ;
35476 PyObject
* obj1
= 0 ;
35477 char * kwnames
[] = {
35478 (char *) "self",(char *) "data", NULL
35481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35483 if (!SWIG_IsOK(res1
)) {
35484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35486 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35487 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35488 if (!SWIG_IsOK(res2
)) {
35489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35493 result
= (bool)(arg1
)->AddData(arg2
);
35494 wxPyEndAllowThreads(__tstate
);
35495 if (PyErr_Occurred()) SWIG_fail
;
35498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35506 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35507 PyObject
*resultobj
= 0;
35508 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35509 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35514 PyObject
* obj0
= 0 ;
35515 PyObject
* obj1
= 0 ;
35516 char * kwnames
[] = {
35517 (char *) "self",(char *) "data", NULL
35520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35522 if (!SWIG_IsOK(res1
)) {
35523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35525 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35526 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35527 if (!SWIG_IsOK(res2
)) {
35528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35532 result
= (bool)(arg1
)->SetData(arg2
);
35533 wxPyEndAllowThreads(__tstate
);
35534 if (PyErr_Occurred()) SWIG_fail
;
35537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35545 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35546 PyObject
*resultobj
= 0;
35547 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35548 wxDataFormat
*arg2
= 0 ;
35554 PyObject
* obj0
= 0 ;
35555 PyObject
* obj1
= 0 ;
35556 char * kwnames
[] = {
35557 (char *) "self",(char *) "format", NULL
35560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35562 if (!SWIG_IsOK(res1
)) {
35563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35565 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35566 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35567 if (!SWIG_IsOK(res2
)) {
35568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35573 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35576 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35577 wxPyEndAllowThreads(__tstate
);
35578 if (PyErr_Occurred()) SWIG_fail
;
35581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35589 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35590 PyObject
*resultobj
= 0;
35591 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35592 wxDataObject
*arg2
= 0 ;
35598 PyObject
* obj0
= 0 ;
35599 PyObject
* obj1
= 0 ;
35600 char * kwnames
[] = {
35601 (char *) "self",(char *) "data", NULL
35604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35606 if (!SWIG_IsOK(res1
)) {
35607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35609 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35611 if (!SWIG_IsOK(res2
)) {
35612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35617 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35620 result
= (bool)(arg1
)->GetData(*arg2
);
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35633 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35634 PyObject
*resultobj
= 0;
35635 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35638 PyObject
*swig_obj
[1] ;
35640 if (!args
) SWIG_fail
;
35641 swig_obj
[0] = args
;
35642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35643 if (!SWIG_IsOK(res1
)) {
35644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35646 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35650 wxPyEndAllowThreads(__tstate
);
35651 if (PyErr_Occurred()) SWIG_fail
;
35653 resultobj
= SWIG_Py_Void();
35660 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35661 PyObject
*resultobj
= 0;
35662 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35666 PyObject
*swig_obj
[1] ;
35668 if (!args
) SWIG_fail
;
35669 swig_obj
[0] = args
;
35670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35671 if (!SWIG_IsOK(res1
)) {
35672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35674 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35677 result
= (bool)(arg1
)->Flush();
35678 wxPyEndAllowThreads(__tstate
);
35679 if (PyErr_Occurred()) SWIG_fail
;
35682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35690 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35691 PyObject
*resultobj
= 0;
35692 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35693 bool arg2
= (bool) true ;
35698 PyObject
* obj0
= 0 ;
35699 PyObject
* obj1
= 0 ;
35700 char * kwnames
[] = {
35701 (char *) "self",(char *) "primary", NULL
35704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35706 if (!SWIG_IsOK(res1
)) {
35707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35709 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35711 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35712 if (!SWIG_IsOK(ecode2
)) {
35713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35715 arg2
= static_cast< bool >(val2
);
35718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35719 (arg1
)->UsePrimarySelection(arg2
);
35720 wxPyEndAllowThreads(__tstate
);
35721 if (PyErr_Occurred()) SWIG_fail
;
35723 resultobj
= SWIG_Py_Void();
35730 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35731 PyObject
*resultobj
= 0;
35732 wxClipboard
*result
= 0 ;
35734 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= (wxClipboard
*)wxClipboard::Get();
35738 wxPyEndAllowThreads(__tstate
);
35739 if (PyErr_Occurred()) SWIG_fail
;
35741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35748 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35751 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35752 return SWIG_Py_Void();
35755 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35756 return SWIG_Python_InitShadowInstance(args
);
35759 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35760 PyObject
*resultobj
= 0;
35761 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35762 wxClipboardLocker
*result
= 0 ;
35765 PyObject
* obj0
= 0 ;
35766 char * kwnames
[] = {
35767 (char *) "clipboard", NULL
35770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35773 if (!SWIG_IsOK(res1
)) {
35774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35776 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35780 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35781 wxPyEndAllowThreads(__tstate
);
35782 if (PyErr_Occurred()) SWIG_fail
;
35784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35791 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35792 PyObject
*resultobj
= 0;
35793 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35796 PyObject
*swig_obj
[1] ;
35798 if (!args
) SWIG_fail
;
35799 swig_obj
[0] = args
;
35800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35801 if (!SWIG_IsOK(res1
)) {
35802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35804 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35809 wxPyEndAllowThreads(__tstate
);
35810 if (PyErr_Occurred()) SWIG_fail
;
35812 resultobj
= SWIG_Py_Void();
35819 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35820 PyObject
*resultobj
= 0;
35821 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35825 PyObject
*swig_obj
[1] ;
35827 if (!args
) SWIG_fail
;
35828 swig_obj
[0] = args
;
35829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35830 if (!SWIG_IsOK(res1
)) {
35831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35833 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35836 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35837 wxPyEndAllowThreads(__tstate
);
35838 if (PyErr_Occurred()) SWIG_fail
;
35841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35849 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35852 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35853 return SWIG_Py_Void();
35856 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35857 return SWIG_Python_InitShadowInstance(args
);
35860 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35861 PyObject
*resultobj
= 0;
35862 int arg1
= (int) 0 ;
35863 int arg2
= (int) 0 ;
35864 int arg3
= (int) 0 ;
35865 int arg4
= (int) 0 ;
35866 wxVideoMode
*result
= 0 ;
35875 PyObject
* obj0
= 0 ;
35876 PyObject
* obj1
= 0 ;
35877 PyObject
* obj2
= 0 ;
35878 PyObject
* obj3
= 0 ;
35879 char * kwnames
[] = {
35880 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35885 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35886 if (!SWIG_IsOK(ecode1
)) {
35887 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35889 arg1
= static_cast< int >(val1
);
35892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35893 if (!SWIG_IsOK(ecode2
)) {
35894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35896 arg2
= static_cast< int >(val2
);
35899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35900 if (!SWIG_IsOK(ecode3
)) {
35901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35903 arg3
= static_cast< int >(val3
);
35906 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35907 if (!SWIG_IsOK(ecode4
)) {
35908 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35910 arg4
= static_cast< int >(val4
);
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35915 wxPyEndAllowThreads(__tstate
);
35916 if (PyErr_Occurred()) SWIG_fail
;
35918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35925 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35926 PyObject
*resultobj
= 0;
35927 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35930 PyObject
*swig_obj
[1] ;
35932 if (!args
) SWIG_fail
;
35933 swig_obj
[0] = args
;
35934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35935 if (!SWIG_IsOK(res1
)) {
35936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35938 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35943 wxPyEndAllowThreads(__tstate
);
35944 if (PyErr_Occurred()) SWIG_fail
;
35946 resultobj
= SWIG_Py_Void();
35953 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35954 PyObject
*resultobj
= 0;
35955 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35956 wxVideoMode
*arg2
= 0 ;
35962 PyObject
* obj0
= 0 ;
35963 PyObject
* obj1
= 0 ;
35964 char * kwnames
[] = {
35965 (char *) "self",(char *) "other", NULL
35968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35970 if (!SWIG_IsOK(res1
)) {
35971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35973 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35974 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35975 if (!SWIG_IsOK(res2
)) {
35976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35981 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35984 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35985 wxPyEndAllowThreads(__tstate
);
35986 if (PyErr_Occurred()) SWIG_fail
;
35989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35997 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35998 PyObject
*resultobj
= 0;
35999 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36003 PyObject
*swig_obj
[1] ;
36005 if (!args
) SWIG_fail
;
36006 swig_obj
[0] = args
;
36007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36008 if (!SWIG_IsOK(res1
)) {
36009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36011 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36014 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
36015 wxPyEndAllowThreads(__tstate
);
36016 if (PyErr_Occurred()) SWIG_fail
;
36018 resultobj
= SWIG_From_int(static_cast< int >(result
));
36025 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36026 PyObject
*resultobj
= 0;
36027 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36031 PyObject
*swig_obj
[1] ;
36033 if (!args
) SWIG_fail
;
36034 swig_obj
[0] = args
;
36035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36036 if (!SWIG_IsOK(res1
)) {
36037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36039 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36042 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
36043 wxPyEndAllowThreads(__tstate
);
36044 if (PyErr_Occurred()) SWIG_fail
;
36046 resultobj
= SWIG_From_int(static_cast< int >(result
));
36053 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36054 PyObject
*resultobj
= 0;
36055 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36059 PyObject
*swig_obj
[1] ;
36061 if (!args
) SWIG_fail
;
36062 swig_obj
[0] = args
;
36063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36064 if (!SWIG_IsOK(res1
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36067 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36070 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
36071 wxPyEndAllowThreads(__tstate
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 resultobj
= SWIG_From_int(static_cast< int >(result
));
36081 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36082 PyObject
*resultobj
= 0;
36083 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36087 PyObject
*swig_obj
[1] ;
36089 if (!args
) SWIG_fail
;
36090 swig_obj
[0] = args
;
36091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36092 if (!SWIG_IsOK(res1
)) {
36093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36095 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36098 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
36099 wxPyEndAllowThreads(__tstate
);
36100 if (PyErr_Occurred()) SWIG_fail
;
36103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36111 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
= 0;
36113 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36114 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36120 PyObject
* obj0
= 0 ;
36121 PyObject
* obj1
= 0 ;
36122 char * kwnames
[] = {
36123 (char *) "self",(char *) "other", NULL
36126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36128 if (!SWIG_IsOK(res1
)) {
36129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36131 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36133 if (!SWIG_IsOK(res2
)) {
36134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36136 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36139 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
36140 wxPyEndAllowThreads(__tstate
);
36141 if (PyErr_Occurred()) SWIG_fail
;
36144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36152 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36153 PyObject
*resultobj
= 0;
36154 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36155 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36161 PyObject
* obj0
= 0 ;
36162 PyObject
* obj1
= 0 ;
36163 char * kwnames
[] = {
36164 (char *) "self",(char *) "other", NULL
36167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36169 if (!SWIG_IsOK(res1
)) {
36170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36172 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36173 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36174 if (!SWIG_IsOK(res2
)) {
36175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36177 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36180 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
36181 wxPyEndAllowThreads(__tstate
);
36182 if (PyErr_Occurred()) SWIG_fail
;
36185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36193 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36194 PyObject
*resultobj
= 0;
36195 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36201 PyObject
*swig_obj
[2] ;
36203 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
36204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36205 if (!SWIG_IsOK(res1
)) {
36206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36208 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36209 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36210 if (!SWIG_IsOK(ecode2
)) {
36211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
36213 arg2
= static_cast< int >(val2
);
36214 if (arg1
) (arg1
)->w
= arg2
;
36216 resultobj
= SWIG_Py_Void();
36223 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36224 PyObject
*resultobj
= 0;
36225 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36229 PyObject
*swig_obj
[1] ;
36231 if (!args
) SWIG_fail
;
36232 swig_obj
[0] = args
;
36233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36234 if (!SWIG_IsOK(res1
)) {
36235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36237 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36238 result
= (int) ((arg1
)->w
);
36239 resultobj
= SWIG_From_int(static_cast< int >(result
));
36246 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36247 PyObject
*resultobj
= 0;
36248 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36254 PyObject
*swig_obj
[2] ;
36256 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36258 if (!SWIG_IsOK(res1
)) {
36259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36261 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36262 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36263 if (!SWIG_IsOK(ecode2
)) {
36264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36266 arg2
= static_cast< int >(val2
);
36267 if (arg1
) (arg1
)->h
= arg2
;
36269 resultobj
= SWIG_Py_Void();
36276 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36277 PyObject
*resultobj
= 0;
36278 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36282 PyObject
*swig_obj
[1] ;
36284 if (!args
) SWIG_fail
;
36285 swig_obj
[0] = args
;
36286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36287 if (!SWIG_IsOK(res1
)) {
36288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36290 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36291 result
= (int) ((arg1
)->h
);
36292 resultobj
= SWIG_From_int(static_cast< int >(result
));
36299 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36300 PyObject
*resultobj
= 0;
36301 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36307 PyObject
*swig_obj
[2] ;
36309 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36311 if (!SWIG_IsOK(res1
)) {
36312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36314 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36315 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36316 if (!SWIG_IsOK(ecode2
)) {
36317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36319 arg2
= static_cast< int >(val2
);
36320 if (arg1
) (arg1
)->bpp
= arg2
;
36322 resultobj
= SWIG_Py_Void();
36329 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36330 PyObject
*resultobj
= 0;
36331 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36335 PyObject
*swig_obj
[1] ;
36337 if (!args
) SWIG_fail
;
36338 swig_obj
[0] = args
;
36339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36340 if (!SWIG_IsOK(res1
)) {
36341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36343 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36344 result
= (int) ((arg1
)->bpp
);
36345 resultobj
= SWIG_From_int(static_cast< int >(result
));
36352 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36353 PyObject
*resultobj
= 0;
36354 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36360 PyObject
*swig_obj
[2] ;
36362 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36364 if (!SWIG_IsOK(res1
)) {
36365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36367 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36368 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36369 if (!SWIG_IsOK(ecode2
)) {
36370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36372 arg2
= static_cast< int >(val2
);
36373 if (arg1
) (arg1
)->refresh
= arg2
;
36375 resultobj
= SWIG_Py_Void();
36382 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36383 PyObject
*resultobj
= 0;
36384 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36388 PyObject
*swig_obj
[1] ;
36390 if (!args
) SWIG_fail
;
36391 swig_obj
[0] = args
;
36392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36393 if (!SWIG_IsOK(res1
)) {
36394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36396 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36397 result
= (int) ((arg1
)->refresh
);
36398 resultobj
= SWIG_From_int(static_cast< int >(result
));
36405 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36408 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36409 return SWIG_Py_Void();
36412 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36413 return SWIG_Python_InitShadowInstance(args
);
36416 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36417 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36422 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36423 PyObject
*pyobj
= 0;
36425 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36430 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36431 PyObject
*resultobj
= 0;
36432 unsigned int arg1
= (unsigned int) 0 ;
36433 wxDisplay
*result
= 0 ;
36434 unsigned int val1
;
36436 PyObject
* obj0
= 0 ;
36437 char * kwnames
[] = {
36438 (char *) "index", NULL
36441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36443 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
36444 if (!SWIG_IsOK(ecode1
)) {
36445 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "unsigned int""'");
36447 arg1
= static_cast< unsigned int >(val1
);
36450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36451 result
= (wxDisplay
*)new wxDisplay(arg1
);
36452 wxPyEndAllowThreads(__tstate
);
36453 if (PyErr_Occurred()) SWIG_fail
;
36455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36462 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36463 PyObject
*resultobj
= 0;
36464 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36467 PyObject
*swig_obj
[1] ;
36469 if (!args
) SWIG_fail
;
36470 swig_obj
[0] = args
;
36471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36472 if (!SWIG_IsOK(res1
)) {
36473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36475 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36480 wxPyEndAllowThreads(__tstate
);
36481 if (PyErr_Occurred()) SWIG_fail
;
36483 resultobj
= SWIG_Py_Void();
36490 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36491 PyObject
*resultobj
= 0;
36492 unsigned int result
;
36494 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36497 result
= (unsigned int)wxDisplay::GetCount();
36498 wxPyEndAllowThreads(__tstate
);
36499 if (PyErr_Occurred()) SWIG_fail
;
36501 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
36508 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36509 PyObject
*resultobj
= 0;
36510 wxPoint
*arg1
= 0 ;
36513 PyObject
* obj0
= 0 ;
36514 char * kwnames
[] = {
36515 (char *) "pt", NULL
36518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36521 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36525 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36526 wxPyEndAllowThreads(__tstate
);
36527 if (PyErr_Occurred()) SWIG_fail
;
36529 resultobj
= SWIG_From_int(static_cast< int >(result
));
36536 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36537 PyObject
*resultobj
= 0;
36538 wxWindow
*arg1
= (wxWindow
*) 0 ;
36542 PyObject
* obj0
= 0 ;
36543 char * kwnames
[] = {
36544 (char *) "window", NULL
36547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36549 if (!SWIG_IsOK(res1
)) {
36550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36555 result
= (int)wxDisplay::GetFromWindow(arg1
);
36556 wxPyEndAllowThreads(__tstate
);
36557 if (PyErr_Occurred()) SWIG_fail
;
36559 resultobj
= SWIG_From_int(static_cast< int >(result
));
36566 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36567 PyObject
*resultobj
= 0;
36568 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36572 PyObject
*swig_obj
[1] ;
36574 if (!args
) SWIG_fail
;
36575 swig_obj
[0] = args
;
36576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36577 if (!SWIG_IsOK(res1
)) {
36578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36580 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36583 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36584 wxPyEndAllowThreads(__tstate
);
36585 if (PyErr_Occurred()) SWIG_fail
;
36588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36596 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36597 PyObject
*resultobj
= 0;
36598 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36602 PyObject
*swig_obj
[1] ;
36604 if (!args
) SWIG_fail
;
36605 swig_obj
[0] = args
;
36606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36607 if (!SWIG_IsOK(res1
)) {
36608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36610 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36613 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36614 wxPyEndAllowThreads(__tstate
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36624 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36625 PyObject
*resultobj
= 0;
36626 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36630 PyObject
*swig_obj
[1] ;
36632 if (!args
) SWIG_fail
;
36633 swig_obj
[0] = args
;
36634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36635 if (!SWIG_IsOK(res1
)) {
36636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36638 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36641 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36642 wxPyEndAllowThreads(__tstate
);
36643 if (PyErr_Occurred()) SWIG_fail
;
36645 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36652 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36653 PyObject
*resultobj
= 0;
36654 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36658 PyObject
*swig_obj
[1] ;
36660 if (!args
) SWIG_fail
;
36661 swig_obj
[0] = args
;
36662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36663 if (!SWIG_IsOK(res1
)) {
36664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36666 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36669 result
= ((wxDisplay
const *)arg1
)->GetName();
36670 wxPyEndAllowThreads(__tstate
);
36671 if (PyErr_Occurred()) SWIG_fail
;
36675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36686 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36687 PyObject
*resultobj
= 0;
36688 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36692 PyObject
*swig_obj
[1] ;
36694 if (!args
) SWIG_fail
;
36695 swig_obj
[0] = args
;
36696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36697 if (!SWIG_IsOK(res1
)) {
36698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36700 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36703 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36704 wxPyEndAllowThreads(__tstate
);
36705 if (PyErr_Occurred()) SWIG_fail
;
36708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36716 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36717 PyObject
*resultobj
= 0;
36718 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36719 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36720 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36721 PyObject
*result
= 0 ;
36726 PyObject
* obj0
= 0 ;
36727 PyObject
* obj1
= 0 ;
36728 char * kwnames
[] = {
36729 (char *) "self",(char *) "mode", NULL
36732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36734 if (!SWIG_IsOK(res1
)) {
36735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36737 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36740 if (!SWIG_IsOK(res2
)) {
36741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36746 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36750 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36751 wxPyEndAllowThreads(__tstate
);
36752 if (PyErr_Occurred()) SWIG_fail
;
36754 resultobj
= result
;
36761 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36762 PyObject
*resultobj
= 0;
36763 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36764 wxVideoMode result
;
36767 PyObject
*swig_obj
[1] ;
36769 if (!args
) SWIG_fail
;
36770 swig_obj
[0] = args
;
36771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36772 if (!SWIG_IsOK(res1
)) {
36773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36775 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36778 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36779 wxPyEndAllowThreads(__tstate
);
36780 if (PyErr_Occurred()) SWIG_fail
;
36782 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36789 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36790 PyObject
*resultobj
= 0;
36791 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36792 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36793 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36799 PyObject
* obj0
= 0 ;
36800 PyObject
* obj1
= 0 ;
36801 char * kwnames
[] = {
36802 (char *) "self",(char *) "mode", NULL
36805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36807 if (!SWIG_IsOK(res1
)) {
36808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36810 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36812 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36813 if (!SWIG_IsOK(res2
)) {
36814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36819 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36823 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36824 wxPyEndAllowThreads(__tstate
);
36825 if (PyErr_Occurred()) SWIG_fail
;
36828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36836 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36837 PyObject
*resultobj
= 0;
36838 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36841 PyObject
*swig_obj
[1] ;
36843 if (!args
) SWIG_fail
;
36844 swig_obj
[0] = args
;
36845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36846 if (!SWIG_IsOK(res1
)) {
36847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36849 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36852 wxDisplay_ResetMode(arg1
);
36853 wxPyEndAllowThreads(__tstate
);
36854 if (PyErr_Occurred()) SWIG_fail
;
36856 resultobj
= SWIG_Py_Void();
36863 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36866 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36867 return SWIG_Py_Void();
36870 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36871 return SWIG_Python_InitShadowInstance(args
);
36874 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36875 PyObject
*resultobj
= 0;
36876 wxStandardPaths
*result
= 0 ;
36878 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36881 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36882 wxPyEndAllowThreads(__tstate
);
36883 if (PyErr_Occurred()) SWIG_fail
;
36885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36892 SWIGINTERN PyObject
*_wrap_StandardPaths_GetExecutablePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36893 PyObject
*resultobj
= 0;
36894 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36898 PyObject
*swig_obj
[1] ;
36900 if (!args
) SWIG_fail
;
36901 swig_obj
[0] = args
;
36902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36903 if (!SWIG_IsOK(res1
)) {
36904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetExecutablePath" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36906 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36909 result
= ((wxStandardPaths
const *)arg1
)->GetExecutablePath();
36910 wxPyEndAllowThreads(__tstate
);
36911 if (PyErr_Occurred()) SWIG_fail
;
36915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36926 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36927 PyObject
*resultobj
= 0;
36928 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36932 PyObject
*swig_obj
[1] ;
36934 if (!args
) SWIG_fail
;
36935 swig_obj
[0] = args
;
36936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36937 if (!SWIG_IsOK(res1
)) {
36938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36940 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36943 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36944 wxPyEndAllowThreads(__tstate
);
36945 if (PyErr_Occurred()) SWIG_fail
;
36949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36960 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36961 PyObject
*resultobj
= 0;
36962 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36966 PyObject
*swig_obj
[1] ;
36968 if (!args
) SWIG_fail
;
36969 swig_obj
[0] = args
;
36970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36971 if (!SWIG_IsOK(res1
)) {
36972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36974 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36977 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36978 wxPyEndAllowThreads(__tstate
);
36979 if (PyErr_Occurred()) SWIG_fail
;
36983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36994 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36995 PyObject
*resultobj
= 0;
36996 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37000 PyObject
*swig_obj
[1] ;
37002 if (!args
) SWIG_fail
;
37003 swig_obj
[0] = args
;
37004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37005 if (!SWIG_IsOK(res1
)) {
37006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37008 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37011 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
37012 wxPyEndAllowThreads(__tstate
);
37013 if (PyErr_Occurred()) SWIG_fail
;
37017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37028 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37029 PyObject
*resultobj
= 0;
37030 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37034 PyObject
*swig_obj
[1] ;
37036 if (!args
) SWIG_fail
;
37037 swig_obj
[0] = args
;
37038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37039 if (!SWIG_IsOK(res1
)) {
37040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37042 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37045 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
37046 wxPyEndAllowThreads(__tstate
);
37047 if (PyErr_Occurred()) SWIG_fail
;
37051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37062 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37063 PyObject
*resultobj
= 0;
37064 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37068 PyObject
*swig_obj
[1] ;
37070 if (!args
) SWIG_fail
;
37071 swig_obj
[0] = args
;
37072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37073 if (!SWIG_IsOK(res1
)) {
37074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37076 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37079 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
37080 wxPyEndAllowThreads(__tstate
);
37081 if (PyErr_Occurred()) SWIG_fail
;
37085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37096 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37097 PyObject
*resultobj
= 0;
37098 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37102 PyObject
*swig_obj
[1] ;
37104 if (!args
) SWIG_fail
;
37105 swig_obj
[0] = args
;
37106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37107 if (!SWIG_IsOK(res1
)) {
37108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37110 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37113 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
37114 wxPyEndAllowThreads(__tstate
);
37115 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37130 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37131 PyObject
*resultobj
= 0;
37132 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37136 PyObject
*swig_obj
[1] ;
37138 if (!args
) SWIG_fail
;
37139 swig_obj
[0] = args
;
37140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37141 if (!SWIG_IsOK(res1
)) {
37142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37144 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37147 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
37148 wxPyEndAllowThreads(__tstate
);
37149 if (PyErr_Occurred()) SWIG_fail
;
37153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37164 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37165 PyObject
*resultobj
= 0;
37166 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37170 PyObject
*swig_obj
[1] ;
37172 if (!args
) SWIG_fail
;
37173 swig_obj
[0] = args
;
37174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37175 if (!SWIG_IsOK(res1
)) {
37176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37178 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37181 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
37182 wxPyEndAllowThreads(__tstate
);
37183 if (PyErr_Occurred()) SWIG_fail
;
37187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37198 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37199 PyObject
*resultobj
= 0;
37200 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37201 wxString
*arg2
= 0 ;
37202 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
37206 bool temp2
= false ;
37209 PyObject
* obj0
= 0 ;
37210 PyObject
* obj1
= 0 ;
37211 PyObject
* obj2
= 0 ;
37212 char * kwnames
[] = {
37213 (char *) "self",(char *) "lang",(char *) "category", NULL
37216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37218 if (!SWIG_IsOK(res1
)) {
37219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37221 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37223 arg2
= wxString_in_helper(obj1
);
37224 if (arg2
== NULL
) SWIG_fail
;
37228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37229 if (!SWIG_IsOK(ecode3
)) {
37230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
37232 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
37235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37236 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
37237 wxPyEndAllowThreads(__tstate
);
37238 if (PyErr_Occurred()) SWIG_fail
;
37242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37261 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37262 PyObject
*resultobj
= 0;
37263 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37267 PyObject
*swig_obj
[1] ;
37269 if (!args
) SWIG_fail
;
37270 swig_obj
[0] = args
;
37271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37272 if (!SWIG_IsOK(res1
)) {
37273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37275 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37278 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37279 wxPyEndAllowThreads(__tstate
);
37280 if (PyErr_Occurred()) SWIG_fail
;
37284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37295 SWIGINTERN PyObject
*_wrap_StandardPaths_GetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37296 PyObject
*resultobj
= 0;
37297 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37301 PyObject
*swig_obj
[1] ;
37303 if (!args
) SWIG_fail
;
37304 swig_obj
[0] = args
;
37305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37306 if (!SWIG_IsOK(res1
)) {
37307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetTempDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37309 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37312 result
= ((wxStandardPaths
const *)arg1
)->GetTempDir();
37313 wxPyEndAllowThreads(__tstate
);
37314 if (PyErr_Occurred()) SWIG_fail
;
37318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37329 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37330 PyObject
*resultobj
= 0;
37331 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37332 wxString
*arg2
= 0 ;
37335 bool temp2
= false ;
37336 PyObject
* obj0
= 0 ;
37337 PyObject
* obj1
= 0 ;
37338 char * kwnames
[] = {
37339 (char *) "self",(char *) "prefix", NULL
37342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37344 if (!SWIG_IsOK(res1
)) {
37345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37347 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37349 arg2
= wxString_in_helper(obj1
);
37350 if (arg2
== NULL
) SWIG_fail
;
37354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37355 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
37356 wxPyEndAllowThreads(__tstate
);
37357 if (PyErr_Occurred()) SWIG_fail
;
37359 resultobj
= SWIG_Py_Void();
37374 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37375 PyObject
*resultobj
= 0;
37376 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37380 PyObject
*swig_obj
[1] ;
37382 if (!args
) SWIG_fail
;
37383 swig_obj
[0] = args
;
37384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37385 if (!SWIG_IsOK(res1
)) {
37386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37388 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37391 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
37392 wxPyEndAllowThreads(__tstate
);
37393 if (PyErr_Occurred()) SWIG_fail
;
37397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37408 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37411 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37412 return SWIG_Py_Void();
37415 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37416 PyObject
*resultobj
= 0;
37418 wxPowerEvent
*result
= 0 ;
37421 PyObject
* obj0
= 0 ;
37422 char * kwnames
[] = {
37423 (char *) "evtType", NULL
37426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37428 if (!SWIG_IsOK(ecode1
)) {
37429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37431 arg1
= static_cast< wxEventType
>(val1
);
37433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37434 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37435 wxPyEndAllowThreads(__tstate
);
37436 if (PyErr_Occurred()) SWIG_fail
;
37438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37445 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37446 PyObject
*resultobj
= 0;
37447 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37450 PyObject
*swig_obj
[1] ;
37452 if (!args
) SWIG_fail
;
37453 swig_obj
[0] = args
;
37454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37455 if (!SWIG_IsOK(res1
)) {
37456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37458 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37462 wxPyEndAllowThreads(__tstate
);
37463 if (PyErr_Occurred()) SWIG_fail
;
37465 resultobj
= SWIG_Py_Void();
37472 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37473 PyObject
*resultobj
= 0;
37474 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37478 PyObject
*swig_obj
[1] ;
37480 if (!args
) SWIG_fail
;
37481 swig_obj
[0] = args
;
37482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37483 if (!SWIG_IsOK(res1
)) {
37484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37486 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37489 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37490 wxPyEndAllowThreads(__tstate
);
37491 if (PyErr_Occurred()) SWIG_fail
;
37494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37502 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37505 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37506 return SWIG_Py_Void();
37509 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37510 return SWIG_Python_InitShadowInstance(args
);
37513 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37514 PyObject
*resultobj
= 0;
37515 wxPowerType result
;
37517 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37520 result
= (wxPowerType
)wxGetPowerType();
37521 wxPyEndAllowThreads(__tstate
);
37522 if (PyErr_Occurred()) SWIG_fail
;
37524 resultobj
= SWIG_From_int(static_cast< int >(result
));
37531 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37532 PyObject
*resultobj
= 0;
37533 wxBatteryState result
;
37535 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37538 result
= (wxBatteryState
)wxGetBatteryState();
37539 wxPyEndAllowThreads(__tstate
);
37540 if (PyErr_Occurred()) SWIG_fail
;
37542 resultobj
= SWIG_From_int(static_cast< int >(result
));
37549 SWIGINTERN PyObject
*_wrap_new_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37550 PyObject
*resultobj
= 0;
37551 wxAboutDialogInfo
*result
= 0 ;
37553 if (!SWIG_Python_UnpackTuple(args
,"new_AboutDialogInfo",0,0,0)) SWIG_fail
;
37555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37556 result
= (wxAboutDialogInfo
*)new wxAboutDialogInfo();
37557 wxPyEndAllowThreads(__tstate
);
37558 if (PyErr_Occurred()) SWIG_fail
;
37560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_NEW
| 0 );
37567 SWIGINTERN PyObject
*_wrap_delete_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37568 PyObject
*resultobj
= 0;
37569 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37572 PyObject
*swig_obj
[1] ;
37574 if (!args
) SWIG_fail
;
37575 swig_obj
[0] = args
;
37576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_DISOWN
| 0 );
37577 if (!SWIG_IsOK(res1
)) {
37578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AboutDialogInfo" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37580 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37585 wxPyEndAllowThreads(__tstate
);
37586 if (PyErr_Occurred()) SWIG_fail
;
37588 resultobj
= SWIG_Py_Void();
37595 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37596 PyObject
*resultobj
= 0;
37597 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37598 wxString
*arg2
= 0 ;
37601 bool temp2
= false ;
37602 PyObject
* obj0
= 0 ;
37603 PyObject
* obj1
= 0 ;
37604 char * kwnames
[] = {
37605 (char *) "self",(char *) "name", NULL
37608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37610 if (!SWIG_IsOK(res1
)) {
37611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37613 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37615 arg2
= wxString_in_helper(obj1
);
37616 if (arg2
== NULL
) SWIG_fail
;
37620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37621 (arg1
)->SetName((wxString
const &)*arg2
);
37622 wxPyEndAllowThreads(__tstate
);
37623 if (PyErr_Occurred()) SWIG_fail
;
37625 resultobj
= SWIG_Py_Void();
37640 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37641 PyObject
*resultobj
= 0;
37642 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37646 PyObject
*swig_obj
[1] ;
37648 if (!args
) SWIG_fail
;
37649 swig_obj
[0] = args
;
37650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37651 if (!SWIG_IsOK(res1
)) {
37652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37654 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37657 result
= ((wxAboutDialogInfo
const *)arg1
)->GetName();
37658 wxPyEndAllowThreads(__tstate
);
37659 if (PyErr_Occurred()) SWIG_fail
;
37663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37674 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37675 PyObject
*resultobj
= 0;
37676 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37677 wxString
*arg2
= 0 ;
37680 bool temp2
= false ;
37681 PyObject
* obj0
= 0 ;
37682 PyObject
* obj1
= 0 ;
37683 char * kwnames
[] = {
37684 (char *) "self",(char *) "version", NULL
37687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37689 if (!SWIG_IsOK(res1
)) {
37690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37692 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37694 arg2
= wxString_in_helper(obj1
);
37695 if (arg2
== NULL
) SWIG_fail
;
37699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37700 (arg1
)->SetVersion((wxString
const &)*arg2
);
37701 wxPyEndAllowThreads(__tstate
);
37702 if (PyErr_Occurred()) SWIG_fail
;
37704 resultobj
= SWIG_Py_Void();
37719 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37720 PyObject
*resultobj
= 0;
37721 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37725 PyObject
*swig_obj
[1] ;
37727 if (!args
) SWIG_fail
;
37728 swig_obj
[0] = args
;
37729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37730 if (!SWIG_IsOK(res1
)) {
37731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37733 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37736 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasVersion();
37737 wxPyEndAllowThreads(__tstate
);
37738 if (PyErr_Occurred()) SWIG_fail
;
37741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37749 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37750 PyObject
*resultobj
= 0;
37751 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37755 PyObject
*swig_obj
[1] ;
37757 if (!args
) SWIG_fail
;
37758 swig_obj
[0] = args
;
37759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37760 if (!SWIG_IsOK(res1
)) {
37761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37763 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37766 result
= ((wxAboutDialogInfo
const *)arg1
)->GetVersion();
37767 wxPyEndAllowThreads(__tstate
);
37768 if (PyErr_Occurred()) SWIG_fail
;
37772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37783 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37784 PyObject
*resultobj
= 0;
37785 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37786 wxString
*arg2
= 0 ;
37789 bool temp2
= false ;
37790 PyObject
* obj0
= 0 ;
37791 PyObject
* obj1
= 0 ;
37792 char * kwnames
[] = {
37793 (char *) "self",(char *) "desc", NULL
37796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDescription",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37798 if (!SWIG_IsOK(res1
)) {
37799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37801 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37803 arg2
= wxString_in_helper(obj1
);
37804 if (arg2
== NULL
) SWIG_fail
;
37808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37809 (arg1
)->SetDescription((wxString
const &)*arg2
);
37810 wxPyEndAllowThreads(__tstate
);
37811 if (PyErr_Occurred()) SWIG_fail
;
37813 resultobj
= SWIG_Py_Void();
37828 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37829 PyObject
*resultobj
= 0;
37830 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37834 PyObject
*swig_obj
[1] ;
37836 if (!args
) SWIG_fail
;
37837 swig_obj
[0] = args
;
37838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37839 if (!SWIG_IsOK(res1
)) {
37840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37842 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37845 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDescription();
37846 wxPyEndAllowThreads(__tstate
);
37847 if (PyErr_Occurred()) SWIG_fail
;
37850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37858 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37859 PyObject
*resultobj
= 0;
37860 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37864 PyObject
*swig_obj
[1] ;
37866 if (!args
) SWIG_fail
;
37867 swig_obj
[0] = args
;
37868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37869 if (!SWIG_IsOK(res1
)) {
37870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37872 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37875 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescription();
37876 wxPyEndAllowThreads(__tstate
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37892 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37893 PyObject
*resultobj
= 0;
37894 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37895 wxString
*arg2
= 0 ;
37898 bool temp2
= false ;
37899 PyObject
* obj0
= 0 ;
37900 PyObject
* obj1
= 0 ;
37901 char * kwnames
[] = {
37902 (char *) "self",(char *) "copyright", NULL
37905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetCopyright",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37907 if (!SWIG_IsOK(res1
)) {
37908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37910 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37912 arg2
= wxString_in_helper(obj1
);
37913 if (arg2
== NULL
) SWIG_fail
;
37917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37918 (arg1
)->SetCopyright((wxString
const &)*arg2
);
37919 wxPyEndAllowThreads(__tstate
);
37920 if (PyErr_Occurred()) SWIG_fail
;
37922 resultobj
= SWIG_Py_Void();
37937 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37938 PyObject
*resultobj
= 0;
37939 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37943 PyObject
*swig_obj
[1] ;
37945 if (!args
) SWIG_fail
;
37946 swig_obj
[0] = args
;
37947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37948 if (!SWIG_IsOK(res1
)) {
37949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37951 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37954 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasCopyright();
37955 wxPyEndAllowThreads(__tstate
);
37956 if (PyErr_Occurred()) SWIG_fail
;
37959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37967 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37968 PyObject
*resultobj
= 0;
37969 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37973 PyObject
*swig_obj
[1] ;
37975 if (!args
) SWIG_fail
;
37976 swig_obj
[0] = args
;
37977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37978 if (!SWIG_IsOK(res1
)) {
37979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37981 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37984 result
= ((wxAboutDialogInfo
const *)arg1
)->GetCopyright();
37985 wxPyEndAllowThreads(__tstate
);
37986 if (PyErr_Occurred()) SWIG_fail
;
37990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38001 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38002 PyObject
*resultobj
= 0;
38003 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38004 wxString
*arg2
= 0 ;
38007 bool temp2
= false ;
38008 PyObject
* obj0
= 0 ;
38009 PyObject
* obj1
= 0 ;
38010 char * kwnames
[] = {
38011 (char *) "self",(char *) "licence", NULL
38014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicence",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38016 if (!SWIG_IsOK(res1
)) {
38017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38019 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38021 arg2
= wxString_in_helper(obj1
);
38022 if (arg2
== NULL
) SWIG_fail
;
38026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38027 (arg1
)->SetLicence((wxString
const &)*arg2
);
38028 wxPyEndAllowThreads(__tstate
);
38029 if (PyErr_Occurred()) SWIG_fail
;
38031 resultobj
= SWIG_Py_Void();
38046 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicense(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38047 PyObject
*resultobj
= 0;
38048 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38049 wxString
*arg2
= 0 ;
38052 bool temp2
= false ;
38053 PyObject
* obj0
= 0 ;
38054 PyObject
* obj1
= 0 ;
38055 char * kwnames
[] = {
38056 (char *) "self",(char *) "licence", NULL
38059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicense",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38061 if (!SWIG_IsOK(res1
)) {
38062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicense" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38064 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38066 arg2
= wxString_in_helper(obj1
);
38067 if (arg2
== NULL
) SWIG_fail
;
38071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38072 (arg1
)->SetLicense((wxString
const &)*arg2
);
38073 wxPyEndAllowThreads(__tstate
);
38074 if (PyErr_Occurred()) SWIG_fail
;
38076 resultobj
= SWIG_Py_Void();
38091 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38092 PyObject
*resultobj
= 0;
38093 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38097 PyObject
*swig_obj
[1] ;
38099 if (!args
) SWIG_fail
;
38100 swig_obj
[0] = args
;
38101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38102 if (!SWIG_IsOK(res1
)) {
38103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38105 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38108 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasLicence();
38109 wxPyEndAllowThreads(__tstate
);
38110 if (PyErr_Occurred()) SWIG_fail
;
38113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38121 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38122 PyObject
*resultobj
= 0;
38123 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38127 PyObject
*swig_obj
[1] ;
38129 if (!args
) SWIG_fail
;
38130 swig_obj
[0] = args
;
38131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38132 if (!SWIG_IsOK(res1
)) {
38133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38135 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38138 result
= ((wxAboutDialogInfo
const *)arg1
)->GetLicence();
38139 wxPyEndAllowThreads(__tstate
);
38140 if (PyErr_Occurred()) SWIG_fail
;
38144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38155 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38156 PyObject
*resultobj
= 0;
38157 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38163 PyObject
* obj0
= 0 ;
38164 PyObject
* obj1
= 0 ;
38165 char * kwnames
[] = {
38166 (char *) "self",(char *) "icon", NULL
38169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38171 if (!SWIG_IsOK(res1
)) {
38172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38174 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38176 if (!SWIG_IsOK(res2
)) {
38177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38182 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38185 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
38186 wxPyEndAllowThreads(__tstate
);
38187 if (PyErr_Occurred()) SWIG_fail
;
38189 resultobj
= SWIG_Py_Void();
38196 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38197 PyObject
*resultobj
= 0;
38198 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38202 PyObject
*swig_obj
[1] ;
38204 if (!args
) SWIG_fail
;
38205 swig_obj
[0] = args
;
38206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38207 if (!SWIG_IsOK(res1
)) {
38208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38210 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38213 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasIcon();
38214 wxPyEndAllowThreads(__tstate
);
38215 if (PyErr_Occurred()) SWIG_fail
;
38218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38226 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38227 PyObject
*resultobj
= 0;
38228 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38232 PyObject
*swig_obj
[1] ;
38234 if (!args
) SWIG_fail
;
38235 swig_obj
[0] = args
;
38236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38237 if (!SWIG_IsOK(res1
)) {
38238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38240 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38243 result
= ((wxAboutDialogInfo
const *)arg1
)->GetIcon();
38244 wxPyEndAllowThreads(__tstate
);
38245 if (PyErr_Occurred()) SWIG_fail
;
38247 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
38254 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__SetWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38255 PyObject
*resultobj
= 0;
38256 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38257 wxString
*arg2
= 0 ;
38258 wxString
const &arg3_defvalue
= wxEmptyString
;
38259 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
38262 bool temp2
= false ;
38263 bool temp3
= false ;
38264 PyObject
* obj0
= 0 ;
38265 PyObject
* obj1
= 0 ;
38266 PyObject
* obj2
= 0 ;
38267 char * kwnames
[] = {
38268 (char *) "self",(char *) "url",(char *) "desc", NULL
38271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AboutDialogInfo__SetWebSite",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38273 if (!SWIG_IsOK(res1
)) {
38274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__SetWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38276 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38278 arg2
= wxString_in_helper(obj1
);
38279 if (arg2
== NULL
) SWIG_fail
;
38284 arg3
= wxString_in_helper(obj2
);
38285 if (arg3
== NULL
) SWIG_fail
;
38290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38291 (arg1
)->SetWebSite((wxString
const &)*arg2
,(wxString
const &)*arg3
);
38292 wxPyEndAllowThreads(__tstate
);
38293 if (PyErr_Occurred()) SWIG_fail
;
38295 resultobj
= SWIG_Py_Void();
38318 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38319 PyObject
*resultobj
= 0;
38320 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38324 PyObject
*swig_obj
[1] ;
38326 if (!args
) SWIG_fail
;
38327 swig_obj
[0] = args
;
38328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38329 if (!SWIG_IsOK(res1
)) {
38330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteURL" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38332 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38335 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteURL();
38336 wxPyEndAllowThreads(__tstate
);
38337 if (PyErr_Occurred()) SWIG_fail
;
38341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38352 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38353 PyObject
*resultobj
= 0;
38354 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38358 PyObject
*swig_obj
[1] ;
38360 if (!args
) SWIG_fail
;
38361 swig_obj
[0] = args
;
38362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38363 if (!SWIG_IsOK(res1
)) {
38364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38366 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38369 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteDescription();
38370 wxPyEndAllowThreads(__tstate
);
38371 if (PyErr_Occurred()) SWIG_fail
;
38375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38386 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38387 PyObject
*resultobj
= 0;
38388 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38392 PyObject
*swig_obj
[1] ;
38394 if (!args
) SWIG_fail
;
38395 swig_obj
[0] = args
;
38396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38397 if (!SWIG_IsOK(res1
)) {
38398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38400 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38403 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasWebSite();
38404 wxPyEndAllowThreads(__tstate
);
38405 if (PyErr_Occurred()) SWIG_fail
;
38408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38416 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38417 PyObject
*resultobj
= 0;
38418 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38419 wxArrayString
*arg2
= 0 ;
38422 bool temp2
= false ;
38423 PyObject
* obj0
= 0 ;
38424 PyObject
* obj1
= 0 ;
38425 char * kwnames
[] = {
38426 (char *) "self",(char *) "developers", NULL
38429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDevelopers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38431 if (!SWIG_IsOK(res1
)) {
38432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38434 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38436 if (! PySequence_Check(obj1
)) {
38437 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38440 arg2
= new wxArrayString
;
38442 int i
, len
=PySequence_Length(obj1
);
38443 for (i
=0; i
<len
; i
++) {
38444 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38445 wxString
* s
= wxString_in_helper(item
);
38446 if (PyErr_Occurred()) SWIG_fail
;
38453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38454 (arg1
)->SetDevelopers((wxArrayString
const &)*arg2
);
38455 wxPyEndAllowThreads(__tstate
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38458 resultobj
= SWIG_Py_Void();
38460 if (temp2
) delete arg2
;
38465 if (temp2
) delete arg2
;
38471 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDeveloper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38472 PyObject
*resultobj
= 0;
38473 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38474 wxString
*arg2
= 0 ;
38477 bool temp2
= false ;
38478 PyObject
* obj0
= 0 ;
38479 PyObject
* obj1
= 0 ;
38480 char * kwnames
[] = {
38481 (char *) "self",(char *) "developer", NULL
38484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDeveloper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38486 if (!SWIG_IsOK(res1
)) {
38487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDeveloper" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38489 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38491 arg2
= wxString_in_helper(obj1
);
38492 if (arg2
== NULL
) SWIG_fail
;
38496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38497 (arg1
)->AddDeveloper((wxString
const &)*arg2
);
38498 wxPyEndAllowThreads(__tstate
);
38499 if (PyErr_Occurred()) SWIG_fail
;
38501 resultobj
= SWIG_Py_Void();
38516 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38517 PyObject
*resultobj
= 0;
38518 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38522 PyObject
*swig_obj
[1] ;
38524 if (!args
) SWIG_fail
;
38525 swig_obj
[0] = args
;
38526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38527 if (!SWIG_IsOK(res1
)) {
38528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38530 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38533 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDevelopers();
38534 wxPyEndAllowThreads(__tstate
);
38535 if (PyErr_Occurred()) SWIG_fail
;
38538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38546 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38547 PyObject
*resultobj
= 0;
38548 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38549 wxArrayString
*result
= 0 ;
38552 PyObject
*swig_obj
[1] ;
38554 if (!args
) SWIG_fail
;
38555 swig_obj
[0] = args
;
38556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38557 if (!SWIG_IsOK(res1
)) {
38558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38560 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38564 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDevelopers();
38565 result
= (wxArrayString
*) &_result_ref
;
38567 wxPyEndAllowThreads(__tstate
);
38568 if (PyErr_Occurred()) SWIG_fail
;
38571 resultobj
= wxArrayString2PyList_helper(*result
);
38579 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38580 PyObject
*resultobj
= 0;
38581 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38582 wxArrayString
*arg2
= 0 ;
38585 bool temp2
= false ;
38586 PyObject
* obj0
= 0 ;
38587 PyObject
* obj1
= 0 ;
38588 char * kwnames
[] = {
38589 (char *) "self",(char *) "docwriters", NULL
38592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDocWriters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38594 if (!SWIG_IsOK(res1
)) {
38595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38597 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38599 if (! PySequence_Check(obj1
)) {
38600 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38603 arg2
= new wxArrayString
;
38605 int i
, len
=PySequence_Length(obj1
);
38606 for (i
=0; i
<len
; i
++) {
38607 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38608 wxString
* s
= wxString_in_helper(item
);
38609 if (PyErr_Occurred()) SWIG_fail
;
38616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38617 (arg1
)->SetDocWriters((wxArrayString
const &)*arg2
);
38618 wxPyEndAllowThreads(__tstate
);
38619 if (PyErr_Occurred()) SWIG_fail
;
38621 resultobj
= SWIG_Py_Void();
38623 if (temp2
) delete arg2
;
38628 if (temp2
) delete arg2
;
38634 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDocWriter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38635 PyObject
*resultobj
= 0;
38636 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38637 wxString
*arg2
= 0 ;
38640 bool temp2
= false ;
38641 PyObject
* obj0
= 0 ;
38642 PyObject
* obj1
= 0 ;
38643 char * kwnames
[] = {
38644 (char *) "self",(char *) "docwriter", NULL
38647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDocWriter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38649 if (!SWIG_IsOK(res1
)) {
38650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDocWriter" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38652 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38654 arg2
= wxString_in_helper(obj1
);
38655 if (arg2
== NULL
) SWIG_fail
;
38659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38660 (arg1
)->AddDocWriter((wxString
const &)*arg2
);
38661 wxPyEndAllowThreads(__tstate
);
38662 if (PyErr_Occurred()) SWIG_fail
;
38664 resultobj
= SWIG_Py_Void();
38679 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38680 PyObject
*resultobj
= 0;
38681 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38685 PyObject
*swig_obj
[1] ;
38687 if (!args
) SWIG_fail
;
38688 swig_obj
[0] = args
;
38689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38690 if (!SWIG_IsOK(res1
)) {
38691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38693 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38696 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDocWriters();
38697 wxPyEndAllowThreads(__tstate
);
38698 if (PyErr_Occurred()) SWIG_fail
;
38701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38709 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38710 PyObject
*resultobj
= 0;
38711 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38712 wxArrayString
*result
= 0 ;
38715 PyObject
*swig_obj
[1] ;
38717 if (!args
) SWIG_fail
;
38718 swig_obj
[0] = args
;
38719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38720 if (!SWIG_IsOK(res1
)) {
38721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38723 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38727 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDocWriters();
38728 result
= (wxArrayString
*) &_result_ref
;
38730 wxPyEndAllowThreads(__tstate
);
38731 if (PyErr_Occurred()) SWIG_fail
;
38734 resultobj
= wxArrayString2PyList_helper(*result
);
38742 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38743 PyObject
*resultobj
= 0;
38744 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38745 wxArrayString
*arg2
= 0 ;
38748 bool temp2
= false ;
38749 PyObject
* obj0
= 0 ;
38750 PyObject
* obj1
= 0 ;
38751 char * kwnames
[] = {
38752 (char *) "self",(char *) "artists", NULL
38755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetArtists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38757 if (!SWIG_IsOK(res1
)) {
38758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38760 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38762 if (! PySequence_Check(obj1
)) {
38763 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38766 arg2
= new wxArrayString
;
38768 int i
, len
=PySequence_Length(obj1
);
38769 for (i
=0; i
<len
; i
++) {
38770 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38771 wxString
* s
= wxString_in_helper(item
);
38772 if (PyErr_Occurred()) SWIG_fail
;
38779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38780 (arg1
)->SetArtists((wxArrayString
const &)*arg2
);
38781 wxPyEndAllowThreads(__tstate
);
38782 if (PyErr_Occurred()) SWIG_fail
;
38784 resultobj
= SWIG_Py_Void();
38786 if (temp2
) delete arg2
;
38791 if (temp2
) delete arg2
;
38797 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddArtist(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38798 PyObject
*resultobj
= 0;
38799 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38800 wxString
*arg2
= 0 ;
38803 bool temp2
= false ;
38804 PyObject
* obj0
= 0 ;
38805 PyObject
* obj1
= 0 ;
38806 char * kwnames
[] = {
38807 (char *) "self",(char *) "artist", NULL
38810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddArtist",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38812 if (!SWIG_IsOK(res1
)) {
38813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddArtist" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38815 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38817 arg2
= wxString_in_helper(obj1
);
38818 if (arg2
== NULL
) SWIG_fail
;
38822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38823 (arg1
)->AddArtist((wxString
const &)*arg2
);
38824 wxPyEndAllowThreads(__tstate
);
38825 if (PyErr_Occurred()) SWIG_fail
;
38827 resultobj
= SWIG_Py_Void();
38842 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38843 PyObject
*resultobj
= 0;
38844 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38848 PyObject
*swig_obj
[1] ;
38850 if (!args
) SWIG_fail
;
38851 swig_obj
[0] = args
;
38852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38853 if (!SWIG_IsOK(res1
)) {
38854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38856 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38859 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasArtists();
38860 wxPyEndAllowThreads(__tstate
);
38861 if (PyErr_Occurred()) SWIG_fail
;
38864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38872 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38873 PyObject
*resultobj
= 0;
38874 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38875 wxArrayString
*result
= 0 ;
38878 PyObject
*swig_obj
[1] ;
38880 if (!args
) SWIG_fail
;
38881 swig_obj
[0] = args
;
38882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38883 if (!SWIG_IsOK(res1
)) {
38884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38886 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38890 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetArtists();
38891 result
= (wxArrayString
*) &_result_ref
;
38893 wxPyEndAllowThreads(__tstate
);
38894 if (PyErr_Occurred()) SWIG_fail
;
38897 resultobj
= wxArrayString2PyList_helper(*result
);
38905 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38906 PyObject
*resultobj
= 0;
38907 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38908 wxArrayString
*arg2
= 0 ;
38911 bool temp2
= false ;
38912 PyObject
* obj0
= 0 ;
38913 PyObject
* obj1
= 0 ;
38914 char * kwnames
[] = {
38915 (char *) "self",(char *) "translators", NULL
38918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetTranslators",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38920 if (!SWIG_IsOK(res1
)) {
38921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38923 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38925 if (! PySequence_Check(obj1
)) {
38926 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38929 arg2
= new wxArrayString
;
38931 int i
, len
=PySequence_Length(obj1
);
38932 for (i
=0; i
<len
; i
++) {
38933 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38934 wxString
* s
= wxString_in_helper(item
);
38935 if (PyErr_Occurred()) SWIG_fail
;
38942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38943 (arg1
)->SetTranslators((wxArrayString
const &)*arg2
);
38944 wxPyEndAllowThreads(__tstate
);
38945 if (PyErr_Occurred()) SWIG_fail
;
38947 resultobj
= SWIG_Py_Void();
38949 if (temp2
) delete arg2
;
38954 if (temp2
) delete arg2
;
38960 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddTranslator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38961 PyObject
*resultobj
= 0;
38962 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38963 wxString
*arg2
= 0 ;
38966 bool temp2
= false ;
38967 PyObject
* obj0
= 0 ;
38968 PyObject
* obj1
= 0 ;
38969 char * kwnames
[] = {
38970 (char *) "self",(char *) "translator", NULL
38973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddTranslator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38975 if (!SWIG_IsOK(res1
)) {
38976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddTranslator" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38978 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38980 arg2
= wxString_in_helper(obj1
);
38981 if (arg2
== NULL
) SWIG_fail
;
38985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38986 (arg1
)->AddTranslator((wxString
const &)*arg2
);
38987 wxPyEndAllowThreads(__tstate
);
38988 if (PyErr_Occurred()) SWIG_fail
;
38990 resultobj
= SWIG_Py_Void();
39005 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39006 PyObject
*resultobj
= 0;
39007 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39011 PyObject
*swig_obj
[1] ;
39013 if (!args
) SWIG_fail
;
39014 swig_obj
[0] = args
;
39015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39016 if (!SWIG_IsOK(res1
)) {
39017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39019 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39022 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasTranslators();
39023 wxPyEndAllowThreads(__tstate
);
39024 if (PyErr_Occurred()) SWIG_fail
;
39027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39035 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39036 PyObject
*resultobj
= 0;
39037 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39038 wxArrayString
*result
= 0 ;
39041 PyObject
*swig_obj
[1] ;
39043 if (!args
) SWIG_fail
;
39044 swig_obj
[0] = args
;
39045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39046 if (!SWIG_IsOK(res1
)) {
39047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39049 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39053 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetTranslators();
39054 result
= (wxArrayString
*) &_result_ref
;
39056 wxPyEndAllowThreads(__tstate
);
39057 if (PyErr_Occurred()) SWIG_fail
;
39060 resultobj
= wxArrayString2PyList_helper(*result
);
39068 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_IsSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39069 PyObject
*resultobj
= 0;
39070 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39074 PyObject
*swig_obj
[1] ;
39076 if (!args
) SWIG_fail
;
39077 swig_obj
[0] = args
;
39078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39079 if (!SWIG_IsOK(res1
)) {
39080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_IsSimple" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39082 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39085 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->IsSimple();
39086 wxPyEndAllowThreads(__tstate
);
39087 if (PyErr_Occurred()) SWIG_fail
;
39090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39098 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescriptionAndCredits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39099 PyObject
*resultobj
= 0;
39100 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39104 PyObject
*swig_obj
[1] ;
39106 if (!args
) SWIG_fail
;
39107 swig_obj
[0] = args
;
39108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39109 if (!SWIG_IsOK(res1
)) {
39110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescriptionAndCredits" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39112 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39115 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescriptionAndCredits();
39116 wxPyEndAllowThreads(__tstate
);
39117 if (PyErr_Occurred()) SWIG_fail
;
39121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39132 SWIGINTERN PyObject
*AboutDialogInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39135 SWIG_TypeNewClientData(SWIGTYPE_p_wxAboutDialogInfo
, SWIG_NewClientData(obj
));
39136 return SWIG_Py_Void();
39139 SWIGINTERN PyObject
*AboutDialogInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39140 return SWIG_Python_InitShadowInstance(args
);
39143 SWIGINTERN PyObject
*_wrap_AboutBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39144 PyObject
*resultobj
= 0;
39145 wxAboutDialogInfo
*arg1
= 0 ;
39148 PyObject
* obj0
= 0 ;
39149 char * kwnames
[] = {
39150 (char *) "info", NULL
39153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AboutBox",kwnames
,&obj0
)) SWIG_fail
;
39154 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0);
39155 if (!SWIG_IsOK(res1
)) {
39156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39161 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39164 wxAboutBox((wxAboutDialogInfo
const &)*arg1
);
39165 wxPyEndAllowThreads(__tstate
);
39166 if (PyErr_Occurred()) SWIG_fail
;
39168 resultobj
= SWIG_Py_Void();
39175 static PyMethodDef SwigMethods
[] = {
39176 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
39181 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
39183 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
39184 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
39191 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
39192 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
39193 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
39195 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
39200 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
39201 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
39203 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
39204 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
39206 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
39207 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
39208 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
39209 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
39210 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
39211 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
39218 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
39219 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
39220 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
39221 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
39222 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
39223 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
39225 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
39226 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
39237 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
39238 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
39239 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
39240 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
39241 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
39242 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
39243 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
39244 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
39245 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
39247 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
39249 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
39250 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
39251 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
39257 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
39258 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
39259 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
39260 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
39261 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
39262 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
39263 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
39264 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
39265 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
39266 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
39267 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
39268 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
39278 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
39279 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
39280 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
39281 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
39282 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
39283 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
39284 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
39285 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
39286 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
39287 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
39288 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
39290 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
39292 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
39293 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
39296 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
39297 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
39299 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
39300 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
39301 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
39302 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
39303 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
39304 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
39305 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
39306 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
39307 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
39313 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
39314 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
39316 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
39317 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
39319 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
39320 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
39321 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
39323 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
39324 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
39325 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
39327 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
39328 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
39329 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
39330 { (char *)"delete_StopWatch", (PyCFunction
)_wrap_delete_StopWatch
, METH_O
, NULL
},
39331 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
39333 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
39334 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
39335 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
39336 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
39337 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
39339 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
39342 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
39347 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
39350 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
39351 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
39352 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
39354 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
39355 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
39357 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
39358 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
39359 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
39360 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
39363 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
39364 { (char *)"PlatformInformation_CheckOSVersion", (PyCFunction
) _wrap_PlatformInformation_CheckOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
39366 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
39367 { (char *)"PlatformInformation_CheckToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_CheckToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
39369 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
39370 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
39371 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
39372 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
39373 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
39374 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
39375 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
39376 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
39377 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
39378 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
39379 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
39386 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
39387 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
39388 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
39390 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
39391 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
39392 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
39394 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
39397 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
39398 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
39402 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
39405 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
39407 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
39408 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
39409 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
39410 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
39411 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
39412 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
39413 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
39414 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
39416 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
39417 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
39418 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
39419 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
39420 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
39422 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
39423 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
39424 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
39425 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
39426 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
39429 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
39430 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
39431 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
39433 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
39434 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39437 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
39439 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
39443 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
39444 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
39446 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
39447 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
39449 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
39450 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
39451 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
39452 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
39453 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
39454 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
39455 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
39456 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
39457 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
39459 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
39460 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
39461 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
39462 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
39463 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
39466 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
39467 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
39468 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
39470 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
39471 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
39475 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
39476 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
39477 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
39478 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
39479 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
39480 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
39481 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
39482 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
39483 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
39496 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
39498 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
39499 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
39500 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
39501 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
39502 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
39504 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
39505 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"delete_Process", (PyCFunction
)_wrap_delete_Process
, METH_O
, NULL
},
39510 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"Process_GetPid", (PyCFunction
)_wrap_Process_GetPid
, METH_O
, NULL
},
39512 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
39514 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
39515 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
39516 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
39517 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
39518 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
39519 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
39520 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
39521 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
39522 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
39523 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
39524 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
39525 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
39527 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
39528 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
39529 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
39530 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
39531 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
39532 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
39533 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
39534 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
39538 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
39539 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
39540 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
39541 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
39542 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
39543 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
39544 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
39545 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
39546 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
39547 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
39549 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
39550 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
39551 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
39552 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
39553 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
39554 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
39555 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
39556 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
39557 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
39558 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
39559 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
39560 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
39561 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
39562 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
39563 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
39564 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
39565 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
39566 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
39567 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
39568 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
39569 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
39570 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
39571 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
39572 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
39573 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
39574 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
39575 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
39576 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
39577 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
39578 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
39580 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
39581 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
39582 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
39584 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
39585 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
39586 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
39587 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
39588 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
39594 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
39595 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
39596 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
39600 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
39601 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
39604 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
39607 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
39610 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
39611 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
39612 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
39615 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
39616 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
39619 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
39620 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
39621 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
39622 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
39623 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
39624 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
39625 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
39626 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
39627 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
39628 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
39629 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
39631 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
39632 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
39633 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
39634 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
39635 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
39636 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
39637 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
39643 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
39645 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
39646 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
39648 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
39650 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
39655 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
39659 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
39660 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
39661 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
39662 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
39663 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"ArtProvider_Push", (PyCFunction
) _wrap_ArtProvider_Push
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"ArtProvider_Insert", (PyCFunction
) _wrap_ArtProvider_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"ArtProvider_Pop", (PyCFunction
)_wrap_ArtProvider_Pop
, METH_NOARGS
, NULL
},
39667 { (char *)"ArtProvider_Delete", (PyCFunction
) _wrap_ArtProvider_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
39672 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
39673 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
39674 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
39675 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
39678 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39679 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
39681 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
39682 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
39684 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
39705 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
39707 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
39709 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
39711 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
39712 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
39716 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
39717 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
39719 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
39720 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
39721 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
39723 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
39724 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
39725 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
39727 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
39728 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
39729 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
39730 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
39733 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
39744 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
39748 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
39749 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
39750 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
39751 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
39757 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
39758 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
39763 { (char *)"DateTime_GetDateOnly", (PyCFunction
)_wrap_DateTime_GetDateOnly
, METH_O
, NULL
},
39764 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
39788 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
39789 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
39790 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
39791 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
39792 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
39804 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
39805 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
39831 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
39832 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
39833 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
39834 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
39847 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
39848 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
39849 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
39850 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
39851 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
39852 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
39854 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
39856 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
39858 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
39860 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
39862 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
39864 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
39866 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
39870 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
39871 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
39875 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
39886 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
39887 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
39888 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
39892 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
39893 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
39894 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
39895 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
39896 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
39897 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
39899 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
39900 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
39902 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
39904 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
39906 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
39908 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
39910 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39912 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39913 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
39915 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
39916 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
39917 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
39918 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
39919 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
39922 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
39926 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
39934 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
39935 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
39936 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
39937 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
39938 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
39939 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
39942 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
39943 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
39944 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
39946 { (char *)"DataFormat__GetId", (PyCFunction
)_wrap_DataFormat__GetId
, METH_O
, NULL
},
39947 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39948 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
39949 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
39950 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
39951 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39953 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39955 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39956 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
39959 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
39961 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
39963 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
39964 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39966 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39967 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39970 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39971 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
39972 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
39974 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
39975 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
39976 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39977 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
39978 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
39979 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39980 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
39981 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
39982 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39984 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
39985 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
39986 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
39988 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39990 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39991 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39992 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39994 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39995 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
39996 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
39997 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39998 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
39999 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
40000 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
40001 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
40003 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
40004 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
40005 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
40006 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
40008 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
40010 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
40011 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
40012 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
40013 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
40014 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40016 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40017 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
40018 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40019 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
40020 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
40024 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
40025 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40027 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
40028 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
40029 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40030 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
40033 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
40035 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40036 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
40037 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
40038 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
40039 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
40040 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40042 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40043 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
40045 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
40048 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
40049 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
40050 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40052 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40054 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
40055 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40057 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
40058 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
40059 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
40060 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
40061 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
40062 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
40063 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
40064 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
40069 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
40070 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
40072 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
40073 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
40074 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40075 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
40076 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
40077 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
40078 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
40079 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
40081 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
40083 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
40084 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
40085 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
40086 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
40089 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
40090 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
40091 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
40092 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
40093 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
40094 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
40095 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
40096 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
40097 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
40098 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40099 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
40100 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
40101 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40102 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40103 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
40104 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
40105 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
40106 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
40107 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
40108 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
40110 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
40112 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
40113 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
40114 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
40115 { (char *)"StandardPaths_GetExecutablePath", (PyCFunction
)_wrap_StandardPaths_GetExecutablePath
, METH_O
, NULL
},
40116 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
40117 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
40118 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
40119 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
40120 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
40121 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
40122 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
40123 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
40124 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
40126 { (char *)"StandardPaths_GetTempDir", (PyCFunction
)_wrap_StandardPaths_GetTempDir
, METH_O
, NULL
},
40127 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
40129 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
40130 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40131 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
40132 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
40133 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
40134 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
40135 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
40136 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
40137 { (char *)"new_AboutDialogInfo", (PyCFunction
)_wrap_new_AboutDialogInfo
, METH_NOARGS
, NULL
},
40138 { (char *)"delete_AboutDialogInfo", (PyCFunction
)_wrap_delete_AboutDialogInfo
, METH_O
, NULL
},
40139 { (char *)"AboutDialogInfo_SetName", (PyCFunction
) _wrap_AboutDialogInfo_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40140 { (char *)"AboutDialogInfo_GetName", (PyCFunction
)_wrap_AboutDialogInfo_GetName
, METH_O
, NULL
},
40141 { (char *)"AboutDialogInfo_SetVersion", (PyCFunction
) _wrap_AboutDialogInfo_SetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40142 { (char *)"AboutDialogInfo_HasVersion", (PyCFunction
)_wrap_AboutDialogInfo_HasVersion
, METH_O
, NULL
},
40143 { (char *)"AboutDialogInfo_GetVersion", (PyCFunction
)_wrap_AboutDialogInfo_GetVersion
, METH_O
, NULL
},
40144 { (char *)"AboutDialogInfo_SetDescription", (PyCFunction
) _wrap_AboutDialogInfo_SetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"AboutDialogInfo_HasDescription", (PyCFunction
)_wrap_AboutDialogInfo_HasDescription
, METH_O
, NULL
},
40146 { (char *)"AboutDialogInfo_GetDescription", (PyCFunction
)_wrap_AboutDialogInfo_GetDescription
, METH_O
, NULL
},
40147 { (char *)"AboutDialogInfo_SetCopyright", (PyCFunction
) _wrap_AboutDialogInfo_SetCopyright
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"AboutDialogInfo_HasCopyright", (PyCFunction
)_wrap_AboutDialogInfo_HasCopyright
, METH_O
, NULL
},
40149 { (char *)"AboutDialogInfo_GetCopyright", (PyCFunction
)_wrap_AboutDialogInfo_GetCopyright
, METH_O
, NULL
},
40150 { (char *)"AboutDialogInfo_SetLicence", (PyCFunction
) _wrap_AboutDialogInfo_SetLicence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40151 { (char *)"AboutDialogInfo_SetLicense", (PyCFunction
) _wrap_AboutDialogInfo_SetLicense
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40152 { (char *)"AboutDialogInfo_HasLicence", (PyCFunction
)_wrap_AboutDialogInfo_HasLicence
, METH_O
, NULL
},
40153 { (char *)"AboutDialogInfo_GetLicence", (PyCFunction
)_wrap_AboutDialogInfo_GetLicence
, METH_O
, NULL
},
40154 { (char *)"AboutDialogInfo_SetIcon", (PyCFunction
) _wrap_AboutDialogInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40155 { (char *)"AboutDialogInfo_HasIcon", (PyCFunction
)_wrap_AboutDialogInfo_HasIcon
, METH_O
, NULL
},
40156 { (char *)"AboutDialogInfo_GetIcon", (PyCFunction
)_wrap_AboutDialogInfo_GetIcon
, METH_O
, NULL
},
40157 { (char *)"AboutDialogInfo__SetWebSite", (PyCFunction
) _wrap_AboutDialogInfo__SetWebSite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40158 { (char *)"AboutDialogInfo__GetWebSiteURL", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteURL
, METH_O
, NULL
},
40159 { (char *)"AboutDialogInfo__GetWebSiteDescription", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteDescription
, METH_O
, NULL
},
40160 { (char *)"AboutDialogInfo_HasWebSite", (PyCFunction
)_wrap_AboutDialogInfo_HasWebSite
, METH_O
, NULL
},
40161 { (char *)"AboutDialogInfo_SetDevelopers", (PyCFunction
) _wrap_AboutDialogInfo_SetDevelopers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40162 { (char *)"AboutDialogInfo_AddDeveloper", (PyCFunction
) _wrap_AboutDialogInfo_AddDeveloper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40163 { (char *)"AboutDialogInfo_HasDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_HasDevelopers
, METH_O
, NULL
},
40164 { (char *)"AboutDialogInfo_GetDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_GetDevelopers
, METH_O
, NULL
},
40165 { (char *)"AboutDialogInfo_SetDocWriters", (PyCFunction
) _wrap_AboutDialogInfo_SetDocWriters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"AboutDialogInfo_AddDocWriter", (PyCFunction
) _wrap_AboutDialogInfo_AddDocWriter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40167 { (char *)"AboutDialogInfo_HasDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_HasDocWriters
, METH_O
, NULL
},
40168 { (char *)"AboutDialogInfo_GetDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_GetDocWriters
, METH_O
, NULL
},
40169 { (char *)"AboutDialogInfo_SetArtists", (PyCFunction
) _wrap_AboutDialogInfo_SetArtists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40170 { (char *)"AboutDialogInfo_AddArtist", (PyCFunction
) _wrap_AboutDialogInfo_AddArtist
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40171 { (char *)"AboutDialogInfo_HasArtists", (PyCFunction
)_wrap_AboutDialogInfo_HasArtists
, METH_O
, NULL
},
40172 { (char *)"AboutDialogInfo_GetArtists", (PyCFunction
)_wrap_AboutDialogInfo_GetArtists
, METH_O
, NULL
},
40173 { (char *)"AboutDialogInfo_SetTranslators", (PyCFunction
) _wrap_AboutDialogInfo_SetTranslators
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"AboutDialogInfo_AddTranslator", (PyCFunction
) _wrap_AboutDialogInfo_AddTranslator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40175 { (char *)"AboutDialogInfo_HasTranslators", (PyCFunction
)_wrap_AboutDialogInfo_HasTranslators
, METH_O
, NULL
},
40176 { (char *)"AboutDialogInfo_GetTranslators", (PyCFunction
)_wrap_AboutDialogInfo_GetTranslators
, METH_O
, NULL
},
40177 { (char *)"AboutDialogInfo_IsSimple", (PyCFunction
)_wrap_AboutDialogInfo_IsSimple
, METH_O
, NULL
},
40178 { (char *)"AboutDialogInfo_GetDescriptionAndCredits", (PyCFunction
)_wrap_AboutDialogInfo_GetDescriptionAndCredits
, METH_O
, NULL
},
40179 { (char *)"AboutDialogInfo_swigregister", AboutDialogInfo_swigregister
, METH_VARARGS
, NULL
},
40180 { (char *)"AboutDialogInfo_swiginit", AboutDialogInfo_swiginit
, METH_VARARGS
, NULL
},
40181 { (char *)"AboutBox", (PyCFunction
) _wrap_AboutBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40182 { NULL
, NULL
, 0, NULL
}
40186 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40188 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40189 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40191 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40192 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40194 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40195 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40197 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40198 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40200 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40201 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40203 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40204 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40206 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
40207 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
40209 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
40210 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
40212 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40213 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40215 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40216 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40218 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40219 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40221 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
40222 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40224 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40225 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40227 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
40228 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
40230 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40231 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40233 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40234 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40236 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40237 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40239 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40240 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40242 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40243 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40245 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40246 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40248 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40249 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40251 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40252 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40254 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
40255 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
40257 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40258 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40260 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40261 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40263 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
40264 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40266 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40269 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40270 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40272 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40273 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40275 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40276 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40278 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40279 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40281 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40282 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40284 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40285 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40287 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40288 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40290 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
40291 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
40293 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40294 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40296 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40297 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40299 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40302 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40303 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40305 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40306 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40308 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40309 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40311 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40312 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40314 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
40315 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
40317 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
40318 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
40320 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
40321 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40323 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
40324 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40326 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
40327 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
40329 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
40330 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40332 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
40333 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
40335 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
40336 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40338 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
40339 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40341 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
40342 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40344 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
40345 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40347 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
40348 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40350 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
40351 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40353 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
40354 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
40356 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
40357 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40359 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
40360 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40362 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40363 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40365 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40366 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40368 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40369 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40371 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40372 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40374 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40375 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40377 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
40378 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40380 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40381 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40383 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40384 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40386 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40387 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40389 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40390 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40392 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40393 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40395 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
40396 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
40398 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40399 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40401 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40402 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40404 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40405 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40407 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
40408 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
40410 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40411 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40413 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
40414 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
40416 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
40417 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
40419 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40420 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40422 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
40423 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
40425 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40426 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40428 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40429 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40431 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40432 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40434 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40435 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40437 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40438 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40440 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40441 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40443 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40444 return (void *)((wxObject
*) ((wxSizer
*) x
));
40446 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40447 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40449 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
40450 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
40452 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40453 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40455 static void *_p_wxEventTo_p_wxObject(void *x
) {
40456 return (void *)((wxObject
*) ((wxEvent
*) x
));
40458 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40459 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40461 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40462 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40464 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40465 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40467 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40468 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40470 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40471 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40473 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40474 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40476 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40477 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40479 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40480 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40482 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40483 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40485 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40486 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40488 static void *_p_wxControlTo_p_wxObject(void *x
) {
40489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40491 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40492 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40494 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
40495 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
40497 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
40498 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
40500 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40501 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40503 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
40504 return (void *)((wxObject
*) ((wxClipboard
*) x
));
40506 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40507 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40509 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40510 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40512 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40513 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40515 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40516 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40518 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
40519 return (void *)((wxObject
*) ((wxToolTip
*) x
));
40521 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40522 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40524 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40527 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40528 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40530 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40533 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40534 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40536 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40537 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40539 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40540 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40542 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40543 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40545 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40546 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40548 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40549 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40551 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40552 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40554 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40555 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40557 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40558 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40560 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40561 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40563 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40564 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40566 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40567 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40569 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40570 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40572 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40573 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40575 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40576 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40578 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40579 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40581 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40582 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40584 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40585 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40587 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40588 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40590 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40591 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40593 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40594 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40596 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40597 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40599 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40600 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40602 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40603 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40605 static void *_p_wxImageTo_p_wxObject(void *x
) {
40606 return (void *)((wxObject
*) ((wxImage
*) x
));
40608 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40609 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40611 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
40612 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
40614 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
40615 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
40617 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40620 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40621 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40623 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40624 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40626 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40627 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40629 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40630 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40632 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40635 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
40636 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
40638 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40639 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40641 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40644 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40645 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40647 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40648 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40650 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40651 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40653 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40654 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40656 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40657 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40659 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
40660 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
40662 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40663 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40665 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40666 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40668 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40669 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40671 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40672 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40674 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40675 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40677 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
40678 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
40680 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40683 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40686 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40687 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40689 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
40690 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
40692 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
40693 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
40695 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
40696 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
40698 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
40699 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
40701 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
40702 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
40704 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
40705 return (void *)((wxLog
*) ((wxLogChain
*) x
));
40707 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
40708 return (void *)((wxLog
*) ((wxLogGui
*) x
));
40710 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
40711 return (void *)((wxLog
*) ((wxPyLog
*) x
));
40713 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40714 return (void *)((wxWindow
*) ((wxControl
*) x
));
40716 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40717 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40719 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40720 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40722 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
40723 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
40725 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
40726 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
40728 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40729 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};
40730 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40731 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40732 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40733 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
40734 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40735 static swig_type_info _swigt__p_wxAboutDialogInfo
= {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0};
40736 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
40737 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40738 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
40739 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
40740 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
40741 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
40742 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40743 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
40744 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
40745 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40746 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
40747 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
40748 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
40749 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40750 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
40751 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40752 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
40753 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
40754 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
40755 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
40756 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
40757 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
40758 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
40759 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
40760 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40761 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
40762 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40763 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40764 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40765 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40766 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40767 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40768 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40769 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40770 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40771 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40772 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40773 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40774 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40775 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40776 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40777 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40778 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40779 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40780 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40781 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40782 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40783 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40784 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40785 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40786 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40787 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40788 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40789 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40790 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40791 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40792 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40793 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40794 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40795 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40796 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40797 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40798 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40799 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40800 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
40801 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40802 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40803 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40804 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40805 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40806 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40807 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40808 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
40809 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
40810 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
40811 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
40812 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
40813 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40814 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
40815 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40816 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
40817 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
40818 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
40819 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
40820 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
40821 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
40822 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
40823 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
40824 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
40825 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
40826 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
40827 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
40828 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
40829 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
40830 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
40831 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
40832 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40833 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40834 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40835 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40836 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40837 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40838 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40839 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40840 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40841 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40842 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40843 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40844 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40845 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40846 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40847 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40848 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40849 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40850 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40851 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40852 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40853 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40854 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40855 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40856 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40857 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40858 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40859 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40860 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40861 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40862 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
40863 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40864 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
40865 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40866 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
40867 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40868 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
40869 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
40870 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
40871 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
40872 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
40873 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
40874 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
40875 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
40876 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
40877 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
40878 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
40879 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
40880 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
40881 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
40882 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40883 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
40884 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40885 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
40886 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
40887 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
40888 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40889 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
40890 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
40891 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
40892 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
40893 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
40894 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
40895 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
40896 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
40897 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
40898 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
40899 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
40900 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
40901 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40902 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
40904 static swig_type_info
*swig_type_initial
[] = {
40906 &_swigt__p_form_ops_t
,
40908 &_swigt__p_unsigned_char
,
40909 &_swigt__p_unsigned_int
,
40910 &_swigt__p_unsigned_long
,
40912 &_swigt__p_wxANIHandler
,
40913 &_swigt__p_wxAboutDialogInfo
,
40914 &_swigt__p_wxAcceleratorTable
,
40915 &_swigt__p_wxActivateEvent
,
40916 &_swigt__p_wxArrayString
,
40917 &_swigt__p_wxBMPHandler
,
40918 &_swigt__p_wxBitmap
,
40919 &_swigt__p_wxBitmapDataObject
,
40920 &_swigt__p_wxBoxSizer
,
40921 &_swigt__p_wxBusyCursor
,
40922 &_swigt__p_wxBusyInfo
,
40923 &_swigt__p_wxCURHandler
,
40924 &_swigt__p_wxCaret
,
40926 &_swigt__p_wxChildFocusEvent
,
40927 &_swigt__p_wxClipboard
,
40928 &_swigt__p_wxClipboardLocker
,
40929 &_swigt__p_wxClipboardTextEvent
,
40930 &_swigt__p_wxCloseEvent
,
40931 &_swigt__p_wxColour
,
40932 &_swigt__p_wxCommandEvent
,
40933 &_swigt__p_wxConfig
,
40934 &_swigt__p_wxConfigBase
,
40935 &_swigt__p_wxConfigPathChanger
,
40936 &_swigt__p_wxContextMenuEvent
,
40937 &_swigt__p_wxControl
,
40938 &_swigt__p_wxControlWithItems
,
40939 &_swigt__p_wxCursor
,
40940 &_swigt__p_wxCustomDataObject
,
40942 &_swigt__p_wxDataFormat
,
40943 &_swigt__p_wxDataObject
,
40944 &_swigt__p_wxDataObjectComposite
,
40945 &_swigt__p_wxDataObjectSimple
,
40946 &_swigt__p_wxDateEvent
,
40947 &_swigt__p_wxDateSpan
,
40948 &_swigt__p_wxDateTime
,
40949 &_swigt__p_wxDateTime__TimeZone
,
40950 &_swigt__p_wxDisplay
,
40951 &_swigt__p_wxDisplayChangedEvent
,
40952 &_swigt__p_wxDropFilesEvent
,
40953 &_swigt__p_wxDuplexMode
,
40954 &_swigt__p_wxEraseEvent
,
40955 &_swigt__p_wxEvent
,
40956 &_swigt__p_wxEventBlocker
,
40957 &_swigt__p_wxEvtHandler
,
40958 &_swigt__p_wxFSFile
,
40959 &_swigt__p_wxFileConfig
,
40960 &_swigt__p_wxFileDataObject
,
40961 &_swigt__p_wxFileHistory
,
40962 &_swigt__p_wxFileSystem
,
40963 &_swigt__p_wxFileType
,
40964 &_swigt__p_wxFileTypeInfo
,
40965 &_swigt__p_wxFlexGridSizer
,
40966 &_swigt__p_wxFocusEvent
,
40968 &_swigt__p_wxFrame
,
40969 &_swigt__p_wxGBSizerItem
,
40970 &_swigt__p_wxGIFHandler
,
40971 &_swigt__p_wxGridBagSizer
,
40972 &_swigt__p_wxGridSizer
,
40973 &_swigt__p_wxICOHandler
,
40975 &_swigt__p_wxIconizeEvent
,
40976 &_swigt__p_wxIdleEvent
,
40977 &_swigt__p_wxImage
,
40978 &_swigt__p_wxImageHandler
,
40979 &_swigt__p_wxIndividualLayoutConstraint
,
40980 &_swigt__p_wxInitDialogEvent
,
40981 &_swigt__p_wxJPEGHandler
,
40982 &_swigt__p_wxJoystick
,
40983 &_swigt__p_wxJoystickEvent
,
40984 &_swigt__p_wxKeyEvent
,
40985 &_swigt__p_wxKillError
,
40986 &_swigt__p_wxLayoutConstraints
,
40988 &_swigt__p_wxLogBuffer
,
40989 &_swigt__p_wxLogChain
,
40990 &_swigt__p_wxLogGui
,
40991 &_swigt__p_wxLogNull
,
40992 &_swigt__p_wxLogStderr
,
40993 &_swigt__p_wxLogTextCtrl
,
40994 &_swigt__p_wxLogWindow
,
40995 &_swigt__p_wxMaximizeEvent
,
40997 &_swigt__p_wxMenuBar
,
40998 &_swigt__p_wxMenuEvent
,
40999 &_swigt__p_wxMenuItem
,
41000 &_swigt__p_wxMetafileDataObject
,
41001 &_swigt__p_wxMimeTypesManager
,
41002 &_swigt__p_wxMouseCaptureChangedEvent
,
41003 &_swigt__p_wxMouseCaptureLostEvent
,
41004 &_swigt__p_wxMouseEvent
,
41005 &_swigt__p_wxMouseState
,
41006 &_swigt__p_wxMoveEvent
,
41007 &_swigt__p_wxMutexGuiLocker
,
41008 &_swigt__p_wxNavigationKeyEvent
,
41009 &_swigt__p_wxNcPaintEvent
,
41010 &_swigt__p_wxNotifyEvent
,
41011 &_swigt__p_wxObject
,
41012 &_swigt__p_wxOutputStream
,
41013 &_swigt__p_wxPCXHandler
,
41014 &_swigt__p_wxPNGHandler
,
41015 &_swigt__p_wxPNMHandler
,
41016 &_swigt__p_wxPaintEvent
,
41017 &_swigt__p_wxPaletteChangedEvent
,
41018 &_swigt__p_wxPaperSize
,
41019 &_swigt__p_wxPlatformInfo
,
41020 &_swigt__p_wxPoint
,
41021 &_swigt__p_wxPowerEvent
,
41022 &_swigt__p_wxProcessEvent
,
41023 &_swigt__p_wxPyApp
,
41024 &_swigt__p_wxPyArtProvider
,
41025 &_swigt__p_wxPyBitmapDataObject
,
41026 &_swigt__p_wxPyCommandEvent
,
41027 &_swigt__p_wxPyDataObjectSimple
,
41028 &_swigt__p_wxPyDropSource
,
41029 &_swigt__p_wxPyDropTarget
,
41030 &_swigt__p_wxPyEvent
,
41031 &_swigt__p_wxPyFileDropTarget
,
41032 &_swigt__p_wxPyImageHandler
,
41033 &_swigt__p_wxPyLog
,
41034 &_swigt__p_wxPyProcess
,
41035 &_swigt__p_wxPySizer
,
41036 &_swigt__p_wxPyTextDataObject
,
41037 &_swigt__p_wxPyTextDropTarget
,
41038 &_swigt__p_wxPyTimer
,
41039 &_swigt__p_wxPyTipProvider
,
41040 &_swigt__p_wxPyValidator
,
41041 &_swigt__p_wxQueryNewPaletteEvent
,
41043 &_swigt__p_wxScrollEvent
,
41044 &_swigt__p_wxScrollWinEvent
,
41045 &_swigt__p_wxSetCursorEvent
,
41046 &_swigt__p_wxShowEvent
,
41047 &_swigt__p_wxSingleInstanceChecker
,
41049 &_swigt__p_wxSizeEvent
,
41050 &_swigt__p_wxSizer
,
41051 &_swigt__p_wxSizerItem
,
41052 &_swigt__p_wxSound
,
41053 &_swigt__p_wxStandardPaths
,
41054 &_swigt__p_wxStaticBoxSizer
,
41055 &_swigt__p_wxStdDialogButtonSizer
,
41056 &_swigt__p_wxStopWatch
,
41057 &_swigt__p_wxString
,
41058 &_swigt__p_wxSysColourChangedEvent
,
41059 &_swigt__p_wxSystemOptions
,
41060 &_swigt__p_wxSystemSettings
,
41061 &_swigt__p_wxTGAHandler
,
41062 &_swigt__p_wxTIFFHandler
,
41063 &_swigt__p_wxTextCtrl
,
41064 &_swigt__p_wxTextDataObject
,
41065 &_swigt__p_wxTimeSpan
,
41066 &_swigt__p_wxTimer
,
41067 &_swigt__p_wxTimerEvent
,
41068 &_swigt__p_wxTimerRunner
,
41069 &_swigt__p_wxTipProvider
,
41070 &_swigt__p_wxToolTip
,
41071 &_swigt__p_wxURLDataObject
,
41072 &_swigt__p_wxUpdateUIEvent
,
41073 &_swigt__p_wxValidator
,
41074 &_swigt__p_wxVideoMode
,
41075 &_swigt__p_wxWindow
,
41076 &_swigt__p_wxWindowCreateEvent
,
41077 &_swigt__p_wxWindowDestroyEvent
,
41078 &_swigt__p_wxWindowDisabler
,
41079 &_swigt__p_wxXPMHandler
,
41082 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41083 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41084 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41085 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41086 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41087 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41088 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41089 static swig_cast_info _swigc__p_wxAboutDialogInfo
[] = { {&_swigt__p_wxAboutDialogInfo
, 0, 0, 0},{0, 0, 0, 0}};
41090 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
41091 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41092 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}};
41093 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
41094 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
41095 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
41096 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41097 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
41098 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
41099 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41100 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
41101 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}};
41102 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
41103 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41104 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41105 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
41106 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
41107 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}};
41108 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
41109 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}};
41110 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
41111 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
41112 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
41113 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
41114 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41115 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41116 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41117 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41118 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41119 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41120 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41121 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41122 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41123 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41124 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41125 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41126 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41127 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41128 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41129 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41130 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41131 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41132 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41133 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41134 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41135 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41136 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41137 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41138 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41139 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41140 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41141 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41142 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41143 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41144 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41145 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41146 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41147 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41150 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41151 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41152 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41153 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}};
41154 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41155 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41156 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41157 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41158 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41159 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41160 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
41161 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}};
41162 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
41163 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41164 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
41165 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
41166 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
41167 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41168 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
41169 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
41171 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
41172 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
41173 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}};
41174 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
41179 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
41185 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
41186 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41189 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41190 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41191 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41192 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41195 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41196 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41197 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41198 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41199 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41200 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41201 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41202 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41203 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41204 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41205 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41206 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41207 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41208 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41210 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41211 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41212 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41213 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41216 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41217 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}};
41218 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
41219 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41220 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41222 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41223 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
41224 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41226 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
41227 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
41228 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}};
41229 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41230 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
41231 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
41232 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41233 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41234 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
41235 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
41236 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41237 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
41238 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41239 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
41240 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
41241 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
41242 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41243 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
41244 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
41245 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41246 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}};
41247 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
41248 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
41249 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41250 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
41251 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}};
41252 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
41253 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41254 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
41255 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}};
41256 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
41258 static swig_cast_info
*swig_cast_initial
[] = {
41260 _swigc__p_form_ops_t
,
41262 _swigc__p_unsigned_char
,
41263 _swigc__p_unsigned_int
,
41264 _swigc__p_unsigned_long
,
41266 _swigc__p_wxANIHandler
,
41267 _swigc__p_wxAboutDialogInfo
,
41268 _swigc__p_wxAcceleratorTable
,
41269 _swigc__p_wxActivateEvent
,
41270 _swigc__p_wxArrayString
,
41271 _swigc__p_wxBMPHandler
,
41272 _swigc__p_wxBitmap
,
41273 _swigc__p_wxBitmapDataObject
,
41274 _swigc__p_wxBoxSizer
,
41275 _swigc__p_wxBusyCursor
,
41276 _swigc__p_wxBusyInfo
,
41277 _swigc__p_wxCURHandler
,
41280 _swigc__p_wxChildFocusEvent
,
41281 _swigc__p_wxClipboard
,
41282 _swigc__p_wxClipboardLocker
,
41283 _swigc__p_wxClipboardTextEvent
,
41284 _swigc__p_wxCloseEvent
,
41285 _swigc__p_wxColour
,
41286 _swigc__p_wxCommandEvent
,
41287 _swigc__p_wxConfig
,
41288 _swigc__p_wxConfigBase
,
41289 _swigc__p_wxConfigPathChanger
,
41290 _swigc__p_wxContextMenuEvent
,
41291 _swigc__p_wxControl
,
41292 _swigc__p_wxControlWithItems
,
41293 _swigc__p_wxCursor
,
41294 _swigc__p_wxCustomDataObject
,
41296 _swigc__p_wxDataFormat
,
41297 _swigc__p_wxDataObject
,
41298 _swigc__p_wxDataObjectComposite
,
41299 _swigc__p_wxDataObjectSimple
,
41300 _swigc__p_wxDateEvent
,
41301 _swigc__p_wxDateSpan
,
41302 _swigc__p_wxDateTime
,
41303 _swigc__p_wxDateTime__TimeZone
,
41304 _swigc__p_wxDisplay
,
41305 _swigc__p_wxDisplayChangedEvent
,
41306 _swigc__p_wxDropFilesEvent
,
41307 _swigc__p_wxDuplexMode
,
41308 _swigc__p_wxEraseEvent
,
41310 _swigc__p_wxEventBlocker
,
41311 _swigc__p_wxEvtHandler
,
41312 _swigc__p_wxFSFile
,
41313 _swigc__p_wxFileConfig
,
41314 _swigc__p_wxFileDataObject
,
41315 _swigc__p_wxFileHistory
,
41316 _swigc__p_wxFileSystem
,
41317 _swigc__p_wxFileType
,
41318 _swigc__p_wxFileTypeInfo
,
41319 _swigc__p_wxFlexGridSizer
,
41320 _swigc__p_wxFocusEvent
,
41323 _swigc__p_wxGBSizerItem
,
41324 _swigc__p_wxGIFHandler
,
41325 _swigc__p_wxGridBagSizer
,
41326 _swigc__p_wxGridSizer
,
41327 _swigc__p_wxICOHandler
,
41329 _swigc__p_wxIconizeEvent
,
41330 _swigc__p_wxIdleEvent
,
41332 _swigc__p_wxImageHandler
,
41333 _swigc__p_wxIndividualLayoutConstraint
,
41334 _swigc__p_wxInitDialogEvent
,
41335 _swigc__p_wxJPEGHandler
,
41336 _swigc__p_wxJoystick
,
41337 _swigc__p_wxJoystickEvent
,
41338 _swigc__p_wxKeyEvent
,
41339 _swigc__p_wxKillError
,
41340 _swigc__p_wxLayoutConstraints
,
41342 _swigc__p_wxLogBuffer
,
41343 _swigc__p_wxLogChain
,
41344 _swigc__p_wxLogGui
,
41345 _swigc__p_wxLogNull
,
41346 _swigc__p_wxLogStderr
,
41347 _swigc__p_wxLogTextCtrl
,
41348 _swigc__p_wxLogWindow
,
41349 _swigc__p_wxMaximizeEvent
,
41351 _swigc__p_wxMenuBar
,
41352 _swigc__p_wxMenuEvent
,
41353 _swigc__p_wxMenuItem
,
41354 _swigc__p_wxMetafileDataObject
,
41355 _swigc__p_wxMimeTypesManager
,
41356 _swigc__p_wxMouseCaptureChangedEvent
,
41357 _swigc__p_wxMouseCaptureLostEvent
,
41358 _swigc__p_wxMouseEvent
,
41359 _swigc__p_wxMouseState
,
41360 _swigc__p_wxMoveEvent
,
41361 _swigc__p_wxMutexGuiLocker
,
41362 _swigc__p_wxNavigationKeyEvent
,
41363 _swigc__p_wxNcPaintEvent
,
41364 _swigc__p_wxNotifyEvent
,
41365 _swigc__p_wxObject
,
41366 _swigc__p_wxOutputStream
,
41367 _swigc__p_wxPCXHandler
,
41368 _swigc__p_wxPNGHandler
,
41369 _swigc__p_wxPNMHandler
,
41370 _swigc__p_wxPaintEvent
,
41371 _swigc__p_wxPaletteChangedEvent
,
41372 _swigc__p_wxPaperSize
,
41373 _swigc__p_wxPlatformInfo
,
41375 _swigc__p_wxPowerEvent
,
41376 _swigc__p_wxProcessEvent
,
41378 _swigc__p_wxPyArtProvider
,
41379 _swigc__p_wxPyBitmapDataObject
,
41380 _swigc__p_wxPyCommandEvent
,
41381 _swigc__p_wxPyDataObjectSimple
,
41382 _swigc__p_wxPyDropSource
,
41383 _swigc__p_wxPyDropTarget
,
41384 _swigc__p_wxPyEvent
,
41385 _swigc__p_wxPyFileDropTarget
,
41386 _swigc__p_wxPyImageHandler
,
41388 _swigc__p_wxPyProcess
,
41389 _swigc__p_wxPySizer
,
41390 _swigc__p_wxPyTextDataObject
,
41391 _swigc__p_wxPyTextDropTarget
,
41392 _swigc__p_wxPyTimer
,
41393 _swigc__p_wxPyTipProvider
,
41394 _swigc__p_wxPyValidator
,
41395 _swigc__p_wxQueryNewPaletteEvent
,
41397 _swigc__p_wxScrollEvent
,
41398 _swigc__p_wxScrollWinEvent
,
41399 _swigc__p_wxSetCursorEvent
,
41400 _swigc__p_wxShowEvent
,
41401 _swigc__p_wxSingleInstanceChecker
,
41403 _swigc__p_wxSizeEvent
,
41405 _swigc__p_wxSizerItem
,
41407 _swigc__p_wxStandardPaths
,
41408 _swigc__p_wxStaticBoxSizer
,
41409 _swigc__p_wxStdDialogButtonSizer
,
41410 _swigc__p_wxStopWatch
,
41411 _swigc__p_wxString
,
41412 _swigc__p_wxSysColourChangedEvent
,
41413 _swigc__p_wxSystemOptions
,
41414 _swigc__p_wxSystemSettings
,
41415 _swigc__p_wxTGAHandler
,
41416 _swigc__p_wxTIFFHandler
,
41417 _swigc__p_wxTextCtrl
,
41418 _swigc__p_wxTextDataObject
,
41419 _swigc__p_wxTimeSpan
,
41421 _swigc__p_wxTimerEvent
,
41422 _swigc__p_wxTimerRunner
,
41423 _swigc__p_wxTipProvider
,
41424 _swigc__p_wxToolTip
,
41425 _swigc__p_wxURLDataObject
,
41426 _swigc__p_wxUpdateUIEvent
,
41427 _swigc__p_wxValidator
,
41428 _swigc__p_wxVideoMode
,
41429 _swigc__p_wxWindow
,
41430 _swigc__p_wxWindowCreateEvent
,
41431 _swigc__p_wxWindowDestroyEvent
,
41432 _swigc__p_wxWindowDisabler
,
41433 _swigc__p_wxXPMHandler
,
41437 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41439 static swig_const_info swig_const_table
[] = {
41440 {0, 0, 0, 0.0, 0, 0}};
41445 /* -----------------------------------------------------------------------------
41446 * Type initialization:
41447 * This problem is tough by the requirement that no dynamic
41448 * memory is used. Also, since swig_type_info structures store pointers to
41449 * swig_cast_info structures and swig_cast_info structures store pointers back
41450 * to swig_type_info structures, we need some lookup code at initialization.
41451 * The idea is that swig generates all the structures that are needed.
41452 * The runtime then collects these partially filled structures.
41453 * The SWIG_InitializeModule function takes these initial arrays out of
41454 * swig_module, and does all the lookup, filling in the swig_module.types
41455 * array with the correct data and linking the correct swig_cast_info
41456 * structures together.
41458 * The generated swig_type_info structures are assigned staticly to an initial
41459 * array. We just loop though that array, and handle each type individually.
41460 * First we lookup if this type has been already loaded, and if so, use the
41461 * loaded structure instead of the generated one. Then we have to fill in the
41462 * cast linked list. The cast data is initially stored in something like a
41463 * two-dimensional array. Each row corresponds to a type (there are the same
41464 * number of rows as there are in the swig_type_initial array). Each entry in
41465 * a column is one of the swig_cast_info structures for that type.
41466 * The cast_initial array is actually an array of arrays, because each row has
41467 * a variable number of columns. So to actually build the cast linked list,
41468 * we find the array of casts associated with the type, and loop through it
41469 * adding the casts to the list. The one last trick we need to do is making
41470 * sure the type pointer in the swig_cast_info struct is correct.
41472 * First off, we lookup the cast->type name to see if it is already loaded.
41473 * There are three cases to handle:
41474 * 1) If the cast->type has already been loaded AND the type we are adding
41475 * casting info to has not been loaded (it is in this module), THEN we
41476 * replace the cast->type pointer with the type pointer that has already
41478 * 2) If BOTH types (the one we are adding casting info to, and the
41479 * cast->type) are loaded, THEN the cast info has already been loaded by
41480 * the previous module so we just ignore it.
41481 * 3) Finally, if cast->type has not already been loaded, then we add that
41482 * swig_cast_info to the linked list (because the cast->type) pointer will
41484 * ----------------------------------------------------------------------------- */
41494 #define SWIGRUNTIME_DEBUG
41498 SWIG_InitializeModule(void *clientdata
) {
41500 swig_module_info
*module_head
;
41501 static int init_run
= 0;
41503 clientdata
= clientdata
;
41505 if (init_run
) return;
41508 /* Initialize the swig_module */
41509 swig_module
.type_initial
= swig_type_initial
;
41510 swig_module
.cast_initial
= swig_cast_initial
;
41512 /* Try and load any already created modules */
41513 module_head
= SWIG_GetModule(clientdata
);
41515 swig_module
.next
= module_head
->next
;
41516 module_head
->next
= &swig_module
;
41518 /* This is the first module loaded */
41519 swig_module
.next
= &swig_module
;
41520 SWIG_SetModule(clientdata
, &swig_module
);
41523 /* Now work on filling in swig_module.types */
41524 #ifdef SWIGRUNTIME_DEBUG
41525 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41527 for (i
= 0; i
< swig_module
.size
; ++i
) {
41528 swig_type_info
*type
= 0;
41529 swig_type_info
*ret
;
41530 swig_cast_info
*cast
;
41532 #ifdef SWIGRUNTIME_DEBUG
41533 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41536 /* if there is another module already loaded */
41537 if (swig_module
.next
!= &swig_module
) {
41538 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41541 /* Overwrite clientdata field */
41542 #ifdef SWIGRUNTIME_DEBUG
41543 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41545 if (swig_module
.type_initial
[i
]->clientdata
) {
41546 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41547 #ifdef SWIGRUNTIME_DEBUG
41548 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41552 type
= swig_module
.type_initial
[i
];
41555 /* Insert casting types */
41556 cast
= swig_module
.cast_initial
[i
];
41557 while (cast
->type
) {
41558 /* Don't need to add information already in the list */
41560 #ifdef SWIGRUNTIME_DEBUG
41561 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41563 if (swig_module
.next
!= &swig_module
) {
41564 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41565 #ifdef SWIGRUNTIME_DEBUG
41566 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41570 if (type
== swig_module
.type_initial
[i
]) {
41571 #ifdef SWIGRUNTIME_DEBUG
41572 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41577 /* Check for casting already in the list */
41578 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41579 #ifdef SWIGRUNTIME_DEBUG
41580 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41582 if (!ocast
) ret
= 0;
41587 #ifdef SWIGRUNTIME_DEBUG
41588 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41591 type
->cast
->prev
= cast
;
41592 cast
->next
= type
->cast
;
41598 /* Set entry in modules->types array equal to the type */
41599 swig_module
.types
[i
] = type
;
41601 swig_module
.types
[i
] = 0;
41603 #ifdef SWIGRUNTIME_DEBUG
41604 printf("**** SWIG_InitializeModule: Cast List ******\n");
41605 for (i
= 0; i
< swig_module
.size
; ++i
) {
41607 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41608 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41609 while (cast
->type
) {
41610 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41614 printf("---- Total casts: %d\n",j
);
41616 printf("**** SWIG_InitializeModule: Cast List ******\n");
41620 /* This function will propagate the clientdata field of type to
41621 * any new swig_type_info structures that have been added into the list
41622 * of equivalent types. It is like calling
41623 * SWIG_TypeClientData(type, clientdata) a second time.
41626 SWIG_PropagateClientData(void) {
41628 swig_cast_info
*equiv
;
41629 static int init_run
= 0;
41631 if (init_run
) return;
41634 for (i
= 0; i
< swig_module
.size
; i
++) {
41635 if (swig_module
.types
[i
]->clientdata
) {
41636 equiv
= swig_module
.types
[i
]->cast
;
41638 if (!equiv
->converter
) {
41639 if (equiv
->type
&& !equiv
->type
->clientdata
)
41640 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41642 equiv
= equiv
->next
;
41662 /* Python-specific SWIG API */
41663 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41664 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41665 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41667 /* -----------------------------------------------------------------------------
41668 * global variable support code.
41669 * ----------------------------------------------------------------------------- */
41671 typedef struct swig_globalvar
{
41672 char *name
; /* Name of global variable */
41673 PyObject
*(*get_attr
)(void); /* Return the current value */
41674 int (*set_attr
)(PyObject
*); /* Set the value */
41675 struct swig_globalvar
*next
;
41678 typedef struct swig_varlinkobject
{
41680 swig_globalvar
*vars
;
41681 } swig_varlinkobject
;
41683 SWIGINTERN PyObject
*
41684 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41685 return PyString_FromString("<Swig global variables>");
41688 SWIGINTERN PyObject
*
41689 swig_varlink_str(swig_varlinkobject
*v
) {
41690 PyObject
*str
= PyString_FromString("(");
41691 swig_globalvar
*var
;
41692 for (var
= v
->vars
; var
; var
=var
->next
) {
41693 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41694 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41696 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41701 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41702 PyObject
*str
= swig_varlink_str(v
);
41703 fprintf(fp
,"Swig global variables ");
41704 fprintf(fp
,"%s\n", PyString_AsString(str
));
41710 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41711 swig_globalvar
*var
= v
->vars
;
41713 swig_globalvar
*n
= var
->next
;
41720 SWIGINTERN PyObject
*
41721 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41722 PyObject
*res
= NULL
;
41723 swig_globalvar
*var
= v
->vars
;
41725 if (strcmp(var
->name
,n
) == 0) {
41726 res
= (*var
->get_attr
)();
41731 if (res
== NULL
&& !PyErr_Occurred()) {
41732 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41738 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41740 swig_globalvar
*var
= v
->vars
;
41742 if (strcmp(var
->name
,n
) == 0) {
41743 res
= (*var
->set_attr
)(p
);
41748 if (res
== 1 && !PyErr_Occurred()) {
41749 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41754 SWIGINTERN PyTypeObject
*
41755 swig_varlink_type(void) {
41756 static char varlink__doc__
[] = "Swig var link object";
41757 static PyTypeObject varlink_type
;
41758 static int type_init
= 0;
41760 const PyTypeObject tmp
41762 PyObject_HEAD_INIT(NULL
)
41763 0, /* Number of items in variable part (ob_size) */
41764 (char *)"swigvarlink", /* Type name (tp_name) */
41765 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41766 0, /* Itemsize (tp_itemsize) */
41767 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41768 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41769 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41770 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41771 0, /* tp_compare */
41772 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41773 0, /* tp_as_number */
41774 0, /* tp_as_sequence */
41775 0, /* tp_as_mapping */
41778 (reprfunc
)swig_varlink_str
, /* tp_str */
41779 0, /* tp_getattro */
41780 0, /* tp_setattro */
41781 0, /* tp_as_buffer */
41783 varlink__doc__
, /* tp_doc */
41784 0, /* tp_traverse */
41786 0, /* tp_richcompare */
41787 0, /* tp_weaklistoffset */
41788 #if PY_VERSION_HEX >= 0x02020000
41789 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41791 #if PY_VERSION_HEX >= 0x02030000
41794 #ifdef COUNT_ALLOCS
41795 0,0,0,0 /* tp_alloc -> tp_next */
41798 varlink_type
= tmp
;
41799 varlink_type
.ob_type
= &PyType_Type
;
41802 return &varlink_type
;
41805 /* Create a variable linking object for use later */
41806 SWIGINTERN PyObject
*
41807 SWIG_Python_newvarlink(void) {
41808 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41812 return ((PyObject
*) result
);
41816 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41817 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41818 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41820 size_t size
= strlen(name
)+1;
41821 gv
->name
= (char *)malloc(size
);
41823 strncpy(gv
->name
,name
,size
);
41824 gv
->get_attr
= get_attr
;
41825 gv
->set_attr
= set_attr
;
41826 gv
->next
= v
->vars
;
41832 SWIGINTERN PyObject
*
41834 static PyObject
*_SWIG_globals
= 0;
41835 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41836 return _SWIG_globals
;
41839 /* -----------------------------------------------------------------------------
41840 * constants/methods manipulation
41841 * ----------------------------------------------------------------------------- */
41843 /* Install Constants */
41845 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41848 for (i
= 0; constants
[i
].type
; ++i
) {
41849 switch(constants
[i
].type
) {
41850 case SWIG_PY_POINTER
:
41851 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41853 case SWIG_PY_BINARY
:
41854 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41861 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41867 /* -----------------------------------------------------------------------------*/
41868 /* Fix SwigMethods to carry the callback ptrs when needed */
41869 /* -----------------------------------------------------------------------------*/
41872 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41873 swig_const_info
*const_table
,
41874 swig_type_info
**types
,
41875 swig_type_info
**types_initial
) {
41877 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41878 const char *c
= methods
[i
].ml_doc
;
41879 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41881 swig_const_info
*ci
= 0;
41882 const char *name
= c
+ 10;
41883 for (j
= 0; const_table
[j
].type
; ++j
) {
41884 if (strncmp(const_table
[j
].name
, name
,
41885 strlen(const_table
[j
].name
)) == 0) {
41886 ci
= &(const_table
[j
]);
41891 size_t shift
= (ci
->ptype
) - types
;
41892 swig_type_info
*ty
= types_initial
[shift
];
41893 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41894 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41895 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41898 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41900 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41902 strncpy(buff
, "swig_ptr: ", 10);
41904 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41905 methods
[i
].ml_doc
= ndoc
;
41917 /* -----------------------------------------------------------------------------*
41918 * Partial Init method
41919 * -----------------------------------------------------------------------------*/
41924 SWIGEXPORT
void SWIG_init(void) {
41927 /* Fix SwigMethods to carry the callback ptrs when needed */
41928 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41930 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41931 d
= PyModule_GetDict(m
);
41933 SWIG_InitializeModule(0);
41934 SWIG_InstallConstants(d
,swig_const_table
);
41937 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
41938 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
41939 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
41940 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
41941 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
41942 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
41943 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
41944 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
41945 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
41946 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
41947 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
41948 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
41949 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
41950 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
41951 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
41952 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
41953 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
41954 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
41955 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
41956 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
41957 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
41958 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
41959 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
41960 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
41961 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
41962 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
41963 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
41964 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
41965 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
41966 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
41967 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
41968 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
41969 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
41970 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
41971 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
41972 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
41973 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
41974 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
41975 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
41976 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
41977 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
41978 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
41979 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
41980 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
41981 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
41982 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
41983 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
41984 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
41985 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
41986 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
41987 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
41988 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
41989 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
41990 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
41991 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
41992 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
41993 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
41994 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
41995 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
41996 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
41997 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
41998 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
41999 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
42000 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
42001 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
42002 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
42003 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
42004 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
42005 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
42006 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
42007 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
42008 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
42009 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
42010 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
42011 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
42012 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
42013 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
42014 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
42015 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
42016 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
42017 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
42018 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
42019 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
42020 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
42021 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
42022 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
42023 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
42024 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
42025 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
42026 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
42027 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
42028 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
42029 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42030 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
42031 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
42032 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
42033 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
42034 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
42035 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
42036 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
42037 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
42038 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
42039 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
42040 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
42041 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
42042 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
42043 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
42044 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
42045 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
42046 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
42047 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
42048 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
42049 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
42050 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
42051 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
42052 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
42053 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
42054 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
42055 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
42056 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
42057 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
42058 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
42059 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
42060 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
42061 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
42062 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
42063 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
42064 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
42065 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
42066 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
42067 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
42068 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
42069 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
42070 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
42071 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
42072 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
42073 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
42074 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
42075 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
42076 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
42077 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
42078 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
42079 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
42080 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
42081 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
42082 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
42083 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
42084 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
42086 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
42088 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
42089 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
42090 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
42091 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
42092 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
42093 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
42094 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
42095 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
42096 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
42097 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
42098 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
42099 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
42100 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
42101 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
42102 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
42103 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
42104 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
42105 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
42106 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
42107 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
42108 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
42109 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
42110 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
42111 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
42112 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
42113 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
42114 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
42115 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
42116 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
42117 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
42118 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
42119 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
42120 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
42121 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
42122 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
42123 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
42124 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
42125 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
42126 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
42127 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
42128 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
42129 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
42130 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
42131 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
42132 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
42133 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
42134 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
42135 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
42136 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
42137 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
42138 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
42139 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
42140 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
42142 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
42144 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
42145 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
42146 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
42147 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
42148 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
42149 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
42150 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
42151 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
42152 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
42153 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
42154 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
42155 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
42156 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
42157 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
42158 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
42159 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
42160 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
42161 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
42162 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
42163 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
42164 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
42165 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
42166 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
42167 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
42168 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
42169 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
42170 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
42171 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
42172 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
42173 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
42174 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
42175 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
42176 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
42177 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
42178 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
42179 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
42180 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
42181 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
42182 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
42183 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
42184 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
42185 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
42186 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
42187 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
42188 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
42189 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
42190 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
42191 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
42192 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
42193 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
42194 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
42195 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
42196 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
42197 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
42198 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
42199 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
42200 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
42201 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
42202 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
42203 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
42204 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
42205 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
42206 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
42207 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
42208 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
42209 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
42210 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
42211 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
42212 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
42213 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
42214 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
42215 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
42216 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
42217 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
42218 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
42219 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
42221 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
42223 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
42224 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
42225 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
42226 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
42227 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
42228 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
42229 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
42230 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
42231 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
42232 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
42233 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
42234 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
42235 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
42236 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
42237 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
42238 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
42239 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
42240 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
42241 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
42242 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
42243 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
42244 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
42245 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
42246 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
42247 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
42248 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
42249 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
42250 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
42251 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
42252 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
42253 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
42254 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
42255 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
42256 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
42257 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
42258 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
42259 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
42260 SWIG_Python_SetConstant(d
, "DateTime_GMT13",SWIG_From_int(static_cast< int >(wxDateTime::GMT13
)));
42261 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
42262 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
42263 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
42264 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
42265 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
42266 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
42267 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
42268 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
42269 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
42270 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
42271 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
42272 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
42273 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
42274 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
42275 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
42276 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
42277 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
42278 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
42279 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
42280 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
42281 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
42282 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
42283 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
42284 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
42285 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
42286 SWIG_Python_SetConstant(d
, "DateTime_NZST",SWIG_From_int(static_cast< int >(wxDateTime::NZST
)));
42287 SWIG_Python_SetConstant(d
, "DateTime_NZDT",SWIG_From_int(static_cast< int >(wxDateTime::NZDT
)));
42288 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
42289 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
42290 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
42291 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
42292 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
42293 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
42294 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
42295 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
42296 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
42297 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
42298 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
42299 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
42300 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
42301 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
42302 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
42303 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
42304 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
42305 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
42306 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
42307 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
42308 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
42309 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
42310 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
42311 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
42312 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
42313 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
42314 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
42315 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
42316 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
42317 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
42318 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
42319 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
42320 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
42321 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
42322 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
42323 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
42324 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
42325 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
42326 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
42327 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
42328 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
42329 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
42330 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
42331 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
42332 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
42333 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
42334 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
42335 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
42336 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
42337 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
42338 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
42339 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
42340 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
42341 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
42342 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
42343 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
42344 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
42345 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
42346 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
42347 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
42348 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
42349 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
42350 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
42351 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
42352 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
42353 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
42354 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
42355 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
42356 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
42357 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
42358 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
42359 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
42360 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
42361 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
42362 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
42363 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
42364 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
42365 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
42366 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
42367 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
42368 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
42369 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
42370 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
42371 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
42372 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
42373 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
42374 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
42375 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
42376 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
42377 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
42378 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
42379 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
42380 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
42381 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
42382 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
42383 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
42384 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
42385 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
42386 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
42387 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
42388 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
42389 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
42390 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
42391 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
42392 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
42393 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
42394 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
42395 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
42396 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
42397 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
42398 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
42399 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
42400 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
42401 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
42402 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
42403 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
42404 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
42405 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
42406 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
42407 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
42408 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
42409 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
42410 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
42411 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
42412 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
42413 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
42414 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
42415 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
42416 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
42417 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
42418 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
42419 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
42420 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
42421 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
42422 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
42423 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
42424 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
42425 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
42427 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
42428 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
42429 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
42430 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
42432 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
42433 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
42434 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
42435 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
42436 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
42437 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
42438 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
42439 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
42440 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
42441 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
42442 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
42443 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
42444 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
42445 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
42446 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
42447 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));