1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_void swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAboutDialogInfo swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBitmapDataObject swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBusyCursor swig_types[16]
2483 #define SWIGTYPE_p_wxBusyInfo swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCaret swig_types[19]
2486 #define SWIGTYPE_p_wxChar swig_types[20]
2487 #define SWIGTYPE_p_wxChildFocusEvent swig_types[21]
2488 #define SWIGTYPE_p_wxClipboard swig_types[22]
2489 #define SWIGTYPE_p_wxClipboardLocker swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColour swig_types[26]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[27]
2494 #define SWIGTYPE_p_wxConfig swig_types[28]
2495 #define SWIGTYPE_p_wxConfigBase swig_types[29]
2496 #define SWIGTYPE_p_wxConfigPathChanger swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxCustomDataObject swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDataFormat swig_types[37]
2504 #define SWIGTYPE_p_wxDataObject swig_types[38]
2505 #define SWIGTYPE_p_wxDataObjectComposite swig_types[39]
2506 #define SWIGTYPE_p_wxDataObjectSimple swig_types[40]
2507 #define SWIGTYPE_p_wxDateEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDateSpan swig_types[42]
2509 #define SWIGTYPE_p_wxDateTime swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[44]
2511 #define SWIGTYPE_p_wxDisplay swig_types[45]
2512 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDuplexMode swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileConfig swig_types[53]
2520 #define SWIGTYPE_p_wxFileDataObject swig_types[54]
2521 #define SWIGTYPE_p_wxFileHistory swig_types[55]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[56]
2523 #define SWIGTYPE_p_wxFileType swig_types[57]
2524 #define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFrame swig_types[62]
2529 #define SWIGTYPE_p_wxGBSizerItem swig_types[63]
2530 #define SWIGTYPE_p_wxGIFHandler swig_types[64]
2531 #define SWIGTYPE_p_wxGridBagSizer swig_types[65]
2532 #define SWIGTYPE_p_wxGridSizer swig_types[66]
2533 #define SWIGTYPE_p_wxICOHandler swig_types[67]
2534 #define SWIGTYPE_p_wxIcon swig_types[68]
2535 #define SWIGTYPE_p_wxIconizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxIdleEvent swig_types[70]
2537 #define SWIGTYPE_p_wxImage swig_types[71]
2538 #define SWIGTYPE_p_wxImageHandler swig_types[72]
2539 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[73]
2540 #define SWIGTYPE_p_wxInitDialogEvent swig_types[74]
2541 #define SWIGTYPE_p_wxJPEGHandler swig_types[75]
2542 #define SWIGTYPE_p_wxJoystick swig_types[76]
2543 #define SWIGTYPE_p_wxJoystickEvent swig_types[77]
2544 #define SWIGTYPE_p_wxKeyEvent swig_types[78]
2545 #define SWIGTYPE_p_wxKillError swig_types[79]
2546 #define SWIGTYPE_p_wxLayoutConstraints swig_types[80]
2547 #define SWIGTYPE_p_wxLog swig_types[81]
2548 #define SWIGTYPE_p_wxLogBuffer swig_types[82]
2549 #define SWIGTYPE_p_wxLogChain swig_types[83]
2550 #define SWIGTYPE_p_wxLogGui swig_types[84]
2551 #define SWIGTYPE_p_wxLogNull swig_types[85]
2552 #define SWIGTYPE_p_wxLogStderr swig_types[86]
2553 #define SWIGTYPE_p_wxLogTextCtrl swig_types[87]
2554 #define SWIGTYPE_p_wxLogWindow swig_types[88]
2555 #define SWIGTYPE_p_wxMaximizeEvent swig_types[89]
2556 #define SWIGTYPE_p_wxMenu swig_types[90]
2557 #define SWIGTYPE_p_wxMenuBar swig_types[91]
2558 #define SWIGTYPE_p_wxMenuEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMenuItem swig_types[93]
2560 #define SWIGTYPE_p_wxMetafile swig_types[94]
2561 #define SWIGTYPE_p_wxMetafileDataObject swig_types[95]
2562 #define SWIGTYPE_p_wxMimeTypesManager swig_types[96]
2563 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[98]
2565 #define SWIGTYPE_p_wxMouseEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseState swig_types[100]
2567 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotifyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxObject swig_types[106]
2573 #define SWIGTYPE_p_wxOutputStream swig_types[107]
2574 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2580 #define SWIGTYPE_p_wxPlatformInfo swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPowerEvent swig_types[116]
2583 #define SWIGTYPE_p_wxProcessEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPyApp swig_types[118]
2585 #define SWIGTYPE_p_wxPyArtProvider swig_types[119]
2586 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[122]
2589 #define SWIGTYPE_p_wxPyDropSource swig_types[123]
2590 #define SWIGTYPE_p_wxPyDropTarget swig_types[124]
2591 #define SWIGTYPE_p_wxPyEvent swig_types[125]
2592 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[126]
2593 #define SWIGTYPE_p_wxPyImageHandler swig_types[127]
2594 #define SWIGTYPE_p_wxPyLog swig_types[128]
2595 #define SWIGTYPE_p_wxPyProcess swig_types[129]
2596 #define SWIGTYPE_p_wxPySizer swig_types[130]
2597 #define SWIGTYPE_p_wxPyTextDataObject swig_types[131]
2598 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[132]
2599 #define SWIGTYPE_p_wxPyTimer swig_types[133]
2600 #define SWIGTYPE_p_wxPyTipProvider swig_types[134]
2601 #define SWIGTYPE_p_wxPyValidator swig_types[135]
2602 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[136]
2603 #define SWIGTYPE_p_wxRect swig_types[137]
2604 #define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605 #define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSetCursorEvent swig_types[140]
2607 #define SWIGTYPE_p_wxShowEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[142]
2609 #define SWIGTYPE_p_wxSize swig_types[143]
2610 #define SWIGTYPE_p_wxSizeEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxSizerItem swig_types[146]
2613 #define SWIGTYPE_p_wxSound swig_types[147]
2614 #define SWIGTYPE_p_wxStandardPaths swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStopWatch swig_types[151]
2618 #define SWIGTYPE_p_wxString swig_types[152]
2619 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSystemOptions swig_types[154]
2621 #define SWIGTYPE_p_wxSystemSettings swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625 #define SWIGTYPE_p_wxTextDataObject swig_types[159]
2626 #define SWIGTYPE_p_wxTimeSpan swig_types[160]
2627 #define SWIGTYPE_p_wxTimer swig_types[161]
2628 #define SWIGTYPE_p_wxTimerEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTimerRunner swig_types[163]
2630 #define SWIGTYPE_p_wxTipProvider swig_types[164]
2631 #define SWIGTYPE_p_wxToolTip swig_types[165]
2632 #define SWIGTYPE_p_wxURLDataObject swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVideoMode swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[171]
2638 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDisabler swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _misc_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_misc_
2668 #define SWIG_name "_misc_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2742 #include "wx/wxPython/pyistream.h"
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2748 #define SWIG_From_long PyInt_FromLong
2751 SWIGINTERNINLINE PyObject
*
2752 SWIG_From_int (int value
)
2754 return SWIG_From_long (value
);
2760 # define LLONG_MIN LONG_LONG_MIN
2763 # define LLONG_MAX LONG_LONG_MAX
2766 # define ULLONG_MAX ULONG_LONG_MAX
2771 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2773 if (PyNumber_Check(obj
)) {
2774 if (val
) *val
= PyInt_AsLong(obj
);
2777 return SWIG_TypeError
;
2782 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2785 int res
= SWIG_AsVal_long (obj
, &v
);
2786 if (SWIG_IsOK(res
)) {
2787 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2788 return SWIG_OverflowError
;
2790 if (val
) *val
= static_cast< int >(v
);
2796 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2798 #include <wx/stockitem.h>
2800 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2801 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2802 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2805 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2807 if (obj
== Py_True
) {
2808 if (val
) *val
= true;
2810 } else if (obj
== Py_False
) {
2811 if (val
) *val
= false;
2815 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2816 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2823 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2826 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2827 return SWIG_TypeError
;
2830 *val
= (unsigned long)v
;
2835 SWIGINTERNINLINE PyObject
*
2836 SWIG_From_unsigned_SS_long (unsigned long value
)
2838 return (value
> LONG_MAX
) ?
2839 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2843 void* wxGetXDisplay()
2846 return wxGetDisplay();
2853 wxWindow
* FindWindowAtPointer() {
2855 return wxFindWindowAtPointer(unused
);
2859 bool wxThread_IsMain() {
2860 #ifdef WXP_WITH_THREAD
2861 return wxThread::IsMain();
2867 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2871 #include <wx/snglinst.h>
2875 #include <wx/msw/private.h>
2876 #include <wx/dynload.h>
2881 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2892 // This one only partially works. Appears to be an undocumented
2893 // "standard" convention that not all widgets adhear to. For
2894 // example, for some widgets backgrounds or non-client areas may
2896 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2901 // This one works much better, nearly all widgets and their
2902 // children are captured correctly[**]. Prior to the big
2903 // background erase changes that Vadim did in 2004-2005 this
2904 // method failed badly on XP with Themes activated, most native
2905 // widgets draw only partially, if at all. Without themes it
2906 // worked just like on Win2k. After those changes this method
2909 // ** For example the radio buttons in a wxRadioBox are not its
2910 // children by default, but you can capture it via the panel
2911 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2912 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2913 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2914 PRF_ERASEBKGND
| PRF_OWNED
);
2920 // This one is only defined in the latest SDK and is only
2921 // available on XP. MSDN says it is similar to sending WM_PRINT
2922 // so I expect that it will work similar to the above. Since it
2923 // is avaialble only on XP, it can't be compiled like this and
2924 // will have to be loaded dynamically.
2925 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2930 // Use PrintWindow if available, or fallback to WM_PRINT
2931 // otherwise. Unfortunately using PrintWindow is even worse than
2932 // WM_PRINT. For most native widgets nothing is drawn to the dc
2933 // at all, with or without Themes.
2934 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2935 static bool s_triedToLoad
= false;
2936 static PrintWindow_t pfnPrintWindow
= NULL
;
2937 if ( !s_triedToLoad
)
2940 s_triedToLoad
= true;
2941 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2942 if ( dllUser32
.IsLoaded() )
2944 wxLogNull nolog
; // Don't report errors here
2945 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2950 //printf("Using PrintWindow\n");
2951 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2955 //printf("Using WM_PRINT\n");
2956 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2957 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2958 PRF_ERASEBKGND
| PRF_OWNED
);
2969 #include <wx/tipdlg.h>
2972 SWIGINTERNINLINE PyObject
*
2973 SWIG_From_size_t (size_t value
)
2975 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2979 class wxPyTipProvider
: public wxTipProvider
{
2981 wxPyTipProvider(size_t currentTip
)
2982 : wxTipProvider(currentTip
) {}
2984 DEC_PYCALLBACK_STRING__pure(GetTip
);
2985 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2989 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2990 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2993 SWIGINTERNINLINE
int
2994 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2997 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2998 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3003 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3005 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3007 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3008 : wxTimer(owner
, id
)
3015 SWIGINTERN swig_type_info
*
3016 SWIG_pchar_descriptor()
3018 static int init
= 0;
3019 static swig_type_info
* info
= 0;
3021 info
= SWIG_TypeQuery("_p_char");
3028 SWIGINTERNINLINE PyObject
*
3029 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3032 if (size
> INT_MAX
) {
3033 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3034 return pchar_descriptor
?
3035 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3037 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3040 return SWIG_Py_Void();
3045 SWIGINTERNINLINE PyObject
*
3046 SWIG_FromCharPtr(const char *cptr
)
3048 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3053 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3056 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3057 if (SWIG_IsOK(res
)) {
3058 if ((v
> UINT_MAX
)) {
3059 return SWIG_OverflowError
;
3061 if (val
) *val
= static_cast< unsigned int >(v
);
3067 SWIGINTERN wxString
wxLog_TimeStamp(){
3069 wxLog::TimeStamp(&msg
);
3072 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3073 // Make some wrappers that double any % signs so they are 'escaped'
3074 void wxPyLogFatalError(const wxString
& msg
)
3077 m
.Replace(wxT("%"), wxT("%%"));
3081 void wxPyLogError(const wxString
& msg
)
3084 m
.Replace(wxT("%"), wxT("%%"));
3088 void wxPyLogWarning(const wxString
& msg
)
3091 m
.Replace(wxT("%"), wxT("%%"));
3095 void wxPyLogMessage(const wxString
& msg
)
3098 m
.Replace(wxT("%"), wxT("%%"));
3102 void wxPyLogInfo(const wxString
& msg
)
3105 m
.Replace(wxT("%"), wxT("%%"));
3109 void wxPyLogDebug(const wxString
& msg
)
3112 m
.Replace(wxT("%"), wxT("%%"));
3116 void wxPyLogVerbose(const wxString
& msg
)
3119 m
.Replace(wxT("%"), wxT("%%"));
3123 void wxPyLogStatus(const wxString
& msg
)
3126 m
.Replace(wxT("%"), wxT("%%"));
3130 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3133 m
.Replace(wxT("%"), wxT("%%"));
3134 wxLogStatus(pFrame
, m
);
3137 void wxPyLogSysError(const wxString
& msg
)
3140 m
.Replace(wxT("%"), wxT("%%"));
3144 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3147 m
.Replace(wxT("%"), wxT("%%"));
3148 wxLogGeneric(level
, m
);
3151 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3154 m
.Replace(wxT("%"), wxT("%%"));
3155 wxLogTrace(mask
, m
);
3158 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3161 m
.Replace(wxT("%"), wxT("%%"));
3162 wxLogTrace(mask
, m
);
3167 // A wxLog class that can be derived from in wxPython
3168 class wxPyLog
: public wxLog
{
3170 wxPyLog() : wxLog() {}
3172 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3174 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3175 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3176 PyObject
* s
= wx2PyString(szString
);
3177 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3180 wxPyEndBlockThreads(blocked
);
3182 wxLog::DoLog(level
, szString
, t
);
3185 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3187 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3188 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3189 PyObject
* s
= wx2PyString(szString
);
3190 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3193 wxPyEndBlockThreads(blocked
);
3195 wxLog::DoLogString(szString
, t
);
3198 DEC_PYCALLBACK_VOID_(Flush
);
3201 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3206 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3209 #include <wx/joystick.h>
3212 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3213 // A C++ stub class for wxJoystick for platforms that don't have it.
3214 class wxJoystick
: public wxObject
{
3216 wxJoystick(int joystick
= wxJOYSTICK1
) {
3217 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3218 PyErr_SetString(PyExc_NotImplementedError
,
3219 "wxJoystick is not available on this platform.");
3220 wxPyEndBlockThreads(blocked
);
3222 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3223 int GetZPosition() { return -1; }
3224 int GetButtonState() { return -1; }
3225 int GetPOVPosition() { return -1; }
3226 int GetPOVCTSPosition() { return -1; }
3227 int GetRudderPosition() { return -1; }
3228 int GetUPosition() { return -1; }
3229 int GetVPosition() { return -1; }
3230 int GetMovementThreshold() { return -1; }
3231 void SetMovementThreshold(int threshold
) {}
3233 bool IsOk(void) { return false; }
3234 int GetNumberJoysticks() { return -1; }
3235 int GetManufacturerId() { return -1; }
3236 int GetProductId() { return -1; }
3237 wxString
GetProductName() { return wxEmptyString
; }
3238 int GetXMin() { return -1; }
3239 int GetYMin() { return -1; }
3240 int GetZMin() { return -1; }
3241 int GetXMax() { return -1; }
3242 int GetYMax() { return -1; }
3243 int GetZMax() { return -1; }
3244 int GetNumberButtons() { return -1; }
3245 int GetNumberAxes() { return -1; }
3246 int GetMaxButtons() { return -1; }
3247 int GetMaxAxes() { return -1; }
3248 int GetPollingMin() { return -1; }
3249 int GetPollingMax() { return -1; }
3250 int GetRudderMin() { return -1; }
3251 int GetRudderMax() { return -1; }
3252 int GetUMin() { return -1; }
3253 int GetUMax() { return -1; }
3254 int GetVMin() { return -1; }
3255 int GetVMax() { return -1; }
3257 bool HasRudder() { return false; }
3258 bool HasZ() { return false; }
3259 bool HasU() { return false; }
3260 bool HasV() { return false; }
3261 bool HasPOV() { return false; }
3262 bool HasPOV4Dir() { return false; }
3263 bool HasPOVCTS() { return false; }
3265 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3266 bool ReleaseCapture() { return false; }
3271 #include <wx/sound.h>
3275 // A C++ stub class for wxWave for platforms that don't have it.
3276 class wxSound
: public wxObject
3280 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3281 PyErr_SetString(PyExc_NotImplementedError
,
3282 "wxSound is not available on this platform.");
3283 wxPyEndBlockThreads(blocked
);
3285 wxSound(const wxString
&/*, bool*/) {
3286 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3287 PyErr_SetString(PyExc_NotImplementedError
,
3288 "wxSound is not available on this platform.");
3289 wxPyEndBlockThreads(blocked
);
3291 wxSound(int, const wxByte
*) {
3292 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3293 PyErr_SetString(PyExc_NotImplementedError
,
3294 "wxSound is not available on this platform.");
3295 wxPyEndBlockThreads(blocked
);
3300 bool Create(const wxString
&/*, bool*/) { return false; }
3301 bool Create(int, const wxByte
*) { return false; };
3302 bool IsOk() { return false; };
3303 bool Play(unsigned) const { return false; }
3304 static bool Play(const wxString
&, unsigned) { return false; }
3305 static void Stop() {}
3310 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3311 if (fileName
.Length() == 0)
3314 return new wxSound(fileName
);
3316 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3317 unsigned char* buffer
; int size
;
3318 wxSound
*sound
= NULL
;
3320 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3321 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3323 sound
= new wxSound(size
, buffer
);
3325 wxPyEndBlockThreads(blocked
);
3328 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3330 unsigned char* buffer
;
3334 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3335 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3337 rv
= self
->Create(size
, buffer
);
3339 wxPyEndBlockThreads(blocked
);
3342 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3343 PyErr_SetString(PyExc_NotImplementedError
,
3344 "Create from data is not available on this platform.");
3345 wxPyEndBlockThreads(blocked
);
3350 #include <wx/mimetype.h>
3352 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3354 if (self
->GetMimeType(&str
))
3355 return wx2PyString(str
);
3359 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3361 if (self
->GetMimeTypes(arr
))
3362 return wxArrayString2PyList_helper(arr
);
3366 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3368 if (self
->GetExtensions(arr
))
3369 return wxArrayString2PyList_helper(arr
);
3373 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3375 if (self
->GetIcon(&loc
))
3376 return new wxIcon(loc
);
3380 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3382 if (self
->GetIcon(&loc
)) {
3383 wxString iconFile
= loc
.GetFileName();
3388 // Make a tuple and put the values in it
3389 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3390 PyObject
* tuple
= PyTuple_New(3);
3391 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3392 wxT("wxIcon"), true));
3393 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3394 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3395 wxPyEndBlockThreads(blocked
);
3401 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3403 if (self
->GetDescription(&str
))
3404 return wx2PyString(str
);
3408 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3410 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3411 return wx2PyString(str
);
3415 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3417 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3418 return wx2PyString(str
);
3422 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3423 wxArrayString verbs
;
3424 wxArrayString commands
;
3425 if (self
->GetAllCommands(&verbs
, &commands
,
3426 wxFileType::MessageParameters(filename
, mimetype
))) {
3427 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3428 PyObject
* tuple
= PyTuple_New(2);
3429 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3430 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3431 wxPyEndBlockThreads(blocked
);
3437 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3438 return wxFileType::ExpandCommand(command
,
3439 wxFileType::MessageParameters(filename
, mimetype
));
3441 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3443 self
->EnumAllFileTypes(arr
);
3444 return wxArrayString2PyList_helper(arr
);
3447 #include <wx/artprov.h>
3449 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3450 static const wxString
wxPyART_MENU(wxART_MENU
);
3451 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3452 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3453 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3454 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3455 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3456 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3457 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3458 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3459 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3460 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3461 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3462 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3463 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3464 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3465 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3466 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3467 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3468 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3469 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3470 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3471 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3472 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3473 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3474 static const wxString
wxPyART_HELP(wxART_HELP
);
3475 static const wxString
wxPyART_TIP(wxART_TIP
);
3476 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3477 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3478 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3479 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3480 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3481 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3482 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3483 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3484 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3485 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3486 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3487 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3488 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3489 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3490 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3491 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3492 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3493 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3494 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3495 static const wxString
wxPyART_COPY(wxART_COPY
);
3496 static const wxString
wxPyART_CUT(wxART_CUT
);
3497 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3498 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3499 static const wxString
wxPyART_NEW(wxART_NEW
);
3500 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3501 static const wxString
wxPyART_REDO(wxART_REDO
);
3502 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3503 static const wxString
wxPyART_FIND(wxART_FIND
);
3504 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3505 // Python aware wxArtProvider
3506 class wxPyArtProvider
: public wxArtProvider
{
3509 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3510 const wxArtClient
& client
,
3511 const wxSize
& size
) {
3512 wxBitmap rval
= wxNullBitmap
;
3513 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3514 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3515 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3519 s1
= wx2PyString(id
);
3520 s2
= wx2PyString(client
);
3521 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3526 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3531 wxPyEndBlockThreads(blocked
);
3538 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3542 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3543 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3544 PyObject
* ret
= PyTuple_New(3);
3546 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3547 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3548 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3550 wxPyEndBlockThreads(blocked
);
3554 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3559 cont
= self
->GetFirstGroup(value
, index
);
3560 return __EnumerationHelper(cont
, value
, index
);
3562 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3566 cont
= self
->GetNextGroup(value
, index
);
3567 return __EnumerationHelper(cont
, value
, index
);
3569 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3574 cont
= self
->GetFirstEntry(value
, index
);
3575 return __EnumerationHelper(cont
, value
, index
);
3577 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3581 cont
= self
->GetNextEntry(value
, index
);
3582 return __EnumerationHelper(cont
, value
, index
);
3584 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3586 self
->Read(key
, &rv
, defaultVal
);
3591 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3593 if (PyNumber_Check(obj
)) {
3594 if (val
) *val
= PyFloat_AsDouble(obj
);
3597 return SWIG_TypeError
;
3600 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3602 self
->Read(key
, &rv
, defaultVal
);
3606 #define SWIG_From_double PyFloat_FromDouble
3608 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3610 self
->Read(key
, &rv
, defaultVal
);
3614 #include <wx/datetime.h>
3616 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3617 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3619 #define LOCAL_TZ wxDateTime::Local
3621 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3624 wxDateTime::GetAmPmStrings(&am
, &pm
);
3625 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3626 PyObject
* tup
= PyTuple_New(2);
3627 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3628 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3629 wxPyEndBlockThreads(blocked
);
3633 SWIGINTERNINLINE PyObject
*
3634 SWIG_From_unsigned_SS_int (unsigned int value
)
3636 return SWIG_From_unsigned_SS_long (value
);
3639 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3640 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3641 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3642 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3643 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3644 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3645 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3646 return (*self
< *other
);
3648 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3649 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3650 return (*self
<= *other
);
3652 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3653 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3654 return (*self
> *other
);
3656 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3657 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3658 return (*self
>= *other
);
3660 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3661 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3662 return (*self
== *other
);
3664 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3665 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3666 return (*self
!= *other
);
3668 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3670 const wxChar
* _date
= date
;
3671 rv
= self
->ParseRfc822Date(_date
);
3672 if (rv
== NULL
) return -1;
3675 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3677 const wxChar
* _date
= date
;
3678 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3679 if (rv
== NULL
) return -1;
3682 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3684 const wxChar
* _datetime
= datetime
;
3685 rv
= self
->ParseDateTime(_datetime
);
3686 if (rv
== NULL
) return -1;
3687 return rv
- _datetime
;
3689 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3691 const wxChar
* _date
= date
;
3692 rv
= self
->ParseDate(_date
);
3693 if (rv
== NULL
) return -1;
3696 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3698 const wxChar
* _time
= time
;
3699 rv
= self
->ParseTime(_time
);
3700 if (rv
== NULL
) return -1;
3703 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3704 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3705 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3706 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3707 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3708 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3709 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3710 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3711 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3712 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3713 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3714 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3715 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3716 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3717 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3718 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3720 #include <wx/dataobj.h>
3722 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3723 size_t count
= self
->GetFormatCount(dir
);
3724 wxDataFormat
* formats
= new wxDataFormat
[count
];
3725 self
->GetAllFormats(formats
, dir
);
3727 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3728 PyObject
* list
= PyList_New(count
);
3729 for (size_t i
=0; i
<count
; i
++) {
3730 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3731 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3732 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3734 wxPyEndBlockThreads(blocked
);
3738 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3739 PyObject
* rval
= NULL
;
3740 size_t size
= self
->GetDataSize(format
);
3741 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3743 char* buf
= new char[size
];
3744 if (self
->GetDataHere(format
, buf
))
3745 rval
= PyString_FromStringAndSize(buf
, size
);
3752 wxPyEndBlockThreads(blocked
);
3755 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3757 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3758 if (PyString_Check(data
)) {
3759 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3762 // raise a TypeError if not a string
3763 PyErr_SetString(PyExc_TypeError
, "String expected.");
3766 wxPyEndBlockThreads(blocked
);
3769 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3770 PyObject
* rval
= NULL
;
3771 size_t size
= self
->GetDataSize();
3772 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3774 char* buf
= new char[size
];
3775 if (self
->GetDataHere(buf
))
3776 rval
= PyString_FromStringAndSize(buf
, size
);
3783 wxPyEndBlockThreads(blocked
);
3786 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3788 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3789 if (PyString_Check(data
)) {
3790 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3793 // raise a TypeError if not a string
3794 PyErr_SetString(PyExc_TypeError
, "String expected.");
3797 wxPyEndBlockThreads(blocked
);
3800 // Create a new class for wxPython to use
3801 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3803 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3804 : wxDataObjectSimple(format
) {}
3806 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3807 bool GetDataHere(void *buf
) const;
3808 bool SetData(size_t len
, const void *buf
);
3812 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3814 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3815 // We need to get the data for this object and write it to buf. I think
3816 // the best way to do this for wxPython is to have the Python method
3817 // return either a string or None and then act appropriately with the
3821 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3822 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3824 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3826 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3828 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3832 wxPyEndBlockThreads(blocked
);
3836 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3837 // For this one we simply need to make a string from buf and len
3838 // and send it to the Python method.
3840 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3841 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3842 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3843 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3846 wxPyEndBlockThreads(blocked
);
3850 // Create a new class for wxPython to use
3851 class wxPyTextDataObject
: public wxTextDataObject
{
3853 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3854 : wxTextDataObject(text
) {}
3856 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3857 DEC_PYCALLBACK_STRING__const(GetText
);
3858 DEC_PYCALLBACK__STRING(SetText
);
3862 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3863 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3864 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3867 // Create a new class for wxPython to use
3868 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3870 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3871 : wxBitmapDataObject(bitmap
) {}
3873 wxBitmap
GetBitmap() const;
3874 void SetBitmap(const wxBitmap
& bitmap
);
3878 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3879 wxBitmap
* rval
= &wxNullBitmap
;
3880 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3881 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3884 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3886 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3891 wxPyEndBlockThreads(blocked
);
3895 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3896 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3897 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3898 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3899 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3902 wxPyEndBlockThreads(blocked
);
3905 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3906 return new wxCustomDataObject(wxDataFormat(formatName
));
3908 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3910 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3911 if (PyString_Check(data
)) {
3912 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3915 // raise a TypeError if not a string
3916 PyErr_SetString(PyExc_TypeError
, "String expected.");
3919 wxPyEndBlockThreads(blocked
);
3922 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3924 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3925 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3926 wxPyEndBlockThreads(blocked
);
3930 #include <wx/metafile.h>
3933 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3936 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3937 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3938 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3939 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3940 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3943 class wxPyTextDropTarget
: public wxTextDropTarget
{
3945 wxPyTextDropTarget() {}
3947 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3949 DEC_PYCALLBACK__(OnLeave
);
3950 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3951 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3952 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3953 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3958 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3959 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3960 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3961 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3962 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3963 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3967 class wxPyFileDropTarget
: public wxFileDropTarget
{
3969 wxPyFileDropTarget() {}
3971 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3973 DEC_PYCALLBACK__(OnLeave
);
3974 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3975 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3976 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3977 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3982 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3983 const wxArrayString
& filenames
) {
3985 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3986 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3987 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3988 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3991 wxPyEndBlockThreads(blocked
);
3997 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3998 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3999 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4000 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4001 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4006 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4008 #include <wx/display.h>
4009 #include <wx/vidmode.h>
4011 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4012 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4015 const wxVideoMode wxDefaultVideoMode
;
4018 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4020 PyObject
* pyList
= NULL
;
4021 wxArrayVideoModes arr
= self
->GetModes(mode
);
4022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4023 pyList
= PyList_New(0);
4024 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4026 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4027 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4028 PyList_Append(pyList
, pyObj
);
4031 wxPyEndBlockThreads(blocked
);
4034 wxPyRaiseNotImplemented();
4038 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4040 return self
->GetCurrentMode();
4042 wxPyRaiseNotImplemented();
4043 return wxDefaultVideoMode
;
4046 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4048 return self
->ChangeMode(mode
);
4050 wxPyRaiseNotImplemented();
4054 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4058 wxPyRaiseNotImplemented();
4062 #include <wx/stdpaths.h>
4064 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4065 return (wxStandardPaths
*) &wxStandardPaths::Get();
4067 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4068 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4070 #ifndef wxHAS_POWER_EVENTS
4071 // Dummy class and other definitions for platforms that don't have them
4073 // See wxPython_int.h for wxPowerEvent
4076 wxEVT_POWER_SUSPENDING
,
4077 wxEVT_POWER_SUSPENDED
,
4078 wxEVT_POWER_SUSPEND_CANCEL
,
4082 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4083 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4088 #include <wx/aboutdlg.h>
4093 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
= 0;
4095 wxSystemColour arg1
;
4099 PyObject
* obj0
= 0 ;
4100 char * kwnames
[] = {
4101 (char *) "index", NULL
4104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4105 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4106 if (!SWIG_IsOK(ecode1
)) {
4107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4109 arg1
= static_cast< wxSystemColour
>(val1
);
4111 if (!wxPyCheckForApp()) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= wxSystemSettings::GetColour(arg1
);
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4124 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
= 0;
4130 PyObject
* obj0
= 0 ;
4131 char * kwnames
[] = {
4132 (char *) "index", NULL
4135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4137 if (!SWIG_IsOK(ecode1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4140 arg1
= static_cast< wxSystemFont
>(val1
);
4142 if (!wxPyCheckForApp()) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= wxSystemSettings::GetFont(arg1
);
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4155 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= 0;
4157 wxSystemMetric arg1
;
4158 wxWindow
*arg2
= (wxWindow
*) NULL
;
4164 PyObject
* obj0
= 0 ;
4165 PyObject
* obj1
= 0 ;
4166 char * kwnames
[] = {
4167 (char *) "index",(char *) "win", NULL
4170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4171 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4172 if (!SWIG_IsOK(ecode1
)) {
4173 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4175 arg1
= static_cast< wxSystemMetric
>(val1
);
4177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4178 if (!SWIG_IsOK(res2
)) {
4179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4181 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4184 if (!wxPyCheckForApp()) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= SWIG_From_int(static_cast< int >(result
));
4197 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
= 0;
4199 wxSystemFeature arg1
;
4203 PyObject
* obj0
= 0 ;
4204 char * kwnames
[] = {
4205 (char *) "index", NULL
4208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4210 if (!SWIG_IsOK(ecode1
)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4213 arg1
= static_cast< wxSystemFeature
>(val1
);
4215 if (!wxPyCheckForApp()) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4230 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4231 PyObject
*resultobj
= 0;
4232 wxSystemScreenType result
;
4234 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4236 if (!wxPyCheckForApp()) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4239 wxPyEndAllowThreads(__tstate
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= SWIG_From_int(static_cast< int >(result
));
4249 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
= 0;
4251 wxSystemScreenType arg1
;
4254 PyObject
* obj0
= 0 ;
4255 char * kwnames
[] = {
4256 (char *) "screen", NULL
4259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4260 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4261 if (!SWIG_IsOK(ecode1
)) {
4262 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4264 arg1
= static_cast< wxSystemScreenType
>(val1
);
4266 if (!wxPyCheckForApp()) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 wxSystemSettings::SetScreenType(arg1
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= SWIG_Py_Void();
4279 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4281 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4282 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4283 return SWIG_Py_Void();
4286 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4287 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4292 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4293 PyObject
*pyobj
= 0;
4297 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4299 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4306 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4307 PyObject
*resultobj
= 0;
4308 wxSystemOptions
*result
= 0 ;
4310 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (wxSystemOptions
*)new wxSystemOptions();
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4324 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
= 0;
4326 wxString
*arg1
= 0 ;
4327 wxString
*arg2
= 0 ;
4328 bool temp1
= false ;
4329 bool temp2
= false ;
4330 PyObject
* obj0
= 0 ;
4331 PyObject
* obj1
= 0 ;
4332 char * kwnames
[] = {
4333 (char *) "name",(char *) "value", NULL
4336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4338 arg1
= wxString_in_helper(obj0
);
4339 if (arg1
== NULL
) SWIG_fail
;
4343 arg2
= wxString_in_helper(obj1
);
4344 if (arg2
== NULL
) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_Py_Void();
4376 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
= 0;
4378 wxString
*arg1
= 0 ;
4380 bool temp1
= false ;
4383 PyObject
* obj0
= 0 ;
4384 PyObject
* obj1
= 0 ;
4385 char * kwnames
[] = {
4386 (char *) "name",(char *) "value", NULL
4389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4391 arg1
= wxString_in_helper(obj0
);
4392 if (arg1
== NULL
) SWIG_fail
;
4395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4396 if (!SWIG_IsOK(ecode2
)) {
4397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4399 arg2
= static_cast< int >(val2
);
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_Py_Void();
4421 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
= 0;
4423 wxString
*arg1
= 0 ;
4425 bool temp1
= false ;
4426 PyObject
* obj0
= 0 ;
4427 char * kwnames
[] = {
4428 (char *) "name", NULL
4431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4433 arg1
= wxString_in_helper(obj0
);
4434 if (arg1
== NULL
) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4464 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
= 0;
4466 wxString
*arg1
= 0 ;
4468 bool temp1
= false ;
4469 PyObject
* obj0
= 0 ;
4470 char * kwnames
[] = {
4471 (char *) "name", NULL
4474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4476 arg1
= wxString_in_helper(obj0
);
4477 if (arg1
== NULL
) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_From_int(static_cast< int >(result
));
4501 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
= 0;
4503 wxString
*arg1
= 0 ;
4505 bool temp1
= false ;
4506 PyObject
* obj0
= 0 ;
4507 char * kwnames
[] = {
4508 (char *) "name", NULL
4511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4513 arg1
= wxString_in_helper(obj0
);
4514 if (arg1
== NULL
) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4540 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
= 0;
4542 wxString
*arg1
= 0 ;
4544 bool temp1
= false ;
4545 PyObject
* obj0
= 0 ;
4546 char * kwnames
[] = {
4547 (char *) "name", NULL
4550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4552 arg1
= wxString_in_helper(obj0
);
4553 if (arg1
== NULL
) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4579 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4582 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4583 return SWIG_Py_Void();
4586 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4587 return SWIG_Python_InitShadowInstance(args
);
4590 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4591 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4596 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4597 PyObject
*pyobj
= 0;
4601 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4603 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4610 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4611 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4616 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4617 PyObject
*pyobj
= 0;
4621 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4623 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4630 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4631 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4636 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4637 PyObject
*pyobj
= 0;
4641 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4643 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4650 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4651 PyObject
*resultobj
= 0;
4654 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 result
= (long)wxNewId();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_From_long(static_cast< long >(result
));
4668 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4673 PyObject
* obj0
= 0 ;
4674 char * kwnames
[] = {
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4679 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4680 if (!SWIG_IsOK(ecode1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4683 arg1
= static_cast< long >(val1
);
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= SWIG_Py_Void();
4697 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4698 PyObject
*resultobj
= 0;
4701 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (long)wxGetCurrentId();
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= SWIG_From_long(static_cast< long >(result
));
4715 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
= 0;
4721 PyObject
* obj0
= 0 ;
4722 char * kwnames
[] = {
4726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4727 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4728 if (!SWIG_IsOK(ecode1
)) {
4729 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4731 arg1
= static_cast< int >(val1
);
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (bool)wxIsStockID(arg1
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4747 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
= 0;
4750 wxString
*arg2
= 0 ;
4754 bool temp2
= false ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 char * kwnames
[] = {
4758 (char *) "id",(char *) "label", NULL
4761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4763 if (!SWIG_IsOK(ecode1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4766 arg1
= static_cast< int >(val1
);
4768 arg2
= wxString_in_helper(obj1
);
4769 if (arg2
== NULL
) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4795 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
= 0;
4798 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4806 char * kwnames
[] = {
4807 (char *) "id",(char *) "flags", NULL
4810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4811 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4812 if (!SWIG_IsOK(ecode1
)) {
4813 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4815 arg1
= static_cast< int >(val1
);
4817 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4818 if (!SWIG_IsOK(ecode2
)) {
4819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4821 arg2
= static_cast< long >(val2
);
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= wxGetStockLabel(arg1
,arg2
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4842 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
= 0;
4845 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4851 PyObject
* obj0
= 0 ;
4852 PyObject
* obj1
= 0 ;
4853 char * kwnames
[] = {
4854 (char *) "id",(char *) "client", NULL
4857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4858 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4859 if (!SWIG_IsOK(ecode1
)) {
4860 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4862 arg1
= static_cast< int >(val1
);
4864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4865 if (!SWIG_IsOK(ecode2
)) {
4866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4868 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= wxGetStockHelpString(arg1
,arg2
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4889 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4890 PyObject
*resultobj
= 0;
4892 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4894 if (!wxPyCheckForApp()) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 resultobj
= SWIG_Py_Void();
4907 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4908 PyObject
*resultobj
= 0;
4910 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4912 if (!wxPyCheckForApp()) SWIG_fail
;
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= SWIG_Py_Void();
4925 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
= 0;
4927 bool arg1
= (bool) true ;
4931 PyObject
* obj0
= 0 ;
4932 char * kwnames
[] = {
4933 (char *) "resetTimer", NULL
4936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4938 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4939 if (!SWIG_IsOK(ecode1
)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4942 arg1
= static_cast< bool >(val1
);
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 result
= (long)wxGetElapsedTime(arg1
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= SWIG_From_long(static_cast< long >(result
));
4957 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4958 PyObject
*resultobj
= 0;
4961 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 result
= (bool)wxIsBusy();
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4977 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4978 PyObject
*resultobj
= 0;
4981 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5001 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
= 0;
5003 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5004 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5006 bool temp1
= false ;
5007 PyObject
* obj0
= 0 ;
5008 char * kwnames
[] = {
5009 (char *) "command", NULL
5012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
5015 arg1
= wxString_in_helper(obj0
);
5016 if (arg1
== NULL
) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (bool)wxShell((wxString
const &)*arg1
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5043 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5044 PyObject
*resultobj
= 0;
5046 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= SWIG_Py_Void();
5060 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5061 PyObject
*resultobj
= 0;
5062 int *arg1
= (int *) 0 ;
5063 int *arg2
= (int *) 0 ;
5066 int res1
= SWIG_TMPOBJ
;
5068 int res2
= SWIG_TMPOBJ
;
5072 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 result
= (int)wxGetOsVersion(arg1
,arg2
);
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 resultobj
= SWIG_From_int(static_cast< int >(result
));
5080 if (SWIG_IsTmpObj(res1
)) {
5081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5083 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5086 if (SWIG_IsTmpObj(res2
)) {
5087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5089 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5098 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5099 PyObject
*resultobj
= 0;
5102 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 result
= wxGetOsDescription();
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5122 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5123 PyObject
*resultobj
= 0;
5126 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (bool)wxIsPlatformLittleEndian();
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5142 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5143 PyObject
*resultobj
= 0;
5146 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (bool)wxIsPlatform64Bit();
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5162 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5163 PyObject
*resultobj
= 0;
5164 wxMemorySize result
;
5166 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= wxGetFreeMemory();
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5177 resultobj
= PyInt_FromLong(result
);
5186 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
= 0;
5188 wxShutdownFlags arg1
;
5192 PyObject
* obj0
= 0 ;
5193 char * kwnames
[] = {
5194 (char *) "wFlags", NULL
5197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5198 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5199 if (!SWIG_IsOK(ecode1
)) {
5200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5202 arg1
= static_cast< wxShutdownFlags
>(val1
);
5204 if (!wxPyCheckForApp()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (bool)wxShutdown(arg1
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5219 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
= 0;
5224 PyObject
* obj0
= 0 ;
5225 char * kwnames
[] = {
5226 (char *) "secs", NULL
5229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5231 if (!SWIG_IsOK(ecode1
)) {
5232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5234 arg1
= static_cast< int >(val1
);
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 resultobj
= SWIG_Py_Void();
5248 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
= 0;
5250 unsigned long arg1
;
5251 unsigned long val1
;
5253 PyObject
* obj0
= 0 ;
5254 char * kwnames
[] = {
5255 (char *) "milliseconds", NULL
5258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5259 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5260 if (!SWIG_IsOK(ecode1
)) {
5261 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5263 arg1
= static_cast< unsigned long >(val1
);
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= SWIG_Py_Void();
5277 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
= 0;
5279 unsigned long arg1
;
5280 unsigned long val1
;
5282 PyObject
* obj0
= 0 ;
5283 char * kwnames
[] = {
5284 (char *) "microseconds", NULL
5287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5288 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5289 if (!SWIG_IsOK(ecode1
)) {
5290 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5292 arg1
= static_cast< unsigned long >(val1
);
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= SWIG_Py_Void();
5306 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
= 0;
5311 PyObject
* obj0
= 0 ;
5312 char * kwnames
[] = {
5313 (char *) "enable", NULL
5316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5317 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5318 if (!SWIG_IsOK(ecode1
)) {
5319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5321 arg1
= static_cast< bool >(val1
);
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 wxEnableTopLevelWindows(arg1
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= SWIG_Py_Void();
5335 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
= 0;
5337 wxString
*arg1
= 0 ;
5339 bool temp1
= false ;
5340 PyObject
* obj0
= 0 ;
5341 char * kwnames
[] = {
5345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5347 arg1
= wxString_in_helper(obj0
);
5348 if (arg1
== NULL
) SWIG_fail
;
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5353 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5378 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5379 PyObject
*resultobj
= 0;
5382 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5385 result
= wxGetEmailAddress();
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5402 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5403 PyObject
*resultobj
= 0;
5406 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= wxGetHostName();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5426 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5427 PyObject
*resultobj
= 0;
5430 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= wxGetFullHostName();
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5450 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5451 PyObject
*resultobj
= 0;
5454 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 result
= wxGetUserId();
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5474 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5475 PyObject
*resultobj
= 0;
5478 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= wxGetUserName();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5498 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5499 PyObject
*resultobj
= 0;
5502 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 result
= wxGetHomeDir();
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5522 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
*resultobj
= 0;
5524 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5525 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5527 bool temp1
= false ;
5528 PyObject
* obj0
= 0 ;
5529 char * kwnames
[] = {
5530 (char *) "user", NULL
5533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5536 arg1
= wxString_in_helper(obj0
);
5537 if (arg1
== NULL
) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= wxGetUserHome((wxString
const &)*arg1
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5568 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5569 PyObject
*resultobj
= 0;
5570 unsigned long result
;
5572 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= (unsigned long)wxGetProcessId();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5586 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5587 PyObject
*resultobj
= 0;
5589 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_Py_Void();
5603 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
= 0;
5605 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5606 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5607 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5608 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5609 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5610 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5611 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5612 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5613 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5614 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5615 int arg6
= (int) 0 ;
5616 wxWindow
*arg7
= (wxWindow
*) NULL
;
5617 int arg8
= (int) -1 ;
5618 int arg9
= (int) -1 ;
5620 bool temp1
= false ;
5621 bool temp2
= false ;
5622 bool temp3
= false ;
5623 bool temp4
= false ;
5624 bool temp5
= false ;
5633 PyObject
* obj0
= 0 ;
5634 PyObject
* obj1
= 0 ;
5635 PyObject
* obj2
= 0 ;
5636 PyObject
* obj3
= 0 ;
5637 PyObject
* obj4
= 0 ;
5638 PyObject
* obj5
= 0 ;
5639 PyObject
* obj6
= 0 ;
5640 PyObject
* obj7
= 0 ;
5641 PyObject
* obj8
= 0 ;
5642 char * kwnames
[] = {
5643 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5649 arg1
= wxString_in_helper(obj0
);
5650 if (arg1
== NULL
) SWIG_fail
;
5656 arg2
= wxString_in_helper(obj1
);
5657 if (arg2
== NULL
) SWIG_fail
;
5663 arg3
= wxString_in_helper(obj2
);
5664 if (arg3
== NULL
) SWIG_fail
;
5670 arg4
= wxString_in_helper(obj3
);
5671 if (arg4
== NULL
) SWIG_fail
;
5677 arg5
= wxString_in_helper(obj4
);
5678 if (arg5
== NULL
) SWIG_fail
;
5683 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5684 if (!SWIG_IsOK(ecode6
)) {
5685 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5687 arg6
= static_cast< int >(val6
);
5690 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5691 if (!SWIG_IsOK(res7
)) {
5692 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5694 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5697 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5698 if (!SWIG_IsOK(ecode8
)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5701 arg8
= static_cast< int >(val8
);
5704 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5705 if (!SWIG_IsOK(ecode9
)) {
5706 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5708 arg9
= static_cast< int >(val9
);
5711 if (!wxPyCheckForApp()) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5770 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
= 0;
5772 wxString
*arg1
= 0 ;
5773 wxString
*arg2
= 0 ;
5774 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5775 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5776 wxWindow
*arg4
= (wxWindow
*) NULL
;
5778 bool temp1
= false ;
5779 bool temp2
= false ;
5780 bool temp3
= false ;
5783 PyObject
* obj0
= 0 ;
5784 PyObject
* obj1
= 0 ;
5785 PyObject
* obj2
= 0 ;
5786 PyObject
* obj3
= 0 ;
5787 char * kwnames
[] = {
5788 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5793 arg1
= wxString_in_helper(obj0
);
5794 if (arg1
== NULL
) SWIG_fail
;
5798 arg2
= wxString_in_helper(obj1
);
5799 if (arg2
== NULL
) SWIG_fail
;
5804 arg3
= wxString_in_helper(obj2
);
5805 if (arg3
== NULL
) SWIG_fail
;
5810 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5811 if (!SWIG_IsOK(res4
)) {
5812 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5814 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5817 if (!wxPyCheckForApp()) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5860 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
= 0;
5862 wxString
*arg1
= 0 ;
5863 wxString
*arg2
= 0 ;
5864 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5865 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5866 wxWindow
*arg4
= (wxWindow
*) NULL
;
5868 bool temp1
= false ;
5869 bool temp2
= false ;
5870 bool temp3
= false ;
5873 PyObject
* obj0
= 0 ;
5874 PyObject
* obj1
= 0 ;
5875 PyObject
* obj2
= 0 ;
5876 PyObject
* obj3
= 0 ;
5877 char * kwnames
[] = {
5878 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5883 arg1
= wxString_in_helper(obj0
);
5884 if (arg1
== NULL
) SWIG_fail
;
5888 arg2
= wxString_in_helper(obj1
);
5889 if (arg2
== NULL
) SWIG_fail
;
5894 arg3
= wxString_in_helper(obj2
);
5895 if (arg3
== NULL
) SWIG_fail
;
5900 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5901 if (!SWIG_IsOK(res4
)) {
5902 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5904 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5907 if (!wxPyCheckForApp()) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5950 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
= 0;
5952 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5953 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5954 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5955 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5956 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5957 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5958 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5959 wxWindow
*arg5
= (wxWindow
*) NULL
;
5961 bool temp1
= false ;
5962 bool temp2
= false ;
5968 PyObject
* obj0
= 0 ;
5969 PyObject
* obj1
= 0 ;
5970 PyObject
* obj2
= 0 ;
5971 PyObject
* obj3
= 0 ;
5972 PyObject
* obj4
= 0 ;
5973 char * kwnames
[] = {
5974 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5980 arg1
= wxString_in_helper(obj0
);
5981 if (arg1
== NULL
) SWIG_fail
;
5987 arg2
= wxString_in_helper(obj1
);
5988 if (arg2
== NULL
) SWIG_fail
;
5993 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5994 if (!SWIG_IsOK(ecode3
)) {
5995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5997 arg3
= static_cast< long >(val3
);
6002 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6006 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6007 if (!SWIG_IsOK(res5
)) {
6008 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
6010 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6013 if (!wxPyCheckForApp()) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6048 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
= 0;
6050 wxString
*arg1
= 0 ;
6051 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6052 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6053 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6054 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6055 wxWindow
*arg4
= (wxWindow
*) NULL
;
6056 int arg5
= (int) -1 ;
6057 int arg6
= (int) -1 ;
6058 bool arg7
= (bool) true ;
6060 bool temp1
= false ;
6061 bool temp2
= false ;
6062 bool temp3
= false ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6073 PyObject
* obj2
= 0 ;
6074 PyObject
* obj3
= 0 ;
6075 PyObject
* obj4
= 0 ;
6076 PyObject
* obj5
= 0 ;
6077 PyObject
* obj6
= 0 ;
6078 char * kwnames
[] = {
6079 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6084 arg1
= wxString_in_helper(obj0
);
6085 if (arg1
== NULL
) SWIG_fail
;
6090 arg2
= wxString_in_helper(obj1
);
6091 if (arg2
== NULL
) SWIG_fail
;
6097 arg3
= wxString_in_helper(obj2
);
6098 if (arg3
== NULL
) SWIG_fail
;
6103 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6104 if (!SWIG_IsOK(res4
)) {
6105 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6107 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6110 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6111 if (!SWIG_IsOK(ecode5
)) {
6112 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6114 arg5
= static_cast< int >(val5
);
6117 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6118 if (!SWIG_IsOK(ecode6
)) {
6119 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6121 arg6
= static_cast< int >(val6
);
6124 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6125 if (!SWIG_IsOK(ecode7
)) {
6126 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6128 arg7
= static_cast< bool >(val7
);
6131 if (!wxPyCheckForApp()) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6174 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
*resultobj
= 0;
6176 wxString
*arg1
= 0 ;
6177 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6178 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6179 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6180 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6181 wxWindow
*arg4
= (wxWindow
*) NULL
;
6183 bool temp1
= false ;
6184 bool temp2
= false ;
6185 bool temp3
= false ;
6188 PyObject
* obj0
= 0 ;
6189 PyObject
* obj1
= 0 ;
6190 PyObject
* obj2
= 0 ;
6191 PyObject
* obj3
= 0 ;
6192 char * kwnames
[] = {
6193 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6198 arg1
= wxString_in_helper(obj0
);
6199 if (arg1
== NULL
) SWIG_fail
;
6204 arg2
= wxString_in_helper(obj1
);
6205 if (arg2
== NULL
) SWIG_fail
;
6211 arg3
= wxString_in_helper(obj2
);
6212 if (arg3
== NULL
) SWIG_fail
;
6217 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6218 if (!SWIG_IsOK(res4
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6221 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6224 if (!wxPyCheckForApp()) SWIG_fail
;
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6267 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
= 0;
6269 wxString
*arg1
= 0 ;
6270 wxString
*arg2
= 0 ;
6272 wxString
*arg4
= (wxString
*) 0 ;
6273 wxWindow
*arg5
= (wxWindow
*) NULL
;
6274 int arg6
= (int) -1 ;
6275 int arg7
= (int) -1 ;
6276 bool arg8
= (bool) true ;
6277 int arg9
= (int) 150 ;
6278 int arg10
= (int) 200 ;
6280 bool temp1
= false ;
6281 bool temp2
= false ;
6294 PyObject
* obj0
= 0 ;
6295 PyObject
* obj1
= 0 ;
6296 PyObject
* obj2
= 0 ;
6297 PyObject
* obj3
= 0 ;
6298 PyObject
* obj4
= 0 ;
6299 PyObject
* obj5
= 0 ;
6300 PyObject
* obj6
= 0 ;
6301 PyObject
* obj7
= 0 ;
6302 PyObject
* obj8
= 0 ;
6303 char * kwnames
[] = {
6304 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6309 arg1
= wxString_in_helper(obj0
);
6310 if (arg1
== NULL
) SWIG_fail
;
6314 arg2
= wxString_in_helper(obj1
);
6315 if (arg2
== NULL
) SWIG_fail
;
6319 arg3
= PyList_Size(obj2
);
6320 arg4
= wxString_LIST_helper(obj2
);
6321 if (arg4
== NULL
) SWIG_fail
;
6324 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6325 if (!SWIG_IsOK(res5
)) {
6326 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6328 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6331 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6332 if (!SWIG_IsOK(ecode6
)) {
6333 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6335 arg6
= static_cast< int >(val6
);
6338 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6339 if (!SWIG_IsOK(ecode7
)) {
6340 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6342 arg7
= static_cast< int >(val7
);
6345 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6346 if (!SWIG_IsOK(ecode8
)) {
6347 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6349 arg8
= static_cast< bool >(val8
);
6352 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6353 if (!SWIG_IsOK(ecode9
)) {
6354 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6356 arg9
= static_cast< int >(val9
);
6359 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6360 if (!SWIG_IsOK(ecode10
)) {
6361 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6363 arg10
= static_cast< int >(val10
);
6366 if (!wxPyCheckForApp()) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6369 wxPyEndAllowThreads(__tstate
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6388 if (arg4
) delete [] arg4
;
6401 if (arg4
) delete [] arg4
;
6407 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
= 0;
6409 wxString
*arg1
= 0 ;
6410 wxString
*arg2
= 0 ;
6412 wxString
*arg4
= (wxString
*) 0 ;
6413 wxWindow
*arg5
= (wxWindow
*) NULL
;
6414 int arg6
= (int) -1 ;
6415 int arg7
= (int) -1 ;
6416 bool arg8
= (bool) true ;
6417 int arg9
= (int) 150 ;
6418 int arg10
= (int) 200 ;
6420 bool temp1
= false ;
6421 bool temp2
= false ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 PyObject
* obj2
= 0 ;
6437 PyObject
* obj3
= 0 ;
6438 PyObject
* obj4
= 0 ;
6439 PyObject
* obj5
= 0 ;
6440 PyObject
* obj6
= 0 ;
6441 PyObject
* obj7
= 0 ;
6442 PyObject
* obj8
= 0 ;
6443 char * kwnames
[] = {
6444 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6449 arg1
= wxString_in_helper(obj0
);
6450 if (arg1
== NULL
) SWIG_fail
;
6454 arg2
= wxString_in_helper(obj1
);
6455 if (arg2
== NULL
) SWIG_fail
;
6459 arg3
= PyList_Size(obj2
);
6460 arg4
= wxString_LIST_helper(obj2
);
6461 if (arg4
== NULL
) SWIG_fail
;
6464 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6465 if (!SWIG_IsOK(res5
)) {
6466 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6468 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6471 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6472 if (!SWIG_IsOK(ecode6
)) {
6473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6475 arg6
= static_cast< int >(val6
);
6478 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6479 if (!SWIG_IsOK(ecode7
)) {
6480 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6482 arg7
= static_cast< int >(val7
);
6485 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6486 if (!SWIG_IsOK(ecode8
)) {
6487 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6489 arg8
= static_cast< bool >(val8
);
6492 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6493 if (!SWIG_IsOK(ecode9
)) {
6494 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6496 arg9
= static_cast< int >(val9
);
6499 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6500 if (!SWIG_IsOK(ecode10
)) {
6501 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6503 arg10
= static_cast< int >(val10
);
6506 if (!wxPyCheckForApp()) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= SWIG_From_int(static_cast< int >(result
));
6522 if (arg4
) delete [] arg4
;
6535 if (arg4
) delete [] arg4
;
6541 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
= 0;
6543 wxString
*arg1
= 0 ;
6544 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6545 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6546 int arg3
= (int) wxOK
|wxCENTRE
;
6547 wxWindow
*arg4
= (wxWindow
*) NULL
;
6548 int arg5
= (int) -1 ;
6549 int arg6
= (int) -1 ;
6551 bool temp1
= false ;
6552 bool temp2
= false ;
6561 PyObject
* obj0
= 0 ;
6562 PyObject
* obj1
= 0 ;
6563 PyObject
* obj2
= 0 ;
6564 PyObject
* obj3
= 0 ;
6565 PyObject
* obj4
= 0 ;
6566 PyObject
* obj5
= 0 ;
6567 char * kwnames
[] = {
6568 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6573 arg1
= wxString_in_helper(obj0
);
6574 if (arg1
== NULL
) SWIG_fail
;
6579 arg2
= wxString_in_helper(obj1
);
6580 if (arg2
== NULL
) SWIG_fail
;
6585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6586 if (!SWIG_IsOK(ecode3
)) {
6587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6589 arg3
= static_cast< int >(val3
);
6592 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6593 if (!SWIG_IsOK(res4
)) {
6594 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6596 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6599 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6600 if (!SWIG_IsOK(ecode5
)) {
6601 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6603 arg5
= static_cast< int >(val5
);
6606 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6607 if (!SWIG_IsOK(ecode6
)) {
6608 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6610 arg6
= static_cast< int >(val6
);
6613 if (!wxPyCheckForApp()) SWIG_fail
;
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= SWIG_From_int(static_cast< int >(result
));
6642 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
= 0;
6644 wxString
*arg1
= 0 ;
6645 wxString
*arg2
= 0 ;
6646 wxString
*arg3
= 0 ;
6648 long arg5
= (long) 0 ;
6649 long arg6
= (long) 100 ;
6650 wxWindow
*arg7
= (wxWindow
*) NULL
;
6651 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6652 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6654 bool temp1
= false ;
6655 bool temp2
= false ;
6656 bool temp3
= false ;
6666 PyObject
* obj0
= 0 ;
6667 PyObject
* obj1
= 0 ;
6668 PyObject
* obj2
= 0 ;
6669 PyObject
* obj3
= 0 ;
6670 PyObject
* obj4
= 0 ;
6671 PyObject
* obj5
= 0 ;
6672 PyObject
* obj6
= 0 ;
6673 PyObject
* obj7
= 0 ;
6674 char * kwnames
[] = {
6675 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6680 arg1
= wxString_in_helper(obj0
);
6681 if (arg1
== NULL
) SWIG_fail
;
6685 arg2
= wxString_in_helper(obj1
);
6686 if (arg2
== NULL
) SWIG_fail
;
6690 arg3
= wxString_in_helper(obj2
);
6691 if (arg3
== NULL
) SWIG_fail
;
6694 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6695 if (!SWIG_IsOK(ecode4
)) {
6696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6698 arg4
= static_cast< long >(val4
);
6700 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6701 if (!SWIG_IsOK(ecode5
)) {
6702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6704 arg5
= static_cast< long >(val5
);
6707 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6708 if (!SWIG_IsOK(ecode6
)) {
6709 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6711 arg6
= static_cast< long >(val6
);
6714 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6715 if (!SWIG_IsOK(res7
)) {
6716 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6718 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6723 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6727 if (!wxPyCheckForApp()) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_From_long(static_cast< long >(result
));
6764 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6765 PyObject
*resultobj
= 0;
6768 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6770 if (!wxPyCheckForApp()) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 result
= (bool)wxColourDisplay();
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6785 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6786 PyObject
*resultobj
= 0;
6789 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6791 if (!wxPyCheckForApp()) SWIG_fail
;
6792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6793 result
= (int)wxDisplayDepth();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= SWIG_From_int(static_cast< int >(result
));
6804 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6805 PyObject
*resultobj
= 0;
6808 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6810 if (!wxPyCheckForApp()) SWIG_fail
;
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 result
= (int)wxGetDisplayDepth();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_From_int(static_cast< int >(result
));
6823 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6824 PyObject
*resultobj
= 0;
6825 int *arg1
= (int *) 0 ;
6826 int *arg2
= (int *) 0 ;
6828 int res1
= SWIG_TMPOBJ
;
6830 int res2
= SWIG_TMPOBJ
;
6834 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6836 if (!wxPyCheckForApp()) SWIG_fail
;
6837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6838 wxDisplaySize(arg1
,arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= SWIG_Py_Void();
6843 if (SWIG_IsTmpObj(res1
)) {
6844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6846 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6849 if (SWIG_IsTmpObj(res2
)) {
6850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6852 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6861 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6862 PyObject
*resultobj
= 0;
6865 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6867 if (!wxPyCheckForApp()) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= wxGetDisplaySize();
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6880 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6881 PyObject
*resultobj
= 0;
6882 int *arg1
= (int *) 0 ;
6883 int *arg2
= (int *) 0 ;
6885 int res1
= SWIG_TMPOBJ
;
6887 int res2
= SWIG_TMPOBJ
;
6891 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6893 if (!wxPyCheckForApp()) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 wxDisplaySizeMM(arg1
,arg2
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= SWIG_Py_Void();
6900 if (SWIG_IsTmpObj(res1
)) {
6901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6903 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6906 if (SWIG_IsTmpObj(res2
)) {
6907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6909 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6918 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6919 PyObject
*resultobj
= 0;
6922 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6924 if (!wxPyCheckForApp()) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= wxGetDisplaySizeMM();
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6937 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6938 PyObject
*resultobj
= 0;
6939 int *arg1
= (int *) 0 ;
6940 int *arg2
= (int *) 0 ;
6941 int *arg3
= (int *) 0 ;
6942 int *arg4
= (int *) 0 ;
6944 int res1
= SWIG_TMPOBJ
;
6946 int res2
= SWIG_TMPOBJ
;
6948 int res3
= SWIG_TMPOBJ
;
6950 int res4
= SWIG_TMPOBJ
;
6956 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6958 if (!wxPyCheckForApp()) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= SWIG_Py_Void();
6965 if (SWIG_IsTmpObj(res1
)) {
6966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6968 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6971 if (SWIG_IsTmpObj(res2
)) {
6972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6974 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6977 if (SWIG_IsTmpObj(res3
)) {
6978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6980 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6983 if (SWIG_IsTmpObj(res4
)) {
6984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6986 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6995 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6996 PyObject
*resultobj
= 0;
6999 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
7001 if (!wxPyCheckForApp()) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= wxGetClientDisplayRect();
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7014 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
= 0;
7016 wxCursor
*arg1
= 0 ;
7019 PyObject
* obj0
= 0 ;
7020 char * kwnames
[] = {
7021 (char *) "cursor", NULL
7024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
7025 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
7026 if (!SWIG_IsOK(res1
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7032 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7034 if (!wxPyCheckForApp()) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_Py_Void();
7047 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7048 PyObject
*resultobj
= 0;
7051 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7053 if (!wxPyCheckForApp()) SWIG_fail
;
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 result
= (void *)wxGetXDisplay();
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7066 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
= 0;
7068 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7071 PyObject
* obj0
= 0 ;
7072 char * kwnames
[] = {
7073 (char *) "cursor", NULL
7076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7079 if (!SWIG_IsOK(res1
)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7082 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7085 if (!wxPyCheckForApp()) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 wxBeginBusyCursor(arg1
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 resultobj
= SWIG_Py_Void();
7098 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7102 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7104 if (!wxPyCheckForApp()) SWIG_fail
;
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 result
= wxGetMousePosition();
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7117 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7118 PyObject
*resultobj
= 0;
7119 wxWindow
*result
= 0 ;
7121 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7123 if (!wxPyCheckForApp()) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (wxWindow
*)FindWindowAtPointer();
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= wxPyMake_wxObject(result
, 0);
7138 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7139 PyObject
*resultobj
= 0;
7140 wxWindow
*result
= 0 ;
7142 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7144 if (!wxPyCheckForApp()) SWIG_fail
;
7145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7146 result
= (wxWindow
*)wxGetActiveWindow();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= wxPyMake_wxObject(result
, 0);
7159 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
= 0;
7162 wxWindow
*result
= 0 ;
7164 PyObject
* obj0
= 0 ;
7165 char * kwnames
[] = {
7169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7172 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7175 if (!wxPyCheckForApp()) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7182 resultobj
= wxPyMake_wxObject(result
, 0);
7190 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
= 0;
7193 wxWindow
*result
= 0 ;
7195 PyObject
* obj0
= 0 ;
7196 char * kwnames
[] = {
7200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7203 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7206 if (!wxPyCheckForApp()) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= wxPyMake_wxObject(result
, 0);
7221 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
= 0;
7223 wxWindow
*arg1
= (wxWindow
*) 0 ;
7224 wxWindow
*result
= 0 ;
7227 PyObject
* obj0
= 0 ;
7228 char * kwnames
[] = {
7229 (char *) "win", NULL
7232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7237 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7239 if (!wxPyCheckForApp()) SWIG_fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= wxPyMake_wxObject(result
, 0);
7254 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
= 0;
7256 wxString
*arg1
= 0 ;
7258 bool temp1
= false ;
7259 PyObject
* obj0
= 0 ;
7260 char * kwnames
[] = {
7261 (char *) "url", NULL
7264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7266 arg1
= wxString_in_helper(obj0
);
7267 if (arg1
== NULL
) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7293 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
= 0;
7299 PyObject
* obj0
= 0 ;
7300 char * kwnames
[] = {
7301 (char *) "key", NULL
7304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7305 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7306 if (!SWIG_IsOK(ecode1
)) {
7307 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7309 arg1
= static_cast< wxKeyCode
>(val1
);
7311 if (!wxPyCheckForApp()) SWIG_fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 result
= (bool)wxGetKeyState(arg1
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7326 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7327 PyObject
*resultobj
= 0;
7328 wxMouseState
*result
= 0 ;
7330 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= (wxMouseState
*)new wxMouseState();
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7344 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7345 PyObject
*resultobj
= 0;
7346 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7349 PyObject
*swig_obj
[1] ;
7351 if (!args
) SWIG_fail
;
7353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7354 if (!SWIG_IsOK(res1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7357 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_Py_Void();
7372 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7373 PyObject
*resultobj
= 0;
7374 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7378 PyObject
*swig_obj
[1] ;
7380 if (!args
) SWIG_fail
;
7382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7383 if (!SWIG_IsOK(res1
)) {
7384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7386 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 result
= (int)(arg1
)->GetX();
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= SWIG_From_int(static_cast< int >(result
));
7400 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7401 PyObject
*resultobj
= 0;
7402 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7406 PyObject
*swig_obj
[1] ;
7408 if (!args
) SWIG_fail
;
7410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7411 if (!SWIG_IsOK(res1
)) {
7412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7414 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 result
= (int)(arg1
)->GetY();
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 resultobj
= SWIG_From_int(static_cast< int >(result
));
7428 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7429 PyObject
*resultobj
= 0;
7430 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7434 PyObject
*swig_obj
[1] ;
7436 if (!args
) SWIG_fail
;
7438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7439 if (!SWIG_IsOK(res1
)) {
7440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7442 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 result
= (bool)(arg1
)->LeftDown();
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7458 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7459 PyObject
*resultobj
= 0;
7460 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7464 PyObject
*swig_obj
[1] ;
7466 if (!args
) SWIG_fail
;
7468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7469 if (!SWIG_IsOK(res1
)) {
7470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7472 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 result
= (bool)(arg1
)->MiddleDown();
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7488 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7489 PyObject
*resultobj
= 0;
7490 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7494 PyObject
*swig_obj
[1] ;
7496 if (!args
) SWIG_fail
;
7498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7499 if (!SWIG_IsOK(res1
)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7502 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (bool)(arg1
)->RightDown();
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7518 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7519 PyObject
*resultobj
= 0;
7520 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7524 PyObject
*swig_obj
[1] ;
7526 if (!args
) SWIG_fail
;
7528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7529 if (!SWIG_IsOK(res1
)) {
7530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7532 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (bool)(arg1
)->ControlDown();
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7548 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7549 PyObject
*resultobj
= 0;
7550 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7554 PyObject
*swig_obj
[1] ;
7556 if (!args
) SWIG_fail
;
7558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7559 if (!SWIG_IsOK(res1
)) {
7560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7562 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (bool)(arg1
)->ShiftDown();
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7578 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7579 PyObject
*resultobj
= 0;
7580 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7584 PyObject
*swig_obj
[1] ;
7586 if (!args
) SWIG_fail
;
7588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7589 if (!SWIG_IsOK(res1
)) {
7590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7592 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 result
= (bool)(arg1
)->AltDown();
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7608 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7609 PyObject
*resultobj
= 0;
7610 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7614 PyObject
*swig_obj
[1] ;
7616 if (!args
) SWIG_fail
;
7618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7619 if (!SWIG_IsOK(res1
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7622 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (bool)(arg1
)->MetaDown();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7638 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7639 PyObject
*resultobj
= 0;
7640 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7644 PyObject
*swig_obj
[1] ;
7646 if (!args
) SWIG_fail
;
7648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7649 if (!SWIG_IsOK(res1
)) {
7650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7652 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 result
= (bool)(arg1
)->CmdDown();
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7668 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
*resultobj
= 0;
7670 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7677 PyObject
* obj1
= 0 ;
7678 char * kwnames
[] = {
7679 (char *) "self",(char *) "x", NULL
7682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7687 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7689 if (!SWIG_IsOK(ecode2
)) {
7690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7692 arg2
= static_cast< int >(val2
);
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= SWIG_Py_Void();
7706 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
= 0;
7708 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7716 char * kwnames
[] = {
7717 (char *) "self",(char *) "y", NULL
7720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7722 if (!SWIG_IsOK(res1
)) {
7723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7725 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7727 if (!SWIG_IsOK(ecode2
)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7730 arg2
= static_cast< int >(val2
);
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= SWIG_Py_Void();
7744 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
= 0;
7746 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7754 char * kwnames
[] = {
7755 (char *) "self",(char *) "down", NULL
7758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7760 if (!SWIG_IsOK(res1
)) {
7761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7763 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7764 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7765 if (!SWIG_IsOK(ecode2
)) {
7766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7768 arg2
= static_cast< bool >(val2
);
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 (arg1
)->SetLeftDown(arg2
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= SWIG_Py_Void();
7782 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
= 0;
7784 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7790 PyObject
* obj0
= 0 ;
7791 PyObject
* obj1
= 0 ;
7792 char * kwnames
[] = {
7793 (char *) "self",(char *) "down", NULL
7796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7798 if (!SWIG_IsOK(res1
)) {
7799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7801 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7802 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7803 if (!SWIG_IsOK(ecode2
)) {
7804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7806 arg2
= static_cast< bool >(val2
);
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 (arg1
)->SetMiddleDown(arg2
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 resultobj
= SWIG_Py_Void();
7820 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
= 0;
7822 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7830 char * kwnames
[] = {
7831 (char *) "self",(char *) "down", NULL
7834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7836 if (!SWIG_IsOK(res1
)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7839 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7840 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7841 if (!SWIG_IsOK(ecode2
)) {
7842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7844 arg2
= static_cast< bool >(val2
);
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 (arg1
)->SetRightDown(arg2
);
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 resultobj
= SWIG_Py_Void();
7858 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
= 0;
7860 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7866 PyObject
* obj0
= 0 ;
7867 PyObject
* obj1
= 0 ;
7868 char * kwnames
[] = {
7869 (char *) "self",(char *) "down", NULL
7872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7874 if (!SWIG_IsOK(res1
)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7877 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7878 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7879 if (!SWIG_IsOK(ecode2
)) {
7880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7882 arg2
= static_cast< bool >(val2
);
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 (arg1
)->SetControlDown(arg2
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_Py_Void();
7896 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
= 0;
7898 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7904 PyObject
* obj0
= 0 ;
7905 PyObject
* obj1
= 0 ;
7906 char * kwnames
[] = {
7907 (char *) "self",(char *) "down", NULL
7910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7912 if (!SWIG_IsOK(res1
)) {
7913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7915 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7916 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7917 if (!SWIG_IsOK(ecode2
)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7920 arg2
= static_cast< bool >(val2
);
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 (arg1
)->SetShiftDown(arg2
);
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_Py_Void();
7934 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
= 0;
7936 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7942 PyObject
* obj0
= 0 ;
7943 PyObject
* obj1
= 0 ;
7944 char * kwnames
[] = {
7945 (char *) "self",(char *) "down", NULL
7948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7950 if (!SWIG_IsOK(res1
)) {
7951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7953 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7954 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7955 if (!SWIG_IsOK(ecode2
)) {
7956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7958 arg2
= static_cast< bool >(val2
);
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 (arg1
)->SetAltDown(arg2
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= SWIG_Py_Void();
7972 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
= 0;
7974 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7980 PyObject
* obj0
= 0 ;
7981 PyObject
* obj1
= 0 ;
7982 char * kwnames
[] = {
7983 (char *) "self",(char *) "down", NULL
7986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7988 if (!SWIG_IsOK(res1
)) {
7989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7991 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7992 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7993 if (!SWIG_IsOK(ecode2
)) {
7994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7996 arg2
= static_cast< bool >(val2
);
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 (arg1
)->SetMetaDown(arg2
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= SWIG_Py_Void();
8010 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8013 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
8014 return SWIG_Py_Void();
8017 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8018 return SWIG_Python_InitShadowInstance(args
);
8021 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8022 PyObject
*resultobj
= 0;
8023 wxMouseState result
;
8025 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 result
= wxGetMouseState();
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8039 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8040 PyObject
*resultobj
= 0;
8042 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8044 if (!wxPyCheckForApp()) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 wxWakeUpMainThread();
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= SWIG_Py_Void();
8057 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8058 PyObject
*resultobj
= 0;
8060 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8062 if (!wxPyCheckForApp()) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8068 resultobj
= SWIG_Py_Void();
8075 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8076 PyObject
*resultobj
= 0;
8078 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8080 if (!wxPyCheckForApp()) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= SWIG_Py_Void();
8093 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8094 PyObject
*resultobj
= 0;
8095 wxMutexGuiLocker
*result
= 0 ;
8097 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8099 if (!wxPyCheckForApp()) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8112 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8113 PyObject
*resultobj
= 0;
8114 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8117 PyObject
*swig_obj
[1] ;
8119 if (!args
) SWIG_fail
;
8121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8122 if (!SWIG_IsOK(res1
)) {
8123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8125 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_Py_Void();
8140 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8143 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8144 return SWIG_Py_Void();
8147 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8148 return SWIG_Python_InitShadowInstance(args
);
8151 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8152 PyObject
*resultobj
= 0;
8155 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (bool)wxThread_IsMain();
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8171 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
= 0;
8173 wxString
*arg1
= 0 ;
8174 wxToolTip
*result
= 0 ;
8175 bool temp1
= false ;
8176 PyObject
* obj0
= 0 ;
8177 char * kwnames
[] = {
8178 (char *) "tip", NULL
8181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8183 arg1
= wxString_in_helper(obj0
);
8184 if (arg1
== NULL
) SWIG_fail
;
8188 if (!wxPyCheckForApp()) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8209 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8210 PyObject
*resultobj
= 0;
8211 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8214 PyObject
*swig_obj
[1] ;
8216 if (!args
) SWIG_fail
;
8218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8219 if (!SWIG_IsOK(res1
)) {
8220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8222 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= SWIG_Py_Void();
8237 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
= 0;
8239 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8240 wxString
*arg2
= 0 ;
8243 bool temp2
= false ;
8244 PyObject
* obj0
= 0 ;
8245 PyObject
* obj1
= 0 ;
8246 char * kwnames
[] = {
8247 (char *) "self",(char *) "tip", NULL
8250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8252 if (!SWIG_IsOK(res1
)) {
8253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8255 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8257 arg2
= wxString_in_helper(obj1
);
8258 if (arg2
== NULL
) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 (arg1
)->SetTip((wxString
const &)*arg2
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= SWIG_Py_Void();
8282 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8283 PyObject
*resultobj
= 0;
8284 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8288 PyObject
*swig_obj
[1] ;
8290 if (!args
) SWIG_fail
;
8292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8293 if (!SWIG_IsOK(res1
)) {
8294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8296 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 result
= (arg1
)->GetTip();
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8316 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8317 PyObject
*resultobj
= 0;
8318 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8319 wxWindow
*result
= 0 ;
8322 PyObject
*swig_obj
[1] ;
8324 if (!args
) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8330 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (wxWindow
*)(arg1
)->GetWindow();
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= wxPyMake_wxObject(result
, 0);
8346 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
= 0;
8351 PyObject
* obj0
= 0 ;
8352 char * kwnames
[] = {
8353 (char *) "flag", NULL
8356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8357 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8358 if (!SWIG_IsOK(ecode1
)) {
8359 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8361 arg1
= static_cast< bool >(val1
);
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 wxToolTip::Enable(arg1
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 resultobj
= SWIG_Py_Void();
8375 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
= 0;
8380 PyObject
* obj0
= 0 ;
8381 char * kwnames
[] = {
8382 (char *) "milliseconds", NULL
8385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8386 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8387 if (!SWIG_IsOK(ecode1
)) {
8388 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8390 arg1
= static_cast< long >(val1
);
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 wxToolTip::SetDelay(arg1
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= SWIG_Py_Void();
8404 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8407 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8408 return SWIG_Py_Void();
8411 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8412 return SWIG_Python_InitShadowInstance(args
);
8415 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
*resultobj
= 0;
8417 wxWindow
*arg1
= (wxWindow
*) 0 ;
8419 wxCaret
*result
= 0 ;
8423 PyObject
* obj0
= 0 ;
8424 PyObject
* obj1
= 0 ;
8425 char * kwnames
[] = {
8426 (char *) "window",(char *) "size", NULL
8429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8431 if (!SWIG_IsOK(res1
)) {
8432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8434 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8437 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8440 if (!wxPyCheckForApp()) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8453 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8454 PyObject
*resultobj
= 0;
8455 wxCaret
*arg1
= (wxCaret
*) 0 ;
8458 PyObject
*swig_obj
[1] ;
8460 if (!args
) SWIG_fail
;
8462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8463 if (!SWIG_IsOK(res1
)) {
8464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8466 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_Py_Void();
8481 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8482 PyObject
*resultobj
= 0;
8483 wxCaret
*arg1
= (wxCaret
*) 0 ;
8486 PyObject
*swig_obj
[1] ;
8488 if (!args
) SWIG_fail
;
8490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8491 if (!SWIG_IsOK(res1
)) {
8492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8494 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 wxCaret_Destroy(arg1
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= SWIG_Py_Void();
8508 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8509 PyObject
*resultobj
= 0;
8510 wxCaret
*arg1
= (wxCaret
*) 0 ;
8514 PyObject
*swig_obj
[1] ;
8516 if (!args
) SWIG_fail
;
8518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8519 if (!SWIG_IsOK(res1
)) {
8520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8522 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (bool)(arg1
)->IsOk();
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8538 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8539 PyObject
*resultobj
= 0;
8540 wxCaret
*arg1
= (wxCaret
*) 0 ;
8544 PyObject
*swig_obj
[1] ;
8546 if (!args
) SWIG_fail
;
8548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8549 if (!SWIG_IsOK(res1
)) {
8550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8552 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (bool)(arg1
)->IsVisible();
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8568 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8569 PyObject
*resultobj
= 0;
8570 wxCaret
*arg1
= (wxCaret
*) 0 ;
8574 PyObject
*swig_obj
[1] ;
8576 if (!args
) SWIG_fail
;
8578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8579 if (!SWIG_IsOK(res1
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8582 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (arg1
)->GetPosition();
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8596 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8597 PyObject
*resultobj
= 0;
8598 wxCaret
*arg1
= (wxCaret
*) 0 ;
8599 int *arg2
= (int *) 0 ;
8600 int *arg3
= (int *) 0 ;
8604 int res2
= SWIG_TMPOBJ
;
8606 int res3
= SWIG_TMPOBJ
;
8607 PyObject
*swig_obj
[1] ;
8611 if (!args
) SWIG_fail
;
8613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8614 if (!SWIG_IsOK(res1
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8617 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 (arg1
)->GetPosition(arg2
,arg3
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= SWIG_Py_Void();
8625 if (SWIG_IsTmpObj(res2
)) {
8626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8628 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8631 if (SWIG_IsTmpObj(res3
)) {
8632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8634 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8643 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8644 PyObject
*resultobj
= 0;
8645 wxCaret
*arg1
= (wxCaret
*) 0 ;
8649 PyObject
*swig_obj
[1] ;
8651 if (!args
) SWIG_fail
;
8653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8654 if (!SWIG_IsOK(res1
)) {
8655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8657 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (arg1
)->GetSize();
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8671 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8672 PyObject
*resultobj
= 0;
8673 wxCaret
*arg1
= (wxCaret
*) 0 ;
8674 int *arg2
= (int *) 0 ;
8675 int *arg3
= (int *) 0 ;
8679 int res2
= SWIG_TMPOBJ
;
8681 int res3
= SWIG_TMPOBJ
;
8682 PyObject
*swig_obj
[1] ;
8686 if (!args
) SWIG_fail
;
8688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8689 if (!SWIG_IsOK(res1
)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8692 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 (arg1
)->GetSize(arg2
,arg3
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_Py_Void();
8700 if (SWIG_IsTmpObj(res2
)) {
8701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8703 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8706 if (SWIG_IsTmpObj(res3
)) {
8707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8709 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8718 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8719 PyObject
*resultobj
= 0;
8720 wxCaret
*arg1
= (wxCaret
*) 0 ;
8721 wxWindow
*result
= 0 ;
8724 PyObject
*swig_obj
[1] ;
8726 if (!args
) SWIG_fail
;
8728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8729 if (!SWIG_IsOK(res1
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8732 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 result
= (wxWindow
*)(arg1
)->GetWindow();
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8740 resultobj
= wxPyMake_wxObject(result
, 0);
8748 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
= 0;
8750 wxCaret
*arg1
= (wxCaret
*) 0 ;
8759 PyObject
* obj0
= 0 ;
8760 PyObject
* obj1
= 0 ;
8761 PyObject
* obj2
= 0 ;
8762 char * kwnames
[] = {
8763 (char *) "self",(char *) "x",(char *) "y", NULL
8766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8768 if (!SWIG_IsOK(res1
)) {
8769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8771 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8773 if (!SWIG_IsOK(ecode2
)) {
8774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8776 arg2
= static_cast< int >(val2
);
8777 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8778 if (!SWIG_IsOK(ecode3
)) {
8779 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8781 arg3
= static_cast< int >(val3
);
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 (arg1
)->Move(arg2
,arg3
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_Py_Void();
8795 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
= 0;
8797 wxCaret
*arg1
= (wxCaret
*) 0 ;
8802 PyObject
* obj0
= 0 ;
8803 PyObject
* obj1
= 0 ;
8804 char * kwnames
[] = {
8805 (char *) "self",(char *) "pt", NULL
8808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8810 if (!SWIG_IsOK(res1
)) {
8811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8813 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8816 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 (arg1
)->Move((wxPoint
const &)*arg2
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= SWIG_Py_Void();
8831 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
= 0;
8833 wxCaret
*arg1
= (wxCaret
*) 0 ;
8842 PyObject
* obj0
= 0 ;
8843 PyObject
* obj1
= 0 ;
8844 PyObject
* obj2
= 0 ;
8845 char * kwnames
[] = {
8846 (char *) "self",(char *) "width",(char *) "height", NULL
8849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8851 if (!SWIG_IsOK(res1
)) {
8852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8854 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8856 if (!SWIG_IsOK(ecode2
)) {
8857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8859 arg2
= static_cast< int >(val2
);
8860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8861 if (!SWIG_IsOK(ecode3
)) {
8862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8864 arg3
= static_cast< int >(val3
);
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 (arg1
)->SetSize(arg2
,arg3
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= SWIG_Py_Void();
8878 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
= 0;
8880 wxCaret
*arg1
= (wxCaret
*) 0 ;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8887 char * kwnames
[] = {
8888 (char *) "self",(char *) "size", NULL
8891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8893 if (!SWIG_IsOK(res1
)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8896 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8899 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->SetSize((wxSize
const &)*arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_Py_Void();
8914 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
= 0;
8916 wxCaret
*arg1
= (wxCaret
*) 0 ;
8917 int arg2
= (int) true ;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8924 char * kwnames
[] = {
8925 (char *) "self",(char *) "show", NULL
8928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8930 if (!SWIG_IsOK(res1
)) {
8931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8933 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8936 if (!SWIG_IsOK(ecode2
)) {
8937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8939 arg2
= static_cast< int >(val2
);
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8947 resultobj
= SWIG_Py_Void();
8954 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8955 PyObject
*resultobj
= 0;
8956 wxCaret
*arg1
= (wxCaret
*) 0 ;
8959 PyObject
*swig_obj
[1] ;
8961 if (!args
) SWIG_fail
;
8963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8964 if (!SWIG_IsOK(res1
)) {
8965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8967 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 resultobj
= SWIG_Py_Void();
8981 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8982 PyObject
*resultobj
= 0;
8985 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (int)wxCaret::GetBlinkTime();
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= SWIG_From_int(static_cast< int >(result
));
8999 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
= 0;
9004 PyObject
* obj0
= 0 ;
9005 char * kwnames
[] = {
9006 (char *) "milliseconds", NULL
9009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
9010 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9011 if (!SWIG_IsOK(ecode1
)) {
9012 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
9014 arg1
= static_cast< int >(val1
);
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 wxCaret::SetBlinkTime(arg1
);
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_Py_Void();
9028 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9031 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
9032 return SWIG_Py_Void();
9035 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9036 return SWIG_Python_InitShadowInstance(args
);
9039 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
= 0;
9041 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9042 wxBusyCursor
*result
= 0 ;
9045 PyObject
* obj0
= 0 ;
9046 char * kwnames
[] = {
9047 (char *) "cursor", NULL
9050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9053 if (!SWIG_IsOK(res1
)) {
9054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9056 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9059 if (!wxPyCheckForApp()) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9072 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9073 PyObject
*resultobj
= 0;
9074 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9077 PyObject
*swig_obj
[1] ;
9079 if (!args
) SWIG_fail
;
9081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9082 if (!SWIG_IsOK(res1
)) {
9083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9085 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= SWIG_Py_Void();
9100 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9103 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9104 return SWIG_Py_Void();
9107 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9108 return SWIG_Python_InitShadowInstance(args
);
9111 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
= 0;
9113 wxWindow
*arg1
= (wxWindow
*) NULL
;
9114 wxWindowDisabler
*result
= 0 ;
9117 PyObject
* obj0
= 0 ;
9118 char * kwnames
[] = {
9119 (char *) "winToSkip", NULL
9122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9125 if (!SWIG_IsOK(res1
)) {
9126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9128 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9131 if (!wxPyCheckForApp()) SWIG_fail
;
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9144 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9145 PyObject
*resultobj
= 0;
9146 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9149 PyObject
*swig_obj
[1] ;
9151 if (!args
) SWIG_fail
;
9153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9154 if (!SWIG_IsOK(res1
)) {
9155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9157 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= SWIG_Py_Void();
9172 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9175 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9176 return SWIG_Py_Void();
9179 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9180 return SWIG_Python_InitShadowInstance(args
);
9183 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
= 0;
9185 wxString
*arg1
= 0 ;
9186 wxBusyInfo
*result
= 0 ;
9187 bool temp1
= false ;
9188 PyObject
* obj0
= 0 ;
9189 char * kwnames
[] = {
9190 (char *) "message", NULL
9193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9195 arg1
= wxString_in_helper(obj0
);
9196 if (arg1
== NULL
) SWIG_fail
;
9200 if (!wxPyCheckForApp()) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9221 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9222 PyObject
*resultobj
= 0;
9223 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9226 PyObject
*swig_obj
[1] ;
9228 if (!args
) SWIG_fail
;
9230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9231 if (!SWIG_IsOK(res1
)) {
9232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9234 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_Py_Void();
9249 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9252 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9253 return SWIG_Py_Void();
9256 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9257 return SWIG_Python_InitShadowInstance(args
);
9260 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9261 PyObject
*resultobj
= 0;
9262 wxStopWatch
*result
= 0 ;
9264 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 result
= (wxStopWatch
*)new wxStopWatch();
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9278 SWIGINTERN PyObject
*_wrap_delete_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9279 PyObject
*resultobj
= 0;
9280 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9283 PyObject
*swig_obj
[1] ;
9285 if (!args
) SWIG_fail
;
9287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_DISOWN
| 0 );
9288 if (!SWIG_IsOK(res1
)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StopWatch" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9291 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_Py_Void();
9306 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
= 0;
9308 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9309 long arg2
= (long) 0 ;
9314 PyObject
* obj0
= 0 ;
9315 PyObject
* obj1
= 0 ;
9316 char * kwnames
[] = {
9317 (char *) "self",(char *) "t0", NULL
9320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9325 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9327 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9328 if (!SWIG_IsOK(ecode2
)) {
9329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9331 arg2
= static_cast< long >(val2
);
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 (arg1
)->Start(arg2
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_Py_Void();
9346 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9347 PyObject
*resultobj
= 0;
9348 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9351 PyObject
*swig_obj
[1] ;
9353 if (!args
) SWIG_fail
;
9355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9356 if (!SWIG_IsOK(res1
)) {
9357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9359 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= SWIG_Py_Void();
9373 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9374 PyObject
*resultobj
= 0;
9375 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9378 PyObject
*swig_obj
[1] ;
9380 if (!args
) SWIG_fail
;
9382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9383 if (!SWIG_IsOK(res1
)) {
9384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9386 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= SWIG_Py_Void();
9400 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9401 PyObject
*resultobj
= 0;
9402 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9406 PyObject
*swig_obj
[1] ;
9408 if (!args
) SWIG_fail
;
9410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9411 if (!SWIG_IsOK(res1
)) {
9412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9414 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= SWIG_From_long(static_cast< long >(result
));
9428 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9431 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9432 return SWIG_Py_Void();
9435 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9436 return SWIG_Python_InitShadowInstance(args
);
9439 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
= 0;
9441 int arg1
= (int) 9 ;
9442 int arg2
= (int) wxID_FILE1
;
9443 wxFileHistory
*result
= 0 ;
9448 PyObject
* obj0
= 0 ;
9449 PyObject
* obj1
= 0 ;
9450 char * kwnames
[] = {
9451 (char *) "maxFiles",(char *) "idBase", NULL
9454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9457 if (!SWIG_IsOK(ecode1
)) {
9458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9460 arg1
= static_cast< int >(val1
);
9463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9464 if (!SWIG_IsOK(ecode2
)) {
9465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9467 arg2
= static_cast< int >(val2
);
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9482 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9483 PyObject
*resultobj
= 0;
9484 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9487 PyObject
*swig_obj
[1] ;
9489 if (!args
) SWIG_fail
;
9491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9492 if (!SWIG_IsOK(res1
)) {
9493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9495 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= SWIG_Py_Void();
9510 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
= 0;
9512 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9513 wxString
*arg2
= 0 ;
9516 bool temp2
= false ;
9517 PyObject
* obj0
= 0 ;
9518 PyObject
* obj1
= 0 ;
9519 char * kwnames
[] = {
9520 (char *) "self",(char *) "file", NULL
9523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9525 if (!SWIG_IsOK(res1
)) {
9526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9528 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9530 arg2
= wxString_in_helper(obj1
);
9531 if (arg2
== NULL
) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_Py_Void();
9555 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
= 0;
9557 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9565 char * kwnames
[] = {
9566 (char *) "self",(char *) "i", NULL
9569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9571 if (!SWIG_IsOK(res1
)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9574 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9576 if (!SWIG_IsOK(ecode2
)) {
9577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9579 arg2
= static_cast< int >(val2
);
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 (arg1
)->RemoveFileFromHistory(arg2
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= SWIG_Py_Void();
9593 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9594 PyObject
*resultobj
= 0;
9595 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9599 PyObject
*swig_obj
[1] ;
9601 if (!args
) SWIG_fail
;
9603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9604 if (!SWIG_IsOK(res1
)) {
9605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9607 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 resultobj
= SWIG_From_int(static_cast< int >(result
));
9621 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
= 0;
9623 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9624 wxMenu
*arg2
= (wxMenu
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9631 char * kwnames
[] = {
9632 (char *) "self",(char *) "menu", NULL
9635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9637 if (!SWIG_IsOK(res1
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9640 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9642 if (!SWIG_IsOK(res2
)) {
9643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9645 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 (arg1
)->UseMenu(arg2
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= SWIG_Py_Void();
9659 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
= 0;
9661 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9662 wxMenu
*arg2
= (wxMenu
*) 0 ;
9667 PyObject
* obj0
= 0 ;
9668 PyObject
* obj1
= 0 ;
9669 char * kwnames
[] = {
9670 (char *) "self",(char *) "menu", NULL
9673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9675 if (!SWIG_IsOK(res1
)) {
9676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9678 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9680 if (!SWIG_IsOK(res2
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9683 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 (arg1
)->RemoveMenu(arg2
);
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= SWIG_Py_Void();
9697 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
= 0;
9699 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9700 wxConfigBase
*arg2
= 0 ;
9705 PyObject
* obj0
= 0 ;
9706 PyObject
* obj1
= 0 ;
9707 char * kwnames
[] = {
9708 (char *) "self",(char *) "config", NULL
9711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9713 if (!SWIG_IsOK(res1
)) {
9714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9716 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9717 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9718 if (!SWIG_IsOK(res2
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9724 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 (arg1
)->Load(*arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_Py_Void();
9738 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
= 0;
9740 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9741 wxConfigBase
*arg2
= 0 ;
9746 PyObject
* obj0
= 0 ;
9747 PyObject
* obj1
= 0 ;
9748 char * kwnames
[] = {
9749 (char *) "self",(char *) "config", NULL
9752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9757 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9758 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9759 if (!SWIG_IsOK(res2
)) {
9760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9765 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 (arg1
)->Save(*arg2
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= SWIG_Py_Void();
9779 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9780 PyObject
*resultobj
= 0;
9781 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9784 PyObject
*swig_obj
[1] ;
9786 if (!args
) SWIG_fail
;
9788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9789 if (!SWIG_IsOK(res1
)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9792 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 (arg1
)->AddFilesToMenu();
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= SWIG_Py_Void();
9806 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
= 0;
9808 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9809 wxMenu
*arg2
= (wxMenu
*) 0 ;
9814 PyObject
* obj0
= 0 ;
9815 PyObject
* obj1
= 0 ;
9816 char * kwnames
[] = {
9817 (char *) "self",(char *) "menu", NULL
9820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9822 if (!SWIG_IsOK(res1
)) {
9823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9825 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9826 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9827 if (!SWIG_IsOK(res2
)) {
9828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9830 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 (arg1
)->AddFilesToMenu(arg2
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_Py_Void();
9844 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
= 0;
9846 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9853 PyObject
* obj0
= 0 ;
9854 PyObject
* obj1
= 0 ;
9855 char * kwnames
[] = {
9856 (char *) "self",(char *) "i", NULL
9859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9861 if (!SWIG_IsOK(res1
)) {
9862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9864 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9866 if (!SWIG_IsOK(ecode2
)) {
9867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9869 arg2
= static_cast< int >(val2
);
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9889 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9890 PyObject
*resultobj
= 0;
9891 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9895 PyObject
*swig_obj
[1] ;
9897 if (!args
) SWIG_fail
;
9899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9900 if (!SWIG_IsOK(res1
)) {
9901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9903 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_From_int(static_cast< int >(result
));
9917 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9920 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9921 return SWIG_Py_Void();
9924 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9925 return SWIG_Python_InitShadowInstance(args
);
9928 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
= 0;
9930 wxString
*arg1
= 0 ;
9931 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9932 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9933 wxSingleInstanceChecker
*result
= 0 ;
9934 bool temp1
= false ;
9935 bool temp2
= false ;
9936 PyObject
* obj0
= 0 ;
9937 PyObject
* obj1
= 0 ;
9938 char * kwnames
[] = {
9939 (char *) "name",(char *) "path", NULL
9942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9944 arg1
= wxString_in_helper(obj0
);
9945 if (arg1
== NULL
) SWIG_fail
;
9950 arg2
= wxString_in_helper(obj1
);
9951 if (arg2
== NULL
) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9984 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9985 PyObject
*resultobj
= 0;
9986 wxSingleInstanceChecker
*result
= 0 ;
9988 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
10002 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10003 PyObject
*resultobj
= 0;
10004 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10007 PyObject
*swig_obj
[1] ;
10009 if (!args
) SWIG_fail
;
10010 swig_obj
[0] = args
;
10011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
10012 if (!SWIG_IsOK(res1
)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10015 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= SWIG_Py_Void();
10030 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
*resultobj
= 0;
10032 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10033 wxString
*arg2
= 0 ;
10034 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10035 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10039 bool temp2
= false ;
10040 bool temp3
= false ;
10041 PyObject
* obj0
= 0 ;
10042 PyObject
* obj1
= 0 ;
10043 PyObject
* obj2
= 0 ;
10044 char * kwnames
[] = {
10045 (char *) "self",(char *) "name",(char *) "path", NULL
10048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10050 if (!SWIG_IsOK(res1
)) {
10051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10053 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10055 arg2
= wxString_in_helper(obj1
);
10056 if (arg2
== NULL
) SWIG_fail
;
10061 arg3
= wxString_in_helper(obj2
);
10062 if (arg3
== NULL
) SWIG_fail
;
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10097 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10098 PyObject
*resultobj
= 0;
10099 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10103 PyObject
*swig_obj
[1] ;
10105 if (!args
) SWIG_fail
;
10106 swig_obj
[0] = args
;
10107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10108 if (!SWIG_IsOK(res1
)) {
10109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10111 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10127 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10130 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10131 return SWIG_Py_Void();
10134 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10135 return SWIG_Python_InitShadowInstance(args
);
10138 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10139 PyObject
*resultobj
= 0;
10140 wxPlatformInfo
*result
= 0 ;
10142 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10156 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
= 0;
10158 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10159 wxPlatformInfo
*arg2
= 0 ;
10165 PyObject
* obj0
= 0 ;
10166 PyObject
* obj1
= 0 ;
10167 char * kwnames
[] = {
10168 (char *) "self",(char *) "t", NULL
10171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10173 if (!SWIG_IsOK(res1
)) {
10174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10176 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10178 if (!SWIG_IsOK(res2
)) {
10179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10184 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10200 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
= 0;
10202 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10203 wxPlatformInfo
*arg2
= 0 ;
10209 PyObject
* obj0
= 0 ;
10210 PyObject
* obj1
= 0 ;
10211 char * kwnames
[] = {
10212 (char *) "self",(char *) "t", NULL
10215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10217 if (!SWIG_IsOK(res1
)) {
10218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10220 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10221 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10222 if (!SWIG_IsOK(res2
)) {
10223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10228 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10244 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10245 PyObject
*resultobj
= 0;
10246 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10250 PyObject
*swig_obj
[1] ;
10252 if (!args
) SWIG_fail
;
10253 swig_obj
[0] = args
;
10254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10255 if (!SWIG_IsOK(res1
)) {
10256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10258 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_From_int(static_cast< int >(result
));
10272 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10273 PyObject
*resultobj
= 0;
10274 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10278 PyObject
*swig_obj
[1] ;
10280 if (!args
) SWIG_fail
;
10281 swig_obj
[0] = args
;
10282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10283 if (!SWIG_IsOK(res1
)) {
10284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10286 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10289 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10293 resultobj
= SWIG_From_int(static_cast< int >(result
));
10300 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
= 0;
10302 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 PyObject
* obj2
= 0 ;
10315 char * kwnames
[] = {
10316 (char *) "self",(char *) "major",(char *) "minor", NULL
10319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10321 if (!SWIG_IsOK(res1
)) {
10322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10324 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10326 if (!SWIG_IsOK(ecode2
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "2"" of type '" "int""'");
10329 arg2
= static_cast< int >(val2
);
10330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10331 if (!SWIG_IsOK(ecode3
)) {
10332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "3"" of type '" "int""'");
10334 arg3
= static_cast< int >(val3
);
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckOSVersion(arg2
,arg3
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10350 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10351 PyObject
*resultobj
= 0;
10352 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10356 PyObject
*swig_obj
[1] ;
10358 if (!args
) SWIG_fail
;
10359 swig_obj
[0] = args
;
10360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10361 if (!SWIG_IsOK(res1
)) {
10362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10364 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 resultobj
= SWIG_From_int(static_cast< int >(result
));
10378 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10379 PyObject
*resultobj
= 0;
10380 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10384 PyObject
*swig_obj
[1] ;
10386 if (!args
) SWIG_fail
;
10387 swig_obj
[0] = args
;
10388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10389 if (!SWIG_IsOK(res1
)) {
10390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10392 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= SWIG_From_int(static_cast< int >(result
));
10406 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
= 0;
10408 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10418 PyObject
* obj0
= 0 ;
10419 PyObject
* obj1
= 0 ;
10420 PyObject
* obj2
= 0 ;
10421 char * kwnames
[] = {
10422 (char *) "self",(char *) "major",(char *) "minor", NULL
10425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10427 if (!SWIG_IsOK(res1
)) {
10428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10430 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10432 if (!SWIG_IsOK(ecode2
)) {
10433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10435 arg2
= static_cast< int >(val2
);
10436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10437 if (!SWIG_IsOK(ecode3
)) {
10438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10440 arg3
= static_cast< int >(val3
);
10442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckToolkitVersion(arg2
,arg3
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10456 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10457 PyObject
*resultobj
= 0;
10458 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10462 PyObject
*swig_obj
[1] ;
10464 if (!args
) SWIG_fail
;
10465 swig_obj
[0] = args
;
10466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10467 if (!SWIG_IsOK(res1
)) {
10468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10470 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10486 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10487 PyObject
*resultobj
= 0;
10488 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10489 wxOperatingSystemId result
;
10492 PyObject
*swig_obj
[1] ;
10494 if (!args
) SWIG_fail
;
10495 swig_obj
[0] = args
;
10496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10497 if (!SWIG_IsOK(res1
)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10500 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10507 resultobj
= SWIG_From_int(static_cast< int >(result
));
10514 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10515 PyObject
*resultobj
= 0;
10516 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10520 PyObject
*swig_obj
[1] ;
10522 if (!args
) SWIG_fail
;
10523 swig_obj
[0] = args
;
10524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10525 if (!SWIG_IsOK(res1
)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10528 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_From_int(static_cast< int >(result
));
10542 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10543 PyObject
*resultobj
= 0;
10544 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10545 wxArchitecture result
;
10548 PyObject
*swig_obj
[1] ;
10550 if (!args
) SWIG_fail
;
10551 swig_obj
[0] = args
;
10552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10553 if (!SWIG_IsOK(res1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10556 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_From_int(static_cast< int >(result
));
10570 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10571 PyObject
*resultobj
= 0;
10572 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10573 wxEndianness result
;
10576 PyObject
*swig_obj
[1] ;
10578 if (!args
) SWIG_fail
;
10579 swig_obj
[0] = args
;
10580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10581 if (!SWIG_IsOK(res1
)) {
10582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10584 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= SWIG_From_int(static_cast< int >(result
));
10598 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10599 PyObject
*resultobj
= 0;
10600 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10604 PyObject
*swig_obj
[1] ;
10606 if (!args
) SWIG_fail
;
10607 swig_obj
[0] = args
;
10608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10609 if (!SWIG_IsOK(res1
)) {
10610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10612 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10632 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10633 PyObject
*resultobj
= 0;
10634 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10638 PyObject
*swig_obj
[1] ;
10640 if (!args
) SWIG_fail
;
10641 swig_obj
[0] = args
;
10642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10643 if (!SWIG_IsOK(res1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10646 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10666 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10667 PyObject
*resultobj
= 0;
10668 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10672 PyObject
*swig_obj
[1] ;
10674 if (!args
) SWIG_fail
;
10675 swig_obj
[0] = args
;
10676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10677 if (!SWIG_IsOK(res1
)) {
10678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10680 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10700 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10701 PyObject
*resultobj
= 0;
10702 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10706 PyObject
*swig_obj
[1] ;
10708 if (!args
) SWIG_fail
;
10709 swig_obj
[0] = args
;
10710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10711 if (!SWIG_IsOK(res1
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10714 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10734 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10735 PyObject
*resultobj
= 0;
10736 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10740 PyObject
*swig_obj
[1] ;
10742 if (!args
) SWIG_fail
;
10743 swig_obj
[0] = args
;
10744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10745 if (!SWIG_IsOK(res1
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10748 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10768 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10769 PyObject
*resultobj
= 0;
10770 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10774 PyObject
*swig_obj
[1] ;
10776 if (!args
) SWIG_fail
;
10777 swig_obj
[0] = args
;
10778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10779 if (!SWIG_IsOK(res1
)) {
10780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10782 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10802 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
= 0;
10804 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 PyObject
* obj2
= 0 ;
10816 char * kwnames
[] = {
10817 (char *) "self",(char *) "major",(char *) "minor", NULL
10820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10822 if (!SWIG_IsOK(res1
)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10825 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10827 if (!SWIG_IsOK(ecode2
)) {
10828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10830 arg2
= static_cast< int >(val2
);
10831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10832 if (!SWIG_IsOK(ecode3
)) {
10833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10835 arg3
= static_cast< int >(val3
);
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 (arg1
)->SetOSVersion(arg2
,arg3
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 resultobj
= SWIG_Py_Void();
10849 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
= 0;
10851 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10860 PyObject
* obj0
= 0 ;
10861 PyObject
* obj1
= 0 ;
10862 PyObject
* obj2
= 0 ;
10863 char * kwnames
[] = {
10864 (char *) "self",(char *) "major",(char *) "minor", NULL
10867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10869 if (!SWIG_IsOK(res1
)) {
10870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10872 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10874 if (!SWIG_IsOK(ecode2
)) {
10875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10877 arg2
= static_cast< int >(val2
);
10878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10879 if (!SWIG_IsOK(ecode3
)) {
10880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10882 arg3
= static_cast< int >(val3
);
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= SWIG_Py_Void();
10896 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
= 0;
10898 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10899 wxOperatingSystemId arg2
;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 char * kwnames
[] = {
10907 (char *) "self",(char *) "n", NULL
10910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10912 if (!SWIG_IsOK(res1
)) {
10913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10915 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10917 if (!SWIG_IsOK(ecode2
)) {
10918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10920 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10923 (arg1
)->SetOperatingSystemId(arg2
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= SWIG_Py_Void();
10934 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
= 0;
10936 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 char * kwnames
[] = {
10945 (char *) "self",(char *) "n", NULL
10948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10950 if (!SWIG_IsOK(res1
)) {
10951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10953 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10955 if (!SWIG_IsOK(ecode2
)) {
10956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10958 arg2
= static_cast< wxPortId
>(val2
);
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->SetPortId(arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_Py_Void();
10972 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
= 0;
10974 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10975 wxArchitecture arg2
;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 char * kwnames
[] = {
10983 (char *) "self",(char *) "n", NULL
10986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10988 if (!SWIG_IsOK(res1
)) {
10989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10991 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10993 if (!SWIG_IsOK(ecode2
)) {
10994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
10996 arg2
= static_cast< wxArchitecture
>(val2
);
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 (arg1
)->SetArchitecture(arg2
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_Py_Void();
11010 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
= 0;
11012 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11013 wxEndianness arg2
;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 char * kwnames
[] = {
11021 (char *) "self",(char *) "n", NULL
11024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11026 if (!SWIG_IsOK(res1
)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11029 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11031 if (!SWIG_IsOK(ecode2
)) {
11032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
11034 arg2
= static_cast< wxEndianness
>(val2
);
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 (arg1
)->SetEndianness(arg2
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 resultobj
= SWIG_Py_Void();
11048 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11049 PyObject
*resultobj
= 0;
11050 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11054 PyObject
*swig_obj
[1] ;
11056 if (!args
) SWIG_fail
;
11057 swig_obj
[0] = args
;
11058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11059 if (!SWIG_IsOK(res1
)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
11062 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11078 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11081 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
11082 return SWIG_Py_Void();
11085 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11086 return SWIG_Python_InitShadowInstance(args
);
11089 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
= 0;
11091 wxWindow
*arg1
= (wxWindow
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 char * kwnames
[] = {
11101 (char *) "window",(char *) "dc", NULL
11104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11106 if (!SWIG_IsOK(res1
)) {
11107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
11109 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11110 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
11111 if (!SWIG_IsOK(res2
)) {
11112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11117 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11133 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11134 PyObject
*resultobj
= 0;
11135 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11138 PyObject
*swig_obj
[1] ;
11140 if (!args
) SWIG_fail
;
11141 swig_obj
[0] = args
;
11142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11143 if (!SWIG_IsOK(res1
)) {
11144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11146 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 resultobj
= SWIG_Py_Void();
11161 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11162 PyObject
*resultobj
= 0;
11163 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11167 PyObject
*swig_obj
[1] ;
11169 if (!args
) SWIG_fail
;
11170 swig_obj
[0] = args
;
11171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11172 if (!SWIG_IsOK(res1
)) {
11173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11175 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (arg1
)->GetTip();
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11195 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11196 PyObject
*resultobj
= 0;
11197 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11201 PyObject
*swig_obj
[1] ;
11203 if (!args
) SWIG_fail
;
11204 swig_obj
[0] = args
;
11205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11206 if (!SWIG_IsOK(res1
)) {
11207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11209 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 result
= (size_t)(arg1
)->GetCurrentTip();
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11216 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11223 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
= 0;
11225 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11226 wxString
*arg2
= 0 ;
11230 bool temp2
= false ;
11231 PyObject
* obj0
= 0 ;
11232 PyObject
* obj1
= 0 ;
11233 char * kwnames
[] = {
11234 (char *) "self",(char *) "tip", NULL
11237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11239 if (!SWIG_IsOK(res1
)) {
11240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11242 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11244 arg2
= wxString_in_helper(obj1
);
11245 if (arg2
== NULL
) SWIG_fail
;
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11275 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11278 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11279 return SWIG_Py_Void();
11282 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
= 0;
11285 wxPyTipProvider
*result
= 0 ;
11288 PyObject
* obj0
= 0 ;
11289 char * kwnames
[] = {
11290 (char *) "currentTip", NULL
11293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11294 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11295 if (!SWIG_IsOK(ecode1
)) {
11296 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11298 arg1
= static_cast< size_t >(val1
);
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11312 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
= 0;
11314 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11315 PyObject
*arg2
= (PyObject
*) 0 ;
11316 PyObject
*arg3
= (PyObject
*) 0 ;
11319 PyObject
* obj0
= 0 ;
11320 PyObject
* obj1
= 0 ;
11321 PyObject
* obj2
= 0 ;
11322 char * kwnames
[] = {
11323 (char *) "self",(char *) "self",(char *) "_class", NULL
11326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11328 if (!SWIG_IsOK(res1
)) {
11329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11331 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_Py_Void();
11347 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11350 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11351 return SWIG_Py_Void();
11354 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11355 return SWIG_Python_InitShadowInstance(args
);
11358 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
= 0;
11360 wxWindow
*arg1
= (wxWindow
*) 0 ;
11361 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11362 bool arg3
= (bool) true ;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 PyObject
* obj2
= 0 ;
11373 char * kwnames
[] = {
11374 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11379 if (!SWIG_IsOK(res1
)) {
11380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11382 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11383 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11384 if (!SWIG_IsOK(res2
)) {
11385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11387 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11389 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11390 if (!SWIG_IsOK(ecode3
)) {
11391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11393 arg3
= static_cast< bool >(val3
);
11396 if (!wxPyCheckForApp()) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11411 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
= 0;
11413 wxString
*arg1
= 0 ;
11415 wxTipProvider
*result
= 0 ;
11416 bool temp1
= false ;
11419 PyObject
* obj0
= 0 ;
11420 PyObject
* obj1
= 0 ;
11421 char * kwnames
[] = {
11422 (char *) "filename",(char *) "currentTip", NULL
11425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11427 arg1
= wxString_in_helper(obj0
);
11428 if (arg1
== NULL
) SWIG_fail
;
11431 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11432 if (!SWIG_IsOK(ecode2
)) {
11433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11435 arg2
= static_cast< size_t >(val2
);
11437 if (!wxPyCheckForApp()) SWIG_fail
;
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11458 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
= 0;
11460 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11461 int arg2
= (int) wxID_ANY
;
11462 wxPyTimer
*result
= 0 ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 char * kwnames
[] = {
11470 (char *) "owner",(char *) "id", NULL
11473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11479 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11483 if (!SWIG_IsOK(ecode2
)) {
11484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11486 arg2
= static_cast< int >(val2
);
11489 if (!wxPyCheckForApp()) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11502 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11503 PyObject
*resultobj
= 0;
11504 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11507 PyObject
*swig_obj
[1] ;
11509 if (!args
) SWIG_fail
;
11510 swig_obj
[0] = args
;
11511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11512 if (!SWIG_IsOK(res1
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11515 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_Py_Void();
11530 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
= 0;
11532 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11533 PyObject
*arg2
= (PyObject
*) 0 ;
11534 PyObject
*arg3
= (PyObject
*) 0 ;
11535 int arg4
= (int) 1 ;
11540 PyObject
* obj0
= 0 ;
11541 PyObject
* obj1
= 0 ;
11542 PyObject
* obj2
= 0 ;
11543 PyObject
* obj3
= 0 ;
11544 char * kwnames
[] = {
11545 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11550 if (!SWIG_IsOK(res1
)) {
11551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11553 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11557 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11558 if (!SWIG_IsOK(ecode4
)) {
11559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11561 arg4
= static_cast< int >(val4
);
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= SWIG_Py_Void();
11576 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
= 0;
11578 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11579 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11580 int arg3
= (int) wxID_ANY
;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 PyObject
* obj2
= 0 ;
11590 char * kwnames
[] = {
11591 (char *) "self",(char *) "owner",(char *) "id", NULL
11594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11596 if (!SWIG_IsOK(res1
)) {
11597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11599 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11600 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11601 if (!SWIG_IsOK(res2
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11604 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11606 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11607 if (!SWIG_IsOK(ecode3
)) {
11608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11610 arg3
= static_cast< int >(val3
);
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 (arg1
)->SetOwner(arg2
,arg3
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_Py_Void();
11625 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11626 PyObject
*resultobj
= 0;
11627 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11628 wxEvtHandler
*result
= 0 ;
11631 PyObject
*swig_obj
[1] ;
11633 if (!args
) SWIG_fail
;
11634 swig_obj
[0] = args
;
11635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11636 if (!SWIG_IsOK(res1
)) {
11637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11639 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= wxPyMake_wxObject(result
, 0);
11655 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
= 0;
11657 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11658 int arg2
= (int) -1 ;
11659 bool arg3
= (bool) false ;
11667 PyObject
* obj0
= 0 ;
11668 PyObject
* obj1
= 0 ;
11669 PyObject
* obj2
= 0 ;
11670 char * kwnames
[] = {
11671 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11676 if (!SWIG_IsOK(res1
)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11679 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11682 if (!SWIG_IsOK(ecode2
)) {
11683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11685 arg2
= static_cast< int >(val2
);
11688 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11689 if (!SWIG_IsOK(ecode3
)) {
11690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11692 arg3
= static_cast< bool >(val3
);
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11709 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11710 PyObject
*resultobj
= 0;
11711 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11714 PyObject
*swig_obj
[1] ;
11716 if (!args
) SWIG_fail
;
11717 swig_obj
[0] = args
;
11718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11719 if (!SWIG_IsOK(res1
)) {
11720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11722 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_Py_Void();
11736 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11737 PyObject
*resultobj
= 0;
11738 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11741 PyObject
*swig_obj
[1] ;
11743 if (!args
) SWIG_fail
;
11744 swig_obj
[0] = args
;
11745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11746 if (!SWIG_IsOK(res1
)) {
11747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11749 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_Py_Void();
11763 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11764 PyObject
*resultobj
= 0;
11765 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11769 PyObject
*swig_obj
[1] ;
11771 if (!args
) SWIG_fail
;
11772 swig_obj
[0] = args
;
11773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11774 if (!SWIG_IsOK(res1
)) {
11775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11777 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11793 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11794 PyObject
*resultobj
= 0;
11795 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11799 PyObject
*swig_obj
[1] ;
11801 if (!args
) SWIG_fail
;
11802 swig_obj
[0] = args
;
11803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11804 if (!SWIG_IsOK(res1
)) {
11805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11807 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_From_int(static_cast< int >(result
));
11821 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11822 PyObject
*resultobj
= 0;
11823 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11827 PyObject
*swig_obj
[1] ;
11829 if (!args
) SWIG_fail
;
11830 swig_obj
[0] = args
;
11831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11832 if (!SWIG_IsOK(res1
)) {
11833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11835 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= SWIG_From_int(static_cast< int >(result
));
11849 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11850 PyObject
*resultobj
= 0;
11851 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11855 PyObject
*swig_obj
[1] ;
11857 if (!args
) SWIG_fail
;
11858 swig_obj
[0] = args
;
11859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11860 if (!SWIG_IsOK(res1
)) {
11861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11863 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11866 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11879 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11882 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11883 return SWIG_Py_Void();
11886 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11887 return SWIG_Python_InitShadowInstance(args
);
11890 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11891 PyObject
*resultobj
= 0;
11892 int arg1
= (int) 0 ;
11893 int arg2
= (int) 0 ;
11894 wxTimerEvent
*result
= 0 ;
11899 PyObject
* obj0
= 0 ;
11900 PyObject
* obj1
= 0 ;
11901 char * kwnames
[] = {
11902 (char *) "timerid",(char *) "interval", NULL
11905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11907 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11908 if (!SWIG_IsOK(ecode1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11911 arg1
= static_cast< int >(val1
);
11914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11915 if (!SWIG_IsOK(ecode2
)) {
11916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11918 arg2
= static_cast< int >(val2
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11933 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11934 PyObject
*resultobj
= 0;
11935 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11939 PyObject
*swig_obj
[1] ;
11941 if (!args
) SWIG_fail
;
11942 swig_obj
[0] = args
;
11943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11944 if (!SWIG_IsOK(res1
)) {
11945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11947 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_From_int(static_cast< int >(result
));
11961 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11964 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11965 return SWIG_Py_Void();
11968 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11969 return SWIG_Python_InitShadowInstance(args
);
11972 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11973 PyObject
*resultobj
= 0;
11974 wxTimer
*arg1
= 0 ;
11975 wxTimerRunner
*result
= 0 ;
11979 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11981 if (!SWIG_IsOK(res1
)) {
11982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11987 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11989 if (!wxPyCheckForApp()) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12002 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12003 PyObject
*resultobj
= 0;
12004 wxTimer
*arg1
= 0 ;
12006 bool arg3
= (bool) false ;
12007 wxTimerRunner
*result
= 0 ;
12015 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
12016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
12017 if (!SWIG_IsOK(res1
)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12023 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
12024 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12025 if (!SWIG_IsOK(ecode2
)) {
12026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
12028 arg2
= static_cast< int >(val2
);
12030 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
12031 if (!SWIG_IsOK(ecode3
)) {
12032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
12034 arg3
= static_cast< bool >(val3
);
12037 if (!wxPyCheckForApp()) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12050 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
12054 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
12057 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
12059 if ((argc
>= 2) && (argc
<= 3)) {
12060 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
12064 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
12069 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12070 PyObject
*resultobj
= 0;
12071 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12074 PyObject
*swig_obj
[1] ;
12076 if (!args
) SWIG_fail
;
12077 swig_obj
[0] = args
;
12078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
12079 if (!SWIG_IsOK(res1
)) {
12080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12082 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 resultobj
= SWIG_Py_Void();
12097 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
= 0;
12099 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12101 bool arg3
= (bool) false ;
12108 PyObject
* obj0
= 0 ;
12109 PyObject
* obj1
= 0 ;
12110 PyObject
* obj2
= 0 ;
12111 char * kwnames
[] = {
12112 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
12115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12120 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12122 if (!SWIG_IsOK(ecode2
)) {
12123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
12125 arg2
= static_cast< int >(val2
);
12127 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12128 if (!SWIG_IsOK(ecode3
)) {
12129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
12131 arg3
= static_cast< bool >(val3
);
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 (arg1
)->Start(arg2
,arg3
);
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= SWIG_Py_Void();
12146 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12149 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12150 return SWIG_Py_Void();
12153 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12154 return SWIG_Python_InitShadowInstance(args
);
12157 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12158 PyObject
*resultobj
= 0;
12159 wxLog
*result
= 0 ;
12161 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 result
= (wxLog
*)new wxLog();
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12175 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12176 PyObject
*resultobj
= 0;
12177 wxLog
*arg1
= (wxLog
*) 0 ;
12180 PyObject
*swig_obj
[1] ;
12182 if (!args
) SWIG_fail
;
12183 swig_obj
[0] = args
;
12184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12185 if (!SWIG_IsOK(res1
)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12188 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= SWIG_Py_Void();
12203 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12204 PyObject
*resultobj
= 0;
12207 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= (bool)wxLog::IsEnabled();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12223 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
= 0;
12225 bool arg1
= (bool) true ;
12229 PyObject
* obj0
= 0 ;
12230 char * kwnames
[] = {
12231 (char *) "doIt", NULL
12234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12236 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12237 if (!SWIG_IsOK(ecode1
)) {
12238 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12240 arg1
= static_cast< bool >(val1
);
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (bool)wxLog::EnableLogging(arg1
);
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12257 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
= 0;
12260 wxChar
*arg2
= (wxChar
*) 0 ;
12262 unsigned long val1
;
12266 unsigned int val3
;
12268 PyObject
* obj0
= 0 ;
12269 PyObject
* obj1
= 0 ;
12270 PyObject
* obj2
= 0 ;
12271 char * kwnames
[] = {
12272 (char *) "level",(char *) "szString",(char *) "t", NULL
12275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12276 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12277 if (!SWIG_IsOK(ecode1
)) {
12278 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12280 arg1
= static_cast< wxLogLevel
>(val1
);
12281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12282 if (!SWIG_IsOK(res2
)) {
12283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12285 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12286 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12287 if (!SWIG_IsOK(ecode3
)) {
12288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12290 arg3
= static_cast< time_t >(val3
);
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= SWIG_Py_Void();
12304 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12305 PyObject
*resultobj
= 0;
12306 wxLog
*arg1
= (wxLog
*) 0 ;
12309 PyObject
*swig_obj
[1] ;
12311 if (!args
) SWIG_fail
;
12312 swig_obj
[0] = args
;
12313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12314 if (!SWIG_IsOK(res1
)) {
12315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12317 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_Py_Void();
12331 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12332 PyObject
*resultobj
= 0;
12334 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 wxLog::FlushActive();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_Py_Void();
12348 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12349 PyObject
*resultobj
= 0;
12350 wxLog
*result
= 0 ;
12352 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (wxLog
*)wxLog::GetActiveTarget();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12366 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
= 0;
12368 wxLog
*arg1
= (wxLog
*) 0 ;
12369 wxLog
*result
= 0 ;
12371 PyObject
* obj0
= 0 ;
12372 char * kwnames
[] = {
12373 (char *) "pLogger", NULL
12376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12377 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12378 if (!SWIG_IsOK(res1
)) {
12379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12394 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12395 PyObject
*resultobj
= 0;
12397 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= SWIG_Py_Void();
12411 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12412 PyObject
*resultobj
= 0;
12414 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 wxPyEndAllowThreads(__tstate
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12421 resultobj
= SWIG_Py_Void();
12428 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12429 PyObject
*resultobj
= 0;
12430 bool arg1
= (bool) true ;
12433 PyObject
* obj0
= 0 ;
12434 char * kwnames
[] = {
12435 (char *) "bVerbose", NULL
12438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12440 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12441 if (!SWIG_IsOK(ecode1
)) {
12442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12444 arg1
= static_cast< bool >(val1
);
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 wxLog::SetVerbose(arg1
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= SWIG_Py_Void();
12459 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
= 0;
12462 unsigned long val1
;
12464 PyObject
* obj0
= 0 ;
12465 char * kwnames
[] = {
12466 (char *) "logLevel", NULL
12469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12470 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12471 if (!SWIG_IsOK(ecode1
)) {
12472 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12474 arg1
= static_cast< wxLogLevel
>(val1
);
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 wxLog::SetLogLevel(arg1
);
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_Py_Void();
12488 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12489 PyObject
*resultobj
= 0;
12491 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 wxLog::DontCreateOnDemand();
12495 wxPyEndAllowThreads(__tstate
);
12496 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_Py_Void();
12505 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
= 0;
12507 bool arg1
= (bool) true ;
12510 PyObject
* obj0
= 0 ;
12511 char * kwnames
[] = {
12512 (char *) "bRepetCounting", NULL
12515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12517 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12518 if (!SWIG_IsOK(ecode1
)) {
12519 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12521 arg1
= static_cast< bool >(val1
);
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 wxLog::SetRepetitionCounting(arg1
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= SWIG_Py_Void();
12536 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12537 PyObject
*resultobj
= 0;
12540 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 result
= (bool)wxLog::GetRepetitionCounting();
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12556 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
= 0;
12559 unsigned long val1
;
12561 PyObject
* obj0
= 0 ;
12562 char * kwnames
[] = {
12563 (char *) "ulMask", NULL
12566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12567 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12568 if (!SWIG_IsOK(ecode1
)) {
12569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12571 arg1
= static_cast< wxTraceMask
>(val1
);
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 wxLog::SetTraceMask(arg1
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= SWIG_Py_Void();
12585 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
= 0;
12587 wxString
*arg1
= 0 ;
12588 bool temp1
= false ;
12589 PyObject
* obj0
= 0 ;
12590 char * kwnames
[] = {
12591 (char *) "str", NULL
12594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12596 arg1
= wxString_in_helper(obj0
);
12597 if (arg1
== NULL
) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 wxLog::AddTraceMask((wxString
const &)*arg1
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= SWIG_Py_Void();
12621 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
= 0;
12623 wxString
*arg1
= 0 ;
12624 bool temp1
= false ;
12625 PyObject
* obj0
= 0 ;
12626 char * kwnames
[] = {
12627 (char *) "str", NULL
12630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12632 arg1
= wxString_in_helper(obj0
);
12633 if (arg1
== NULL
) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12639 wxPyEndAllowThreads(__tstate
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= SWIG_Py_Void();
12657 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12658 PyObject
*resultobj
= 0;
12660 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12663 wxLog::ClearTraceMasks();
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= SWIG_Py_Void();
12674 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12675 PyObject
*resultobj
= 0;
12676 wxArrayString
*result
= 0 ;
12678 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12683 result
= (wxArrayString
*) &_result_ref
;
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= wxArrayString2PyList_helper(*result
);
12697 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
= 0;
12699 wxChar
*arg1
= (wxChar
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 char * kwnames
[] = {
12704 (char *) "ts", NULL
12707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12709 if (!SWIG_IsOK(res1
)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12712 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 wxLog::SetTimestamp((wxChar
const *)arg1
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= SWIG_Py_Void();
12726 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12727 PyObject
*resultobj
= 0;
12730 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 result
= (bool)wxLog::GetVerbose();
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12746 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12747 PyObject
*resultobj
= 0;
12748 wxTraceMask result
;
12750 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (wxTraceMask
)wxLog::GetTraceMask();
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12757 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12764 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
= 0;
12766 wxChar
*arg1
= (wxChar
*) 0 ;
12770 PyObject
* obj0
= 0 ;
12771 char * kwnames
[] = {
12772 (char *) "mask", NULL
12775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12777 if (!SWIG_IsOK(res1
)) {
12778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12780 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12796 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12797 PyObject
*resultobj
= 0;
12800 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= (wxLogLevel
)wxLog::GetLogLevel();
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12814 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12815 PyObject
*resultobj
= 0;
12816 wxChar
*result
= 0 ;
12818 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 result
= (wxChar
*)wxLog::GetTimestamp();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12832 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12833 PyObject
*resultobj
= 0;
12836 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= wxLog_TimeStamp();
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12856 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12857 PyObject
*resultobj
= 0;
12858 wxLog
*arg1
= (wxLog
*) 0 ;
12861 PyObject
*swig_obj
[1] ;
12863 if (!args
) SWIG_fail
;
12864 swig_obj
[0] = args
;
12865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12866 if (!SWIG_IsOK(res1
)) {
12867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12869 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 wxLog_Destroy(arg1
);
12873 wxPyEndAllowThreads(__tstate
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 resultobj
= SWIG_Py_Void();
12883 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12886 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12887 return SWIG_Py_Void();
12890 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12891 return SWIG_Python_InitShadowInstance(args
);
12894 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12895 PyObject
*resultobj
= 0;
12896 wxLogStderr
*result
= 0 ;
12898 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (wxLogStderr
*)new wxLogStderr();
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12912 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12915 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12916 return SWIG_Py_Void();
12919 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12920 return SWIG_Python_InitShadowInstance(args
);
12923 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
= 0;
12925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12926 wxLogTextCtrl
*result
= 0 ;
12929 PyObject
* obj0
= 0 ;
12930 char * kwnames
[] = {
12931 (char *) "pTextCtrl", NULL
12934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12936 if (!SWIG_IsOK(res1
)) {
12937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12939 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12953 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12956 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12957 return SWIG_Py_Void();
12960 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12961 return SWIG_Python_InitShadowInstance(args
);
12964 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12965 PyObject
*resultobj
= 0;
12966 wxLogGui
*result
= 0 ;
12968 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (wxLogGui
*)new wxLogGui();
12972 wxPyEndAllowThreads(__tstate
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
12982 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12984 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12985 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
12986 return SWIG_Py_Void();
12989 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12990 return SWIG_Python_InitShadowInstance(args
);
12993 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
= 0;
12995 wxFrame
*arg1
= (wxFrame
*) 0 ;
12996 wxString
*arg2
= 0 ;
12997 bool arg3
= (bool) true ;
12998 bool arg4
= (bool) true ;
12999 wxLogWindow
*result
= 0 ;
13002 bool temp2
= false ;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 PyObject
* obj2
= 0 ;
13010 PyObject
* obj3
= 0 ;
13011 char * kwnames
[] = {
13012 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
13015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13017 if (!SWIG_IsOK(res1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
13020 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13022 arg2
= wxString_in_helper(obj1
);
13023 if (arg2
== NULL
) SWIG_fail
;
13027 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13028 if (!SWIG_IsOK(ecode3
)) {
13029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
13031 arg3
= static_cast< bool >(val3
);
13034 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13035 if (!SWIG_IsOK(ecode4
)) {
13036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
13038 arg4
= static_cast< bool >(val4
);
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
13061 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
= 0;
13063 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13064 bool arg2
= (bool) true ;
13069 PyObject
* obj0
= 0 ;
13070 PyObject
* obj1
= 0 ;
13071 char * kwnames
[] = {
13072 (char *) "self",(char *) "bShow", NULL
13075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13077 if (!SWIG_IsOK(res1
)) {
13078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13080 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13082 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13083 if (!SWIG_IsOK(ecode2
)) {
13084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
13086 arg2
= static_cast< bool >(val2
);
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 (arg1
)->Show(arg2
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_Py_Void();
13101 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13102 PyObject
*resultobj
= 0;
13103 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13104 wxFrame
*result
= 0 ;
13107 PyObject
*swig_obj
[1] ;
13109 if (!args
) SWIG_fail
;
13110 swig_obj
[0] = args
;
13111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13112 if (!SWIG_IsOK(res1
)) {
13113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13115 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13123 resultobj
= wxPyMake_wxObject(result
, (bool)0);
13131 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13132 PyObject
*resultobj
= 0;
13133 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13134 wxLog
*result
= 0 ;
13137 PyObject
*swig_obj
[1] ;
13139 if (!args
) SWIG_fail
;
13140 swig_obj
[0] = args
;
13141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13142 if (!SWIG_IsOK(res1
)) {
13143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13145 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13159 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13160 PyObject
*resultobj
= 0;
13161 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13165 PyObject
*swig_obj
[1] ;
13167 if (!args
) SWIG_fail
;
13168 swig_obj
[0] = args
;
13169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13170 if (!SWIG_IsOK(res1
)) {
13171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13173 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13189 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
= 0;
13191 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char * kwnames
[] = {
13200 (char *) "self",(char *) "bDoPass", NULL
13203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13205 if (!SWIG_IsOK(res1
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13208 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13209 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13210 if (!SWIG_IsOK(ecode2
)) {
13211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13213 arg2
= static_cast< bool >(val2
);
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 (arg1
)->PassMessages(arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_Py_Void();
13227 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13230 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13231 return SWIG_Py_Void();
13234 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13235 return SWIG_Python_InitShadowInstance(args
);
13238 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
= 0;
13240 wxLog
*arg1
= (wxLog
*) 0 ;
13241 wxLogChain
*result
= 0 ;
13244 PyObject
* obj0
= 0 ;
13245 char * kwnames
[] = {
13246 (char *) "logger", NULL
13249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13251 if (!SWIG_IsOK(res1
)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13254 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (wxLogChain
*)new wxLogChain(arg1
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13268 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
= 0;
13270 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13271 wxLog
*arg2
= (wxLog
*) 0 ;
13276 PyObject
* obj0
= 0 ;
13277 PyObject
* obj1
= 0 ;
13278 char * kwnames
[] = {
13279 (char *) "self",(char *) "logger", NULL
13282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13284 if (!SWIG_IsOK(res1
)) {
13285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13287 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13289 if (!SWIG_IsOK(res2
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13292 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 (arg1
)->SetLog(arg2
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_Py_Void();
13306 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= 0;
13308 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char * kwnames
[] = {
13317 (char *) "self",(char *) "bDoPass", NULL
13320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13322 if (!SWIG_IsOK(res1
)) {
13323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13325 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13326 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13327 if (!SWIG_IsOK(ecode2
)) {
13328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13330 arg2
= static_cast< bool >(val2
);
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 (arg1
)->PassMessages(arg2
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_Py_Void();
13344 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13345 PyObject
*resultobj
= 0;
13346 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13350 PyObject
*swig_obj
[1] ;
13352 if (!args
) SWIG_fail
;
13353 swig_obj
[0] = args
;
13354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13355 if (!SWIG_IsOK(res1
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13358 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (bool)(arg1
)->IsPassingMessages();
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13374 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13375 PyObject
*resultobj
= 0;
13376 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13377 wxLog
*result
= 0 ;
13380 PyObject
*swig_obj
[1] ;
13382 if (!args
) SWIG_fail
;
13383 swig_obj
[0] = args
;
13384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13385 if (!SWIG_IsOK(res1
)) {
13386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13388 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= (wxLog
*)(arg1
)->GetOldLog();
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13402 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13405 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13406 return SWIG_Py_Void();
13409 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13410 return SWIG_Python_InitShadowInstance(args
);
13413 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13414 PyObject
*resultobj
= 0;
13415 wxLogBuffer
*result
= 0 ;
13417 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 result
= (wxLogBuffer
*)new wxLogBuffer();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13431 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13432 PyObject
*resultobj
= 0;
13433 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13434 wxString
*result
= 0 ;
13437 PyObject
*swig_obj
[1] ;
13439 if (!args
) SWIG_fail
;
13440 swig_obj
[0] = args
;
13441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13442 if (!SWIG_IsOK(res1
)) {
13443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13445 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13450 result
= (wxString
*) &_result_ref
;
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13459 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13468 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13471 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13472 return SWIG_Py_Void();
13475 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13476 return SWIG_Python_InitShadowInstance(args
);
13479 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13480 PyObject
*resultobj
= 0;
13481 unsigned long result
;
13483 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 result
= (unsigned long)wxSysErrorCode();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13497 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
= 0;
13499 unsigned long arg1
= (unsigned long) 0 ;
13501 unsigned long val1
;
13503 PyObject
* obj0
= 0 ;
13504 char * kwnames
[] = {
13505 (char *) "nErrCode", NULL
13508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13510 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13511 if (!SWIG_IsOK(ecode1
)) {
13512 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13514 arg1
= static_cast< unsigned long >(val1
);
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= wxSysErrorMsg(arg1
);
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13535 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
= 0;
13537 wxString
*arg1
= 0 ;
13538 bool temp1
= false ;
13539 PyObject
* obj0
= 0 ;
13540 char * kwnames
[] = {
13541 (char *) "msg", NULL
13544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13546 arg1
= wxString_in_helper(obj0
);
13547 if (arg1
== NULL
) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 wxPyLogFatalError((wxString
const &)*arg1
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= SWIG_Py_Void();
13571 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
= 0;
13573 wxString
*arg1
= 0 ;
13574 bool temp1
= false ;
13575 PyObject
* obj0
= 0 ;
13576 char * kwnames
[] = {
13577 (char *) "msg", NULL
13580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13582 arg1
= wxString_in_helper(obj0
);
13583 if (arg1
== NULL
) SWIG_fail
;
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 wxPyLogError((wxString
const &)*arg1
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13592 resultobj
= SWIG_Py_Void();
13607 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
= 0;
13609 wxString
*arg1
= 0 ;
13610 bool temp1
= false ;
13611 PyObject
* obj0
= 0 ;
13612 char * kwnames
[] = {
13613 (char *) "msg", NULL
13616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13618 arg1
= wxString_in_helper(obj0
);
13619 if (arg1
== NULL
) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 wxPyLogWarning((wxString
const &)*arg1
);
13625 wxPyEndAllowThreads(__tstate
);
13626 if (PyErr_Occurred()) SWIG_fail
;
13628 resultobj
= SWIG_Py_Void();
13643 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
= 0;
13645 wxString
*arg1
= 0 ;
13646 bool temp1
= false ;
13647 PyObject
* obj0
= 0 ;
13648 char * kwnames
[] = {
13649 (char *) "msg", NULL
13652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13654 arg1
= wxString_in_helper(obj0
);
13655 if (arg1
== NULL
) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 wxPyLogMessage((wxString
const &)*arg1
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= SWIG_Py_Void();
13679 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
= 0;
13681 wxString
*arg1
= 0 ;
13682 bool temp1
= false ;
13683 PyObject
* obj0
= 0 ;
13684 char * kwnames
[] = {
13685 (char *) "msg", NULL
13688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13690 arg1
= wxString_in_helper(obj0
);
13691 if (arg1
== NULL
) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 wxPyLogInfo((wxString
const &)*arg1
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= SWIG_Py_Void();
13715 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
= 0;
13717 wxString
*arg1
= 0 ;
13718 bool temp1
= false ;
13719 PyObject
* obj0
= 0 ;
13720 char * kwnames
[] = {
13721 (char *) "msg", NULL
13724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13726 arg1
= wxString_in_helper(obj0
);
13727 if (arg1
== NULL
) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 wxPyLogDebug((wxString
const &)*arg1
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= SWIG_Py_Void();
13751 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
= 0;
13753 wxString
*arg1
= 0 ;
13754 bool temp1
= false ;
13755 PyObject
* obj0
= 0 ;
13756 char * kwnames
[] = {
13757 (char *) "msg", NULL
13760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13762 arg1
= wxString_in_helper(obj0
);
13763 if (arg1
== NULL
) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 wxPyLogVerbose((wxString
const &)*arg1
);
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= SWIG_Py_Void();
13787 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
= 0;
13789 wxString
*arg1
= 0 ;
13790 bool temp1
= false ;
13791 PyObject
* obj0
= 0 ;
13792 char * kwnames
[] = {
13793 (char *) "msg", NULL
13796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13798 arg1
= wxString_in_helper(obj0
);
13799 if (arg1
== NULL
) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 wxPyLogStatus((wxString
const &)*arg1
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_Py_Void();
13823 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
= 0;
13825 wxFrame
*arg1
= (wxFrame
*) 0 ;
13826 wxString
*arg2
= 0 ;
13829 bool temp2
= false ;
13830 PyObject
* obj0
= 0 ;
13831 PyObject
* obj1
= 0 ;
13832 char * kwnames
[] = {
13833 (char *) "pFrame",(char *) "msg", NULL
13836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13838 if (!SWIG_IsOK(res1
)) {
13839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13841 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13843 arg2
= wxString_in_helper(obj1
);
13844 if (arg2
== NULL
) SWIG_fail
;
13848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13849 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= SWIG_Py_Void();
13868 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
= 0;
13870 wxString
*arg1
= 0 ;
13871 bool temp1
= false ;
13872 PyObject
* obj0
= 0 ;
13873 char * kwnames
[] = {
13874 (char *) "msg", NULL
13877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13879 arg1
= wxString_in_helper(obj0
);
13880 if (arg1
== NULL
) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 wxPyLogSysError((wxString
const &)*arg1
);
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= SWIG_Py_Void();
13904 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
= 0;
13906 unsigned long arg1
;
13907 wxString
*arg2
= 0 ;
13908 unsigned long val1
;
13910 bool temp2
= false ;
13911 PyObject
* obj0
= 0 ;
13912 PyObject
* obj1
= 0 ;
13913 char * kwnames
[] = {
13914 (char *) "level",(char *) "msg", NULL
13917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13918 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13919 if (!SWIG_IsOK(ecode1
)) {
13920 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13922 arg1
= static_cast< unsigned long >(val1
);
13924 arg2
= wxString_in_helper(obj1
);
13925 if (arg2
== NULL
) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= SWIG_Py_Void();
13949 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13950 PyObject
*resultobj
= 0;
13951 unsigned long arg1
;
13952 wxString
*arg2
= 0 ;
13953 unsigned long val1
;
13955 bool temp2
= false ;
13957 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13958 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13959 if (!SWIG_IsOK(ecode1
)) {
13960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13962 arg1
= static_cast< unsigned long >(val1
);
13964 arg2
= wxString_in_helper(swig_obj
[1]);
13965 if (arg2
== NULL
) SWIG_fail
;
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= SWIG_Py_Void();
13989 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13990 PyObject
*resultobj
= 0;
13991 wxString
*arg1
= 0 ;
13992 wxString
*arg2
= 0 ;
13993 bool temp1
= false ;
13994 bool temp2
= false ;
13996 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13998 arg1
= wxString_in_helper(swig_obj
[0]);
13999 if (arg1
== NULL
) SWIG_fail
;
14003 arg2
= wxString_in_helper(swig_obj
[1]);
14004 if (arg2
== NULL
) SWIG_fail
;
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 resultobj
= SWIG_Py_Void();
14036 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
14040 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
14046 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
14049 if (!_v
) goto check_1
;
14050 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
14055 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
14059 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
14064 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14065 PyObject
*resultobj
= 0;
14066 wxString
*arg1
= 0 ;
14067 wxString
*arg2
= 0 ;
14068 bool temp1
= false ;
14069 bool temp2
= false ;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 char * kwnames
[] = {
14073 (char *) "title",(char *) "text", NULL
14076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14078 arg1
= wxString_in_helper(obj0
);
14079 if (arg1
== NULL
) SWIG_fail
;
14083 arg2
= wxString_in_helper(obj1
);
14084 if (arg2
== NULL
) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_Py_Void();
14116 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14117 PyObject
*resultobj
= 0;
14118 wxLogNull
*result
= 0 ;
14120 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (wxLogNull
*)new wxLogNull();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14134 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14135 PyObject
*resultobj
= 0;
14136 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14139 PyObject
*swig_obj
[1] ;
14141 if (!args
) SWIG_fail
;
14142 swig_obj
[0] = args
;
14143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14144 if (!SWIG_IsOK(res1
)) {
14145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14147 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_Py_Void();
14162 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14165 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14166 return SWIG_Py_Void();
14169 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14170 return SWIG_Python_InitShadowInstance(args
);
14173 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14174 PyObject
*resultobj
= 0;
14175 wxPyLog
*result
= 0 ;
14177 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (wxPyLog
*)new wxPyLog();
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14191 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
= 0;
14193 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14194 PyObject
*arg2
= (PyObject
*) 0 ;
14195 PyObject
*arg3
= (PyObject
*) 0 ;
14198 PyObject
* obj0
= 0 ;
14199 PyObject
* obj1
= 0 ;
14200 PyObject
* obj2
= 0 ;
14201 char * kwnames
[] = {
14202 (char *) "self",(char *) "self",(char *) "_class", NULL
14205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14207 if (!SWIG_IsOK(res1
)) {
14208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14210 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14215 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 resultobj
= SWIG_Py_Void();
14226 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14229 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14230 return SWIG_Py_Void();
14233 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14234 return SWIG_Python_InitShadowInstance(args
);
14237 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
= 0;
14240 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14241 int arg3
= (int) wxKILL_NOCHILDREN
;
14242 wxKillError result
;
14249 PyObject
* obj0
= 0 ;
14250 PyObject
* obj1
= 0 ;
14251 PyObject
* obj2
= 0 ;
14252 char * kwnames
[] = {
14253 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14257 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14258 if (!SWIG_IsOK(ecode1
)) {
14259 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14261 arg1
= static_cast< int >(val1
);
14263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14264 if (!SWIG_IsOK(ecode2
)) {
14265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14267 arg2
= static_cast< wxSignal
>(val2
);
14270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14271 if (!SWIG_IsOK(ecode3
)) {
14272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14274 arg3
= static_cast< int >(val3
);
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= SWIG_From_int(static_cast< int >(result
));
14289 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
= 0;
14295 PyObject
* obj0
= 0 ;
14296 char * kwnames
[] = {
14297 (char *) "pid", NULL
14300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14301 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14302 if (!SWIG_IsOK(ecode1
)) {
14303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14305 arg1
= static_cast< int >(val1
);
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (bool)wxPyProcess::Exists(arg1
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14321 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
= 0;
14323 wxString
*arg1
= 0 ;
14324 int arg2
= (int) wxEXEC_ASYNC
;
14325 wxPyProcess
*result
= 0 ;
14326 bool temp1
= false ;
14329 PyObject
* obj0
= 0 ;
14330 PyObject
* obj1
= 0 ;
14331 char * kwnames
[] = {
14332 (char *) "cmd",(char *) "flags", NULL
14335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14337 arg1
= wxString_in_helper(obj0
);
14338 if (arg1
== NULL
) SWIG_fail
;
14342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14343 if (!SWIG_IsOK(ecode2
)) {
14344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14346 arg2
= static_cast< int >(val2
);
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14369 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
= 0;
14371 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14372 int arg2
= (int) -1 ;
14373 wxPyProcess
*result
= 0 ;
14378 PyObject
* obj0
= 0 ;
14379 PyObject
* obj1
= 0 ;
14380 char * kwnames
[] = {
14381 (char *) "parent",(char *) "id", NULL
14384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14387 if (!SWIG_IsOK(res1
)) {
14388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14390 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14394 if (!SWIG_IsOK(ecode2
)) {
14395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14397 arg2
= static_cast< int >(val2
);
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14412 SWIGINTERN PyObject
*_wrap_delete_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14413 PyObject
*resultobj
= 0;
14414 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14417 PyObject
*swig_obj
[1] ;
14419 if (!args
) SWIG_fail
;
14420 swig_obj
[0] = args
;
14421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_DISOWN
| 0 );
14422 if (!SWIG_IsOK(res1
)) {
14423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Process" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14425 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= SWIG_Py_Void();
14440 SWIGINTERN PyObject
*_wrap_Process_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14441 PyObject
*resultobj
= 0;
14442 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14446 PyObject
*swig_obj
[1] ;
14448 if (!args
) SWIG_fail
;
14449 swig_obj
[0] = args
;
14450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14451 if (!SWIG_IsOK(res1
)) {
14452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetPid" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14454 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (long)((wxPyProcess
const *)arg1
)->GetPid();
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_From_long(static_cast< long >(result
));
14468 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
= 0;
14470 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14471 PyObject
*arg2
= (PyObject
*) 0 ;
14472 PyObject
*arg3
= (PyObject
*) 0 ;
14475 PyObject
* obj0
= 0 ;
14476 PyObject
* obj1
= 0 ;
14477 PyObject
* obj2
= 0 ;
14478 char * kwnames
[] = {
14479 (char *) "self",(char *) "self",(char *) "_class", NULL
14482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14484 if (!SWIG_IsOK(res1
)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14487 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= SWIG_Py_Void();
14503 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
= 0;
14505 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 PyObject
* obj2
= 0 ;
14517 char * kwnames
[] = {
14518 (char *) "self",(char *) "pid",(char *) "status", NULL
14521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14523 if (!SWIG_IsOK(res1
)) {
14524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14526 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14528 if (!SWIG_IsOK(ecode2
)) {
14529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14531 arg2
= static_cast< int >(val2
);
14532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14533 if (!SWIG_IsOK(ecode3
)) {
14534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14536 arg3
= static_cast< int >(val3
);
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 (arg1
)->OnTerminate(arg2
,arg3
);
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 resultobj
= SWIG_Py_Void();
14550 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14551 PyObject
*resultobj
= 0;
14552 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14555 PyObject
*swig_obj
[1] ;
14557 if (!args
) SWIG_fail
;
14558 swig_obj
[0] = args
;
14559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14560 if (!SWIG_IsOK(res1
)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14563 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 (arg1
)->Redirect();
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= SWIG_Py_Void();
14577 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14578 PyObject
*resultobj
= 0;
14579 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14583 PyObject
*swig_obj
[1] ;
14585 if (!args
) SWIG_fail
;
14586 swig_obj
[0] = args
;
14587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14588 if (!SWIG_IsOK(res1
)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14591 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 result
= (bool)(arg1
)->IsRedirected();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14607 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14608 PyObject
*resultobj
= 0;
14609 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14612 PyObject
*swig_obj
[1] ;
14614 if (!args
) SWIG_fail
;
14615 swig_obj
[0] = args
;
14616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14617 if (!SWIG_IsOK(res1
)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14620 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= SWIG_Py_Void();
14634 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14635 PyObject
*resultobj
= 0;
14636 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14637 wxInputStream
*result
= 0 ;
14640 PyObject
*swig_obj
[1] ;
14642 if (!args
) SWIG_fail
;
14643 swig_obj
[0] = args
;
14644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14645 if (!SWIG_IsOK(res1
)) {
14646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14648 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14656 wxPyInputStream
* _ptr
= NULL
;
14659 _ptr
= new wxPyInputStream(result
);
14661 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14669 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14670 PyObject
*resultobj
= 0;
14671 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14672 wxInputStream
*result
= 0 ;
14675 PyObject
*swig_obj
[1] ;
14677 if (!args
) SWIG_fail
;
14678 swig_obj
[0] = args
;
14679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14680 if (!SWIG_IsOK(res1
)) {
14681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14683 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 wxPyInputStream
* _ptr
= NULL
;
14694 _ptr
= new wxPyInputStream(result
);
14696 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14704 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14705 PyObject
*resultobj
= 0;
14706 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14707 wxOutputStream
*result
= 0 ;
14710 PyObject
*swig_obj
[1] ;
14712 if (!args
) SWIG_fail
;
14713 swig_obj
[0] = args
;
14714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14715 if (!SWIG_IsOK(res1
)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14718 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14732 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14733 PyObject
*resultobj
= 0;
14734 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14737 PyObject
*swig_obj
[1] ;
14739 if (!args
) SWIG_fail
;
14740 swig_obj
[0] = args
;
14741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14742 if (!SWIG_IsOK(res1
)) {
14743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14745 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 (arg1
)->CloseOutput();
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_Py_Void();
14759 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14760 PyObject
*resultobj
= 0;
14761 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14765 PyObject
*swig_obj
[1] ;
14767 if (!args
) SWIG_fail
;
14768 swig_obj
[0] = args
;
14769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14770 if (!SWIG_IsOK(res1
)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14773 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14789 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14790 PyObject
*resultobj
= 0;
14791 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14795 PyObject
*swig_obj
[1] ;
14797 if (!args
) SWIG_fail
;
14798 swig_obj
[0] = args
;
14799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14800 if (!SWIG_IsOK(res1
)) {
14801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14803 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14819 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14820 PyObject
*resultobj
= 0;
14821 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14825 PyObject
*swig_obj
[1] ;
14827 if (!args
) SWIG_fail
;
14828 swig_obj
[0] = args
;
14829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14830 if (!SWIG_IsOK(res1
)) {
14831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14833 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14849 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14852 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14853 return SWIG_Py_Void();
14856 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14857 return SWIG_Python_InitShadowInstance(args
);
14860 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
= 0;
14862 int arg1
= (int) 0 ;
14863 int arg2
= (int) 0 ;
14864 int arg3
= (int) 0 ;
14865 wxProcessEvent
*result
= 0 ;
14872 PyObject
* obj0
= 0 ;
14873 PyObject
* obj1
= 0 ;
14874 PyObject
* obj2
= 0 ;
14875 char * kwnames
[] = {
14876 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14881 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14882 if (!SWIG_IsOK(ecode1
)) {
14883 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14885 arg1
= static_cast< int >(val1
);
14888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14889 if (!SWIG_IsOK(ecode2
)) {
14890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14892 arg2
= static_cast< int >(val2
);
14895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14896 if (!SWIG_IsOK(ecode3
)) {
14897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14899 arg3
= static_cast< int >(val3
);
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14914 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14915 PyObject
*resultobj
= 0;
14916 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14920 PyObject
*swig_obj
[1] ;
14922 if (!args
) SWIG_fail
;
14923 swig_obj
[0] = args
;
14924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14925 if (!SWIG_IsOK(res1
)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14928 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (int)(arg1
)->GetPid();
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= SWIG_From_int(static_cast< int >(result
));
14942 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14943 PyObject
*resultobj
= 0;
14944 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14948 PyObject
*swig_obj
[1] ;
14950 if (!args
) SWIG_fail
;
14951 swig_obj
[0] = args
;
14952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14953 if (!SWIG_IsOK(res1
)) {
14954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14956 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (int)(arg1
)->GetExitCode();
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= SWIG_From_int(static_cast< int >(result
));
14970 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14971 PyObject
*resultobj
= 0;
14972 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14978 PyObject
*swig_obj
[2] ;
14980 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14982 if (!SWIG_IsOK(res1
)) {
14983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14985 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14986 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14987 if (!SWIG_IsOK(ecode2
)) {
14988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
14990 arg2
= static_cast< int >(val2
);
14991 if (arg1
) (arg1
)->m_pid
= arg2
;
14993 resultobj
= SWIG_Py_Void();
15000 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15001 PyObject
*resultobj
= 0;
15002 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15006 PyObject
*swig_obj
[1] ;
15008 if (!args
) SWIG_fail
;
15009 swig_obj
[0] = args
;
15010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15011 if (!SWIG_IsOK(res1
)) {
15012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15014 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15015 result
= (int) ((arg1
)->m_pid
);
15016 resultobj
= SWIG_From_int(static_cast< int >(result
));
15023 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15024 PyObject
*resultobj
= 0;
15025 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15031 PyObject
*swig_obj
[2] ;
15033 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
15034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15035 if (!SWIG_IsOK(res1
)) {
15036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15038 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15039 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15040 if (!SWIG_IsOK(ecode2
)) {
15041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
15043 arg2
= static_cast< int >(val2
);
15044 if (arg1
) (arg1
)->m_exitcode
= arg2
;
15046 resultobj
= SWIG_Py_Void();
15053 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15054 PyObject
*resultobj
= 0;
15055 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15059 PyObject
*swig_obj
[1] ;
15061 if (!args
) SWIG_fail
;
15062 swig_obj
[0] = args
;
15063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15064 if (!SWIG_IsOK(res1
)) {
15065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15067 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15068 result
= (int) ((arg1
)->m_exitcode
);
15069 resultobj
= SWIG_From_int(static_cast< int >(result
));
15076 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15079 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
15080 return SWIG_Py_Void();
15083 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15084 return SWIG_Python_InitShadowInstance(args
);
15087 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
= 0;
15089 wxString
*arg1
= 0 ;
15090 int arg2
= (int) wxEXEC_ASYNC
;
15091 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
15093 bool temp1
= false ;
15098 PyObject
* obj0
= 0 ;
15099 PyObject
* obj1
= 0 ;
15100 PyObject
* obj2
= 0 ;
15101 char * kwnames
[] = {
15102 (char *) "command",(char *) "flags",(char *) "process", NULL
15105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15107 arg1
= wxString_in_helper(obj0
);
15108 if (arg1
== NULL
) SWIG_fail
;
15112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15113 if (!SWIG_IsOK(ecode2
)) {
15114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
15116 arg2
= static_cast< int >(val2
);
15119 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
15120 if (!SWIG_IsOK(res3
)) {
15121 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
15123 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
15126 if (!wxPyCheckForApp()) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_From_long(static_cast< long >(result
));
15147 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
= 0;
15150 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
15151 wxKillError
*arg3
= (wxKillError
*) 0 ;
15152 int arg4
= (int) wxKILL_NOCHILDREN
;
15158 wxKillError temp3
;
15161 PyObject
* obj0
= 0 ;
15162 PyObject
* obj1
= 0 ;
15163 PyObject
* obj2
= 0 ;
15164 char * kwnames
[] = {
15165 (char *) "pid",(char *) "sig",(char *) "flags", NULL
15171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15172 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
15173 if (!SWIG_IsOK(ecode1
)) {
15174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
15176 arg1
= static_cast< long >(val1
);
15178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15179 if (!SWIG_IsOK(ecode2
)) {
15180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
15182 arg2
= static_cast< wxSignal
>(val2
);
15185 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
15186 if (!SWIG_IsOK(ecode4
)) {
15187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
15189 arg4
= static_cast< int >(val4
);
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= SWIG_From_int(static_cast< int >(result
));
15200 o
= PyInt_FromLong((long) (*arg3
));
15204 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15213 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
= 0;
15215 int arg1
= (int) wxJOYSTICK1
;
15216 wxJoystick
*result
= 0 ;
15219 PyObject
* obj0
= 0 ;
15220 char * kwnames
[] = {
15221 (char *) "joystick", NULL
15224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15227 if (!SWIG_IsOK(ecode1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15230 arg1
= static_cast< int >(val1
);
15233 if (!wxPyCheckForApp()) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 result
= (wxJoystick
*)new wxJoystick(arg1
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15246 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15247 PyObject
*resultobj
= 0;
15248 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15251 PyObject
*swig_obj
[1] ;
15253 if (!args
) SWIG_fail
;
15254 swig_obj
[0] = args
;
15255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15256 if (!SWIG_IsOK(res1
)) {
15257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15259 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_Py_Void();
15274 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15275 PyObject
*resultobj
= 0;
15276 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15280 PyObject
*swig_obj
[1] ;
15282 if (!args
) SWIG_fail
;
15283 swig_obj
[0] = args
;
15284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15285 if (!SWIG_IsOK(res1
)) {
15286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15288 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= (arg1
)->GetPosition();
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15302 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15303 PyObject
*resultobj
= 0;
15304 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15308 PyObject
*swig_obj
[1] ;
15310 if (!args
) SWIG_fail
;
15311 swig_obj
[0] = args
;
15312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15313 if (!SWIG_IsOK(res1
)) {
15314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15316 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (int)(arg1
)->GetZPosition();
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= SWIG_From_int(static_cast< int >(result
));
15330 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15331 PyObject
*resultobj
= 0;
15332 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15336 PyObject
*swig_obj
[1] ;
15338 if (!args
) SWIG_fail
;
15339 swig_obj
[0] = args
;
15340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15341 if (!SWIG_IsOK(res1
)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15344 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 result
= (int)(arg1
)->GetButtonState();
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= SWIG_From_int(static_cast< int >(result
));
15358 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15359 PyObject
*resultobj
= 0;
15360 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15364 PyObject
*swig_obj
[1] ;
15366 if (!args
) SWIG_fail
;
15367 swig_obj
[0] = args
;
15368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15369 if (!SWIG_IsOK(res1
)) {
15370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15372 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= (int)(arg1
)->GetPOVPosition();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= SWIG_From_int(static_cast< int >(result
));
15386 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15387 PyObject
*resultobj
= 0;
15388 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15392 PyObject
*swig_obj
[1] ;
15394 if (!args
) SWIG_fail
;
15395 swig_obj
[0] = args
;
15396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15397 if (!SWIG_IsOK(res1
)) {
15398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15400 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (int)(arg1
)->GetPOVCTSPosition();
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= SWIG_From_int(static_cast< int >(result
));
15414 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15415 PyObject
*resultobj
= 0;
15416 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15420 PyObject
*swig_obj
[1] ;
15422 if (!args
) SWIG_fail
;
15423 swig_obj
[0] = args
;
15424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15425 if (!SWIG_IsOK(res1
)) {
15426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15428 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15431 result
= (int)(arg1
)->GetRudderPosition();
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= SWIG_From_int(static_cast< int >(result
));
15442 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15443 PyObject
*resultobj
= 0;
15444 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15448 PyObject
*swig_obj
[1] ;
15450 if (!args
) SWIG_fail
;
15451 swig_obj
[0] = args
;
15452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15453 if (!SWIG_IsOK(res1
)) {
15454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15456 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 result
= (int)(arg1
)->GetUPosition();
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15463 resultobj
= SWIG_From_int(static_cast< int >(result
));
15470 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15471 PyObject
*resultobj
= 0;
15472 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15476 PyObject
*swig_obj
[1] ;
15478 if (!args
) SWIG_fail
;
15479 swig_obj
[0] = args
;
15480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15481 if (!SWIG_IsOK(res1
)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15484 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 result
= (int)(arg1
)->GetVPosition();
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= SWIG_From_int(static_cast< int >(result
));
15498 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15499 PyObject
*resultobj
= 0;
15500 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15504 PyObject
*swig_obj
[1] ;
15506 if (!args
) SWIG_fail
;
15507 swig_obj
[0] = args
;
15508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15509 if (!SWIG_IsOK(res1
)) {
15510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15512 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (int)(arg1
)->GetMovementThreshold();
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 resultobj
= SWIG_From_int(static_cast< int >(result
));
15526 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
= 0;
15528 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 char * kwnames
[] = {
15537 (char *) "self",(char *) "threshold", NULL
15540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15542 if (!SWIG_IsOK(res1
)) {
15543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15545 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15547 if (!SWIG_IsOK(ecode2
)) {
15548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15550 arg2
= static_cast< int >(val2
);
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 (arg1
)->SetMovementThreshold(arg2
);
15554 wxPyEndAllowThreads(__tstate
);
15555 if (PyErr_Occurred()) SWIG_fail
;
15557 resultobj
= SWIG_Py_Void();
15564 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15565 PyObject
*resultobj
= 0;
15566 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15570 PyObject
*swig_obj
[1] ;
15572 if (!args
) SWIG_fail
;
15573 swig_obj
[0] = args
;
15574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15575 if (!SWIG_IsOK(res1
)) {
15576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15578 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= (bool)(arg1
)->IsOk();
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15594 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15595 PyObject
*resultobj
= 0;
15596 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15600 PyObject
*swig_obj
[1] ;
15602 if (!args
) SWIG_fail
;
15603 swig_obj
[0] = args
;
15604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15605 if (!SWIG_IsOK(res1
)) {
15606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15608 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (int)(arg1
)->GetNumberJoysticks();
15612 wxPyEndAllowThreads(__tstate
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= SWIG_From_int(static_cast< int >(result
));
15622 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15623 PyObject
*resultobj
= 0;
15624 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15628 PyObject
*swig_obj
[1] ;
15630 if (!args
) SWIG_fail
;
15631 swig_obj
[0] = args
;
15632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15633 if (!SWIG_IsOK(res1
)) {
15634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15636 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 result
= (int)(arg1
)->GetManufacturerId();
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_From_int(static_cast< int >(result
));
15650 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15651 PyObject
*resultobj
= 0;
15652 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15656 PyObject
*swig_obj
[1] ;
15658 if (!args
) SWIG_fail
;
15659 swig_obj
[0] = args
;
15660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15661 if (!SWIG_IsOK(res1
)) {
15662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15664 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (int)(arg1
)->GetProductId();
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= SWIG_From_int(static_cast< int >(result
));
15678 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15679 PyObject
*resultobj
= 0;
15680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15684 PyObject
*swig_obj
[1] ;
15686 if (!args
) SWIG_fail
;
15687 swig_obj
[0] = args
;
15688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15689 if (!SWIG_IsOK(res1
)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15692 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 result
= (arg1
)->GetProductName();
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15712 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15713 PyObject
*resultobj
= 0;
15714 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15718 PyObject
*swig_obj
[1] ;
15720 if (!args
) SWIG_fail
;
15721 swig_obj
[0] = args
;
15722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15723 if (!SWIG_IsOK(res1
)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15726 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (int)(arg1
)->GetXMin();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= SWIG_From_int(static_cast< int >(result
));
15740 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15741 PyObject
*resultobj
= 0;
15742 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15746 PyObject
*swig_obj
[1] ;
15748 if (!args
) SWIG_fail
;
15749 swig_obj
[0] = args
;
15750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15751 if (!SWIG_IsOK(res1
)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15754 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (int)(arg1
)->GetYMin();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_From_int(static_cast< int >(result
));
15768 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15769 PyObject
*resultobj
= 0;
15770 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15774 PyObject
*swig_obj
[1] ;
15776 if (!args
) SWIG_fail
;
15777 swig_obj
[0] = args
;
15778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15779 if (!SWIG_IsOK(res1
)) {
15780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15782 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (int)(arg1
)->GetZMin();
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_From_int(static_cast< int >(result
));
15796 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15797 PyObject
*resultobj
= 0;
15798 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15802 PyObject
*swig_obj
[1] ;
15804 if (!args
) SWIG_fail
;
15805 swig_obj
[0] = args
;
15806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15810 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= (int)(arg1
)->GetXMax();
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= SWIG_From_int(static_cast< int >(result
));
15824 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15825 PyObject
*resultobj
= 0;
15826 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15830 PyObject
*swig_obj
[1] ;
15832 if (!args
) SWIG_fail
;
15833 swig_obj
[0] = args
;
15834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15835 if (!SWIG_IsOK(res1
)) {
15836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15838 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 result
= (int)(arg1
)->GetYMax();
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 resultobj
= SWIG_From_int(static_cast< int >(result
));
15852 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15853 PyObject
*resultobj
= 0;
15854 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15858 PyObject
*swig_obj
[1] ;
15860 if (!args
) SWIG_fail
;
15861 swig_obj
[0] = args
;
15862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15863 if (!SWIG_IsOK(res1
)) {
15864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15866 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 result
= (int)(arg1
)->GetZMax();
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 resultobj
= SWIG_From_int(static_cast< int >(result
));
15880 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15881 PyObject
*resultobj
= 0;
15882 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15886 PyObject
*swig_obj
[1] ;
15888 if (!args
) SWIG_fail
;
15889 swig_obj
[0] = args
;
15890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15891 if (!SWIG_IsOK(res1
)) {
15892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15894 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (int)(arg1
)->GetNumberButtons();
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= SWIG_From_int(static_cast< int >(result
));
15908 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15909 PyObject
*resultobj
= 0;
15910 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15914 PyObject
*swig_obj
[1] ;
15916 if (!args
) SWIG_fail
;
15917 swig_obj
[0] = args
;
15918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15919 if (!SWIG_IsOK(res1
)) {
15920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15922 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (int)(arg1
)->GetNumberAxes();
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= SWIG_From_int(static_cast< int >(result
));
15936 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15937 PyObject
*resultobj
= 0;
15938 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15942 PyObject
*swig_obj
[1] ;
15944 if (!args
) SWIG_fail
;
15945 swig_obj
[0] = args
;
15946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15947 if (!SWIG_IsOK(res1
)) {
15948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15950 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (int)(arg1
)->GetMaxButtons();
15954 wxPyEndAllowThreads(__tstate
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15957 resultobj
= SWIG_From_int(static_cast< int >(result
));
15964 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15965 PyObject
*resultobj
= 0;
15966 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15970 PyObject
*swig_obj
[1] ;
15972 if (!args
) SWIG_fail
;
15973 swig_obj
[0] = args
;
15974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15975 if (!SWIG_IsOK(res1
)) {
15976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15978 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (int)(arg1
)->GetMaxAxes();
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= SWIG_From_int(static_cast< int >(result
));
15992 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15993 PyObject
*resultobj
= 0;
15994 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15998 PyObject
*swig_obj
[1] ;
16000 if (!args
) SWIG_fail
;
16001 swig_obj
[0] = args
;
16002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16003 if (!SWIG_IsOK(res1
)) {
16004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16006 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (int)(arg1
)->GetPollingMin();
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= SWIG_From_int(static_cast< int >(result
));
16020 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16021 PyObject
*resultobj
= 0;
16022 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16026 PyObject
*swig_obj
[1] ;
16028 if (!args
) SWIG_fail
;
16029 swig_obj
[0] = args
;
16030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16031 if (!SWIG_IsOK(res1
)) {
16032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16034 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 result
= (int)(arg1
)->GetPollingMax();
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= SWIG_From_int(static_cast< int >(result
));
16048 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16049 PyObject
*resultobj
= 0;
16050 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16054 PyObject
*swig_obj
[1] ;
16056 if (!args
) SWIG_fail
;
16057 swig_obj
[0] = args
;
16058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16059 if (!SWIG_IsOK(res1
)) {
16060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16062 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 result
= (int)(arg1
)->GetRudderMin();
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16069 resultobj
= SWIG_From_int(static_cast< int >(result
));
16076 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16077 PyObject
*resultobj
= 0;
16078 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16082 PyObject
*swig_obj
[1] ;
16084 if (!args
) SWIG_fail
;
16085 swig_obj
[0] = args
;
16086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16087 if (!SWIG_IsOK(res1
)) {
16088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16090 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (int)(arg1
)->GetRudderMax();
16094 wxPyEndAllowThreads(__tstate
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= SWIG_From_int(static_cast< int >(result
));
16104 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16105 PyObject
*resultobj
= 0;
16106 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16110 PyObject
*swig_obj
[1] ;
16112 if (!args
) SWIG_fail
;
16113 swig_obj
[0] = args
;
16114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16115 if (!SWIG_IsOK(res1
)) {
16116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16118 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= (int)(arg1
)->GetUMin();
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= SWIG_From_int(static_cast< int >(result
));
16132 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16133 PyObject
*resultobj
= 0;
16134 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16138 PyObject
*swig_obj
[1] ;
16140 if (!args
) SWIG_fail
;
16141 swig_obj
[0] = args
;
16142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16143 if (!SWIG_IsOK(res1
)) {
16144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16146 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 result
= (int)(arg1
)->GetUMax();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_From_int(static_cast< int >(result
));
16160 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16161 PyObject
*resultobj
= 0;
16162 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16166 PyObject
*swig_obj
[1] ;
16168 if (!args
) SWIG_fail
;
16169 swig_obj
[0] = args
;
16170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16171 if (!SWIG_IsOK(res1
)) {
16172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16174 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= (int)(arg1
)->GetVMin();
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= SWIG_From_int(static_cast< int >(result
));
16188 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16189 PyObject
*resultobj
= 0;
16190 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16194 PyObject
*swig_obj
[1] ;
16196 if (!args
) SWIG_fail
;
16197 swig_obj
[0] = args
;
16198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16199 if (!SWIG_IsOK(res1
)) {
16200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16202 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16205 result
= (int)(arg1
)->GetVMax();
16206 wxPyEndAllowThreads(__tstate
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16209 resultobj
= SWIG_From_int(static_cast< int >(result
));
16216 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16217 PyObject
*resultobj
= 0;
16218 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16222 PyObject
*swig_obj
[1] ;
16224 if (!args
) SWIG_fail
;
16225 swig_obj
[0] = args
;
16226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16227 if (!SWIG_IsOK(res1
)) {
16228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16230 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 result
= (bool)(arg1
)->HasRudder();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16246 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16247 PyObject
*resultobj
= 0;
16248 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16252 PyObject
*swig_obj
[1] ;
16254 if (!args
) SWIG_fail
;
16255 swig_obj
[0] = args
;
16256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16257 if (!SWIG_IsOK(res1
)) {
16258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16260 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 result
= (bool)(arg1
)->HasZ();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16276 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16277 PyObject
*resultobj
= 0;
16278 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16282 PyObject
*swig_obj
[1] ;
16284 if (!args
) SWIG_fail
;
16285 swig_obj
[0] = args
;
16286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16287 if (!SWIG_IsOK(res1
)) {
16288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16290 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= (bool)(arg1
)->HasU();
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16306 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16307 PyObject
*resultobj
= 0;
16308 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16312 PyObject
*swig_obj
[1] ;
16314 if (!args
) SWIG_fail
;
16315 swig_obj
[0] = args
;
16316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16317 if (!SWIG_IsOK(res1
)) {
16318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16320 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 result
= (bool)(arg1
)->HasV();
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16336 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16337 PyObject
*resultobj
= 0;
16338 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16342 PyObject
*swig_obj
[1] ;
16344 if (!args
) SWIG_fail
;
16345 swig_obj
[0] = args
;
16346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16347 if (!SWIG_IsOK(res1
)) {
16348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16350 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (bool)(arg1
)->HasPOV();
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16366 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16367 PyObject
*resultobj
= 0;
16368 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16372 PyObject
*swig_obj
[1] ;
16374 if (!args
) SWIG_fail
;
16375 swig_obj
[0] = args
;
16376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16380 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (bool)(arg1
)->HasPOV4Dir();
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16396 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16397 PyObject
*resultobj
= 0;
16398 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16402 PyObject
*swig_obj
[1] ;
16404 if (!args
) SWIG_fail
;
16405 swig_obj
[0] = args
;
16406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16407 if (!SWIG_IsOK(res1
)) {
16408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16410 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 result
= (bool)(arg1
)->HasPOVCTS();
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16426 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
= 0;
16428 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16429 wxWindow
*arg2
= (wxWindow
*) 0 ;
16430 int arg3
= (int) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 PyObject
* obj1
= 0 ;
16440 PyObject
* obj2
= 0 ;
16441 char * kwnames
[] = {
16442 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16447 if (!SWIG_IsOK(res1
)) {
16448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16450 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16451 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16452 if (!SWIG_IsOK(res2
)) {
16453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16455 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16458 if (!SWIG_IsOK(ecode3
)) {
16459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16461 arg3
= static_cast< int >(val3
);
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16478 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16479 PyObject
*resultobj
= 0;
16480 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16484 PyObject
*swig_obj
[1] ;
16486 if (!args
) SWIG_fail
;
16487 swig_obj
[0] = args
;
16488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16489 if (!SWIG_IsOK(res1
)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16492 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (bool)(arg1
)->ReleaseCapture();
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16508 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16511 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16512 return SWIG_Py_Void();
16515 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16516 return SWIG_Python_InitShadowInstance(args
);
16519 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
= 0;
16521 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16522 int arg2
= (int) 0 ;
16523 int arg3
= (int) wxJOYSTICK1
;
16524 int arg4
= (int) 0 ;
16525 wxJoystickEvent
*result
= 0 ;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 PyObject
* obj2
= 0 ;
16537 PyObject
* obj3
= 0 ;
16538 char * kwnames
[] = {
16539 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16544 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16545 if (!SWIG_IsOK(ecode1
)) {
16546 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16548 arg1
= static_cast< wxEventType
>(val1
);
16551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16552 if (!SWIG_IsOK(ecode2
)) {
16553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16555 arg2
= static_cast< int >(val2
);
16558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16559 if (!SWIG_IsOK(ecode3
)) {
16560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16562 arg3
= static_cast< int >(val3
);
16565 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16566 if (!SWIG_IsOK(ecode4
)) {
16567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16569 arg4
= static_cast< int >(val4
);
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16584 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16585 PyObject
*resultobj
= 0;
16586 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16590 PyObject
*swig_obj
[1] ;
16592 if (!args
) SWIG_fail
;
16593 swig_obj
[0] = args
;
16594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16595 if (!SWIG_IsOK(res1
)) {
16596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16598 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16612 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16613 PyObject
*resultobj
= 0;
16614 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16618 PyObject
*swig_obj
[1] ;
16620 if (!args
) SWIG_fail
;
16621 swig_obj
[0] = args
;
16622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16623 if (!SWIG_IsOK(res1
)) {
16624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16626 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16629 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16630 wxPyEndAllowThreads(__tstate
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= SWIG_From_int(static_cast< int >(result
));
16640 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16641 PyObject
*resultobj
= 0;
16642 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16646 PyObject
*swig_obj
[1] ;
16648 if (!args
) SWIG_fail
;
16649 swig_obj
[0] = args
;
16650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16651 if (!SWIG_IsOK(res1
)) {
16652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16654 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16658 wxPyEndAllowThreads(__tstate
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16661 resultobj
= SWIG_From_int(static_cast< int >(result
));
16668 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16669 PyObject
*resultobj
= 0;
16670 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16674 PyObject
*swig_obj
[1] ;
16676 if (!args
) SWIG_fail
;
16677 swig_obj
[0] = args
;
16678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16679 if (!SWIG_IsOK(res1
)) {
16680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16682 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 resultobj
= SWIG_From_int(static_cast< int >(result
));
16696 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16697 PyObject
*resultobj
= 0;
16698 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16702 PyObject
*swig_obj
[1] ;
16704 if (!args
) SWIG_fail
;
16705 swig_obj
[0] = args
;
16706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16707 if (!SWIG_IsOK(res1
)) {
16708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16710 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= SWIG_From_int(static_cast< int >(result
));
16724 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
= 0;
16726 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 char * kwnames
[] = {
16735 (char *) "self",(char *) "stick", NULL
16738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16740 if (!SWIG_IsOK(res1
)) {
16741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16743 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16745 if (!SWIG_IsOK(ecode2
)) {
16746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16748 arg2
= static_cast< int >(val2
);
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 (arg1
)->SetJoystick(arg2
);
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= SWIG_Py_Void();
16762 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
= 0;
16764 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16770 PyObject
* obj0
= 0 ;
16771 PyObject
* obj1
= 0 ;
16772 char * kwnames
[] = {
16773 (char *) "self",(char *) "state", NULL
16776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16778 if (!SWIG_IsOK(res1
)) {
16779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16781 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16783 if (!SWIG_IsOK(ecode2
)) {
16784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16786 arg2
= static_cast< int >(val2
);
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 (arg1
)->SetButtonState(arg2
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= SWIG_Py_Void();
16800 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
= 0;
16802 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 char * kwnames
[] = {
16811 (char *) "self",(char *) "change", NULL
16814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16816 if (!SWIG_IsOK(res1
)) {
16817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16819 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16821 if (!SWIG_IsOK(ecode2
)) {
16822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16824 arg2
= static_cast< int >(val2
);
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 (arg1
)->SetButtonChange(arg2
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= SWIG_Py_Void();
16838 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
= 0;
16840 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16841 wxPoint
*arg2
= 0 ;
16845 PyObject
* obj0
= 0 ;
16846 PyObject
* obj1
= 0 ;
16847 char * kwnames
[] = {
16848 (char *) "self",(char *) "pos", NULL
16851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16853 if (!SWIG_IsOK(res1
)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16856 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16859 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16867 resultobj
= SWIG_Py_Void();
16874 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
= 0;
16876 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 char * kwnames
[] = {
16885 (char *) "self",(char *) "zPos", NULL
16888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16890 if (!SWIG_IsOK(res1
)) {
16891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16893 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16895 if (!SWIG_IsOK(ecode2
)) {
16896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16898 arg2
= static_cast< int >(val2
);
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 (arg1
)->SetZPosition(arg2
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= SWIG_Py_Void();
16912 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16913 PyObject
*resultobj
= 0;
16914 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16918 PyObject
*swig_obj
[1] ;
16920 if (!args
) SWIG_fail
;
16921 swig_obj
[0] = args
;
16922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16923 if (!SWIG_IsOK(res1
)) {
16924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16926 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16942 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16943 PyObject
*resultobj
= 0;
16944 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16948 PyObject
*swig_obj
[1] ;
16950 if (!args
) SWIG_fail
;
16951 swig_obj
[0] = args
;
16952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16953 if (!SWIG_IsOK(res1
)) {
16954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16956 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16972 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16973 PyObject
*resultobj
= 0;
16974 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16978 PyObject
*swig_obj
[1] ;
16980 if (!args
) SWIG_fail
;
16981 swig_obj
[0] = args
;
16982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16983 if (!SWIG_IsOK(res1
)) {
16984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16986 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17002 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
= 0;
17004 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17005 int arg2
= (int) wxJOY_BUTTON_ANY
;
17011 PyObject
* obj0
= 0 ;
17012 PyObject
* obj1
= 0 ;
17013 char * kwnames
[] = {
17014 (char *) "self",(char *) "but", NULL
17017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17019 if (!SWIG_IsOK(res1
)) {
17020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17022 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17025 if (!SWIG_IsOK(ecode2
)) {
17026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
17028 arg2
= static_cast< int >(val2
);
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
17033 wxPyEndAllowThreads(__tstate
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17045 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17046 PyObject
*resultobj
= 0;
17047 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17048 int arg2
= (int) wxJOY_BUTTON_ANY
;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 char * kwnames
[] = {
17057 (char *) "self",(char *) "but", NULL
17060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17062 if (!SWIG_IsOK(res1
)) {
17063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17065 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17068 if (!SWIG_IsOK(ecode2
)) {
17069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
17071 arg2
= static_cast< int >(val2
);
17074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17075 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17088 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
= 0;
17090 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17091 int arg2
= (int) wxJOY_BUTTON_ANY
;
17097 PyObject
* obj0
= 0 ;
17098 PyObject
* obj1
= 0 ;
17099 char * kwnames
[] = {
17100 (char *) "self",(char *) "but", NULL
17103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17105 if (!SWIG_IsOK(res1
)) {
17106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17108 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17111 if (!SWIG_IsOK(ecode2
)) {
17112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
17114 arg2
= static_cast< int >(val2
);
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17131 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17134 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
17135 return SWIG_Py_Void();
17138 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17139 return SWIG_Python_InitShadowInstance(args
);
17142 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
= 0;
17144 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17145 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17146 wxSound
*result
= 0 ;
17147 bool temp1
= false ;
17148 PyObject
* obj0
= 0 ;
17149 char * kwnames
[] = {
17150 (char *) "fileName", NULL
17153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
17156 arg1
= wxString_in_helper(obj0
);
17157 if (arg1
== NULL
) SWIG_fail
;
17162 if (!wxPyCheckForApp()) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
17183 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
= 0;
17185 PyObject
*arg1
= (PyObject
*) 0 ;
17186 wxSound
*result
= 0 ;
17187 PyObject
* obj0
= 0 ;
17188 char * kwnames
[] = {
17189 (char *) "data", NULL
17192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17195 if (!wxPyCheckForApp()) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= (wxSound
*)new_wxSound(arg1
);
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17208 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17209 PyObject
*resultobj
= 0;
17210 wxSound
*arg1
= (wxSound
*) 0 ;
17213 PyObject
*swig_obj
[1] ;
17215 if (!args
) SWIG_fail
;
17216 swig_obj
[0] = args
;
17217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17218 if (!SWIG_IsOK(res1
)) {
17219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17221 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= SWIG_Py_Void();
17236 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
= 0;
17238 wxSound
*arg1
= (wxSound
*) 0 ;
17239 wxString
*arg2
= 0 ;
17243 bool temp2
= false ;
17244 PyObject
* obj0
= 0 ;
17245 PyObject
* obj1
= 0 ;
17246 char * kwnames
[] = {
17247 (char *) "self",(char *) "fileName", NULL
17250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17252 if (!SWIG_IsOK(res1
)) {
17253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17255 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17257 arg2
= wxString_in_helper(obj1
);
17258 if (arg2
== NULL
) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17284 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
= 0;
17286 wxSound
*arg1
= (wxSound
*) 0 ;
17287 PyObject
*arg2
= (PyObject
*) 0 ;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 char * kwnames
[] = {
17294 (char *) "self",(char *) "data", NULL
17297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17299 if (!SWIG_IsOK(res1
)) {
17300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17302 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17319 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17320 PyObject
*resultobj
= 0;
17321 wxSound
*arg1
= (wxSound
*) 0 ;
17325 PyObject
*swig_obj
[1] ;
17327 if (!args
) SWIG_fail
;
17328 swig_obj
[0] = args
;
17329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17330 if (!SWIG_IsOK(res1
)) {
17331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17333 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (bool)(arg1
)->IsOk();
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17349 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
= 0;
17351 wxSound
*arg1
= (wxSound
*) 0 ;
17352 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17356 unsigned int val2
;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 char * kwnames
[] = {
17361 (char *) "self",(char *) "flags", NULL
17364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17366 if (!SWIG_IsOK(res1
)) {
17367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17369 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17371 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17372 if (!SWIG_IsOK(ecode2
)) {
17373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17375 arg2
= static_cast< unsigned int >(val2
);
17378 if (!wxPyCheckForApp()) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17393 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
= 0;
17395 wxString
*arg1
= 0 ;
17396 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17398 bool temp1
= false ;
17399 unsigned int val2
;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 char * kwnames
[] = {
17404 (char *) "filename",(char *) "flags", NULL
17407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17409 arg1
= wxString_in_helper(obj0
);
17410 if (arg1
== NULL
) SWIG_fail
;
17414 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17415 if (!SWIG_IsOK(ecode2
)) {
17416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17418 arg2
= static_cast< unsigned int >(val2
);
17421 if (!wxPyCheckForApp()) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17444 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17445 PyObject
*resultobj
= 0;
17447 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17449 if (!wxPyCheckForApp()) SWIG_fail
;
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= SWIG_Py_Void();
17462 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17465 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17466 return SWIG_Py_Void();
17469 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17470 return SWIG_Python_InitShadowInstance(args
);
17473 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
= 0;
17475 wxString
*arg1
= 0 ;
17476 wxString
*arg2
= 0 ;
17477 wxString
*arg3
= 0 ;
17478 wxString
*arg4
= 0 ;
17479 wxFileTypeInfo
*result
= 0 ;
17480 bool temp1
= false ;
17481 bool temp2
= false ;
17482 bool temp3
= false ;
17483 bool temp4
= false ;
17484 PyObject
* obj0
= 0 ;
17485 PyObject
* obj1
= 0 ;
17486 PyObject
* obj2
= 0 ;
17487 PyObject
* obj3
= 0 ;
17488 char * kwnames
[] = {
17489 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17494 arg1
= wxString_in_helper(obj0
);
17495 if (arg1
== NULL
) SWIG_fail
;
17499 arg2
= wxString_in_helper(obj1
);
17500 if (arg2
== NULL
) SWIG_fail
;
17504 arg3
= wxString_in_helper(obj2
);
17505 if (arg3
== NULL
) SWIG_fail
;
17509 arg4
= wxString_in_helper(obj3
);
17510 if (arg4
== NULL
) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17558 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
= 0;
17560 wxArrayString
*arg1
= 0 ;
17561 wxFileTypeInfo
*result
= 0 ;
17562 bool temp1
= false ;
17563 PyObject
* obj0
= 0 ;
17564 char * kwnames
[] = {
17565 (char *) "sArray", NULL
17568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17570 if (! PySequence_Check(obj0
)) {
17571 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17574 arg1
= new wxArrayString
;
17576 int i
, len
=PySequence_Length(obj0
);
17577 for (i
=0; i
<len
; i
++) {
17578 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17579 wxString
* s
= wxString_in_helper(item
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17594 if (temp1
) delete arg1
;
17599 if (temp1
) delete arg1
;
17605 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17606 PyObject
*resultobj
= 0;
17607 wxFileTypeInfo
*result
= 0 ;
17609 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17623 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 PyObject
*resultobj
= 0;
17625 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17629 PyObject
*swig_obj
[1] ;
17631 if (!args
) SWIG_fail
;
17632 swig_obj
[0] = args
;
17633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17634 if (!SWIG_IsOK(res1
)) {
17635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17637 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17653 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
= 0;
17655 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17656 wxString
*arg2
= 0 ;
17657 int arg3
= (int) 0 ;
17660 bool temp2
= false ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 PyObject
* obj2
= 0 ;
17666 char * kwnames
[] = {
17667 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17672 if (!SWIG_IsOK(res1
)) {
17673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17675 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17677 arg2
= wxString_in_helper(obj1
);
17678 if (arg2
== NULL
) SWIG_fail
;
17682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17683 if (!SWIG_IsOK(ecode3
)) {
17684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17686 arg3
= static_cast< int >(val3
);
17689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17690 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= SWIG_Py_Void();
17709 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
= 0;
17711 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17712 wxString
*arg2
= 0 ;
17715 bool temp2
= false ;
17716 PyObject
* obj0
= 0 ;
17717 PyObject
* obj1
= 0 ;
17718 char * kwnames
[] = {
17719 (char *) "self",(char *) "shortDesc", NULL
17722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17724 if (!SWIG_IsOK(res1
)) {
17725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17727 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17729 arg2
= wxString_in_helper(obj1
);
17730 if (arg2
== NULL
) SWIG_fail
;
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= SWIG_Py_Void();
17754 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17755 PyObject
*resultobj
= 0;
17756 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17757 wxString
*result
= 0 ;
17760 PyObject
*swig_obj
[1] ;
17762 if (!args
) SWIG_fail
;
17763 swig_obj
[0] = args
;
17764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17765 if (!SWIG_IsOK(res1
)) {
17766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17768 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17773 result
= (wxString
*) &_result_ref
;
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17782 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17791 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17792 PyObject
*resultobj
= 0;
17793 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17794 wxString
*result
= 0 ;
17797 PyObject
*swig_obj
[1] ;
17799 if (!args
) SWIG_fail
;
17800 swig_obj
[0] = args
;
17801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17802 if (!SWIG_IsOK(res1
)) {
17803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17805 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17810 result
= (wxString
*) &_result_ref
;
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17819 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17828 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17829 PyObject
*resultobj
= 0;
17830 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17831 wxString
*result
= 0 ;
17834 PyObject
*swig_obj
[1] ;
17836 if (!args
) SWIG_fail
;
17837 swig_obj
[0] = args
;
17838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17839 if (!SWIG_IsOK(res1
)) {
17840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17842 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17847 result
= (wxString
*) &_result_ref
;
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17854 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17856 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17865 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17866 PyObject
*resultobj
= 0;
17867 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17868 wxString
*result
= 0 ;
17871 PyObject
*swig_obj
[1] ;
17873 if (!args
) SWIG_fail
;
17874 swig_obj
[0] = args
;
17875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17876 if (!SWIG_IsOK(res1
)) {
17877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17879 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17884 result
= (wxString
*) &_result_ref
;
17886 wxPyEndAllowThreads(__tstate
);
17887 if (PyErr_Occurred()) SWIG_fail
;
17891 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17893 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17902 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17903 PyObject
*resultobj
= 0;
17904 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17905 wxString
*result
= 0 ;
17908 PyObject
*swig_obj
[1] ;
17910 if (!args
) SWIG_fail
;
17911 swig_obj
[0] = args
;
17912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17913 if (!SWIG_IsOK(res1
)) {
17914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17916 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17921 result
= (wxString
*) &_result_ref
;
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17928 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17930 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17939 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17940 PyObject
*resultobj
= 0;
17941 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17942 wxArrayString
*result
= 0 ;
17945 PyObject
*swig_obj
[1] ;
17947 if (!args
) SWIG_fail
;
17948 swig_obj
[0] = args
;
17949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17950 if (!SWIG_IsOK(res1
)) {
17951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17953 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17958 result
= (wxArrayString
*) &_result_ref
;
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= wxArrayString2PyList_helper(*result
);
17972 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17973 PyObject
*resultobj
= 0;
17974 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17978 PyObject
*swig_obj
[1] ;
17980 if (!args
) SWIG_fail
;
17981 swig_obj
[0] = args
;
17982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17983 if (!SWIG_IsOK(res1
)) {
17984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17986 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18000 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18001 PyObject
*resultobj
= 0;
18002 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18003 wxString
*result
= 0 ;
18006 PyObject
*swig_obj
[1] ;
18008 if (!args
) SWIG_fail
;
18009 swig_obj
[0] = args
;
18010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18011 if (!SWIG_IsOK(res1
)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18014 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
18019 result
= (wxString
*) &_result_ref
;
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18028 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18037 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18038 PyObject
*resultobj
= 0;
18039 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18043 PyObject
*swig_obj
[1] ;
18045 if (!args
) SWIG_fail
;
18046 swig_obj
[0] = args
;
18047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18048 if (!SWIG_IsOK(res1
)) {
18049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18051 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= SWIG_From_int(static_cast< int >(result
));
18065 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18068 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
18069 return SWIG_Py_Void();
18072 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18073 return SWIG_Python_InitShadowInstance(args
);
18076 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
= 0;
18078 wxFileTypeInfo
*arg1
= 0 ;
18079 wxFileType
*result
= 0 ;
18082 PyObject
* obj0
= 0 ;
18083 char * kwnames
[] = {
18084 (char *) "ftInfo", NULL
18087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
18088 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18089 if (!SWIG_IsOK(res1
)) {
18090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18095 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
18109 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18110 PyObject
*resultobj
= 0;
18111 wxFileType
*arg1
= (wxFileType
*) 0 ;
18114 PyObject
*swig_obj
[1] ;
18116 if (!args
) SWIG_fail
;
18117 swig_obj
[0] = args
;
18118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
18119 if (!SWIG_IsOK(res1
)) {
18120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
18122 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_Py_Void();
18137 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18138 PyObject
*resultobj
= 0;
18139 wxFileType
*arg1
= (wxFileType
*) 0 ;
18140 PyObject
*result
= 0 ;
18143 PyObject
*swig_obj
[1] ;
18145 if (!args
) SWIG_fail
;
18146 swig_obj
[0] = args
;
18147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18148 if (!SWIG_IsOK(res1
)) {
18149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
18151 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 resultobj
= result
;
18165 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18166 PyObject
*resultobj
= 0;
18167 wxFileType
*arg1
= (wxFileType
*) 0 ;
18168 PyObject
*result
= 0 ;
18171 PyObject
*swig_obj
[1] ;
18173 if (!args
) SWIG_fail
;
18174 swig_obj
[0] = args
;
18175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18176 if (!SWIG_IsOK(res1
)) {
18177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
18179 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= result
;
18193 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18194 PyObject
*resultobj
= 0;
18195 wxFileType
*arg1
= (wxFileType
*) 0 ;
18196 PyObject
*result
= 0 ;
18199 PyObject
*swig_obj
[1] ;
18201 if (!args
) SWIG_fail
;
18202 swig_obj
[0] = args
;
18203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18204 if (!SWIG_IsOK(res1
)) {
18205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18207 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= result
;
18221 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18222 PyObject
*resultobj
= 0;
18223 wxFileType
*arg1
= (wxFileType
*) 0 ;
18224 wxIcon
*result
= 0 ;
18227 PyObject
*swig_obj
[1] ;
18229 if (!args
) SWIG_fail
;
18230 swig_obj
[0] = args
;
18231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18232 if (!SWIG_IsOK(res1
)) {
18233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18235 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18249 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18250 PyObject
*resultobj
= 0;
18251 wxFileType
*arg1
= (wxFileType
*) 0 ;
18252 PyObject
*result
= 0 ;
18255 PyObject
*swig_obj
[1] ;
18257 if (!args
) SWIG_fail
;
18258 swig_obj
[0] = args
;
18259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18260 if (!SWIG_IsOK(res1
)) {
18261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18263 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18266 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= result
;
18277 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18278 PyObject
*resultobj
= 0;
18279 wxFileType
*arg1
= (wxFileType
*) 0 ;
18280 PyObject
*result
= 0 ;
18283 PyObject
*swig_obj
[1] ;
18285 if (!args
) SWIG_fail
;
18286 swig_obj
[0] = args
;
18287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18288 if (!SWIG_IsOK(res1
)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18291 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= result
;
18305 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
= 0;
18307 wxFileType
*arg1
= (wxFileType
*) 0 ;
18308 wxString
*arg2
= 0 ;
18309 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18310 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18311 PyObject
*result
= 0 ;
18314 bool temp2
= false ;
18315 bool temp3
= false ;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 PyObject
* obj2
= 0 ;
18319 char * kwnames
[] = {
18320 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18325 if (!SWIG_IsOK(res1
)) {
18326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18328 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18330 arg2
= wxString_in_helper(obj1
);
18331 if (arg2
== NULL
) SWIG_fail
;
18336 arg3
= wxString_in_helper(obj2
);
18337 if (arg3
== NULL
) SWIG_fail
;
18342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18343 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18347 resultobj
= result
;
18370 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
= 0;
18372 wxFileType
*arg1
= (wxFileType
*) 0 ;
18373 wxString
*arg2
= 0 ;
18374 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18375 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18376 PyObject
*result
= 0 ;
18379 bool temp2
= false ;
18380 bool temp3
= false ;
18381 PyObject
* obj0
= 0 ;
18382 PyObject
* obj1
= 0 ;
18383 PyObject
* obj2
= 0 ;
18384 char * kwnames
[] = {
18385 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18390 if (!SWIG_IsOK(res1
)) {
18391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18393 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18395 arg2
= wxString_in_helper(obj1
);
18396 if (arg2
== NULL
) SWIG_fail
;
18401 arg3
= wxString_in_helper(obj2
);
18402 if (arg3
== NULL
) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= result
;
18435 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
= 0;
18437 wxFileType
*arg1
= (wxFileType
*) 0 ;
18438 wxString
*arg2
= 0 ;
18439 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18440 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18441 PyObject
*result
= 0 ;
18444 bool temp2
= false ;
18445 bool temp3
= false ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 PyObject
* obj2
= 0 ;
18449 char * kwnames
[] = {
18450 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18455 if (!SWIG_IsOK(res1
)) {
18456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18458 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18460 arg2
= wxString_in_helper(obj1
);
18461 if (arg2
== NULL
) SWIG_fail
;
18466 arg3
= wxString_in_helper(obj2
);
18467 if (arg3
== NULL
) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= result
;
18500 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
= 0;
18502 wxFileType
*arg1
= (wxFileType
*) 0 ;
18503 wxString
*arg2
= 0 ;
18504 wxString
*arg3
= 0 ;
18505 bool arg4
= (bool) true ;
18509 bool temp2
= false ;
18510 bool temp3
= false ;
18513 PyObject
* obj0
= 0 ;
18514 PyObject
* obj1
= 0 ;
18515 PyObject
* obj2
= 0 ;
18516 PyObject
* obj3
= 0 ;
18517 char * kwnames
[] = {
18518 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18523 if (!SWIG_IsOK(res1
)) {
18524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18526 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18528 arg2
= wxString_in_helper(obj1
);
18529 if (arg2
== NULL
) SWIG_fail
;
18533 arg3
= wxString_in_helper(obj2
);
18534 if (arg3
== NULL
) SWIG_fail
;
18538 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18539 if (!SWIG_IsOK(ecode4
)) {
18540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18542 arg4
= static_cast< bool >(val4
);
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18575 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18576 PyObject
*resultobj
= 0;
18577 wxFileType
*arg1
= (wxFileType
*) 0 ;
18578 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18579 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18580 int arg3
= (int) 0 ;
18584 bool temp2
= false ;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 PyObject
* obj2
= 0 ;
18590 char * kwnames
[] = {
18591 (char *) "self",(char *) "cmd",(char *) "index", NULL
18594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18596 if (!SWIG_IsOK(res1
)) {
18597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18599 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18602 arg2
= wxString_in_helper(obj1
);
18603 if (arg2
== NULL
) SWIG_fail
;
18608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18609 if (!SWIG_IsOK(ecode3
)) {
18610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18612 arg3
= static_cast< int >(val3
);
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18637 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18638 PyObject
*resultobj
= 0;
18639 wxFileType
*arg1
= (wxFileType
*) 0 ;
18643 PyObject
*swig_obj
[1] ;
18645 if (!args
) SWIG_fail
;
18646 swig_obj
[0] = args
;
18647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18648 if (!SWIG_IsOK(res1
)) {
18649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18651 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= (bool)(arg1
)->Unassociate();
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18667 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18668 PyObject
*resultobj
= 0;
18669 wxString
*arg1
= 0 ;
18670 wxString
*arg2
= 0 ;
18671 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18672 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18674 bool temp1
= false ;
18675 bool temp2
= false ;
18676 bool temp3
= false ;
18677 PyObject
* obj0
= 0 ;
18678 PyObject
* obj1
= 0 ;
18679 PyObject
* obj2
= 0 ;
18680 char * kwnames
[] = {
18681 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18686 arg1
= wxString_in_helper(obj0
);
18687 if (arg1
== NULL
) SWIG_fail
;
18691 arg2
= wxString_in_helper(obj1
);
18692 if (arg2
== NULL
) SWIG_fail
;
18697 arg3
= wxString_in_helper(obj2
);
18698 if (arg3
== NULL
) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18745 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18748 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18749 return SWIG_Py_Void();
18752 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18753 return SWIG_Python_InitShadowInstance(args
);
18756 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18757 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18762 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18763 PyObject
*pyobj
= 0;
18765 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18770 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
= 0;
18772 wxString
*arg1
= 0 ;
18773 wxString
*arg2
= 0 ;
18775 bool temp1
= false ;
18776 bool temp2
= false ;
18777 PyObject
* obj0
= 0 ;
18778 PyObject
* obj1
= 0 ;
18779 char * kwnames
[] = {
18780 (char *) "mimeType",(char *) "wildcard", NULL
18783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18785 arg1
= wxString_in_helper(obj0
);
18786 if (arg1
== NULL
) SWIG_fail
;
18790 arg2
= wxString_in_helper(obj1
);
18791 if (arg2
== NULL
) SWIG_fail
;
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18825 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18826 PyObject
*resultobj
= 0;
18827 wxMimeTypesManager
*result
= 0 ;
18829 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18843 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
= 0;
18845 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18846 int arg2
= (int) wxMAILCAP_ALL
;
18847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18853 bool temp3
= false ;
18854 PyObject
* obj0
= 0 ;
18855 PyObject
* obj1
= 0 ;
18856 PyObject
* obj2
= 0 ;
18857 char * kwnames
[] = {
18858 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18863 if (!SWIG_IsOK(res1
)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18866 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18869 if (!SWIG_IsOK(ecode2
)) {
18870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18872 arg2
= static_cast< int >(val2
);
18876 arg3
= wxString_in_helper(obj2
);
18877 if (arg3
== NULL
) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= SWIG_Py_Void();
18902 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18903 PyObject
*resultobj
= 0;
18904 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18907 PyObject
*swig_obj
[1] ;
18909 if (!args
) SWIG_fail
;
18910 swig_obj
[0] = args
;
18911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18912 if (!SWIG_IsOK(res1
)) {
18913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18915 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 (arg1
)->ClearData();
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_Py_Void();
18929 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
= 0;
18931 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18932 wxString
*arg2
= 0 ;
18933 wxFileType
*result
= 0 ;
18936 bool temp2
= false ;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char * kwnames
[] = {
18940 (char *) "self",(char *) "ext", NULL
18943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18945 if (!SWIG_IsOK(res1
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18948 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18950 arg2
= wxString_in_helper(obj1
);
18951 if (arg2
== NULL
) SWIG_fail
;
18955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18956 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18975 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18976 PyObject
*resultobj
= 0;
18977 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18978 wxString
*arg2
= 0 ;
18979 wxFileType
*result
= 0 ;
18982 bool temp2
= false ;
18983 PyObject
* obj0
= 0 ;
18984 PyObject
* obj1
= 0 ;
18985 char * kwnames
[] = {
18986 (char *) "self",(char *) "mimeType", NULL
18989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18991 if (!SWIG_IsOK(res1
)) {
18992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18994 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18996 arg2
= wxString_in_helper(obj1
);
18997 if (arg2
== NULL
) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19021 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
= 0;
19023 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19024 wxString
*arg2
= 0 ;
19025 bool arg3
= (bool) false ;
19029 bool temp2
= false ;
19032 PyObject
* obj0
= 0 ;
19033 PyObject
* obj1
= 0 ;
19034 PyObject
* obj2
= 0 ;
19035 char * kwnames
[] = {
19036 (char *) "self",(char *) "filename",(char *) "fallback", NULL
19039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19041 if (!SWIG_IsOK(res1
)) {
19042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19044 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19046 arg2
= wxString_in_helper(obj1
);
19047 if (arg2
== NULL
) SWIG_fail
;
19051 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19052 if (!SWIG_IsOK(ecode3
)) {
19053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
19055 arg3
= static_cast< bool >(val3
);
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19080 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
= 0;
19082 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19083 wxString
*arg2
= 0 ;
19087 bool temp2
= false ;
19088 PyObject
* obj0
= 0 ;
19089 PyObject
* obj1
= 0 ;
19090 char * kwnames
[] = {
19091 (char *) "self",(char *) "filename", NULL
19094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19096 if (!SWIG_IsOK(res1
)) {
19097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19099 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19101 arg2
= wxString_in_helper(obj1
);
19102 if (arg2
== NULL
) SWIG_fail
;
19106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19107 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
19108 wxPyEndAllowThreads(__tstate
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19128 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19129 PyObject
*resultobj
= 0;
19130 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19131 PyObject
*result
= 0 ;
19134 PyObject
*swig_obj
[1] ;
19136 if (!args
) SWIG_fail
;
19137 swig_obj
[0] = args
;
19138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19139 if (!SWIG_IsOK(res1
)) {
19140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19142 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= result
;
19156 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
= 0;
19158 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19159 wxFileTypeInfo
*arg2
= 0 ;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 char * kwnames
[] = {
19167 (char *) "self",(char *) "ft", NULL
19170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19172 if (!SWIG_IsOK(res1
)) {
19173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19175 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19177 if (!SWIG_IsOK(res2
)) {
19178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19183 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_Py_Void();
19197 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
= 0;
19199 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19200 wxFileTypeInfo
*arg2
= 0 ;
19201 wxFileType
*result
= 0 ;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 char * kwnames
[] = {
19209 (char *) "self",(char *) "ftInfo", NULL
19212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19214 if (!SWIG_IsOK(res1
)) {
19215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19217 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19219 if (!SWIG_IsOK(res2
)) {
19220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19225 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19239 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
= 0;
19241 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19242 wxFileType
*arg2
= (wxFileType
*) 0 ;
19248 PyObject
* obj0
= 0 ;
19249 PyObject
* obj1
= 0 ;
19250 char * kwnames
[] = {
19251 (char *) "self",(char *) "ft", NULL
19254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19256 if (!SWIG_IsOK(res1
)) {
19257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19259 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19260 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19261 if (!SWIG_IsOK(res2
)) {
19262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19264 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 result
= (bool)(arg1
)->Unassociate(arg2
);
19268 wxPyEndAllowThreads(__tstate
);
19269 if (PyErr_Occurred()) SWIG_fail
;
19272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19280 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19281 PyObject
*resultobj
= 0;
19282 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19285 PyObject
*swig_obj
[1] ;
19287 if (!args
) SWIG_fail
;
19288 swig_obj
[0] = args
;
19289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19290 if (!SWIG_IsOK(res1
)) {
19291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19293 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 resultobj
= SWIG_Py_Void();
19308 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19311 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19312 return SWIG_Py_Void();
19315 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19316 return SWIG_Python_InitShadowInstance(args
);
19319 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19320 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19325 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19326 PyObject
*pyobj
= 0;
19330 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19332 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19339 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19340 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19345 SWIGINTERN PyObject
*ART_MENU_get(void) {
19346 PyObject
*pyobj
= 0;
19350 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19352 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19359 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19360 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19365 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19366 PyObject
*pyobj
= 0;
19370 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19372 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19379 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19380 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19385 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19386 PyObject
*pyobj
= 0;
19390 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19392 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19399 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19400 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19405 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19406 PyObject
*pyobj
= 0;
19410 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19412 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19419 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19420 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19425 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19426 PyObject
*pyobj
= 0;
19430 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19432 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19439 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19440 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19445 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19446 PyObject
*pyobj
= 0;
19450 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19452 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19459 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19460 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19465 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19466 PyObject
*pyobj
= 0;
19470 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19472 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19479 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19480 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19485 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19486 PyObject
*pyobj
= 0;
19490 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19492 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19499 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19500 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19505 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19506 PyObject
*pyobj
= 0;
19510 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19512 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19519 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19520 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19525 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19526 PyObject
*pyobj
= 0;
19530 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19532 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19539 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19540 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19545 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19546 PyObject
*pyobj
= 0;
19550 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19552 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19559 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19560 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19565 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19566 PyObject
*pyobj
= 0;
19570 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19572 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19579 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19580 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19585 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19586 PyObject
*pyobj
= 0;
19590 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19592 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19599 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19600 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19605 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19606 PyObject
*pyobj
= 0;
19610 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19612 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19619 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19620 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19625 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19626 PyObject
*pyobj
= 0;
19630 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19632 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19639 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19640 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19645 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19646 PyObject
*pyobj
= 0;
19650 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19652 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19659 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19660 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19665 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19666 PyObject
*pyobj
= 0;
19670 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19672 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19679 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19680 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19685 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19686 PyObject
*pyobj
= 0;
19690 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19692 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19699 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19700 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19705 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19706 PyObject
*pyobj
= 0;
19710 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19712 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19719 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19720 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19725 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19726 PyObject
*pyobj
= 0;
19730 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19732 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19739 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19740 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19745 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19746 PyObject
*pyobj
= 0;
19750 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19752 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19759 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19760 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19765 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19766 PyObject
*pyobj
= 0;
19770 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19772 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19779 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19780 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19785 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19786 PyObject
*pyobj
= 0;
19790 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19792 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19799 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19800 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19805 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19806 PyObject
*pyobj
= 0;
19810 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19812 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19819 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19820 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19825 SWIGINTERN PyObject
*ART_HELP_get(void) {
19826 PyObject
*pyobj
= 0;
19830 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19832 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19839 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19840 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19845 SWIGINTERN PyObject
*ART_TIP_get(void) {
19846 PyObject
*pyobj
= 0;
19850 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19852 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19859 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19860 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19865 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19866 PyObject
*pyobj
= 0;
19870 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19872 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19879 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19880 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19885 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19886 PyObject
*pyobj
= 0;
19890 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19892 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19899 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19900 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19905 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19906 PyObject
*pyobj
= 0;
19910 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19912 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19919 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19920 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19925 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19926 PyObject
*pyobj
= 0;
19930 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19932 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19939 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19940 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19945 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19946 PyObject
*pyobj
= 0;
19950 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19952 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19959 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19960 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19965 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19966 PyObject
*pyobj
= 0;
19970 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19972 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19979 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
19980 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
19985 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
19986 PyObject
*pyobj
= 0;
19990 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19992 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19999 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
20000 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
20005 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
20006 PyObject
*pyobj
= 0;
20010 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20012 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20019 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
20020 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
20025 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
20026 PyObject
*pyobj
= 0;
20030 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20032 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20039 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
20040 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
20045 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
20046 PyObject
*pyobj
= 0;
20050 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20052 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20059 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
20060 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
20065 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
20066 PyObject
*pyobj
= 0;
20070 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20072 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20079 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
20080 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
20085 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
20086 PyObject
*pyobj
= 0;
20090 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20092 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20099 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
20100 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
20105 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
20106 PyObject
*pyobj
= 0;
20110 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20112 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20119 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
20120 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
20125 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
20126 PyObject
*pyobj
= 0;
20130 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20132 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20139 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
20140 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
20145 SWIGINTERN PyObject
*ART_ERROR_get(void) {
20146 PyObject
*pyobj
= 0;
20150 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20152 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20159 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
20160 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
20165 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
20166 PyObject
*pyobj
= 0;
20170 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20172 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20179 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
20180 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
20185 SWIGINTERN PyObject
*ART_WARNING_get(void) {
20186 PyObject
*pyobj
= 0;
20190 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20192 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20199 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20200 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20205 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20206 PyObject
*pyobj
= 0;
20210 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20212 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20219 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20220 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20225 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20226 PyObject
*pyobj
= 0;
20230 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20232 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20239 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20240 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20245 SWIGINTERN PyObject
*ART_COPY_get(void) {
20246 PyObject
*pyobj
= 0;
20250 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20252 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20259 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20260 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20265 SWIGINTERN PyObject
*ART_CUT_get(void) {
20266 PyObject
*pyobj
= 0;
20270 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20272 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20279 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20280 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20285 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20286 PyObject
*pyobj
= 0;
20290 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20292 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20299 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20300 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20305 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20306 PyObject
*pyobj
= 0;
20310 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20312 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20319 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20320 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20325 SWIGINTERN PyObject
*ART_NEW_get(void) {
20326 PyObject
*pyobj
= 0;
20330 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20332 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20339 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20340 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20345 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20346 PyObject
*pyobj
= 0;
20350 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20352 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20359 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20360 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20365 SWIGINTERN PyObject
*ART_REDO_get(void) {
20366 PyObject
*pyobj
= 0;
20370 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20372 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20379 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20380 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20385 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20386 PyObject
*pyobj
= 0;
20390 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20392 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20399 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20400 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20405 SWIGINTERN PyObject
*ART_FIND_get(void) {
20406 PyObject
*pyobj
= 0;
20410 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20412 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20419 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20420 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20425 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20426 PyObject
*pyobj
= 0;
20430 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20432 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20439 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20440 PyObject
*resultobj
= 0;
20441 wxPyArtProvider
*result
= 0 ;
20443 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20445 if (!wxPyCheckForApp()) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20458 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20459 PyObject
*resultobj
= 0;
20460 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20463 PyObject
*swig_obj
[1] ;
20465 if (!args
) SWIG_fail
;
20466 swig_obj
[0] = args
;
20467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20468 if (!SWIG_IsOK(res1
)) {
20469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20471 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= SWIG_Py_Void();
20486 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
= 0;
20488 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20489 PyObject
*arg2
= (PyObject
*) 0 ;
20490 PyObject
*arg3
= (PyObject
*) 0 ;
20493 PyObject
* obj0
= 0 ;
20494 PyObject
* obj1
= 0 ;
20495 PyObject
* obj2
= 0 ;
20496 char * kwnames
[] = {
20497 (char *) "self",(char *) "self",(char *) "_class", NULL
20500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20502 if (!SWIG_IsOK(res1
)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20505 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= SWIG_Py_Void();
20521 SWIGINTERN PyObject
*_wrap_ArtProvider_Push(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
= 0;
20523 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20525 PyObject
* obj0
= 0 ;
20526 char * kwnames
[] = {
20527 (char *) "provider", NULL
20530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Push",kwnames
,&obj0
)) SWIG_fail
;
20531 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20532 if (!SWIG_IsOK(res1
)) {
20533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Push" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 wxPyArtProvider::Push(arg1
);
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 resultobj
= SWIG_Py_Void();
20548 SWIGINTERN PyObject
*_wrap_ArtProvider_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
= 0;
20550 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20552 PyObject
* obj0
= 0 ;
20553 char * kwnames
[] = {
20554 (char *) "provider", NULL
20557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Insert",kwnames
,&obj0
)) SWIG_fail
;
20558 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20559 if (!SWIG_IsOK(res1
)) {
20560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Insert" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 wxPyArtProvider::Insert(arg1
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 resultobj
= SWIG_Py_Void();
20575 SWIGINTERN PyObject
*_wrap_ArtProvider_Pop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20576 PyObject
*resultobj
= 0;
20579 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_Pop",0,0,0)) SWIG_fail
;
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 result
= (bool)wxPyArtProvider::Pop();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20595 SWIGINTERN PyObject
*_wrap_ArtProvider_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
= 0;
20597 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20601 PyObject
* obj0
= 0 ;
20602 char * kwnames
[] = {
20603 (char *) "provider", NULL
20606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Delete",kwnames
,&obj0
)) SWIG_fail
;
20607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20608 if (!SWIG_IsOK(res1
)) {
20609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Delete" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20611 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 result
= (bool)wxPyArtProvider::Delete(arg1
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20627 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20628 PyObject
*resultobj
= 0;
20629 wxString
*arg1
= 0 ;
20630 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20631 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20632 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20633 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20635 bool temp1
= false ;
20636 bool temp2
= false ;
20638 PyObject
* obj0
= 0 ;
20639 PyObject
* obj1
= 0 ;
20640 PyObject
* obj2
= 0 ;
20641 char * kwnames
[] = {
20642 (char *) "id",(char *) "client",(char *) "size", NULL
20645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20647 arg1
= wxString_in_helper(obj0
);
20648 if (arg1
== NULL
) SWIG_fail
;
20653 arg2
= wxString_in_helper(obj1
);
20654 if (arg2
== NULL
) SWIG_fail
;
20661 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20665 if (!wxPyCheckForApp()) SWIG_fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20694 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
= 0;
20696 wxString
*arg1
= 0 ;
20697 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20698 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20699 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20700 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20702 bool temp1
= false ;
20703 bool temp2
= false ;
20705 PyObject
* obj0
= 0 ;
20706 PyObject
* obj1
= 0 ;
20707 PyObject
* obj2
= 0 ;
20708 char * kwnames
[] = {
20709 (char *) "id",(char *) "client",(char *) "size", NULL
20712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20714 arg1
= wxString_in_helper(obj0
);
20715 if (arg1
== NULL
) SWIG_fail
;
20720 arg2
= wxString_in_helper(obj1
);
20721 if (arg2
== NULL
) SWIG_fail
;
20728 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20732 if (!wxPyCheckForApp()) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20761 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
= 0;
20763 wxString
*arg1
= 0 ;
20764 bool arg2
= (bool) false ;
20766 bool temp1
= false ;
20769 PyObject
* obj0
= 0 ;
20770 PyObject
* obj1
= 0 ;
20771 char * kwnames
[] = {
20772 (char *) "client",(char *) "platform_dependent", NULL
20775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20777 arg1
= wxString_in_helper(obj0
);
20778 if (arg1
== NULL
) SWIG_fail
;
20782 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20783 if (!SWIG_IsOK(ecode2
)) {
20784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20786 arg2
= static_cast< bool >(val2
);
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20809 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20810 PyObject
*resultobj
= 0;
20811 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20814 PyObject
*swig_obj
[1] ;
20816 if (!args
) SWIG_fail
;
20817 swig_obj
[0] = args
;
20818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20819 if (!SWIG_IsOK(res1
)) {
20820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20822 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 wxPyArtProvider_Destroy(arg1
);
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= SWIG_Py_Void();
20836 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20838 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20839 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20840 return SWIG_Py_Void();
20843 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20844 return SWIG_Python_InitShadowInstance(args
);
20847 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20848 PyObject
*resultobj
= 0;
20849 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20852 PyObject
*swig_obj
[1] ;
20854 if (!args
) SWIG_fail
;
20855 swig_obj
[0] = args
;
20856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20857 if (!SWIG_IsOK(res1
)) {
20858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20860 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= SWIG_Py_Void();
20875 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
= 0;
20877 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20878 wxConfigBase
*result
= 0 ;
20880 PyObject
* obj0
= 0 ;
20881 char * kwnames
[] = {
20882 (char *) "config", NULL
20885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20886 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20887 if (!SWIG_IsOK(res1
)) {
20888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20892 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20903 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
= 0;
20905 bool arg1
= (bool) true ;
20906 wxConfigBase
*result
= 0 ;
20909 PyObject
* obj0
= 0 ;
20910 char * kwnames
[] = {
20911 (char *) "createOnDemand", NULL
20914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20916 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20917 if (!SWIG_IsOK(ecode1
)) {
20918 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20920 arg1
= static_cast< bool >(val1
);
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20935 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20936 PyObject
*resultobj
= 0;
20937 wxConfigBase
*result
= 0 ;
20939 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (wxConfigBase
*)wxConfigBase::Create();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20953 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20954 PyObject
*resultobj
= 0;
20956 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 wxConfigBase::DontCreateOnDemand();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_Py_Void();
20970 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
= 0;
20972 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20973 wxString
*arg2
= 0 ;
20976 bool temp2
= false ;
20977 PyObject
* obj0
= 0 ;
20978 PyObject
* obj1
= 0 ;
20979 char * kwnames
[] = {
20980 (char *) "self",(char *) "path", NULL
20983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20985 if (!SWIG_IsOK(res1
)) {
20986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20988 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20990 arg2
= wxString_in_helper(obj1
);
20991 if (arg2
== NULL
) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 (arg1
)->SetPath((wxString
const &)*arg2
);
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= SWIG_Py_Void();
21015 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21016 PyObject
*resultobj
= 0;
21017 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21018 wxString
*result
= 0 ;
21021 PyObject
*swig_obj
[1] ;
21023 if (!args
) SWIG_fail
;
21024 swig_obj
[0] = args
;
21025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21026 if (!SWIG_IsOK(res1
)) {
21027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21029 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
21034 result
= (wxString
*) &_result_ref
;
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21043 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21052 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21053 PyObject
*resultobj
= 0;
21054 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21055 PyObject
*result
= 0 ;
21058 PyObject
*swig_obj
[1] ;
21060 if (!args
) SWIG_fail
;
21061 swig_obj
[0] = args
;
21062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21063 if (!SWIG_IsOK(res1
)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21066 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= result
;
21080 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
= 0;
21082 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21084 PyObject
*result
= 0 ;
21089 PyObject
* obj0
= 0 ;
21090 PyObject
* obj1
= 0 ;
21091 char * kwnames
[] = {
21092 (char *) "self",(char *) "index", NULL
21095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21097 if (!SWIG_IsOK(res1
)) {
21098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21100 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21102 if (!SWIG_IsOK(ecode2
)) {
21103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
21105 arg2
= static_cast< long >(val2
);
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= result
;
21119 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21120 PyObject
*resultobj
= 0;
21121 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21122 PyObject
*result
= 0 ;
21125 PyObject
*swig_obj
[1] ;
21127 if (!args
) SWIG_fail
;
21128 swig_obj
[0] = args
;
21129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21130 if (!SWIG_IsOK(res1
)) {
21131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21133 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21136 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= result
;
21147 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
= 0;
21149 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21151 PyObject
*result
= 0 ;
21156 PyObject
* obj0
= 0 ;
21157 PyObject
* obj1
= 0 ;
21158 char * kwnames
[] = {
21159 (char *) "self",(char *) "index", NULL
21162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21164 if (!SWIG_IsOK(res1
)) {
21165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21167 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21169 if (!SWIG_IsOK(ecode2
)) {
21170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
21172 arg2
= static_cast< long >(val2
);
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= result
;
21186 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
= 0;
21188 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21189 bool arg2
= (bool) false ;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 char * kwnames
[] = {
21198 (char *) "self",(char *) "recursive", NULL
21201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21203 if (!SWIG_IsOK(res1
)) {
21204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21206 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21208 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21209 if (!SWIG_IsOK(ecode2
)) {
21210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21212 arg2
= static_cast< bool >(val2
);
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21227 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
= 0;
21229 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21230 bool arg2
= (bool) false ;
21236 PyObject
* obj0
= 0 ;
21237 PyObject
* obj1
= 0 ;
21238 char * kwnames
[] = {
21239 (char *) "self",(char *) "recursive", NULL
21242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21244 if (!SWIG_IsOK(res1
)) {
21245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21247 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21249 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21250 if (!SWIG_IsOK(ecode2
)) {
21251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21253 arg2
= static_cast< bool >(val2
);
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21268 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
= 0;
21270 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21271 wxString
*arg2
= 0 ;
21275 bool temp2
= false ;
21276 PyObject
* obj0
= 0 ;
21277 PyObject
* obj1
= 0 ;
21278 char * kwnames
[] = {
21279 (char *) "self",(char *) "name", NULL
21282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21284 if (!SWIG_IsOK(res1
)) {
21285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21287 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21289 arg2
= wxString_in_helper(obj1
);
21290 if (arg2
== NULL
) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21316 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21317 PyObject
*resultobj
= 0;
21318 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21319 wxString
*arg2
= 0 ;
21323 bool temp2
= false ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 char * kwnames
[] = {
21327 (char *) "self",(char *) "name", NULL
21330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21332 if (!SWIG_IsOK(res1
)) {
21333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21335 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21337 arg2
= wxString_in_helper(obj1
);
21338 if (arg2
== NULL
) SWIG_fail
;
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21364 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21365 PyObject
*resultobj
= 0;
21366 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21367 wxString
*arg2
= 0 ;
21371 bool temp2
= false ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 char * kwnames
[] = {
21375 (char *) "self",(char *) "name", NULL
21378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21380 if (!SWIG_IsOK(res1
)) {
21381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21383 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21385 arg2
= wxString_in_helper(obj1
);
21386 if (arg2
== NULL
) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21412 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
= 0;
21414 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21415 wxString
*arg2
= 0 ;
21416 wxConfigBase::EntryType result
;
21419 bool temp2
= false ;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21422 char * kwnames
[] = {
21423 (char *) "self",(char *) "name", NULL
21426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21428 if (!SWIG_IsOK(res1
)) {
21429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21431 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21433 arg2
= wxString_in_helper(obj1
);
21434 if (arg2
== NULL
) SWIG_fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= SWIG_From_int(static_cast< int >(result
));
21458 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
= 0;
21460 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21461 wxString
*arg2
= 0 ;
21462 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21463 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21467 bool temp2
= false ;
21468 bool temp3
= false ;
21469 PyObject
* obj0
= 0 ;
21470 PyObject
* obj1
= 0 ;
21471 PyObject
* obj2
= 0 ;
21472 char * kwnames
[] = {
21473 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21478 if (!SWIG_IsOK(res1
)) {
21479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21481 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21483 arg2
= wxString_in_helper(obj1
);
21484 if (arg2
== NULL
) SWIG_fail
;
21489 arg3
= wxString_in_helper(obj2
);
21490 if (arg3
== NULL
) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21529 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
= 0;
21531 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21532 wxString
*arg2
= 0 ;
21533 long arg3
= (long) 0 ;
21537 bool temp2
= false ;
21540 PyObject
* obj0
= 0 ;
21541 PyObject
* obj1
= 0 ;
21542 PyObject
* obj2
= 0 ;
21543 char * kwnames
[] = {
21544 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21549 if (!SWIG_IsOK(res1
)) {
21550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21552 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21554 arg2
= wxString_in_helper(obj1
);
21555 if (arg2
== NULL
) SWIG_fail
;
21559 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21560 if (!SWIG_IsOK(ecode3
)) {
21561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21563 arg3
= static_cast< long >(val3
);
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= SWIG_From_long(static_cast< long >(result
));
21586 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
= 0;
21588 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21589 wxString
*arg2
= 0 ;
21590 double arg3
= (double) 0.0 ;
21594 bool temp2
= false ;
21597 PyObject
* obj0
= 0 ;
21598 PyObject
* obj1
= 0 ;
21599 PyObject
* obj2
= 0 ;
21600 char * kwnames
[] = {
21601 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21606 if (!SWIG_IsOK(res1
)) {
21607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21609 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21611 arg2
= wxString_in_helper(obj1
);
21612 if (arg2
== NULL
) SWIG_fail
;
21616 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21617 if (!SWIG_IsOK(ecode3
)) {
21618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21620 arg3
= static_cast< double >(val3
);
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_From_double(static_cast< double >(result
));
21643 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
= 0;
21645 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21646 wxString
*arg2
= 0 ;
21647 bool arg3
= (bool) false ;
21651 bool temp2
= false ;
21654 PyObject
* obj0
= 0 ;
21655 PyObject
* obj1
= 0 ;
21656 PyObject
* obj2
= 0 ;
21657 char * kwnames
[] = {
21658 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21663 if (!SWIG_IsOK(res1
)) {
21664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21666 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21668 arg2
= wxString_in_helper(obj1
);
21669 if (arg2
== NULL
) SWIG_fail
;
21673 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21674 if (!SWIG_IsOK(ecode3
)) {
21675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21677 arg3
= static_cast< bool >(val3
);
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21702 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
= 0;
21704 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21705 wxString
*arg2
= 0 ;
21706 wxString
*arg3
= 0 ;
21710 bool temp2
= false ;
21711 bool temp3
= false ;
21712 PyObject
* obj0
= 0 ;
21713 PyObject
* obj1
= 0 ;
21714 PyObject
* obj2
= 0 ;
21715 char * kwnames
[] = {
21716 (char *) "self",(char *) "key",(char *) "value", NULL
21719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21721 if (!SWIG_IsOK(res1
)) {
21722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21724 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21726 arg2
= wxString_in_helper(obj1
);
21727 if (arg2
== NULL
) SWIG_fail
;
21731 arg3
= wxString_in_helper(obj2
);
21732 if (arg3
== NULL
) SWIG_fail
;
21736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21737 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21766 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
= 0;
21768 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21769 wxString
*arg2
= 0 ;
21774 bool temp2
= false ;
21777 PyObject
* obj0
= 0 ;
21778 PyObject
* obj1
= 0 ;
21779 PyObject
* obj2
= 0 ;
21780 char * kwnames
[] = {
21781 (char *) "self",(char *) "key",(char *) "value", NULL
21784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21786 if (!SWIG_IsOK(res1
)) {
21787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21789 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21791 arg2
= wxString_in_helper(obj1
);
21792 if (arg2
== NULL
) SWIG_fail
;
21795 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21796 if (!SWIG_IsOK(ecode3
)) {
21797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21799 arg3
= static_cast< long >(val3
);
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21823 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
= 0;
21825 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21826 wxString
*arg2
= 0 ;
21831 bool temp2
= false ;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 PyObject
* obj2
= 0 ;
21837 char * kwnames
[] = {
21838 (char *) "self",(char *) "key",(char *) "value", NULL
21841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21843 if (!SWIG_IsOK(res1
)) {
21844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21846 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21848 arg2
= wxString_in_helper(obj1
);
21849 if (arg2
== NULL
) SWIG_fail
;
21852 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21853 if (!SWIG_IsOK(ecode3
)) {
21854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21856 arg3
= static_cast< double >(val3
);
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21880 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
= 0;
21882 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21883 wxString
*arg2
= 0 ;
21888 bool temp2
= false ;
21891 PyObject
* obj0
= 0 ;
21892 PyObject
* obj1
= 0 ;
21893 PyObject
* obj2
= 0 ;
21894 char * kwnames
[] = {
21895 (char *) "self",(char *) "key",(char *) "value", NULL
21898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21900 if (!SWIG_IsOK(res1
)) {
21901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21903 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21905 arg2
= wxString_in_helper(obj1
);
21906 if (arg2
== NULL
) SWIG_fail
;
21909 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21910 if (!SWIG_IsOK(ecode3
)) {
21911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21913 arg3
= static_cast< bool >(val3
);
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21937 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
= 0;
21939 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21940 bool arg2
= (bool) false ;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 char * kwnames
[] = {
21949 (char *) "self",(char *) "currentOnly", NULL
21952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21954 if (!SWIG_IsOK(res1
)) {
21955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21957 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21959 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21960 if (!SWIG_IsOK(ecode2
)) {
21961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21963 arg2
= static_cast< bool >(val2
);
21966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21967 result
= (bool)(arg1
)->Flush(arg2
);
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21980 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
= 0;
21982 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21983 wxString
*arg2
= 0 ;
21984 wxString
*arg3
= 0 ;
21988 bool temp2
= false ;
21989 bool temp3
= false ;
21990 PyObject
* obj0
= 0 ;
21991 PyObject
* obj1
= 0 ;
21992 PyObject
* obj2
= 0 ;
21993 char * kwnames
[] = {
21994 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21999 if (!SWIG_IsOK(res1
)) {
22000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22002 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22004 arg2
= wxString_in_helper(obj1
);
22005 if (arg2
== NULL
) SWIG_fail
;
22009 arg3
= wxString_in_helper(obj2
);
22010 if (arg3
== NULL
) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22044 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
= 0;
22046 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22047 wxString
*arg2
= 0 ;
22048 wxString
*arg3
= 0 ;
22052 bool temp2
= false ;
22053 bool temp3
= false ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 PyObject
* obj2
= 0 ;
22057 char * kwnames
[] = {
22058 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22063 if (!SWIG_IsOK(res1
)) {
22064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22066 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22068 arg2
= wxString_in_helper(obj1
);
22069 if (arg2
== NULL
) SWIG_fail
;
22073 arg3
= wxString_in_helper(obj2
);
22074 if (arg3
== NULL
) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22108 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
= 0;
22110 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22111 wxString
*arg2
= 0 ;
22112 bool arg3
= (bool) true ;
22116 bool temp2
= false ;
22119 PyObject
* obj0
= 0 ;
22120 PyObject
* obj1
= 0 ;
22121 PyObject
* obj2
= 0 ;
22122 char * kwnames
[] = {
22123 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
22126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22128 if (!SWIG_IsOK(res1
)) {
22129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22131 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22133 arg2
= wxString_in_helper(obj1
);
22134 if (arg2
== NULL
) SWIG_fail
;
22138 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22139 if (!SWIG_IsOK(ecode3
)) {
22140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
22142 arg3
= static_cast< bool >(val3
);
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22167 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
= 0;
22169 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22170 wxString
*arg2
= 0 ;
22174 bool temp2
= false ;
22175 PyObject
* obj0
= 0 ;
22176 PyObject
* obj1
= 0 ;
22177 char * kwnames
[] = {
22178 (char *) "self",(char *) "key", NULL
22181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22183 if (!SWIG_IsOK(res1
)) {
22184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22186 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22188 arg2
= wxString_in_helper(obj1
);
22189 if (arg2
== NULL
) SWIG_fail
;
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22194 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22215 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22216 PyObject
*resultobj
= 0;
22217 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22221 PyObject
*swig_obj
[1] ;
22223 if (!args
) SWIG_fail
;
22224 swig_obj
[0] = args
;
22225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22226 if (!SWIG_IsOK(res1
)) {
22227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22229 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (bool)(arg1
)->DeleteAll();
22233 wxPyEndAllowThreads(__tstate
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22245 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22246 PyObject
*resultobj
= 0;
22247 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22248 bool arg2
= (bool) true ;
22253 PyObject
* obj0
= 0 ;
22254 PyObject
* obj1
= 0 ;
22255 char * kwnames
[] = {
22256 (char *) "self",(char *) "doIt", NULL
22259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22261 if (!SWIG_IsOK(res1
)) {
22262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22264 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22266 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22267 if (!SWIG_IsOK(ecode2
)) {
22268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22270 arg2
= static_cast< bool >(val2
);
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 (arg1
)->SetExpandEnvVars(arg2
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= SWIG_Py_Void();
22285 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22286 PyObject
*resultobj
= 0;
22287 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22291 PyObject
*swig_obj
[1] ;
22293 if (!args
) SWIG_fail
;
22294 swig_obj
[0] = args
;
22295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22296 if (!SWIG_IsOK(res1
)) {
22297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22299 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22315 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
= 0;
22317 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22318 bool arg2
= (bool) true ;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 char * kwnames
[] = {
22326 (char *) "self",(char *) "doIt", NULL
22329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22331 if (!SWIG_IsOK(res1
)) {
22332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22334 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22336 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22337 if (!SWIG_IsOK(ecode2
)) {
22338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22340 arg2
= static_cast< bool >(val2
);
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 (arg1
)->SetRecordDefaults(arg2
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22348 resultobj
= SWIG_Py_Void();
22355 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22356 PyObject
*resultobj
= 0;
22357 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22361 PyObject
*swig_obj
[1] ;
22363 if (!args
) SWIG_fail
;
22364 swig_obj
[0] = args
;
22365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22366 if (!SWIG_IsOK(res1
)) {
22367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22369 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22385 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
= 0;
22387 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22388 wxString
*arg2
= 0 ;
22392 bool temp2
= false ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char * kwnames
[] = {
22396 (char *) "self",(char *) "str", NULL
22399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22401 if (!SWIG_IsOK(res1
)) {
22402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22404 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22406 arg2
= wxString_in_helper(obj1
);
22407 if (arg2
== NULL
) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22420 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22437 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22438 PyObject
*resultobj
= 0;
22439 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22443 PyObject
*swig_obj
[1] ;
22445 if (!args
) SWIG_fail
;
22446 swig_obj
[0] = args
;
22447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22448 if (!SWIG_IsOK(res1
)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22451 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22471 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22472 PyObject
*resultobj
= 0;
22473 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22477 PyObject
*swig_obj
[1] ;
22479 if (!args
) SWIG_fail
;
22480 swig_obj
[0] = args
;
22481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22482 if (!SWIG_IsOK(res1
)) {
22483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22485 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22488 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22505 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
= 0;
22507 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22508 wxString
*arg2
= 0 ;
22511 bool temp2
= false ;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22514 char * kwnames
[] = {
22515 (char *) "self",(char *) "appName", NULL
22518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22520 if (!SWIG_IsOK(res1
)) {
22521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22523 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22525 arg2
= wxString_in_helper(obj1
);
22526 if (arg2
== NULL
) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 (arg1
)->SetAppName((wxString
const &)*arg2
);
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 resultobj
= SWIG_Py_Void();
22550 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
= 0;
22552 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22553 wxString
*arg2
= 0 ;
22556 bool temp2
= false ;
22557 PyObject
* obj0
= 0 ;
22558 PyObject
* obj1
= 0 ;
22559 char * kwnames
[] = {
22560 (char *) "self",(char *) "vendorName", NULL
22563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22565 if (!SWIG_IsOK(res1
)) {
22566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22568 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22570 arg2
= wxString_in_helper(obj1
);
22571 if (arg2
== NULL
) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_Py_Void();
22595 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
= 0;
22597 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22603 PyObject
* obj0
= 0 ;
22604 PyObject
* obj1
= 0 ;
22605 char * kwnames
[] = {
22606 (char *) "self",(char *) "style", NULL
22609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22611 if (!SWIG_IsOK(res1
)) {
22612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22614 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22615 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22616 if (!SWIG_IsOK(ecode2
)) {
22617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22619 arg2
= static_cast< long >(val2
);
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 (arg1
)->SetStyle(arg2
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22626 resultobj
= SWIG_Py_Void();
22633 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22634 PyObject
*resultobj
= 0;
22635 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22639 PyObject
*swig_obj
[1] ;
22641 if (!args
) SWIG_fail
;
22642 swig_obj
[0] = args
;
22643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22644 if (!SWIG_IsOK(res1
)) {
22645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22647 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22650 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= SWIG_From_long(static_cast< long >(result
));
22661 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22664 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22665 return SWIG_Py_Void();
22668 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
= 0;
22670 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22671 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22672 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22673 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22674 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22675 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22676 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22677 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22678 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22679 wxConfig
*result
= 0 ;
22680 bool temp1
= false ;
22681 bool temp2
= false ;
22682 bool temp3
= false ;
22683 bool temp4
= false ;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22688 PyObject
* obj2
= 0 ;
22689 PyObject
* obj3
= 0 ;
22690 PyObject
* obj4
= 0 ;
22691 char * kwnames
[] = {
22692 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22698 arg1
= wxString_in_helper(obj0
);
22699 if (arg1
== NULL
) SWIG_fail
;
22705 arg2
= wxString_in_helper(obj1
);
22706 if (arg2
== NULL
) SWIG_fail
;
22712 arg3
= wxString_in_helper(obj2
);
22713 if (arg3
== NULL
) SWIG_fail
;
22719 arg4
= wxString_in_helper(obj3
);
22720 if (arg4
== NULL
) SWIG_fail
;
22725 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22726 if (!SWIG_IsOK(ecode5
)) {
22727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22729 arg5
= static_cast< long >(val5
);
22732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22733 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22776 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22777 PyObject
*resultobj
= 0;
22778 wxConfig
*arg1
= (wxConfig
*) 0 ;
22781 PyObject
*swig_obj
[1] ;
22783 if (!args
) SWIG_fail
;
22784 swig_obj
[0] = args
;
22785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22786 if (!SWIG_IsOK(res1
)) {
22787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22789 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_Py_Void();
22804 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22807 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22808 return SWIG_Py_Void();
22811 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22812 return SWIG_Python_InitShadowInstance(args
);
22815 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
= 0;
22817 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22818 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22819 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22820 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22821 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22822 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22823 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22824 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22825 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22826 wxFileConfig
*result
= 0 ;
22827 bool temp1
= false ;
22828 bool temp2
= false ;
22829 bool temp3
= false ;
22830 bool temp4
= false ;
22833 PyObject
* obj0
= 0 ;
22834 PyObject
* obj1
= 0 ;
22835 PyObject
* obj2
= 0 ;
22836 PyObject
* obj3
= 0 ;
22837 PyObject
* obj4
= 0 ;
22838 char * kwnames
[] = {
22839 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22845 arg1
= wxString_in_helper(obj0
);
22846 if (arg1
== NULL
) SWIG_fail
;
22852 arg2
= wxString_in_helper(obj1
);
22853 if (arg2
== NULL
) SWIG_fail
;
22859 arg3
= wxString_in_helper(obj2
);
22860 if (arg3
== NULL
) SWIG_fail
;
22866 arg4
= wxString_in_helper(obj3
);
22867 if (arg4
== NULL
) SWIG_fail
;
22872 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22873 if (!SWIG_IsOK(ecode5
)) {
22874 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22876 arg5
= static_cast< long >(val5
);
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22923 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22924 PyObject
*resultobj
= 0;
22925 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22928 PyObject
*swig_obj
[1] ;
22930 if (!args
) SWIG_fail
;
22931 swig_obj
[0] = args
;
22932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22933 if (!SWIG_IsOK(res1
)) {
22934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22936 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= SWIG_Py_Void();
22951 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22954 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22955 return SWIG_Py_Void();
22958 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22959 return SWIG_Python_InitShadowInstance(args
);
22962 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
= 0;
22964 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22965 wxString
*arg2
= 0 ;
22966 wxConfigPathChanger
*result
= 0 ;
22969 bool temp2
= false ;
22970 PyObject
* obj0
= 0 ;
22971 PyObject
* obj1
= 0 ;
22972 char * kwnames
[] = {
22973 (char *) "config",(char *) "entry", NULL
22976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22978 if (!SWIG_IsOK(res1
)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22981 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22983 arg2
= wxString_in_helper(obj1
);
22984 if (arg2
== NULL
) SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
23008 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23009 PyObject
*resultobj
= 0;
23010 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23013 PyObject
*swig_obj
[1] ;
23015 if (!args
) SWIG_fail
;
23016 swig_obj
[0] = args
;
23017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
23018 if (!SWIG_IsOK(res1
)) {
23019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
23021 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= SWIG_Py_Void();
23036 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23037 PyObject
*resultobj
= 0;
23038 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23039 wxString
*result
= 0 ;
23042 PyObject
*swig_obj
[1] ;
23044 if (!args
) SWIG_fail
;
23045 swig_obj
[0] = args
;
23046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
23047 if (!SWIG_IsOK(res1
)) {
23048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
23050 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
23055 result
= (wxString
*) &_result_ref
;
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23064 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23073 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23076 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
23077 return SWIG_Py_Void();
23080 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23081 return SWIG_Python_InitShadowInstance(args
);
23084 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
= 0;
23086 wxString
*arg1
= 0 ;
23088 bool temp1
= false ;
23089 PyObject
* obj0
= 0 ;
23090 char * kwnames
[] = {
23091 (char *) "sz", NULL
23094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
23096 arg1
= wxString_in_helper(obj0
);
23097 if (arg1
== NULL
) SWIG_fail
;
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= wxExpandEnvVars((wxString
const &)*arg1
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23127 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
23128 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
23133 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
23134 PyObject
*pyobj
= 0;
23138 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23140 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23147 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
23148 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
23153 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
23154 PyObject
*pyobj
= 0;
23158 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23160 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23167 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23168 PyObject
*resultobj
= 0;
23169 wxDateTime::Country arg1
;
23172 PyObject
* obj0
= 0 ;
23173 char * kwnames
[] = {
23174 (char *) "country", NULL
23177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
23178 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23179 if (!SWIG_IsOK(ecode1
)) {
23180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23182 arg1
= static_cast< wxDateTime::Country
>(val1
);
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 wxDateTime::SetCountry(arg1
);
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23189 resultobj
= SWIG_Py_Void();
23196 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23197 PyObject
*resultobj
= 0;
23198 wxDateTime::Country result
;
23200 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_From_int(static_cast< int >(result
));
23214 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
= 0;
23216 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23220 PyObject
* obj0
= 0 ;
23221 char * kwnames
[] = {
23222 (char *) "country", NULL
23225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23227 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23228 if (!SWIG_IsOK(ecode1
)) {
23229 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23231 arg1
= static_cast< wxDateTime::Country
>(val1
);
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23248 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
= 0;
23250 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23254 PyObject
* obj0
= 0 ;
23255 char * kwnames
[] = {
23256 (char *) "cal", NULL
23259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23261 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23262 if (!SWIG_IsOK(ecode1
)) {
23263 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23265 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= SWIG_From_int(static_cast< int >(result
));
23280 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
= 0;
23286 PyObject
* obj0
= 0 ;
23287 char * kwnames
[] = {
23288 (char *) "year", NULL
23291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23292 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23293 if (!SWIG_IsOK(ecode1
)) {
23294 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23296 arg1
= static_cast< int >(val1
);
23298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23299 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= SWIG_From_int(static_cast< int >(result
));
23310 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
= 0;
23312 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23313 wxDateTime::Month result
;
23316 PyObject
* obj0
= 0 ;
23317 char * kwnames
[] = {
23318 (char *) "cal", NULL
23321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23323 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23324 if (!SWIG_IsOK(ecode1
)) {
23325 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23327 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= SWIG_From_int(static_cast< int >(result
));
23342 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
= 0;
23344 int arg1
= (int) wxDateTime::Inv_Year
;
23345 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 char * kwnames
[] = {
23354 (char *) "year",(char *) "cal", NULL
23357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23360 if (!SWIG_IsOK(ecode1
)) {
23361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23363 arg1
= static_cast< int >(val1
);
23366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23367 if (!SWIG_IsOK(ecode2
)) {
23368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23370 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23387 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
= 0;
23389 int arg1
= (int) wxDateTime::Inv_Year
;
23393 PyObject
* obj0
= 0 ;
23394 char * kwnames
[] = {
23395 (char *) "year", NULL
23398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23401 if (!SWIG_IsOK(ecode1
)) {
23402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23404 arg1
= static_cast< int >(val1
);
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (int)wxDateTime::GetCentury(arg1
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= SWIG_From_int(static_cast< int >(result
));
23419 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
= 0;
23422 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 char * kwnames
[] = {
23431 (char *) "year",(char *) "cal", NULL
23434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23435 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23436 if (!SWIG_IsOK(ecode1
)) {
23437 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23439 arg1
= static_cast< int >(val1
);
23441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23442 if (!SWIG_IsOK(ecode2
)) {
23443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23445 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= SWIG_From_int(static_cast< int >(result
));
23460 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
= 0;
23462 wxDateTime::Month arg1
;
23463 int arg2
= (int) wxDateTime::Inv_Year
;
23464 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23472 PyObject
* obj0
= 0 ;
23473 PyObject
* obj1
= 0 ;
23474 PyObject
* obj2
= 0 ;
23475 char * kwnames
[] = {
23476 (char *) "month",(char *) "year",(char *) "cal", NULL
23479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23480 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23481 if (!SWIG_IsOK(ecode1
)) {
23482 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23484 arg1
= static_cast< wxDateTime::Month
>(val1
);
23486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23487 if (!SWIG_IsOK(ecode2
)) {
23488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23490 arg2
= static_cast< int >(val2
);
23493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23494 if (!SWIG_IsOK(ecode3
)) {
23495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23497 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 resultobj
= SWIG_From_int(static_cast< int >(result
));
23512 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
= 0;
23514 wxDateTime::Month arg1
;
23515 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23521 PyObject
* obj0
= 0 ;
23522 PyObject
* obj1
= 0 ;
23523 char * kwnames
[] = {
23524 (char *) "month",(char *) "flags", NULL
23527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23528 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23529 if (!SWIG_IsOK(ecode1
)) {
23530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23532 arg1
= static_cast< wxDateTime::Month
>(val1
);
23534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23535 if (!SWIG_IsOK(ecode2
)) {
23536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23538 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23559 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
= 0;
23561 wxDateTime::WeekDay arg1
;
23562 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23568 PyObject
* obj0
= 0 ;
23569 PyObject
* obj1
= 0 ;
23570 char * kwnames
[] = {
23571 (char *) "weekday",(char *) "flags", NULL
23574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23575 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23576 if (!SWIG_IsOK(ecode1
)) {
23577 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23579 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23582 if (!SWIG_IsOK(ecode2
)) {
23583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23585 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23606 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23607 PyObject
*resultobj
= 0;
23608 PyObject
*result
= 0 ;
23610 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= result
;
23624 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
= 0;
23626 int arg1
= (int) wxDateTime::Inv_Year
;
23627 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23635 char * kwnames
[] = {
23636 (char *) "year",(char *) "country", NULL
23639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23641 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23642 if (!SWIG_IsOK(ecode1
)) {
23643 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23645 arg1
= static_cast< int >(val1
);
23648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23649 if (!SWIG_IsOK(ecode2
)) {
23650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23652 arg2
= static_cast< wxDateTime::Country
>(val2
);
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23669 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
= 0;
23671 int arg1
= (int) wxDateTime::Inv_Year
;
23672 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23678 PyObject
* obj0
= 0 ;
23679 PyObject
* obj1
= 0 ;
23680 char * kwnames
[] = {
23681 (char *) "year",(char *) "country", NULL
23684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23687 if (!SWIG_IsOK(ecode1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23690 arg1
= static_cast< int >(val1
);
23693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23694 if (!SWIG_IsOK(ecode2
)) {
23695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23697 arg2
= static_cast< wxDateTime::Country
>(val2
);
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23712 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
= 0;
23714 int arg1
= (int) wxDateTime::Inv_Year
;
23715 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23721 PyObject
* obj0
= 0 ;
23722 PyObject
* obj1
= 0 ;
23723 char * kwnames
[] = {
23724 (char *) "year",(char *) "country", NULL
23727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23730 if (!SWIG_IsOK(ecode1
)) {
23731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23733 arg1
= static_cast< int >(val1
);
23736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23737 if (!SWIG_IsOK(ecode2
)) {
23738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23740 arg2
= static_cast< wxDateTime::Country
>(val2
);
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23745 wxPyEndAllowThreads(__tstate
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23748 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23755 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23756 PyObject
*resultobj
= 0;
23759 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= wxDateTime::Now();
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23773 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23774 PyObject
*resultobj
= 0;
23777 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= wxDateTime::UNow();
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23791 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23792 PyObject
*resultobj
= 0;
23795 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= wxDateTime::Today();
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23809 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23810 PyObject
*resultobj
= 0;
23811 wxDateTime
*result
= 0 ;
23813 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= (wxDateTime
*)new wxDateTime();
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23827 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
= 0;
23830 wxDateTime
*result
= 0 ;
23831 unsigned int val1
;
23833 PyObject
* obj0
= 0 ;
23834 char * kwnames
[] = {
23835 (char *) "timet", NULL
23838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23839 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23840 if (!SWIG_IsOK(ecode1
)) {
23841 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23843 arg1
= static_cast< time_t >(val1
);
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 result
= (wxDateTime
*)new wxDateTime(arg1
);
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23857 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
= 0;
23860 wxDateTime
*result
= 0 ;
23863 PyObject
* obj0
= 0 ;
23864 char * kwnames
[] = {
23865 (char *) "jdn", NULL
23868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23869 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23870 if (!SWIG_IsOK(ecode1
)) {
23871 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23873 arg1
= static_cast< double >(val1
);
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (wxDateTime
*)new wxDateTime(arg1
);
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23887 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23888 PyObject
*resultobj
= 0;
23890 int arg2
= (int) 0 ;
23891 int arg3
= (int) 0 ;
23892 int arg4
= (int) 0 ;
23893 wxDateTime
*result
= 0 ;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 PyObject
* obj2
= 0 ;
23905 PyObject
* obj3
= 0 ;
23906 char * kwnames
[] = {
23907 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23911 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23912 if (!SWIG_IsOK(ecode1
)) {
23913 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23915 arg1
= static_cast< int >(val1
);
23917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23918 if (!SWIG_IsOK(ecode2
)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23921 arg2
= static_cast< int >(val2
);
23924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23925 if (!SWIG_IsOK(ecode3
)) {
23926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23928 arg3
= static_cast< int >(val3
);
23931 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23932 if (!SWIG_IsOK(ecode4
)) {
23933 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23935 arg4
= static_cast< int >(val4
);
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23950 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
= 0;
23953 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23954 int arg3
= (int) wxDateTime::Inv_Year
;
23955 int arg4
= (int) 0 ;
23956 int arg5
= (int) 0 ;
23957 int arg6
= (int) 0 ;
23958 int arg7
= (int) 0 ;
23959 wxDateTime
*result
= 0 ;
23974 PyObject
* obj0
= 0 ;
23975 PyObject
* obj1
= 0 ;
23976 PyObject
* obj2
= 0 ;
23977 PyObject
* obj3
= 0 ;
23978 PyObject
* obj4
= 0 ;
23979 PyObject
* obj5
= 0 ;
23980 PyObject
* obj6
= 0 ;
23981 char * kwnames
[] = {
23982 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23986 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23987 if (!SWIG_IsOK(ecode1
)) {
23988 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
23990 arg1
= static_cast< int >(val1
);
23992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23993 if (!SWIG_IsOK(ecode2
)) {
23994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23996 arg2
= static_cast< wxDateTime::Month
>(val2
);
23999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24000 if (!SWIG_IsOK(ecode3
)) {
24001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
24003 arg3
= static_cast< int >(val3
);
24006 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24007 if (!SWIG_IsOK(ecode4
)) {
24008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
24010 arg4
= static_cast< int >(val4
);
24013 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24014 if (!SWIG_IsOK(ecode5
)) {
24015 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
24017 arg5
= static_cast< int >(val5
);
24020 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24021 if (!SWIG_IsOK(ecode6
)) {
24022 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
24024 arg6
= static_cast< int >(val6
);
24027 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24028 if (!SWIG_IsOK(ecode7
)) {
24029 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
24031 arg7
= static_cast< int >(val7
);
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24046 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
= 0;
24048 wxDateTime
*arg1
= 0 ;
24049 wxDateTime
*result
= 0 ;
24052 PyObject
* obj0
= 0 ;
24053 char * kwnames
[] = {
24054 (char *) "date", NULL
24057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
24058 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
24059 if (!SWIG_IsOK(res1
)) {
24060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24065 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24079 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24080 PyObject
*resultobj
= 0;
24081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24084 PyObject
*swig_obj
[1] ;
24086 if (!args
) SWIG_fail
;
24087 swig_obj
[0] = args
;
24088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
24089 if (!SWIG_IsOK(res1
)) {
24090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24092 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 resultobj
= SWIG_Py_Void();
24107 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24108 PyObject
*resultobj
= 0;
24109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24110 wxDateTime
*result
= 0 ;
24113 PyObject
*swig_obj
[1] ;
24115 if (!args
) SWIG_fail
;
24116 swig_obj
[0] = args
;
24117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24118 if (!SWIG_IsOK(res1
)) {
24119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
24121 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
24126 result
= (wxDateTime
*) &_result_ref
;
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24138 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
= 0;
24140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24142 wxDateTime
*result
= 0 ;
24145 unsigned int val2
;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 char * kwnames
[] = {
24150 (char *) "self",(char *) "timet", NULL
24153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24158 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24159 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
24160 if (!SWIG_IsOK(ecode2
)) {
24161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
24163 arg2
= static_cast< time_t >(val2
);
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24168 result
= (wxDateTime
*) &_result_ref
;
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24180 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
= 0;
24182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24184 wxDateTime
*result
= 0 ;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24191 char * kwnames
[] = {
24192 (char *) "self",(char *) "jdn", NULL
24195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24197 if (!SWIG_IsOK(res1
)) {
24198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24200 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24201 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24202 if (!SWIG_IsOK(ecode2
)) {
24203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24205 arg2
= static_cast< double >(val2
);
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24210 result
= (wxDateTime
*) &_result_ref
;
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24222 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
= 0;
24224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24226 int arg3
= (int) 0 ;
24227 int arg4
= (int) 0 ;
24228 int arg5
= (int) 0 ;
24229 wxDateTime
*result
= 0 ;
24240 PyObject
* obj0
= 0 ;
24241 PyObject
* obj1
= 0 ;
24242 PyObject
* obj2
= 0 ;
24243 PyObject
* obj3
= 0 ;
24244 PyObject
* obj4
= 0 ;
24245 char * kwnames
[] = {
24246 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24251 if (!SWIG_IsOK(res1
)) {
24252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24254 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24256 if (!SWIG_IsOK(ecode2
)) {
24257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24259 arg2
= static_cast< int >(val2
);
24261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24262 if (!SWIG_IsOK(ecode3
)) {
24263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24265 arg3
= static_cast< int >(val3
);
24268 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24269 if (!SWIG_IsOK(ecode4
)) {
24270 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24272 arg4
= static_cast< int >(val4
);
24275 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24276 if (!SWIG_IsOK(ecode5
)) {
24277 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24279 arg5
= static_cast< int >(val5
);
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24284 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24285 result
= (wxDateTime
*) &_result_ref
;
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24297 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
= 0;
24299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24301 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24302 int arg4
= (int) wxDateTime::Inv_Year
;
24303 int arg5
= (int) 0 ;
24304 int arg6
= (int) 0 ;
24305 int arg7
= (int) 0 ;
24306 int arg8
= (int) 0 ;
24307 wxDateTime
*result
= 0 ;
24324 PyObject
* obj0
= 0 ;
24325 PyObject
* obj1
= 0 ;
24326 PyObject
* obj2
= 0 ;
24327 PyObject
* obj3
= 0 ;
24328 PyObject
* obj4
= 0 ;
24329 PyObject
* obj5
= 0 ;
24330 PyObject
* obj6
= 0 ;
24331 PyObject
* obj7
= 0 ;
24332 char * kwnames
[] = {
24333 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24338 if (!SWIG_IsOK(res1
)) {
24339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24341 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24343 if (!SWIG_IsOK(ecode2
)) {
24344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24346 arg2
= static_cast< int >(val2
);
24348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24349 if (!SWIG_IsOK(ecode3
)) {
24350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24352 arg3
= static_cast< wxDateTime::Month
>(val3
);
24355 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24356 if (!SWIG_IsOK(ecode4
)) {
24357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24359 arg4
= static_cast< int >(val4
);
24362 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24363 if (!SWIG_IsOK(ecode5
)) {
24364 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24366 arg5
= static_cast< int >(val5
);
24369 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24370 if (!SWIG_IsOK(ecode6
)) {
24371 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24373 arg6
= static_cast< int >(val6
);
24376 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24377 if (!SWIG_IsOK(ecode7
)) {
24378 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24380 arg7
= static_cast< int >(val7
);
24383 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24384 if (!SWIG_IsOK(ecode8
)) {
24385 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24387 arg8
= static_cast< int >(val8
);
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24393 result
= (wxDateTime
*) &_result_ref
;
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24405 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24406 PyObject
*resultobj
= 0;
24407 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24408 wxDateTime
*result
= 0 ;
24411 PyObject
*swig_obj
[1] ;
24413 if (!args
) SWIG_fail
;
24414 swig_obj
[0] = args
;
24415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24416 if (!SWIG_IsOK(res1
)) {
24417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24419 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24423 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24424 result
= (wxDateTime
*) &_result_ref
;
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24436 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
= 0;
24438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24440 wxDateTime
*result
= 0 ;
24445 PyObject
* obj0
= 0 ;
24446 PyObject
* obj1
= 0 ;
24447 char * kwnames
[] = {
24448 (char *) "self",(char *) "year", NULL
24451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24453 if (!SWIG_IsOK(res1
)) {
24454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24456 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24458 if (!SWIG_IsOK(ecode2
)) {
24459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24461 arg2
= static_cast< int >(val2
);
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24466 result
= (wxDateTime
*) &_result_ref
;
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24478 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24479 PyObject
*resultobj
= 0;
24480 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24481 wxDateTime::Month arg2
;
24482 wxDateTime
*result
= 0 ;
24487 PyObject
* obj0
= 0 ;
24488 PyObject
* obj1
= 0 ;
24489 char * kwnames
[] = {
24490 (char *) "self",(char *) "month", NULL
24493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24495 if (!SWIG_IsOK(res1
)) {
24496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24498 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24500 if (!SWIG_IsOK(ecode2
)) {
24501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24503 arg2
= static_cast< wxDateTime::Month
>(val2
);
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24508 result
= (wxDateTime
*) &_result_ref
;
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24520 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
= 0;
24522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24524 wxDateTime
*result
= 0 ;
24529 PyObject
* obj0
= 0 ;
24530 PyObject
* obj1
= 0 ;
24531 char * kwnames
[] = {
24532 (char *) "self",(char *) "day", NULL
24535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24537 if (!SWIG_IsOK(res1
)) {
24538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24540 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24542 if (!SWIG_IsOK(ecode2
)) {
24543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24545 arg2
= static_cast< int >(val2
);
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24550 result
= (wxDateTime
*) &_result_ref
;
24552 wxPyEndAllowThreads(__tstate
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24562 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
= 0;
24564 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24566 wxDateTime
*result
= 0 ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char * kwnames
[] = {
24574 (char *) "self",(char *) "hour", NULL
24577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24582 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24584 if (!SWIG_IsOK(ecode2
)) {
24585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24587 arg2
= static_cast< int >(val2
);
24589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24592 result
= (wxDateTime
*) &_result_ref
;
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24604 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
= 0;
24606 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24608 wxDateTime
*result
= 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char * kwnames
[] = {
24616 (char *) "self",(char *) "minute", NULL
24619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24621 if (!SWIG_IsOK(res1
)) {
24622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24624 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24626 if (!SWIG_IsOK(ecode2
)) {
24627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24629 arg2
= static_cast< int >(val2
);
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24634 result
= (wxDateTime
*) &_result_ref
;
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24646 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
= 0;
24648 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24650 wxDateTime
*result
= 0 ;
24655 PyObject
* obj0
= 0 ;
24656 PyObject
* obj1
= 0 ;
24657 char * kwnames
[] = {
24658 (char *) "self",(char *) "second", NULL
24661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24663 if (!SWIG_IsOK(res1
)) {
24664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24666 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24668 if (!SWIG_IsOK(ecode2
)) {
24669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24671 arg2
= static_cast< int >(val2
);
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24676 result
= (wxDateTime
*) &_result_ref
;
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24688 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
= 0;
24690 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24692 wxDateTime
*result
= 0 ;
24697 PyObject
* obj0
= 0 ;
24698 PyObject
* obj1
= 0 ;
24699 char * kwnames
[] = {
24700 (char *) "self",(char *) "millisecond", NULL
24703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24705 if (!SWIG_IsOK(res1
)) {
24706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24708 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24710 if (!SWIG_IsOK(ecode2
)) {
24711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24713 arg2
= static_cast< int >(val2
);
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24718 result
= (wxDateTime
*) &_result_ref
;
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24730 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24731 PyObject
*resultobj
= 0;
24732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24733 wxDateTime::WeekDay arg2
;
24734 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24735 wxDateTime
*result
= 0 ;
24742 PyObject
* obj0
= 0 ;
24743 PyObject
* obj1
= 0 ;
24744 PyObject
* obj2
= 0 ;
24745 char * kwnames
[] = {
24746 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24751 if (!SWIG_IsOK(res1
)) {
24752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24754 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24756 if (!SWIG_IsOK(ecode2
)) {
24757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24759 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24762 if (!SWIG_IsOK(ecode3
)) {
24763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24765 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24771 result
= (wxDateTime
*) &_result_ref
;
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24783 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
= 0;
24785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24786 wxDateTime::WeekDay arg2
;
24787 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 PyObject
* obj2
= 0 ;
24798 char * kwnames
[] = {
24799 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24807 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24809 if (!SWIG_IsOK(ecode2
)) {
24810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24812 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24815 if (!SWIG_IsOK(ecode3
)) {
24816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24818 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24833 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
= 0;
24835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24836 wxDateTime::WeekDay arg2
;
24837 wxDateTime
*result
= 0 ;
24842 PyObject
* obj0
= 0 ;
24843 PyObject
* obj1
= 0 ;
24844 char * kwnames
[] = {
24845 (char *) "self",(char *) "weekday", NULL
24848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24850 if (!SWIG_IsOK(res1
)) {
24851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24853 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24855 if (!SWIG_IsOK(ecode2
)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24858 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24862 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24863 result
= (wxDateTime
*) &_result_ref
;
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24875 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
= 0;
24877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24878 wxDateTime::WeekDay arg2
;
24884 PyObject
* obj0
= 0 ;
24885 PyObject
* obj1
= 0 ;
24886 char * kwnames
[] = {
24887 (char *) "self",(char *) "weekday", NULL
24890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24892 if (!SWIG_IsOK(res1
)) {
24893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24895 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24897 if (!SWIG_IsOK(ecode2
)) {
24898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24900 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 result
= (arg1
)->GetNextWeekDay(arg2
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24907 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24914 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
= 0;
24916 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24917 wxDateTime::WeekDay arg2
;
24918 wxDateTime
*result
= 0 ;
24923 PyObject
* obj0
= 0 ;
24924 PyObject
* obj1
= 0 ;
24925 char * kwnames
[] = {
24926 (char *) "self",(char *) "weekday", NULL
24929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24931 if (!SWIG_IsOK(res1
)) {
24932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24934 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24936 if (!SWIG_IsOK(ecode2
)) {
24937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24939 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24944 result
= (wxDateTime
*) &_result_ref
;
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24956 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
= 0;
24958 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24959 wxDateTime::WeekDay arg2
;
24965 PyObject
* obj0
= 0 ;
24966 PyObject
* obj1
= 0 ;
24967 char * kwnames
[] = {
24968 (char *) "self",(char *) "weekday", NULL
24971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24973 if (!SWIG_IsOK(res1
)) {
24974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24976 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24978 if (!SWIG_IsOK(ecode2
)) {
24979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24981 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (arg1
)->GetPrevWeekDay(arg2
);
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24995 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24996 PyObject
*resultobj
= 0;
24997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24998 wxDateTime::WeekDay arg2
;
24999 int arg3
= (int) 1 ;
25000 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25001 int arg5
= (int) wxDateTime::Inv_Year
;
25013 PyObject
* obj0
= 0 ;
25014 PyObject
* obj1
= 0 ;
25015 PyObject
* obj2
= 0 ;
25016 PyObject
* obj3
= 0 ;
25017 PyObject
* obj4
= 0 ;
25018 char * kwnames
[] = {
25019 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
25022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25024 if (!SWIG_IsOK(res1
)) {
25025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25027 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25029 if (!SWIG_IsOK(ecode2
)) {
25030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25032 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25035 if (!SWIG_IsOK(ecode3
)) {
25036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
25038 arg3
= static_cast< int >(val3
);
25041 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25042 if (!SWIG_IsOK(ecode4
)) {
25043 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
25045 arg4
= static_cast< wxDateTime::Month
>(val4
);
25048 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25049 if (!SWIG_IsOK(ecode5
)) {
25050 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
25052 arg5
= static_cast< int >(val5
);
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25069 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
= 0;
25071 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25072 wxDateTime::WeekDay arg2
;
25073 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25074 int arg4
= (int) wxDateTime::Inv_Year
;
25084 PyObject
* obj0
= 0 ;
25085 PyObject
* obj1
= 0 ;
25086 PyObject
* obj2
= 0 ;
25087 PyObject
* obj3
= 0 ;
25088 char * kwnames
[] = {
25089 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25094 if (!SWIG_IsOK(res1
)) {
25095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25097 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25099 if (!SWIG_IsOK(ecode2
)) {
25100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25102 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25105 if (!SWIG_IsOK(ecode3
)) {
25106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25108 arg3
= static_cast< wxDateTime::Month
>(val3
);
25111 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25112 if (!SWIG_IsOK(ecode4
)) {
25113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25115 arg4
= static_cast< int >(val4
);
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
25120 wxPyEndAllowThreads(__tstate
);
25121 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25132 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
= 0;
25134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25135 wxDateTime::WeekDay arg2
;
25136 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25137 int arg4
= (int) wxDateTime::Inv_Year
;
25147 PyObject
* obj0
= 0 ;
25148 PyObject
* obj1
= 0 ;
25149 PyObject
* obj2
= 0 ;
25150 PyObject
* obj3
= 0 ;
25151 char * kwnames
[] = {
25152 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25157 if (!SWIG_IsOK(res1
)) {
25158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25160 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25162 if (!SWIG_IsOK(ecode2
)) {
25163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25165 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25167 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25168 if (!SWIG_IsOK(ecode3
)) {
25169 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25171 arg3
= static_cast< wxDateTime::Month
>(val3
);
25174 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25175 if (!SWIG_IsOK(ecode4
)) {
25176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25178 arg4
= static_cast< int >(val4
);
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25193 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
= 0;
25195 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25197 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25198 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 PyObject
* obj2
= 0 ;
25211 PyObject
* obj3
= 0 ;
25212 char * kwnames
[] = {
25213 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25218 if (!SWIG_IsOK(res1
)) {
25219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25221 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25223 if (!SWIG_IsOK(ecode2
)) {
25224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
25226 arg2
= static_cast< int >(val2
);
25228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25229 if (!SWIG_IsOK(ecode3
)) {
25230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25232 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25235 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25236 if (!SWIG_IsOK(ecode4
)) {
25237 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25239 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
25244 wxPyEndAllowThreads(__tstate
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25256 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
= 0;
25258 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25260 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25261 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25271 PyObject
* obj0
= 0 ;
25272 PyObject
* obj1
= 0 ;
25273 PyObject
* obj2
= 0 ;
25274 PyObject
* obj3
= 0 ;
25275 char * kwnames
[] = {
25276 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25284 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25286 if (!SWIG_IsOK(ecode2
)) {
25287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25289 arg2
= static_cast< int >(val2
);
25291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25292 if (!SWIG_IsOK(ecode3
)) {
25293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25295 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25298 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25299 if (!SWIG_IsOK(ecode4
)) {
25300 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25302 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25306 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25317 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
= 0;
25321 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25329 PyObject
* obj0
= 0 ;
25330 PyObject
* obj1
= 0 ;
25331 PyObject
* obj2
= 0 ;
25332 char * kwnames
[] = {
25333 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25337 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25338 if (!SWIG_IsOK(ecode1
)) {
25339 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25341 arg1
= static_cast< int >(val1
);
25342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25343 if (!SWIG_IsOK(ecode2
)) {
25344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25346 arg2
= static_cast< int >(val2
);
25348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25349 if (!SWIG_IsOK(ecode3
)) {
25350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25352 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25360 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25367 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25368 PyObject
*resultobj
= 0;
25369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25370 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25371 int arg3
= (int) wxDateTime::Inv_Year
;
25372 wxDateTime
*result
= 0 ;
25379 PyObject
* obj0
= 0 ;
25380 PyObject
* obj1
= 0 ;
25381 PyObject
* obj2
= 0 ;
25382 char * kwnames
[] = {
25383 (char *) "self",(char *) "month",(char *) "year", NULL
25386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25388 if (!SWIG_IsOK(res1
)) {
25389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25391 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25394 if (!SWIG_IsOK(ecode2
)) {
25395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25397 arg2
= static_cast< wxDateTime::Month
>(val2
);
25400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25401 if (!SWIG_IsOK(ecode3
)) {
25402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25404 arg3
= static_cast< int >(val3
);
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25410 result
= (wxDateTime
*) &_result_ref
;
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25422 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
= 0;
25424 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25425 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25426 int arg3
= (int) wxDateTime::Inv_Year
;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 PyObject
* obj2
= 0 ;
25437 char * kwnames
[] = {
25438 (char *) "self",(char *) "month",(char *) "year", NULL
25441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25443 if (!SWIG_IsOK(res1
)) {
25444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25446 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25449 if (!SWIG_IsOK(ecode2
)) {
25450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25452 arg2
= static_cast< wxDateTime::Month
>(val2
);
25455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25456 if (!SWIG_IsOK(ecode3
)) {
25457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25459 arg3
= static_cast< int >(val3
);
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25474 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
= 0;
25476 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25478 wxDateTime
*result
= 0 ;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 char * kwnames
[] = {
25486 (char *) "self",(char *) "yday", NULL
25489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25491 if (!SWIG_IsOK(res1
)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25494 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25496 if (!SWIG_IsOK(ecode2
)) {
25497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25499 arg2
= static_cast< int >(val2
);
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25503 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25504 result
= (wxDateTime
*) &_result_ref
;
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25516 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25517 PyObject
*resultobj
= 0;
25518 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 char * kwnames
[] = {
25528 (char *) "self",(char *) "yday", NULL
25531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25533 if (!SWIG_IsOK(res1
)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25536 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25538 if (!SWIG_IsOK(ecode2
)) {
25539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25541 arg2
= static_cast< int >(val2
);
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 result
= (arg1
)->GetYearDay(arg2
);
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25555 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25556 PyObject
*resultobj
= 0;
25557 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25561 PyObject
*swig_obj
[1] ;
25563 if (!args
) SWIG_fail
;
25564 swig_obj
[0] = args
;
25565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25566 if (!SWIG_IsOK(res1
)) {
25567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25569 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 result
= (double)(arg1
)->GetJulianDayNumber();
25573 wxPyEndAllowThreads(__tstate
);
25574 if (PyErr_Occurred()) SWIG_fail
;
25576 resultobj
= SWIG_From_double(static_cast< double >(result
));
25583 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25584 PyObject
*resultobj
= 0;
25585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25589 PyObject
*swig_obj
[1] ;
25591 if (!args
) SWIG_fail
;
25592 swig_obj
[0] = args
;
25593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25594 if (!SWIG_IsOK(res1
)) {
25595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25597 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25600 result
= (double)(arg1
)->GetJDN();
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= SWIG_From_double(static_cast< double >(result
));
25611 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25612 PyObject
*resultobj
= 0;
25613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25617 PyObject
*swig_obj
[1] ;
25619 if (!args
) SWIG_fail
;
25620 swig_obj
[0] = args
;
25621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25622 if (!SWIG_IsOK(res1
)) {
25623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25625 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25632 resultobj
= SWIG_From_double(static_cast< double >(result
));
25639 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25640 PyObject
*resultobj
= 0;
25641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25645 PyObject
*swig_obj
[1] ;
25647 if (!args
) SWIG_fail
;
25648 swig_obj
[0] = args
;
25649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25650 if (!SWIG_IsOK(res1
)) {
25651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25653 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25656 result
= (double)(arg1
)->GetMJD();
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= SWIG_From_double(static_cast< double >(result
));
25667 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25668 PyObject
*resultobj
= 0;
25669 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25673 PyObject
*swig_obj
[1] ;
25675 if (!args
) SWIG_fail
;
25676 swig_obj
[0] = args
;
25677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25678 if (!SWIG_IsOK(res1
)) {
25679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25681 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 result
= (double)(arg1
)->GetRataDie();
25685 wxPyEndAllowThreads(__tstate
);
25686 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_From_double(static_cast< double >(result
));
25695 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
= 0;
25697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25698 wxDateTime::TimeZone
*arg2
= 0 ;
25699 bool arg3
= (bool) false ;
25703 bool temp2
= false ;
25706 PyObject
* obj0
= 0 ;
25707 PyObject
* obj1
= 0 ;
25708 PyObject
* obj2
= 0 ;
25709 char * kwnames
[] = {
25710 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25715 if (!SWIG_IsOK(res1
)) {
25716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25718 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25720 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25724 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25725 if (!SWIG_IsOK(ecode3
)) {
25726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25728 arg3
= static_cast< bool >(val3
);
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25738 if (temp2
) delete arg2
;
25743 if (temp2
) delete arg2
;
25749 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(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 ;
25754 wxDateTime
*result
= 0 ;
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_MakeTimezone",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_MakeTimezone" "', 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_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25782 arg3
= static_cast< bool >(val3
);
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25788 result
= (wxDateTime
*) &_result_ref
;
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25795 if (temp2
) delete arg2
;
25800 if (temp2
) delete arg2
;
25806 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
= 0;
25808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25809 wxDateTime::TimeZone
*arg2
= 0 ;
25810 bool arg3
= (bool) false ;
25814 bool temp2
= false ;
25817 PyObject
* obj0
= 0 ;
25818 PyObject
* obj1
= 0 ;
25819 PyObject
* obj2
= 0 ;
25820 char * kwnames
[] = {
25821 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25826 if (!SWIG_IsOK(res1
)) {
25827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25829 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25831 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25835 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25836 if (!SWIG_IsOK(ecode3
)) {
25837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25839 arg3
= static_cast< bool >(val3
);
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25849 if (temp2
) delete arg2
;
25854 if (temp2
) delete arg2
;
25860 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(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 ;
25865 wxDateTime
*result
= 0 ;
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_MakeFromTimezone",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_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
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_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25893 arg3
= static_cast< bool >(val3
);
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25899 result
= (wxDateTime
*) &_result_ref
;
25901 wxPyEndAllowThreads(__tstate
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25906 if (temp2
) delete arg2
;
25911 if (temp2
) delete arg2
;
25917 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
= 0;
25919 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25920 bool arg2
= (bool) false ;
25926 PyObject
* obj0
= 0 ;
25927 PyObject
* obj1
= 0 ;
25928 char * kwnames
[] = {
25929 (char *) "self",(char *) "noDST", NULL
25932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) 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_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25937 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25939 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25940 if (!SWIG_IsOK(ecode2
)) {
25941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25943 arg2
= static_cast< bool >(val2
);
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25951 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25958 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25959 PyObject
*resultobj
= 0;
25960 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25961 bool arg2
= (bool) false ;
25962 wxDateTime
*result
= 0 ;
25967 PyObject
* obj0
= 0 ;
25968 PyObject
* obj1
= 0 ;
25969 char * kwnames
[] = {
25970 (char *) "self",(char *) "noDST", NULL
25973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25975 if (!SWIG_IsOK(res1
)) {
25976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25978 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25980 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25981 if (!SWIG_IsOK(ecode2
)) {
25982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
25984 arg2
= static_cast< bool >(val2
);
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
25990 result
= (wxDateTime
*) &_result_ref
;
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26002 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
= 0;
26004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26005 bool arg2
= (bool) false ;
26011 PyObject
* obj0
= 0 ;
26012 PyObject
* obj1
= 0 ;
26013 char * kwnames
[] = {
26014 (char *) "self",(char *) "noDST", NULL
26017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26019 if (!SWIG_IsOK(res1
)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26022 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26024 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26025 if (!SWIG_IsOK(ecode2
)) {
26026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
26028 arg2
= static_cast< bool >(val2
);
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26043 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
= 0;
26045 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26046 bool arg2
= (bool) false ;
26047 wxDateTime
*result
= 0 ;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 char * kwnames
[] = {
26055 (char *) "self",(char *) "noDST", NULL
26058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26060 if (!SWIG_IsOK(res1
)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
26063 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26065 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26066 if (!SWIG_IsOK(ecode2
)) {
26067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
26069 arg2
= static_cast< bool >(val2
);
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
26075 result
= (wxDateTime
*) &_result_ref
;
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26087 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
= 0;
26089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26090 bool arg2
= (bool) false ;
26096 PyObject
* obj0
= 0 ;
26097 PyObject
* obj1
= 0 ;
26098 char * kwnames
[] = {
26099 (char *) "self",(char *) "noDST", NULL
26102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26104 if (!SWIG_IsOK(res1
)) {
26105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26107 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26109 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26110 if (!SWIG_IsOK(ecode2
)) {
26111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
26113 arg2
= static_cast< bool >(val2
);
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26117 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26128 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
= 0;
26130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26131 bool arg2
= (bool) false ;
26132 wxDateTime
*result
= 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 char * kwnames
[] = {
26140 (char *) "self",(char *) "noDST", NULL
26143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26145 if (!SWIG_IsOK(res1
)) {
26146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26148 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26150 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26151 if (!SWIG_IsOK(ecode2
)) {
26152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
26154 arg2
= static_cast< bool >(val2
);
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
26160 result
= (wxDateTime
*) &_result_ref
;
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26172 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
= 0;
26174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26175 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26181 PyObject
* obj0
= 0 ;
26182 PyObject
* obj1
= 0 ;
26183 char * kwnames
[] = {
26184 (char *) "self",(char *) "country", NULL
26187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26189 if (!SWIG_IsOK(res1
)) {
26190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26192 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26195 if (!SWIG_IsOK(ecode2
)) {
26196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26198 arg2
= static_cast< wxDateTime::Country
>(val2
);
26201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26202 result
= (int)(arg1
)->IsDST(arg2
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 resultobj
= SWIG_From_int(static_cast< int >(result
));
26213 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26214 PyObject
*resultobj
= 0;
26215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26219 PyObject
*swig_obj
[1] ;
26221 if (!args
) SWIG_fail
;
26222 swig_obj
[0] = args
;
26223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26224 if (!SWIG_IsOK(res1
)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26227 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26243 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26244 PyObject
*resultobj
= 0;
26245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26249 PyObject
*swig_obj
[1] ;
26251 if (!args
) SWIG_fail
;
26252 swig_obj
[0] = args
;
26253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26254 if (!SWIG_IsOK(res1
)) {
26255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26257 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26271 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
= 0;
26273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26274 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26275 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26279 bool temp2
= false ;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 char * kwnames
[] = {
26283 (char *) "self",(char *) "tz", NULL
26286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26288 if (!SWIG_IsOK(res1
)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26291 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26294 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 resultobj
= SWIG_From_int(static_cast< int >(result
));
26306 if (temp2
) delete arg2
;
26311 if (temp2
) delete arg2
;
26317 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
= 0;
26319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26320 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26321 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26322 wxDateTime::Month result
;
26325 bool temp2
= false ;
26326 PyObject
* obj0
= 0 ;
26327 PyObject
* obj1
= 0 ;
26328 char * kwnames
[] = {
26329 (char *) "self",(char *) "tz", NULL
26332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26334 if (!SWIG_IsOK(res1
)) {
26335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26337 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26340 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26346 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= SWIG_From_int(static_cast< int >(result
));
26352 if (temp2
) delete arg2
;
26357 if (temp2
) delete arg2
;
26363 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
= 0;
26365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26366 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26367 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26371 bool temp2
= false ;
26372 PyObject
* obj0
= 0 ;
26373 PyObject
* obj1
= 0 ;
26374 char * kwnames
[] = {
26375 (char *) "self",(char *) "tz", NULL
26378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26380 if (!SWIG_IsOK(res1
)) {
26381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26383 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26386 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= SWIG_From_int(static_cast< int >(result
));
26398 if (temp2
) delete arg2
;
26403 if (temp2
) delete arg2
;
26409 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
= 0;
26411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26412 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26413 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26414 wxDateTime::WeekDay result
;
26417 bool temp2
= false ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char * kwnames
[] = {
26421 (char *) "self",(char *) "tz", NULL
26424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26426 if (!SWIG_IsOK(res1
)) {
26427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26429 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26432 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_From_int(static_cast< int >(result
));
26444 if (temp2
) delete arg2
;
26449 if (temp2
) delete arg2
;
26455 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
= 0;
26457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26458 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26459 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26463 bool temp2
= false ;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 char * kwnames
[] = {
26467 (char *) "self",(char *) "tz", NULL
26470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26472 if (!SWIG_IsOK(res1
)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26475 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26478 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26485 wxPyEndAllowThreads(__tstate
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 resultobj
= SWIG_From_int(static_cast< int >(result
));
26490 if (temp2
) delete arg2
;
26495 if (temp2
) delete arg2
;
26501 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
= 0;
26503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26504 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26505 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26509 bool temp2
= false ;
26510 PyObject
* obj0
= 0 ;
26511 PyObject
* obj1
= 0 ;
26512 char * kwnames
[] = {
26513 (char *) "self",(char *) "tz", NULL
26516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26518 if (!SWIG_IsOK(res1
)) {
26519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26521 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26524 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26530 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_From_int(static_cast< int >(result
));
26536 if (temp2
) delete arg2
;
26541 if (temp2
) delete arg2
;
26547 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
= 0;
26549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26550 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26551 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26555 bool temp2
= false ;
26556 PyObject
* obj0
= 0 ;
26557 PyObject
* obj1
= 0 ;
26558 char * kwnames
[] = {
26559 (char *) "self",(char *) "tz", NULL
26562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26564 if (!SWIG_IsOK(res1
)) {
26565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26567 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26570 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26580 resultobj
= SWIG_From_int(static_cast< int >(result
));
26582 if (temp2
) delete arg2
;
26587 if (temp2
) delete arg2
;
26593 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
= 0;
26595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26596 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26597 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26601 bool temp2
= false ;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 char * kwnames
[] = {
26605 (char *) "self",(char *) "tz", NULL
26608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26610 if (!SWIG_IsOK(res1
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26613 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26616 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_From_int(static_cast< int >(result
));
26628 if (temp2
) delete arg2
;
26633 if (temp2
) delete arg2
;
26639 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
= 0;
26641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26642 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26643 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26647 bool temp2
= false ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char * kwnames
[] = {
26651 (char *) "self",(char *) "tz", NULL
26654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26656 if (!SWIG_IsOK(res1
)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26659 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26662 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26668 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= SWIG_From_int(static_cast< int >(result
));
26674 if (temp2
) delete arg2
;
26679 if (temp2
) delete arg2
;
26685 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26686 PyObject
*resultobj
= 0;
26687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26688 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26689 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26690 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26696 bool temp3
= false ;
26697 PyObject
* obj0
= 0 ;
26698 PyObject
* obj1
= 0 ;
26699 PyObject
* obj2
= 0 ;
26700 char * kwnames
[] = {
26701 (char *) "self",(char *) "flags",(char *) "tz", NULL
26704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26706 if (!SWIG_IsOK(res1
)) {
26707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26709 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26712 if (!SWIG_IsOK(ecode2
)) {
26713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26715 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26719 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26726 wxPyEndAllowThreads(__tstate
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26729 resultobj
= SWIG_From_int(static_cast< int >(result
));
26731 if (temp3
) delete arg3
;
26736 if (temp3
) delete arg3
;
26742 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26743 PyObject
*resultobj
= 0;
26744 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26745 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26746 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26747 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26753 bool temp3
= false ;
26754 PyObject
* obj0
= 0 ;
26755 PyObject
* obj1
= 0 ;
26756 PyObject
* obj2
= 0 ;
26757 char * kwnames
[] = {
26758 (char *) "self",(char *) "flags",(char *) "tz", NULL
26761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26766 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26769 if (!SWIG_IsOK(ecode2
)) {
26770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26772 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26776 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 resultobj
= SWIG_From_int(static_cast< int >(result
));
26788 if (temp3
) delete arg3
;
26793 if (temp3
) delete arg3
;
26799 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26800 PyObject
*resultobj
= 0;
26801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26802 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26808 PyObject
* obj0
= 0 ;
26809 PyObject
* obj1
= 0 ;
26810 char * kwnames
[] = {
26811 (char *) "self",(char *) "country", NULL
26814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26816 if (!SWIG_IsOK(res1
)) {
26817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26819 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26822 if (!SWIG_IsOK(ecode2
)) {
26823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26825 arg2
= static_cast< wxDateTime::Country
>(val2
);
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26842 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
= 0;
26844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26845 wxDateTime
*arg2
= 0 ;
26851 PyObject
* obj0
= 0 ;
26852 PyObject
* obj1
= 0 ;
26853 char * kwnames
[] = {
26854 (char *) "self",(char *) "datetime", NULL
26857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26859 if (!SWIG_IsOK(res1
)) {
26860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26862 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26864 if (!SWIG_IsOK(res2
)) {
26865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26870 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26886 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26887 PyObject
*resultobj
= 0;
26888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26889 wxDateTime
*arg2
= 0 ;
26895 PyObject
* obj0
= 0 ;
26896 PyObject
* obj1
= 0 ;
26897 char * kwnames
[] = {
26898 (char *) "self",(char *) "datetime", NULL
26901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26903 if (!SWIG_IsOK(res1
)) {
26904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26906 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26907 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26908 if (!SWIG_IsOK(res2
)) {
26909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26914 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26930 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
= 0;
26932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26933 wxDateTime
*arg2
= 0 ;
26939 PyObject
* obj0
= 0 ;
26940 PyObject
* obj1
= 0 ;
26941 char * kwnames
[] = {
26942 (char *) "self",(char *) "datetime", NULL
26945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26947 if (!SWIG_IsOK(res1
)) {
26948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26950 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26951 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26952 if (!SWIG_IsOK(res2
)) {
26953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26958 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26974 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
= 0;
26976 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26977 wxDateTime
*arg2
= 0 ;
26978 wxDateTime
*arg3
= 0 ;
26986 PyObject
* obj0
= 0 ;
26987 PyObject
* obj1
= 0 ;
26988 PyObject
* obj2
= 0 ;
26989 char * kwnames
[] = {
26990 (char *) "self",(char *) "t1",(char *) "t2", NULL
26993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26995 if (!SWIG_IsOK(res1
)) {
26996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26998 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27000 if (!SWIG_IsOK(res2
)) {
27001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27006 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27007 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27008 if (!SWIG_IsOK(res3
)) {
27009 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27014 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27017 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27030 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27031 PyObject
*resultobj
= 0;
27032 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27033 wxDateTime
*arg2
= 0 ;
27034 wxDateTime
*arg3
= 0 ;
27042 PyObject
* obj0
= 0 ;
27043 PyObject
* obj1
= 0 ;
27044 PyObject
* obj2
= 0 ;
27045 char * kwnames
[] = {
27046 (char *) "self",(char *) "t1",(char *) "t2", NULL
27049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27051 if (!SWIG_IsOK(res1
)) {
27052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27054 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27056 if (!SWIG_IsOK(res2
)) {
27057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27062 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27063 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27064 if (!SWIG_IsOK(res3
)) {
27065 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27070 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27086 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
= 0;
27088 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27089 wxDateTime
*arg2
= 0 ;
27095 PyObject
* obj0
= 0 ;
27096 PyObject
* obj1
= 0 ;
27097 char * kwnames
[] = {
27098 (char *) "self",(char *) "dt", NULL
27101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27103 if (!SWIG_IsOK(res1
)) {
27104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27106 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27108 if (!SWIG_IsOK(res2
)) {
27109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27114 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
27118 wxPyEndAllowThreads(__tstate
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27130 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
= 0;
27132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27133 wxDateTime
*arg2
= 0 ;
27139 PyObject
* obj0
= 0 ;
27140 PyObject
* obj1
= 0 ;
27141 char * kwnames
[] = {
27142 (char *) "self",(char *) "dt", NULL
27145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27147 if (!SWIG_IsOK(res1
)) {
27148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27150 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27152 if (!SWIG_IsOK(res2
)) {
27153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27158 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27161 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27174 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
= 0;
27176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27177 wxDateTime
*arg2
= 0 ;
27178 wxTimeSpan
*arg3
= 0 ;
27186 PyObject
* obj0
= 0 ;
27187 PyObject
* obj1
= 0 ;
27188 PyObject
* obj2
= 0 ;
27189 char * kwnames
[] = {
27190 (char *) "self",(char *) "dt",(char *) "ts", NULL
27193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27195 if (!SWIG_IsOK(res1
)) {
27196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27198 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27200 if (!SWIG_IsOK(res2
)) {
27201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27206 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27207 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27208 if (!SWIG_IsOK(res3
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27214 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27217 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27230 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
= 0;
27232 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27233 wxTimeSpan
*arg2
= 0 ;
27234 wxDateTime
*result
= 0 ;
27239 PyObject
* obj0
= 0 ;
27240 PyObject
* obj1
= 0 ;
27241 char * kwnames
[] = {
27242 (char *) "self",(char *) "diff", NULL
27245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27247 if (!SWIG_IsOK(res1
)) {
27248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27250 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27252 if (!SWIG_IsOK(res2
)) {
27253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27258 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27263 result
= (wxDateTime
*) &_result_ref
;
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27275 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27276 PyObject
*resultobj
= 0;
27277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27278 wxDateSpan
*arg2
= 0 ;
27279 wxDateTime
*result
= 0 ;
27284 PyObject
* obj0
= 0 ;
27285 PyObject
* obj1
= 0 ;
27286 char * kwnames
[] = {
27287 (char *) "self",(char *) "diff", NULL
27290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27292 if (!SWIG_IsOK(res1
)) {
27293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27295 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27297 if (!SWIG_IsOK(res2
)) {
27298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27303 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27308 result
= (wxDateTime
*) &_result_ref
;
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27320 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27321 PyObject
*resultobj
= 0;
27322 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27323 wxTimeSpan
*arg2
= 0 ;
27324 wxDateTime
*result
= 0 ;
27329 PyObject
* obj0
= 0 ;
27330 PyObject
* obj1
= 0 ;
27331 char * kwnames
[] = {
27332 (char *) "self",(char *) "diff", NULL
27335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27337 if (!SWIG_IsOK(res1
)) {
27338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27340 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27341 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27342 if (!SWIG_IsOK(res2
)) {
27343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27348 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27353 result
= (wxDateTime
*) &_result_ref
;
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27365 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
= 0;
27367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27368 wxDateSpan
*arg2
= 0 ;
27369 wxDateTime
*result
= 0 ;
27374 PyObject
* obj0
= 0 ;
27375 PyObject
* obj1
= 0 ;
27376 char * kwnames
[] = {
27377 (char *) "self",(char *) "diff", NULL
27380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27382 if (!SWIG_IsOK(res1
)) {
27383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27385 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27387 if (!SWIG_IsOK(res2
)) {
27388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27393 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27397 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27398 result
= (wxDateTime
*) &_result_ref
;
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27410 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
= 0;
27412 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27413 wxDateTime
*arg2
= 0 ;
27419 PyObject
* obj0
= 0 ;
27420 PyObject
* obj1
= 0 ;
27421 char * kwnames
[] = {
27422 (char *) "self",(char *) "dt", NULL
27425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27427 if (!SWIG_IsOK(res1
)) {
27428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27430 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27431 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27432 if (!SWIG_IsOK(res2
)) {
27433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27438 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27452 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27453 PyObject
*resultobj
= 0;
27454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27455 wxTimeSpan
*arg2
= 0 ;
27456 wxDateTime
*result
= 0 ;
27462 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27464 if (!SWIG_IsOK(res1
)) {
27465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27467 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27468 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27469 if (!SWIG_IsOK(res2
)) {
27470 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27475 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27480 result
= (wxDateTime
*) &_result_ref
;
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27492 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27493 PyObject
*resultobj
= 0;
27494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27495 wxDateSpan
*arg2
= 0 ;
27496 wxDateTime
*result
= 0 ;
27502 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27504 if (!SWIG_IsOK(res1
)) {
27505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27507 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27508 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27509 if (!SWIG_IsOK(res2
)) {
27510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27515 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27520 result
= (wxDateTime
*) &_result_ref
;
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27532 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27536 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27541 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27542 _v
= SWIG_CheckState(res
);
27544 if (!_v
) goto check_1
;
27545 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27550 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27554 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27559 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27560 PyObject
*resultobj
= 0;
27561 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27562 wxTimeSpan
*arg2
= 0 ;
27563 wxDateTime
*result
= 0 ;
27569 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27571 if (!SWIG_IsOK(res1
)) {
27572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27574 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27575 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27576 if (!SWIG_IsOK(res2
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27582 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27586 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27587 result
= (wxDateTime
*) &_result_ref
;
27589 wxPyEndAllowThreads(__tstate
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27599 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27600 PyObject
*resultobj
= 0;
27601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27602 wxDateSpan
*arg2
= 0 ;
27603 wxDateTime
*result
= 0 ;
27609 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27611 if (!SWIG_IsOK(res1
)) {
27612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27614 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27615 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27616 if (!SWIG_IsOK(res2
)) {
27617 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27620 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27622 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27626 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27627 result
= (wxDateTime
*) &_result_ref
;
27629 wxPyEndAllowThreads(__tstate
);
27630 if (PyErr_Occurred()) SWIG_fail
;
27632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27639 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27643 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27648 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27649 _v
= SWIG_CheckState(res
);
27651 if (!_v
) goto check_1
;
27652 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27657 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27661 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27666 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27667 PyObject
*resultobj
= 0;
27668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27669 wxTimeSpan
*arg2
= 0 ;
27676 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27678 if (!SWIG_IsOK(res1
)) {
27679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27681 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27682 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27683 if (!SWIG_IsOK(res2
)) {
27684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27689 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27703 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27704 PyObject
*resultobj
= 0;
27705 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27706 wxDateSpan
*arg2
= 0 ;
27713 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27715 if (!SWIG_IsOK(res1
)) {
27716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27718 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27719 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27720 if (!SWIG_IsOK(res2
)) {
27721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27726 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27729 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27733 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27740 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27744 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27749 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27750 _v
= SWIG_CheckState(res
);
27752 if (!_v
) goto check_1
;
27753 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27758 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27762 Py_INCREF(Py_NotImplemented
);
27763 return Py_NotImplemented
;
27767 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27768 PyObject
*resultobj
= 0;
27769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27770 wxDateTime
*arg2
= 0 ;
27777 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27779 if (!SWIG_IsOK(res1
)) {
27780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27782 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27783 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27784 if (!SWIG_IsOK(res2
)) {
27785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27790 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27804 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27805 PyObject
*resultobj
= 0;
27806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27807 wxTimeSpan
*arg2
= 0 ;
27814 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27816 if (!SWIG_IsOK(res1
)) {
27817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27819 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27820 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27821 if (!SWIG_IsOK(res2
)) {
27822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27827 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27831 wxPyEndAllowThreads(__tstate
);
27832 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27841 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27842 PyObject
*resultobj
= 0;
27843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27844 wxDateSpan
*arg2
= 0 ;
27851 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27853 if (!SWIG_IsOK(res1
)) {
27854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27856 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27857 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27858 if (!SWIG_IsOK(res2
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27864 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27867 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27868 wxPyEndAllowThreads(__tstate
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27871 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27878 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27882 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27887 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27888 _v
= SWIG_CheckState(res
);
27890 if (!_v
) goto check_1
;
27891 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27898 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27899 _v
= SWIG_CheckState(res
);
27901 if (!_v
) goto check_2
;
27902 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27907 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27911 Py_INCREF(Py_NotImplemented
);
27912 return Py_NotImplemented
;
27916 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
= 0;
27918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27919 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27925 PyObject
* obj0
= 0 ;
27926 PyObject
* obj1
= 0 ;
27927 char * kwnames
[] = {
27928 (char *) "self",(char *) "other", NULL
27931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27933 if (!SWIG_IsOK(res1
)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27936 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27938 if (!SWIG_IsOK(res2
)) {
27939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27941 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27957 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
= 0;
27959 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27960 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27966 PyObject
* obj0
= 0 ;
27967 PyObject
* obj1
= 0 ;
27968 char * kwnames
[] = {
27969 (char *) "self",(char *) "other", NULL
27972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27974 if (!SWIG_IsOK(res1
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27977 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27979 if (!SWIG_IsOK(res2
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27982 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27998 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27999 PyObject
*resultobj
= 0;
28000 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28001 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28007 PyObject
* obj0
= 0 ;
28008 PyObject
* obj1
= 0 ;
28009 char * kwnames
[] = {
28010 (char *) "self",(char *) "other", NULL
28013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28015 if (!SWIG_IsOK(res1
)) {
28016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28018 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28020 if (!SWIG_IsOK(res2
)) {
28021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28023 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28026 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28039 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28040 PyObject
*resultobj
= 0;
28041 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28042 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28048 PyObject
* obj0
= 0 ;
28049 PyObject
* obj1
= 0 ;
28050 char * kwnames
[] = {
28051 (char *) "self",(char *) "other", NULL
28054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28059 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28060 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28061 if (!SWIG_IsOK(res2
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28064 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28067 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28080 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28081 PyObject
*resultobj
= 0;
28082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28083 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28089 PyObject
* obj0
= 0 ;
28090 PyObject
* obj1
= 0 ;
28091 char * kwnames
[] = {
28092 (char *) "self",(char *) "other", NULL
28095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28097 if (!SWIG_IsOK(res1
)) {
28098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28100 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28101 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28102 if (!SWIG_IsOK(res2
)) {
28103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28105 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28121 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28122 PyObject
*resultobj
= 0;
28123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28124 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28130 PyObject
* obj0
= 0 ;
28131 PyObject
* obj1
= 0 ;
28132 char * kwnames
[] = {
28133 (char *) "self",(char *) "other", NULL
28136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28138 if (!SWIG_IsOK(res1
)) {
28139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28141 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28143 if (!SWIG_IsOK(res2
)) {
28144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28146 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28149 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28162 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
= 0;
28164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28165 wxString
*arg2
= 0 ;
28169 bool temp2
= false ;
28170 PyObject
* obj0
= 0 ;
28171 PyObject
* obj1
= 0 ;
28172 char * kwnames
[] = {
28173 (char *) "self",(char *) "date", NULL
28176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28178 if (!SWIG_IsOK(res1
)) {
28179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
28181 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28183 arg2
= wxString_in_helper(obj1
);
28184 if (arg2
== NULL
) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= SWIG_From_int(static_cast< int >(result
));
28208 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
= 0;
28210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28211 wxString
*arg2
= 0 ;
28212 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28213 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28214 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28215 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28219 bool temp2
= false ;
28220 bool temp3
= false ;
28223 PyObject
* obj0
= 0 ;
28224 PyObject
* obj1
= 0 ;
28225 PyObject
* obj2
= 0 ;
28226 PyObject
* obj3
= 0 ;
28227 char * kwnames
[] = {
28228 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28233 if (!SWIG_IsOK(res1
)) {
28234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28236 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28238 arg2
= wxString_in_helper(obj1
);
28239 if (arg2
== NULL
) SWIG_fail
;
28244 arg3
= wxString_in_helper(obj2
);
28245 if (arg3
== NULL
) SWIG_fail
;
28250 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28251 if (!SWIG_IsOK(res4
)) {
28252 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28257 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28261 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28262 wxPyEndAllowThreads(__tstate
);
28263 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= SWIG_From_int(static_cast< int >(result
));
28288 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
= 0;
28290 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28291 wxString
*arg2
= 0 ;
28295 bool temp2
= false ;
28296 PyObject
* obj0
= 0 ;
28297 PyObject
* obj1
= 0 ;
28298 char * kwnames
[] = {
28299 (char *) "self",(char *) "datetime", NULL
28302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28304 if (!SWIG_IsOK(res1
)) {
28305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28307 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28309 arg2
= wxString_in_helper(obj1
);
28310 if (arg2
== NULL
) SWIG_fail
;
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= SWIG_From_int(static_cast< int >(result
));
28334 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28335 PyObject
*resultobj
= 0;
28336 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28337 wxString
*arg2
= 0 ;
28341 bool temp2
= false ;
28342 PyObject
* obj0
= 0 ;
28343 PyObject
* obj1
= 0 ;
28344 char * kwnames
[] = {
28345 (char *) "self",(char *) "date", NULL
28348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28350 if (!SWIG_IsOK(res1
)) {
28351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28353 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28355 arg2
= wxString_in_helper(obj1
);
28356 if (arg2
== NULL
) SWIG_fail
;
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28362 wxPyEndAllowThreads(__tstate
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28365 resultobj
= SWIG_From_int(static_cast< int >(result
));
28380 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
= 0;
28382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28383 wxString
*arg2
= 0 ;
28387 bool temp2
= false ;
28388 PyObject
* obj0
= 0 ;
28389 PyObject
* obj1
= 0 ;
28390 char * kwnames
[] = {
28391 (char *) "self",(char *) "time", NULL
28394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28396 if (!SWIG_IsOK(res1
)) {
28397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28399 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28401 arg2
= wxString_in_helper(obj1
);
28402 if (arg2
== NULL
) SWIG_fail
;
28406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28407 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28408 wxPyEndAllowThreads(__tstate
);
28409 if (PyErr_Occurred()) SWIG_fail
;
28411 resultobj
= SWIG_From_int(static_cast< int >(result
));
28426 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
= 0;
28428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28429 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28430 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28431 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28432 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28436 bool temp2
= false ;
28437 bool temp3
= false ;
28438 PyObject
* obj0
= 0 ;
28439 PyObject
* obj1
= 0 ;
28440 PyObject
* obj2
= 0 ;
28441 char * kwnames
[] = {
28442 (char *) "self",(char *) "format",(char *) "tz", NULL
28445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28447 if (!SWIG_IsOK(res1
)) {
28448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28450 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28453 arg2
= wxString_in_helper(obj1
);
28454 if (arg2
== NULL
) SWIG_fail
;
28460 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28466 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28467 wxPyEndAllowThreads(__tstate
);
28468 if (PyErr_Occurred()) SWIG_fail
;
28472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28482 if (temp3
) delete arg3
;
28491 if (temp3
) delete arg3
;
28497 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28498 PyObject
*resultobj
= 0;
28499 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28503 PyObject
*swig_obj
[1] ;
28505 if (!args
) SWIG_fail
;
28506 swig_obj
[0] = args
;
28507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28508 if (!SWIG_IsOK(res1
)) {
28509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28511 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28515 wxPyEndAllowThreads(__tstate
);
28516 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28531 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28532 PyObject
*resultobj
= 0;
28533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28537 PyObject
*swig_obj
[1] ;
28539 if (!args
) SWIG_fail
;
28540 swig_obj
[0] = args
;
28541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28542 if (!SWIG_IsOK(res1
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28545 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28565 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28566 PyObject
*resultobj
= 0;
28567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28571 PyObject
*swig_obj
[1] ;
28573 if (!args
) SWIG_fail
;
28574 swig_obj
[0] = args
;
28575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28576 if (!SWIG_IsOK(res1
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28579 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28582 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28583 wxPyEndAllowThreads(__tstate
);
28584 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28599 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28600 PyObject
*resultobj
= 0;
28601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28605 PyObject
*swig_obj
[1] ;
28607 if (!args
) SWIG_fail
;
28608 swig_obj
[0] = args
;
28609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28610 if (!SWIG_IsOK(res1
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28613 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28633 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28636 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28637 return SWIG_Py_Void();
28640 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28641 return SWIG_Python_InitShadowInstance(args
);
28644 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28645 PyObject
*resultobj
= 0;
28650 PyObject
* obj0
= 0 ;
28651 char * kwnames
[] = {
28652 (char *) "ms", NULL
28655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28656 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28657 if (!SWIG_IsOK(ecode1
)) {
28658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28660 arg1
= static_cast< long >(val1
);
28662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28663 result
= wxTimeSpan::Milliseconds(arg1
);
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28667 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28674 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28675 PyObject
*resultobj
= 0;
28678 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 result
= wxTimeSpan::Millisecond();
28682 wxPyEndAllowThreads(__tstate
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28685 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28692 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
= 0;
28698 PyObject
* obj0
= 0 ;
28699 char * kwnames
[] = {
28700 (char *) "sec", NULL
28703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28704 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28705 if (!SWIG_IsOK(ecode1
)) {
28706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28708 arg1
= static_cast< long >(val1
);
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= wxTimeSpan::Seconds(arg1
);
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28722 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28723 PyObject
*resultobj
= 0;
28726 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= wxTimeSpan::Second();
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28740 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
= 0;
28746 PyObject
* obj0
= 0 ;
28747 char * kwnames
[] = {
28748 (char *) "min", NULL
28751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28752 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28753 if (!SWIG_IsOK(ecode1
)) {
28754 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28756 arg1
= static_cast< long >(val1
);
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 result
= wxTimeSpan::Minutes(arg1
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28763 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28770 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28771 PyObject
*resultobj
= 0;
28774 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= wxTimeSpan::Minute();
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28781 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28788 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28789 PyObject
*resultobj
= 0;
28794 PyObject
* obj0
= 0 ;
28795 char * kwnames
[] = {
28796 (char *) "hours", NULL
28799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28800 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28801 if (!SWIG_IsOK(ecode1
)) {
28802 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28804 arg1
= static_cast< long >(val1
);
28806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 result
= wxTimeSpan::Hours(arg1
);
28808 wxPyEndAllowThreads(__tstate
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28811 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28818 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28819 PyObject
*resultobj
= 0;
28822 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 result
= wxTimeSpan::Hour();
28826 wxPyEndAllowThreads(__tstate
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28829 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28836 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
= 0;
28842 PyObject
* obj0
= 0 ;
28843 char * kwnames
[] = {
28844 (char *) "days", NULL
28847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28848 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28849 if (!SWIG_IsOK(ecode1
)) {
28850 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28852 arg1
= static_cast< long >(val1
);
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 result
= wxTimeSpan::Days(arg1
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28859 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28866 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28867 PyObject
*resultobj
= 0;
28870 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 result
= wxTimeSpan::Day();
28874 wxPyEndAllowThreads(__tstate
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28884 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28885 PyObject
*resultobj
= 0;
28890 PyObject
* obj0
= 0 ;
28891 char * kwnames
[] = {
28892 (char *) "days", NULL
28895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28896 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28897 if (!SWIG_IsOK(ecode1
)) {
28898 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28900 arg1
= static_cast< long >(val1
);
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 result
= wxTimeSpan::Weeks(arg1
);
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28914 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28915 PyObject
*resultobj
= 0;
28918 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 result
= wxTimeSpan::Week();
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28925 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28932 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
= 0;
28934 long arg1
= (long) 0 ;
28935 long arg2
= (long) 0 ;
28936 long arg3
= (long) 0 ;
28937 long arg4
= (long) 0 ;
28938 wxTimeSpan
*result
= 0 ;
28947 PyObject
* obj0
= 0 ;
28948 PyObject
* obj1
= 0 ;
28949 PyObject
* obj2
= 0 ;
28950 PyObject
* obj3
= 0 ;
28951 char * kwnames
[] = {
28952 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
28955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28957 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28958 if (!SWIG_IsOK(ecode1
)) {
28959 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
28961 arg1
= static_cast< long >(val1
);
28964 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28965 if (!SWIG_IsOK(ecode2
)) {
28966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
28968 arg2
= static_cast< long >(val2
);
28971 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28972 if (!SWIG_IsOK(ecode3
)) {
28973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
28975 arg3
= static_cast< long >(val3
);
28978 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28979 if (!SWIG_IsOK(ecode4
)) {
28980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
28982 arg4
= static_cast< long >(val4
);
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
28997 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28998 PyObject
*resultobj
= 0;
28999 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29002 PyObject
*swig_obj
[1] ;
29004 if (!args
) SWIG_fail
;
29005 swig_obj
[0] = args
;
29006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29007 if (!SWIG_IsOK(res1
)) {
29008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29010 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 wxPyEndAllowThreads(__tstate
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29018 resultobj
= SWIG_Py_Void();
29025 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29026 PyObject
*resultobj
= 0;
29027 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29028 wxTimeSpan
*arg2
= 0 ;
29029 wxTimeSpan
*result
= 0 ;
29034 PyObject
* obj0
= 0 ;
29035 PyObject
* obj1
= 0 ;
29036 char * kwnames
[] = {
29037 (char *) "self",(char *) "diff", NULL
29040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29042 if (!SWIG_IsOK(res1
)) {
29043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29045 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29047 if (!SWIG_IsOK(res2
)) {
29048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29053 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
29058 result
= (wxTimeSpan
*) &_result_ref
;
29060 wxPyEndAllowThreads(__tstate
);
29061 if (PyErr_Occurred()) SWIG_fail
;
29063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29070 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29071 PyObject
*resultobj
= 0;
29072 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29073 wxTimeSpan
*arg2
= 0 ;
29074 wxTimeSpan
*result
= 0 ;
29079 PyObject
* obj0
= 0 ;
29080 PyObject
* obj1
= 0 ;
29081 char * kwnames
[] = {
29082 (char *) "self",(char *) "diff", NULL
29085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29087 if (!SWIG_IsOK(res1
)) {
29088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29090 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29092 if (!SWIG_IsOK(res2
)) {
29093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29098 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
29103 result
= (wxTimeSpan
*) &_result_ref
;
29105 wxPyEndAllowThreads(__tstate
);
29106 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29115 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29116 PyObject
*resultobj
= 0;
29117 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29119 wxTimeSpan
*result
= 0 ;
29124 PyObject
* obj0
= 0 ;
29125 PyObject
* obj1
= 0 ;
29126 char * kwnames
[] = {
29127 (char *) "self",(char *) "n", NULL
29130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29132 if (!SWIG_IsOK(res1
)) {
29133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29135 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29137 if (!SWIG_IsOK(ecode2
)) {
29138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29140 arg2
= static_cast< int >(val2
);
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29145 result
= (wxTimeSpan
*) &_result_ref
;
29147 wxPyEndAllowThreads(__tstate
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29157 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29158 PyObject
*resultobj
= 0;
29159 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29160 wxTimeSpan
*result
= 0 ;
29163 PyObject
*swig_obj
[1] ;
29165 if (!args
) SWIG_fail
;
29166 swig_obj
[0] = args
;
29167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29168 if (!SWIG_IsOK(res1
)) {
29169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29171 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29175 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
29176 result
= (wxTimeSpan
*) &_result_ref
;
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29188 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29189 PyObject
*resultobj
= 0;
29190 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29194 PyObject
*swig_obj
[1] ;
29196 if (!args
) SWIG_fail
;
29197 swig_obj
[0] = args
;
29198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29199 if (!SWIG_IsOK(res1
)) {
29200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29202 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29205 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29216 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
= 0;
29218 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29219 wxTimeSpan
*arg2
= 0 ;
29220 wxTimeSpan
*result
= 0 ;
29225 PyObject
* obj0
= 0 ;
29226 PyObject
* obj1
= 0 ;
29227 char * kwnames
[] = {
29228 (char *) "self",(char *) "diff", NULL
29231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29233 if (!SWIG_IsOK(res1
)) {
29234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29236 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29238 if (!SWIG_IsOK(res2
)) {
29239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29244 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29248 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29249 result
= (wxTimeSpan
*) &_result_ref
;
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29261 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29262 PyObject
*resultobj
= 0;
29263 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29264 wxTimeSpan
*arg2
= 0 ;
29265 wxTimeSpan
*result
= 0 ;
29270 PyObject
* obj0
= 0 ;
29271 PyObject
* obj1
= 0 ;
29272 char * kwnames
[] = {
29273 (char *) "self",(char *) "diff", NULL
29276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29278 if (!SWIG_IsOK(res1
)) {
29279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29281 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29283 if (!SWIG_IsOK(res2
)) {
29284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29289 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29294 result
= (wxTimeSpan
*) &_result_ref
;
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29306 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29307 PyObject
*resultobj
= 0;
29308 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29310 wxTimeSpan
*result
= 0 ;
29315 PyObject
* obj0
= 0 ;
29316 PyObject
* obj1
= 0 ;
29317 char * kwnames
[] = {
29318 (char *) "self",(char *) "n", NULL
29321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29323 if (!SWIG_IsOK(res1
)) {
29324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29326 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29328 if (!SWIG_IsOK(ecode2
)) {
29329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29331 arg2
= static_cast< int >(val2
);
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29336 result
= (wxTimeSpan
*) &_result_ref
;
29338 wxPyEndAllowThreads(__tstate
);
29339 if (PyErr_Occurred()) SWIG_fail
;
29341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29348 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29349 PyObject
*resultobj
= 0;
29350 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29351 wxTimeSpan
*result
= 0 ;
29354 PyObject
*swig_obj
[1] ;
29356 if (!args
) SWIG_fail
;
29357 swig_obj
[0] = args
;
29358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29359 if (!SWIG_IsOK(res1
)) {
29360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29362 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29366 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29367 result
= (wxTimeSpan
*) &_result_ref
;
29369 wxPyEndAllowThreads(__tstate
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29379 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
= 0;
29381 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29382 wxTimeSpan
*arg2
= 0 ;
29388 PyObject
* obj0
= 0 ;
29389 PyObject
* obj1
= 0 ;
29390 char * kwnames
[] = {
29391 (char *) "self",(char *) "other", NULL
29394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29396 if (!SWIG_IsOK(res1
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29399 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29400 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29401 if (!SWIG_IsOK(res2
)) {
29402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29407 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29411 wxPyEndAllowThreads(__tstate
);
29412 if (PyErr_Occurred()) SWIG_fail
;
29414 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29421 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29422 PyObject
*resultobj
= 0;
29423 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29424 wxTimeSpan
*arg2
= 0 ;
29430 PyObject
* obj0
= 0 ;
29431 PyObject
* obj1
= 0 ;
29432 char * kwnames
[] = {
29433 (char *) "self",(char *) "other", NULL
29436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29438 if (!SWIG_IsOK(res1
)) {
29439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29441 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29443 if (!SWIG_IsOK(res2
)) {
29444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29449 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29452 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29453 wxPyEndAllowThreads(__tstate
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29463 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
= 0;
29465 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29472 PyObject
* obj0
= 0 ;
29473 PyObject
* obj1
= 0 ;
29474 char * kwnames
[] = {
29475 (char *) "self",(char *) "n", NULL
29478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29480 if (!SWIG_IsOK(res1
)) {
29481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29483 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29485 if (!SWIG_IsOK(ecode2
)) {
29486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29488 arg2
= static_cast< int >(val2
);
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= wxTimeSpan___mul__(arg1
,arg2
);
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29502 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29503 PyObject
*resultobj
= 0;
29504 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29511 PyObject
* obj0
= 0 ;
29512 PyObject
* obj1
= 0 ;
29513 char * kwnames
[] = {
29514 (char *) "self",(char *) "n", NULL
29517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29519 if (!SWIG_IsOK(res1
)) {
29520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29522 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29524 if (!SWIG_IsOK(ecode2
)) {
29525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29527 arg2
= static_cast< int >(val2
);
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29541 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
= 0;
29543 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29544 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29550 PyObject
* obj0
= 0 ;
29551 PyObject
* obj1
= 0 ;
29552 char * kwnames
[] = {
29553 (char *) "self",(char *) "other", NULL
29556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29558 if (!SWIG_IsOK(res1
)) {
29559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29561 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29563 if (!SWIG_IsOK(res2
)) {
29564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29566 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29582 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
= 0;
29584 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29585 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29591 PyObject
* obj0
= 0 ;
29592 PyObject
* obj1
= 0 ;
29593 char * kwnames
[] = {
29594 (char *) "self",(char *) "other", NULL
29597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29599 if (!SWIG_IsOK(res1
)) {
29600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29602 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29604 if (!SWIG_IsOK(res2
)) {
29605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29607 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29610 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29623 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
= 0;
29625 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29626 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29632 PyObject
* obj0
= 0 ;
29633 PyObject
* obj1
= 0 ;
29634 char * kwnames
[] = {
29635 (char *) "self",(char *) "other", NULL
29638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29640 if (!SWIG_IsOK(res1
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29643 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29644 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29645 if (!SWIG_IsOK(res2
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29648 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
= 0;
29666 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29667 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29673 PyObject
* obj0
= 0 ;
29674 PyObject
* obj1
= 0 ;
29675 char * kwnames
[] = {
29676 (char *) "self",(char *) "other", NULL
29679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29681 if (!SWIG_IsOK(res1
)) {
29682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29684 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29686 if (!SWIG_IsOK(res2
)) {
29687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29689 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29692 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29693 wxPyEndAllowThreads(__tstate
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29705 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29706 PyObject
*resultobj
= 0;
29707 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29708 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29714 PyObject
* obj0
= 0 ;
29715 PyObject
* obj1
= 0 ;
29716 char * kwnames
[] = {
29717 (char *) "self",(char *) "other", NULL
29720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29722 if (!SWIG_IsOK(res1
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29725 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29726 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29727 if (!SWIG_IsOK(res2
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29730 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29746 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29747 PyObject
*resultobj
= 0;
29748 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29749 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29755 PyObject
* obj0
= 0 ;
29756 PyObject
* obj1
= 0 ;
29757 char * kwnames
[] = {
29758 (char *) "self",(char *) "other", NULL
29761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29763 if (!SWIG_IsOK(res1
)) {
29764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29766 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29768 if (!SWIG_IsOK(res2
)) {
29769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29771 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29787 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29788 PyObject
*resultobj
= 0;
29789 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29793 PyObject
*swig_obj
[1] ;
29795 if (!args
) SWIG_fail
;
29796 swig_obj
[0] = args
;
29797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29798 if (!SWIG_IsOK(res1
)) {
29799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29801 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29805 wxPyEndAllowThreads(__tstate
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29817 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29818 PyObject
*resultobj
= 0;
29819 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29823 PyObject
*swig_obj
[1] ;
29825 if (!args
) SWIG_fail
;
29826 swig_obj
[0] = args
;
29827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29828 if (!SWIG_IsOK(res1
)) {
29829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29831 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29847 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29848 PyObject
*resultobj
= 0;
29849 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29853 PyObject
*swig_obj
[1] ;
29855 if (!args
) SWIG_fail
;
29856 swig_obj
[0] = args
;
29857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29858 if (!SWIG_IsOK(res1
)) {
29859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29861 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29877 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29878 PyObject
*resultobj
= 0;
29879 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29880 wxTimeSpan
*arg2
= 0 ;
29886 PyObject
* obj0
= 0 ;
29887 PyObject
* obj1
= 0 ;
29888 char * kwnames
[] = {
29889 (char *) "self",(char *) "ts", NULL
29892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29897 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29899 if (!SWIG_IsOK(res2
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29905 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29908 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29921 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29922 PyObject
*resultobj
= 0;
29923 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29924 wxTimeSpan
*arg2
= 0 ;
29930 PyObject
* obj0
= 0 ;
29931 PyObject
* obj1
= 0 ;
29932 char * kwnames
[] = {
29933 (char *) "self",(char *) "ts", NULL
29936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29938 if (!SWIG_IsOK(res1
)) {
29939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29941 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29943 if (!SWIG_IsOK(res2
)) {
29944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29949 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29952 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29965 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29966 PyObject
*resultobj
= 0;
29967 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29968 wxTimeSpan
*arg2
= 0 ;
29974 PyObject
* obj0
= 0 ;
29975 PyObject
* obj1
= 0 ;
29976 char * kwnames
[] = {
29977 (char *) "self",(char *) "t", NULL
29980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29982 if (!SWIG_IsOK(res1
)) {
29983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29985 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29987 if (!SWIG_IsOK(res2
)) {
29988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29993 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
29997 wxPyEndAllowThreads(__tstate
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30009 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30010 PyObject
*resultobj
= 0;
30011 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30015 PyObject
*swig_obj
[1] ;
30017 if (!args
) SWIG_fail
;
30018 swig_obj
[0] = args
;
30019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30020 if (!SWIG_IsOK(res1
)) {
30021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30023 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30026 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
30027 wxPyEndAllowThreads(__tstate
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= SWIG_From_int(static_cast< int >(result
));
30037 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30038 PyObject
*resultobj
= 0;
30039 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30043 PyObject
*swig_obj
[1] ;
30045 if (!args
) SWIG_fail
;
30046 swig_obj
[0] = args
;
30047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30048 if (!SWIG_IsOK(res1
)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30051 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30054 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
30055 wxPyEndAllowThreads(__tstate
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30058 resultobj
= SWIG_From_int(static_cast< int >(result
));
30065 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30066 PyObject
*resultobj
= 0;
30067 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30071 PyObject
*swig_obj
[1] ;
30073 if (!args
) SWIG_fail
;
30074 swig_obj
[0] = args
;
30075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30076 if (!SWIG_IsOK(res1
)) {
30077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30079 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
30083 wxPyEndAllowThreads(__tstate
);
30084 if (PyErr_Occurred()) SWIG_fail
;
30086 resultobj
= SWIG_From_int(static_cast< int >(result
));
30093 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30094 PyObject
*resultobj
= 0;
30095 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30099 PyObject
*swig_obj
[1] ;
30101 if (!args
) SWIG_fail
;
30102 swig_obj
[0] = args
;
30103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30104 if (!SWIG_IsOK(res1
)) {
30105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30107 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30114 resultobj
= SWIG_From_int(static_cast< int >(result
));
30121 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30122 PyObject
*resultobj
= 0;
30123 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30127 PyObject
*swig_obj
[1] ;
30129 if (!args
) SWIG_fail
;
30130 swig_obj
[0] = args
;
30131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30132 if (!SWIG_IsOK(res1
)) {
30133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30135 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30143 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30144 hi
= PyLong_FromLong( (&result
)->GetHi() );
30145 lo
= PyLong_FromLong( (&result
)->GetLo() );
30146 shifter
= PyLong_FromLong(32);
30147 shifted
= PyNumber_Lshift(hi
, shifter
);
30148 resultobj
= PyNumber_Or(shifted
, lo
);
30151 Py_DECREF(shifter
);
30152 Py_DECREF(shifted
);
30160 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30161 PyObject
*resultobj
= 0;
30162 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30166 PyObject
*swig_obj
[1] ;
30168 if (!args
) SWIG_fail
;
30169 swig_obj
[0] = args
;
30170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30171 if (!SWIG_IsOK(res1
)) {
30172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30174 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30182 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30183 hi
= PyLong_FromLong( (&result
)->GetHi() );
30184 lo
= PyLong_FromLong( (&result
)->GetLo() );
30185 shifter
= PyLong_FromLong(32);
30186 shifted
= PyNumber_Lshift(hi
, shifter
);
30187 resultobj
= PyNumber_Or(shifted
, lo
);
30190 Py_DECREF(shifter
);
30191 Py_DECREF(shifted
);
30199 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
= 0;
30201 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30202 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30203 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30207 bool temp2
= false ;
30208 PyObject
* obj0
= 0 ;
30209 PyObject
* obj1
= 0 ;
30210 char * kwnames
[] = {
30211 (char *) "self",(char *) "format", NULL
30214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30216 if (!SWIG_IsOK(res1
)) {
30217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30219 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30222 arg2
= wxString_in_helper(obj1
);
30223 if (arg2
== NULL
) SWIG_fail
;
30228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30229 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30230 wxPyEndAllowThreads(__tstate
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30254 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30256 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30257 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30258 return SWIG_Py_Void();
30261 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30262 return SWIG_Python_InitShadowInstance(args
);
30265 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30266 PyObject
*resultobj
= 0;
30267 int arg1
= (int) 0 ;
30268 int arg2
= (int) 0 ;
30269 int arg3
= (int) 0 ;
30270 int arg4
= (int) 0 ;
30271 wxDateSpan
*result
= 0 ;
30280 PyObject
* obj0
= 0 ;
30281 PyObject
* obj1
= 0 ;
30282 PyObject
* obj2
= 0 ;
30283 PyObject
* obj3
= 0 ;
30284 char * kwnames
[] = {
30285 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30290 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30291 if (!SWIG_IsOK(ecode1
)) {
30292 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30294 arg1
= static_cast< int >(val1
);
30297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30298 if (!SWIG_IsOK(ecode2
)) {
30299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30301 arg2
= static_cast< int >(val2
);
30304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30305 if (!SWIG_IsOK(ecode3
)) {
30306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30308 arg3
= static_cast< int >(val3
);
30311 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30312 if (!SWIG_IsOK(ecode4
)) {
30313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30315 arg4
= static_cast< int >(val4
);
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30330 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30331 PyObject
*resultobj
= 0;
30332 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30335 PyObject
*swig_obj
[1] ;
30337 if (!args
) SWIG_fail
;
30338 swig_obj
[0] = args
;
30339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30340 if (!SWIG_IsOK(res1
)) {
30341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30343 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 wxPyEndAllowThreads(__tstate
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30351 resultobj
= SWIG_Py_Void();
30358 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30359 PyObject
*resultobj
= 0;
30364 PyObject
* obj0
= 0 ;
30365 char * kwnames
[] = {
30366 (char *) "days", NULL
30369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30371 if (!SWIG_IsOK(ecode1
)) {
30372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30374 arg1
= static_cast< int >(val1
);
30376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30377 result
= wxDateSpan::Days(arg1
);
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30381 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30388 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30389 PyObject
*resultobj
= 0;
30392 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30395 result
= wxDateSpan::Day();
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30399 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30406 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30407 PyObject
*resultobj
= 0;
30412 PyObject
* obj0
= 0 ;
30413 char * kwnames
[] = {
30414 (char *) "weeks", NULL
30417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30418 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30419 if (!SWIG_IsOK(ecode1
)) {
30420 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30422 arg1
= static_cast< int >(val1
);
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 result
= wxDateSpan::Weeks(arg1
);
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30436 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30437 PyObject
*resultobj
= 0;
30440 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 result
= wxDateSpan::Week();
30444 wxPyEndAllowThreads(__tstate
);
30445 if (PyErr_Occurred()) SWIG_fail
;
30447 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30454 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30455 PyObject
*resultobj
= 0;
30460 PyObject
* obj0
= 0 ;
30461 char * kwnames
[] = {
30462 (char *) "mon", NULL
30465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30466 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30467 if (!SWIG_IsOK(ecode1
)) {
30468 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30470 arg1
= static_cast< int >(val1
);
30472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30473 result
= wxDateSpan::Months(arg1
);
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30477 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30484 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30485 PyObject
*resultobj
= 0;
30488 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 result
= wxDateSpan::Month();
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30502 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30503 PyObject
*resultobj
= 0;
30508 PyObject
* obj0
= 0 ;
30509 char * kwnames
[] = {
30510 (char *) "years", NULL
30513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30514 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30515 if (!SWIG_IsOK(ecode1
)) {
30516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30518 arg1
= static_cast< int >(val1
);
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 result
= wxDateSpan::Years(arg1
);
30522 wxPyEndAllowThreads(__tstate
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30525 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30532 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30533 PyObject
*resultobj
= 0;
30536 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30539 result
= wxDateSpan::Year();
30540 wxPyEndAllowThreads(__tstate
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30543 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30550 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30551 PyObject
*resultobj
= 0;
30552 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30554 wxDateSpan
*result
= 0 ;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 char * kwnames
[] = {
30562 (char *) "self",(char *) "n", NULL
30565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30567 if (!SWIG_IsOK(res1
)) {
30568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30570 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30572 if (!SWIG_IsOK(ecode2
)) {
30573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30575 arg2
= static_cast< int >(val2
);
30577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30579 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30580 result
= (wxDateSpan
*) &_result_ref
;
30582 wxPyEndAllowThreads(__tstate
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30592 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
= 0;
30594 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30596 wxDateSpan
*result
= 0 ;
30601 PyObject
* obj0
= 0 ;
30602 PyObject
* obj1
= 0 ;
30603 char * kwnames
[] = {
30604 (char *) "self",(char *) "n", NULL
30607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30609 if (!SWIG_IsOK(res1
)) {
30610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30612 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30614 if (!SWIG_IsOK(ecode2
)) {
30615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30617 arg2
= static_cast< int >(val2
);
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30622 result
= (wxDateSpan
*) &_result_ref
;
30624 wxPyEndAllowThreads(__tstate
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30634 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
= 0;
30636 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30638 wxDateSpan
*result
= 0 ;
30643 PyObject
* obj0
= 0 ;
30644 PyObject
* obj1
= 0 ;
30645 char * kwnames
[] = {
30646 (char *) "self",(char *) "n", NULL
30649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30651 if (!SWIG_IsOK(res1
)) {
30652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30654 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30656 if (!SWIG_IsOK(ecode2
)) {
30657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30659 arg2
= static_cast< int >(val2
);
30661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30663 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30664 result
= (wxDateSpan
*) &_result_ref
;
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30676 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
= 0;
30678 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30680 wxDateSpan
*result
= 0 ;
30685 PyObject
* obj0
= 0 ;
30686 PyObject
* obj1
= 0 ;
30687 char * kwnames
[] = {
30688 (char *) "self",(char *) "n", NULL
30691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30696 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30698 if (!SWIG_IsOK(ecode2
)) {
30699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30701 arg2
= static_cast< int >(val2
);
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30706 result
= (wxDateSpan
*) &_result_ref
;
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30718 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30719 PyObject
*resultobj
= 0;
30720 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30724 PyObject
*swig_obj
[1] ;
30726 if (!args
) SWIG_fail
;
30727 swig_obj
[0] = args
;
30728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30729 if (!SWIG_IsOK(res1
)) {
30730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30732 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30735 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30736 wxPyEndAllowThreads(__tstate
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= SWIG_From_int(static_cast< int >(result
));
30746 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30747 PyObject
*resultobj
= 0;
30748 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30752 PyObject
*swig_obj
[1] ;
30754 if (!args
) SWIG_fail
;
30755 swig_obj
[0] = args
;
30756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30757 if (!SWIG_IsOK(res1
)) {
30758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30760 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= SWIG_From_int(static_cast< int >(result
));
30774 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30775 PyObject
*resultobj
= 0;
30776 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30780 PyObject
*swig_obj
[1] ;
30782 if (!args
) SWIG_fail
;
30783 swig_obj
[0] = args
;
30784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30785 if (!SWIG_IsOK(res1
)) {
30786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30788 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30791 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30792 wxPyEndAllowThreads(__tstate
);
30793 if (PyErr_Occurred()) SWIG_fail
;
30795 resultobj
= SWIG_From_int(static_cast< int >(result
));
30802 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30803 PyObject
*resultobj
= 0;
30804 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30808 PyObject
*swig_obj
[1] ;
30810 if (!args
) SWIG_fail
;
30811 swig_obj
[0] = args
;
30812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30813 if (!SWIG_IsOK(res1
)) {
30814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30816 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= SWIG_From_int(static_cast< int >(result
));
30830 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30831 PyObject
*resultobj
= 0;
30832 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30836 PyObject
*swig_obj
[1] ;
30838 if (!args
) SWIG_fail
;
30839 swig_obj
[0] = args
;
30840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30841 if (!SWIG_IsOK(res1
)) {
30842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30844 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30847 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30851 resultobj
= SWIG_From_int(static_cast< int >(result
));
30858 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30859 PyObject
*resultobj
= 0;
30860 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30861 wxDateSpan
*arg2
= 0 ;
30862 wxDateSpan
*result
= 0 ;
30867 PyObject
* obj0
= 0 ;
30868 PyObject
* obj1
= 0 ;
30869 char * kwnames
[] = {
30870 (char *) "self",(char *) "other", NULL
30873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30875 if (!SWIG_IsOK(res1
)) {
30876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30878 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30880 if (!SWIG_IsOK(res2
)) {
30881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30886 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30890 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30891 result
= (wxDateSpan
*) &_result_ref
;
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30903 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30904 PyObject
*resultobj
= 0;
30905 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30906 wxDateSpan
*arg2
= 0 ;
30907 wxDateSpan
*result
= 0 ;
30912 PyObject
* obj0
= 0 ;
30913 PyObject
* obj1
= 0 ;
30914 char * kwnames
[] = {
30915 (char *) "self",(char *) "other", NULL
30918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30920 if (!SWIG_IsOK(res1
)) {
30921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30923 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30924 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30925 if (!SWIG_IsOK(res2
)) {
30926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30931 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30936 result
= (wxDateSpan
*) &_result_ref
;
30938 wxPyEndAllowThreads(__tstate
);
30939 if (PyErr_Occurred()) SWIG_fail
;
30941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30948 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30949 PyObject
*resultobj
= 0;
30950 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30951 wxDateSpan
*result
= 0 ;
30954 PyObject
*swig_obj
[1] ;
30956 if (!args
) SWIG_fail
;
30957 swig_obj
[0] = args
;
30958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30959 if (!SWIG_IsOK(res1
)) {
30960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30962 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30966 wxDateSpan
&_result_ref
= (arg1
)->Neg();
30967 result
= (wxDateSpan
*) &_result_ref
;
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30979 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
= 0;
30981 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30983 wxDateSpan
*result
= 0 ;
30988 PyObject
* obj0
= 0 ;
30989 PyObject
* obj1
= 0 ;
30990 char * kwnames
[] = {
30991 (char *) "self",(char *) "factor", NULL
30994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30996 if (!SWIG_IsOK(res1
)) {
30997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30999 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31001 if (!SWIG_IsOK(ecode2
)) {
31002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
31004 arg2
= static_cast< int >(val2
);
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
31009 result
= (wxDateSpan
*) &_result_ref
;
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31021 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31022 PyObject
*resultobj
= 0;
31023 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31024 wxDateSpan
*arg2
= 0 ;
31025 wxDateSpan
*result
= 0 ;
31030 PyObject
* obj0
= 0 ;
31031 PyObject
* obj1
= 0 ;
31032 char * kwnames
[] = {
31033 (char *) "self",(char *) "other", NULL
31036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31038 if (!SWIG_IsOK(res1
)) {
31039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31041 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31043 if (!SWIG_IsOK(res2
)) {
31044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31049 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31053 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
31054 result
= (wxDateSpan
*) &_result_ref
;
31056 wxPyEndAllowThreads(__tstate
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31066 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31067 PyObject
*resultobj
= 0;
31068 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31069 wxDateSpan
*arg2
= 0 ;
31070 wxDateSpan
*result
= 0 ;
31075 PyObject
* obj0
= 0 ;
31076 PyObject
* obj1
= 0 ;
31077 char * kwnames
[] = {
31078 (char *) "self",(char *) "other", NULL
31081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31083 if (!SWIG_IsOK(res1
)) {
31084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31086 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31088 if (!SWIG_IsOK(res2
)) {
31089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31094 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
31099 result
= (wxDateSpan
*) &_result_ref
;
31101 wxPyEndAllowThreads(__tstate
);
31102 if (PyErr_Occurred()) SWIG_fail
;
31104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31111 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31112 PyObject
*resultobj
= 0;
31113 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31114 wxDateSpan
*result
= 0 ;
31117 PyObject
*swig_obj
[1] ;
31119 if (!args
) SWIG_fail
;
31120 swig_obj
[0] = args
;
31121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31122 if (!SWIG_IsOK(res1
)) {
31123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31125 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31129 wxDateSpan
&_result_ref
= (arg1
)->operator -();
31130 result
= (wxDateSpan
*) &_result_ref
;
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31142 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31143 PyObject
*resultobj
= 0;
31144 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31146 wxDateSpan
*result
= 0 ;
31151 PyObject
* obj0
= 0 ;
31152 PyObject
* obj1
= 0 ;
31153 char * kwnames
[] = {
31154 (char *) "self",(char *) "factor", NULL
31157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31159 if (!SWIG_IsOK(res1
)) {
31160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31162 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31164 if (!SWIG_IsOK(ecode2
)) {
31165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
31167 arg2
= static_cast< int >(val2
);
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
31172 result
= (wxDateSpan
*) &_result_ref
;
31174 wxPyEndAllowThreads(__tstate
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31184 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
= 0;
31186 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31187 wxDateSpan
*arg2
= 0 ;
31193 PyObject
* obj0
= 0 ;
31194 PyObject
* obj1
= 0 ;
31195 char * kwnames
[] = {
31196 (char *) "self",(char *) "other", NULL
31199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31201 if (!SWIG_IsOK(res1
)) {
31202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31204 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31206 if (!SWIG_IsOK(res2
)) {
31207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31212 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31215 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31216 wxPyEndAllowThreads(__tstate
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31219 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31226 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31227 PyObject
*resultobj
= 0;
31228 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31229 wxDateSpan
*arg2
= 0 ;
31235 PyObject
* obj0
= 0 ;
31236 PyObject
* obj1
= 0 ;
31237 char * kwnames
[] = {
31238 (char *) "self",(char *) "other", NULL
31241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31243 if (!SWIG_IsOK(res1
)) {
31244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31246 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31247 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31248 if (!SWIG_IsOK(res2
)) {
31249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31254 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31261 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31268 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
= 0;
31270 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31277 PyObject
* obj0
= 0 ;
31278 PyObject
* obj1
= 0 ;
31279 char * kwnames
[] = {
31280 (char *) "self",(char *) "n", NULL
31283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31285 if (!SWIG_IsOK(res1
)) {
31286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31288 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31290 if (!SWIG_IsOK(ecode2
)) {
31291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31293 arg2
= static_cast< int >(val2
);
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 result
= wxDateSpan___mul__(arg1
,arg2
);
31297 wxPyEndAllowThreads(__tstate
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31300 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31307 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
= 0;
31309 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31316 PyObject
* obj0
= 0 ;
31317 PyObject
* obj1
= 0 ;
31318 char * kwnames
[] = {
31319 (char *) "self",(char *) "n", NULL
31322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31324 if (!SWIG_IsOK(res1
)) {
31325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31327 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31329 if (!SWIG_IsOK(ecode2
)) {
31330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31332 arg2
= static_cast< int >(val2
);
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 result
= wxDateSpan___rmul__(arg1
,arg2
);
31336 wxPyEndAllowThreads(__tstate
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31339 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31346 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
= 0;
31348 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31349 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31355 PyObject
* obj0
= 0 ;
31356 PyObject
* obj1
= 0 ;
31357 char * kwnames
[] = {
31358 (char *) "self",(char *) "other", NULL
31361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31363 if (!SWIG_IsOK(res1
)) {
31364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31366 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31367 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31368 if (!SWIG_IsOK(res2
)) {
31369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31371 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31387 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31388 PyObject
*resultobj
= 0;
31389 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31390 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31396 PyObject
* obj0
= 0 ;
31397 PyObject
* obj1
= 0 ;
31398 char * kwnames
[] = {
31399 (char *) "self",(char *) "other", NULL
31402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31404 if (!SWIG_IsOK(res1
)) {
31405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31407 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31408 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31409 if (!SWIG_IsOK(res2
)) {
31410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31412 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31428 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31431 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31432 return SWIG_Py_Void();
31435 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31436 return SWIG_Python_InitShadowInstance(args
);
31439 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31440 PyObject
*resultobj
= 0;
31443 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31446 result
= (long)wxGetLocalTime();
31447 wxPyEndAllowThreads(__tstate
);
31448 if (PyErr_Occurred()) SWIG_fail
;
31450 resultobj
= SWIG_From_long(static_cast< long >(result
));
31457 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31458 PyObject
*resultobj
= 0;
31461 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31464 result
= (long)wxGetUTCTime();
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 resultobj
= SWIG_From_long(static_cast< long >(result
));
31475 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31476 PyObject
*resultobj
= 0;
31479 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31482 result
= (long)wxGetCurrentTime();
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31486 resultobj
= SWIG_From_long(static_cast< long >(result
));
31493 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31494 PyObject
*resultobj
= 0;
31497 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 result
= wxGetLocalTimeMillis();
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31505 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31506 hi
= PyLong_FromLong( (&result
)->GetHi() );
31507 lo
= PyLong_FromLong( (&result
)->GetLo() );
31508 shifter
= PyLong_FromLong(32);
31509 shifted
= PyNumber_Lshift(hi
, shifter
);
31510 resultobj
= PyNumber_Or(shifted
, lo
);
31513 Py_DECREF(shifter
);
31514 Py_DECREF(shifted
);
31522 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31523 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31528 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31529 PyObject
*pyobj
= 0;
31531 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31536 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31537 PyObject
*resultobj
= 0;
31538 wxDataFormatId arg1
;
31539 wxDataFormat
*result
= 0 ;
31542 PyObject
* obj0
= 0 ;
31543 char * kwnames
[] = {
31544 (char *) "type", NULL
31547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31548 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31549 if (!SWIG_IsOK(ecode1
)) {
31550 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31552 arg1
= static_cast< wxDataFormatId
>(val1
);
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31555 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31566 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31567 PyObject
*resultobj
= 0;
31568 wxString
*arg1
= 0 ;
31569 wxDataFormat
*result
= 0 ;
31570 bool temp1
= false ;
31571 PyObject
* obj0
= 0 ;
31572 char * kwnames
[] = {
31573 (char *) "format", NULL
31576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31578 arg1
= wxString_in_helper(obj0
);
31579 if (arg1
== NULL
) SWIG_fail
;
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31603 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31604 PyObject
*resultobj
= 0;
31605 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31608 PyObject
*swig_obj
[1] ;
31610 if (!args
) SWIG_fail
;
31611 swig_obj
[0] = args
;
31612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31613 if (!SWIG_IsOK(res1
)) {
31614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31616 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31621 wxPyEndAllowThreads(__tstate
);
31622 if (PyErr_Occurred()) SWIG_fail
;
31624 resultobj
= SWIG_Py_Void();
31631 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31632 PyObject
*resultobj
= 0;
31633 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31634 wxDataFormatId arg2
;
31641 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31643 if (!SWIG_IsOK(res1
)) {
31644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31646 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31647 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31648 if (!SWIG_IsOK(ecode2
)) {
31649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31651 arg2
= static_cast< wxDataFormatId
>(val2
);
31653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31654 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31655 wxPyEndAllowThreads(__tstate
);
31656 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31667 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31668 PyObject
*resultobj
= 0;
31669 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31670 wxDataFormatId arg2
;
31677 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31679 if (!SWIG_IsOK(res1
)) {
31680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31682 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31683 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31684 if (!SWIG_IsOK(ecode2
)) {
31685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31687 arg2
= static_cast< wxDataFormatId
>(val2
);
31689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31690 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31691 wxPyEndAllowThreads(__tstate
);
31692 if (PyErr_Occurred()) SWIG_fail
;
31695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31703 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31704 PyObject
*resultobj
= 0;
31705 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31706 wxDataFormat
*arg2
= 0 ;
31713 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31715 if (!SWIG_IsOK(res1
)) {
31716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31718 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31719 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31720 if (!SWIG_IsOK(res2
)) {
31721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31726 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31729 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31730 wxPyEndAllowThreads(__tstate
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31742 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31746 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31751 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31752 _v
= SWIG_CheckState(res
);
31754 if (!_v
) goto check_1
;
31755 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31760 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31764 Py_INCREF(Py_NotImplemented
);
31765 return Py_NotImplemented
;
31769 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31770 PyObject
*resultobj
= 0;
31771 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31772 wxDataFormat
*arg2
= 0 ;
31779 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31781 if (!SWIG_IsOK(res1
)) {
31782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31784 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31785 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31786 if (!SWIG_IsOK(res2
)) {
31787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31792 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31795 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31808 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31812 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31817 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31818 _v
= SWIG_CheckState(res
);
31820 if (!_v
) goto check_1
;
31821 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31826 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31830 Py_INCREF(Py_NotImplemented
);
31831 return Py_NotImplemented
;
31835 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31836 PyObject
*resultobj
= 0;
31837 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31838 wxDataFormatId arg2
;
31843 PyObject
* obj0
= 0 ;
31844 PyObject
* obj1
= 0 ;
31845 char * kwnames
[] = {
31846 (char *) "self",(char *) "format", NULL
31849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31851 if (!SWIG_IsOK(res1
)) {
31852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31854 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31856 if (!SWIG_IsOK(ecode2
)) {
31857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31859 arg2
= static_cast< wxDataFormatId
>(val2
);
31861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31862 (arg1
)->SetType(arg2
);
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31866 resultobj
= SWIG_Py_Void();
31873 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31874 PyObject
*resultobj
= 0;
31875 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31876 wxDataFormatId result
;
31879 PyObject
*swig_obj
[1] ;
31881 if (!args
) SWIG_fail
;
31882 swig_obj
[0] = args
;
31883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31884 if (!SWIG_IsOK(res1
)) {
31885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31887 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31890 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31891 wxPyEndAllowThreads(__tstate
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31894 resultobj
= SWIG_From_int(static_cast< int >(result
));
31901 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31902 PyObject
*resultobj
= 0;
31903 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31907 PyObject
*swig_obj
[1] ;
31909 if (!args
) SWIG_fail
;
31910 swig_obj
[0] = args
;
31911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31912 if (!SWIG_IsOK(res1
)) {
31913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31915 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31918 result
= ((wxDataFormat
const *)arg1
)->GetId();
31919 wxPyEndAllowThreads(__tstate
);
31920 if (PyErr_Occurred()) SWIG_fail
;
31924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31935 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31936 PyObject
*resultobj
= 0;
31937 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31938 wxString
*arg2
= 0 ;
31941 bool temp2
= false ;
31942 PyObject
* obj0
= 0 ;
31943 PyObject
* obj1
= 0 ;
31944 char * kwnames
[] = {
31945 (char *) "self",(char *) "format", NULL
31948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31950 if (!SWIG_IsOK(res1
)) {
31951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31953 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31955 arg2
= wxString_in_helper(obj1
);
31956 if (arg2
== NULL
) SWIG_fail
;
31960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31961 (arg1
)->SetId((wxString
const &)*arg2
);
31962 wxPyEndAllowThreads(__tstate
);
31963 if (PyErr_Occurred()) SWIG_fail
;
31965 resultobj
= SWIG_Py_Void();
31980 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31983 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
31984 return SWIG_Py_Void();
31987 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31988 return SWIG_Python_InitShadowInstance(args
);
31991 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
31992 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
31997 SWIGINTERN PyObject
*FormatInvalid_get(void) {
31998 PyObject
*pyobj
= 0;
32000 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
32005 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32006 PyObject
*resultobj
= 0;
32007 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32010 PyObject
*swig_obj
[1] ;
32012 if (!args
) SWIG_fail
;
32013 swig_obj
[0] = args
;
32014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32015 if (!SWIG_IsOK(res1
)) {
32016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
32018 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32026 resultobj
= SWIG_Py_Void();
32033 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32034 PyObject
*resultobj
= 0;
32035 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32036 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32037 SwigValueWrapper
<wxDataFormat
> result
;
32042 PyObject
* obj0
= 0 ;
32043 PyObject
* obj1
= 0 ;
32044 char * kwnames
[] = {
32045 (char *) "self",(char *) "dir", NULL
32048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32050 if (!SWIG_IsOK(res1
)) {
32051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32053 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32056 if (!SWIG_IsOK(ecode2
)) {
32057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32059 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32063 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
32064 wxPyEndAllowThreads(__tstate
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32067 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32074 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32075 PyObject
*resultobj
= 0;
32076 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32077 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32083 PyObject
* obj0
= 0 ;
32084 PyObject
* obj1
= 0 ;
32085 char * kwnames
[] = {
32086 (char *) "self",(char *) "dir", NULL
32089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32091 if (!SWIG_IsOK(res1
)) {
32092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32094 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32097 if (!SWIG_IsOK(ecode2
)) {
32098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32100 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32104 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
32105 wxPyEndAllowThreads(__tstate
);
32106 if (PyErr_Occurred()) SWIG_fail
;
32108 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32115 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32116 PyObject
*resultobj
= 0;
32117 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32118 wxDataFormat
*arg2
= 0 ;
32119 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
32127 PyObject
* obj0
= 0 ;
32128 PyObject
* obj1
= 0 ;
32129 PyObject
* obj2
= 0 ;
32130 char * kwnames
[] = {
32131 (char *) "self",(char *) "format",(char *) "dir", NULL
32134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32136 if (!SWIG_IsOK(res1
)) {
32137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32139 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32141 if (!SWIG_IsOK(res2
)) {
32142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32147 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32150 if (!SWIG_IsOK(ecode3
)) {
32151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
32153 arg3
= static_cast< wxDataObject::Direction
>(val3
);
32156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
32158 wxPyEndAllowThreads(__tstate
);
32159 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32170 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32171 PyObject
*resultobj
= 0;
32172 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32173 wxDataFormat
*arg2
= 0 ;
32179 PyObject
* obj0
= 0 ;
32180 PyObject
* obj1
= 0 ;
32181 char * kwnames
[] = {
32182 (char *) "self",(char *) "format", NULL
32185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32187 if (!SWIG_IsOK(res1
)) {
32188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32190 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32192 if (!SWIG_IsOK(res2
)) {
32193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32198 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32201 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32202 wxPyEndAllowThreads(__tstate
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32205 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32212 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32213 PyObject
*resultobj
= 0;
32214 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32215 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32216 PyObject
*result
= 0 ;
32221 PyObject
* obj0
= 0 ;
32222 PyObject
* obj1
= 0 ;
32223 char * kwnames
[] = {
32224 (char *) "self",(char *) "dir", NULL
32227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32229 if (!SWIG_IsOK(res1
)) {
32230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32232 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32235 if (!SWIG_IsOK(ecode2
)) {
32236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32238 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32242 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32243 wxPyEndAllowThreads(__tstate
);
32244 if (PyErr_Occurred()) SWIG_fail
;
32246 resultobj
= result
;
32253 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32254 PyObject
*resultobj
= 0;
32255 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32256 wxDataFormat
*arg2
= 0 ;
32257 PyObject
*result
= 0 ;
32262 PyObject
* obj0
= 0 ;
32263 PyObject
* obj1
= 0 ;
32264 char * kwnames
[] = {
32265 (char *) "self",(char *) "format", NULL
32268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32270 if (!SWIG_IsOK(res1
)) {
32271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32273 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32275 if (!SWIG_IsOK(res2
)) {
32276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32281 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32284 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32285 wxPyEndAllowThreads(__tstate
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32288 resultobj
= result
;
32295 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32296 PyObject
*resultobj
= 0;
32297 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32298 wxDataFormat
*arg2
= 0 ;
32299 PyObject
*arg3
= (PyObject
*) 0 ;
32305 PyObject
* obj0
= 0 ;
32306 PyObject
* obj1
= 0 ;
32307 PyObject
* obj2
= 0 ;
32308 char * kwnames
[] = {
32309 (char *) "self",(char *) "format",(char *) "data", NULL
32312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32314 if (!SWIG_IsOK(res1
)) {
32315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32317 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32318 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32319 if (!SWIG_IsOK(res2
)) {
32320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32325 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32329 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32330 wxPyEndAllowThreads(__tstate
);
32331 if (PyErr_Occurred()) SWIG_fail
;
32334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32342 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32345 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32346 return SWIG_Py_Void();
32349 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32350 PyObject
*resultobj
= 0;
32351 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32352 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32353 wxDataObjectSimple
*result
= 0 ;
32356 PyObject
* obj0
= 0 ;
32357 char * kwnames
[] = {
32358 (char *) "format", NULL
32361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32363 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32364 if (!SWIG_IsOK(res1
)) {
32365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32370 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32374 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32375 wxPyEndAllowThreads(__tstate
);
32376 if (PyErr_Occurred()) SWIG_fail
;
32378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32385 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32386 PyObject
*resultobj
= 0;
32387 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32388 wxDataFormat
*result
= 0 ;
32391 PyObject
*swig_obj
[1] ;
32393 if (!args
) SWIG_fail
;
32394 swig_obj
[0] = args
;
32395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32396 if (!SWIG_IsOK(res1
)) {
32397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32399 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32404 result
= (wxDataFormat
*) &_result_ref
;
32406 wxPyEndAllowThreads(__tstate
);
32407 if (PyErr_Occurred()) SWIG_fail
;
32409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32416 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32417 PyObject
*resultobj
= 0;
32418 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32419 wxDataFormat
*arg2
= 0 ;
32424 PyObject
* obj0
= 0 ;
32425 PyObject
* obj1
= 0 ;
32426 char * kwnames
[] = {
32427 (char *) "self",(char *) "format", NULL
32430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32432 if (!SWIG_IsOK(res1
)) {
32433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32435 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32436 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32437 if (!SWIG_IsOK(res2
)) {
32438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32443 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32446 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= SWIG_Py_Void();
32457 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32458 PyObject
*resultobj
= 0;
32459 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32463 PyObject
*swig_obj
[1] ;
32465 if (!args
) SWIG_fail
;
32466 swig_obj
[0] = args
;
32467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32468 if (!SWIG_IsOK(res1
)) {
32469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32471 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32475 wxPyEndAllowThreads(__tstate
);
32476 if (PyErr_Occurred()) SWIG_fail
;
32478 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32485 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32486 PyObject
*resultobj
= 0;
32487 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32488 PyObject
*result
= 0 ;
32491 PyObject
*swig_obj
[1] ;
32493 if (!args
) SWIG_fail
;
32494 swig_obj
[0] = args
;
32495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32496 if (!SWIG_IsOK(res1
)) {
32497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32499 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32502 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32503 wxPyEndAllowThreads(__tstate
);
32504 if (PyErr_Occurred()) SWIG_fail
;
32506 resultobj
= result
;
32513 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32514 PyObject
*resultobj
= 0;
32515 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32516 PyObject
*arg2
= (PyObject
*) 0 ;
32520 PyObject
* obj0
= 0 ;
32521 PyObject
* obj1
= 0 ;
32522 char * kwnames
[] = {
32523 (char *) "self",(char *) "data", NULL
32526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32528 if (!SWIG_IsOK(res1
)) {
32529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32531 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32535 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32548 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32551 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32552 return SWIG_Py_Void();
32555 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32556 return SWIG_Python_InitShadowInstance(args
);
32559 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32560 PyObject
*resultobj
= 0;
32561 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32562 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32563 wxPyDataObjectSimple
*result
= 0 ;
32566 PyObject
* obj0
= 0 ;
32567 char * kwnames
[] = {
32568 (char *) "format", NULL
32571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32573 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32574 if (!SWIG_IsOK(res1
)) {
32575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32580 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32595 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32596 PyObject
*resultobj
= 0;
32597 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32598 PyObject
*arg2
= (PyObject
*) 0 ;
32599 PyObject
*arg3
= (PyObject
*) 0 ;
32602 PyObject
* obj0
= 0 ;
32603 PyObject
* obj1
= 0 ;
32604 PyObject
* obj2
= 0 ;
32605 char * kwnames
[] = {
32606 (char *) "self",(char *) "self",(char *) "_class", NULL
32609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32611 if (!SWIG_IsOK(res1
)) {
32612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32614 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32619 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32620 wxPyEndAllowThreads(__tstate
);
32621 if (PyErr_Occurred()) SWIG_fail
;
32623 resultobj
= SWIG_Py_Void();
32630 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32633 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32634 return SWIG_Py_Void();
32637 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32638 return SWIG_Python_InitShadowInstance(args
);
32641 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32642 PyObject
*resultobj
= 0;
32643 wxDataObjectComposite
*result
= 0 ;
32645 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32649 wxPyEndAllowThreads(__tstate
);
32650 if (PyErr_Occurred()) SWIG_fail
;
32652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32659 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32660 PyObject
*resultobj
= 0;
32661 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32662 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32663 bool arg3
= (bool) false ;
32669 PyObject
* obj0
= 0 ;
32670 PyObject
* obj1
= 0 ;
32671 PyObject
* obj2
= 0 ;
32672 char * kwnames
[] = {
32673 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32678 if (!SWIG_IsOK(res1
)) {
32679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32681 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32682 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32683 if (!SWIG_IsOK(res2
)) {
32684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32687 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32688 if (!SWIG_IsOK(ecode3
)) {
32689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32691 arg3
= static_cast< bool >(val3
);
32694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32695 (arg1
)->Add(arg2
,arg3
);
32696 wxPyEndAllowThreads(__tstate
);
32697 if (PyErr_Occurred()) SWIG_fail
;
32699 resultobj
= SWIG_Py_Void();
32706 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32707 PyObject
*resultobj
= 0;
32708 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32709 SwigValueWrapper
<wxDataFormat
> result
;
32712 PyObject
*swig_obj
[1] ;
32714 if (!args
) SWIG_fail
;
32715 swig_obj
[0] = args
;
32716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32717 if (!SWIG_IsOK(res1
)) {
32718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32720 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32724 wxPyEndAllowThreads(__tstate
);
32725 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32734 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32737 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32738 return SWIG_Py_Void();
32741 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32742 return SWIG_Python_InitShadowInstance(args
);
32745 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32746 PyObject
*resultobj
= 0;
32747 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32748 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32749 wxTextDataObject
*result
= 0 ;
32750 bool temp1
= false ;
32751 PyObject
* obj0
= 0 ;
32752 char * kwnames
[] = {
32753 (char *) "text", NULL
32756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32759 arg1
= wxString_in_helper(obj0
);
32760 if (arg1
== NULL
) SWIG_fail
;
32765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32766 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32767 wxPyEndAllowThreads(__tstate
);
32768 if (PyErr_Occurred()) SWIG_fail
;
32770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32785 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32786 PyObject
*resultobj
= 0;
32787 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32791 PyObject
*swig_obj
[1] ;
32793 if (!args
) SWIG_fail
;
32794 swig_obj
[0] = args
;
32795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32796 if (!SWIG_IsOK(res1
)) {
32797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32799 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32802 result
= (size_t)(arg1
)->GetTextLength();
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32806 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32813 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32814 PyObject
*resultobj
= 0;
32815 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32819 PyObject
*swig_obj
[1] ;
32821 if (!args
) SWIG_fail
;
32822 swig_obj
[0] = args
;
32823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32824 if (!SWIG_IsOK(res1
)) {
32825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32827 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32830 result
= (arg1
)->GetText();
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32847 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32848 PyObject
*resultobj
= 0;
32849 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32850 wxString
*arg2
= 0 ;
32853 bool temp2
= false ;
32854 PyObject
* obj0
= 0 ;
32855 PyObject
* obj1
= 0 ;
32856 char * kwnames
[] = {
32857 (char *) "self",(char *) "text", NULL
32860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32862 if (!SWIG_IsOK(res1
)) {
32863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32865 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32867 arg2
= wxString_in_helper(obj1
);
32868 if (arg2
== NULL
) SWIG_fail
;
32872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32873 (arg1
)->SetText((wxString
const &)*arg2
);
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32877 resultobj
= SWIG_Py_Void();
32892 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32895 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32896 return SWIG_Py_Void();
32899 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32900 return SWIG_Python_InitShadowInstance(args
);
32903 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32904 PyObject
*resultobj
= 0;
32905 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32906 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32907 wxPyTextDataObject
*result
= 0 ;
32908 bool temp1
= false ;
32909 PyObject
* obj0
= 0 ;
32910 char * kwnames
[] = {
32911 (char *) "text", NULL
32914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32917 arg1
= wxString_in_helper(obj0
);
32918 if (arg1
== NULL
) SWIG_fail
;
32923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32924 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32925 wxPyEndAllowThreads(__tstate
);
32926 if (PyErr_Occurred()) SWIG_fail
;
32928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32943 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32944 PyObject
*resultobj
= 0;
32945 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32946 PyObject
*arg2
= (PyObject
*) 0 ;
32947 PyObject
*arg3
= (PyObject
*) 0 ;
32950 PyObject
* obj0
= 0 ;
32951 PyObject
* obj1
= 0 ;
32952 PyObject
* obj2
= 0 ;
32953 char * kwnames
[] = {
32954 (char *) "self",(char *) "self",(char *) "_class", NULL
32957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
32959 if (!SWIG_IsOK(res1
)) {
32960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
32962 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
32966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32967 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32968 wxPyEndAllowThreads(__tstate
);
32969 if (PyErr_Occurred()) SWIG_fail
;
32971 resultobj
= SWIG_Py_Void();
32978 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32981 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
32982 return SWIG_Py_Void();
32985 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32986 return SWIG_Python_InitShadowInstance(args
);
32989 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32990 PyObject
*resultobj
= 0;
32991 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32992 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32993 wxBitmapDataObject
*result
= 0 ;
32996 PyObject
* obj0
= 0 ;
32997 char * kwnames
[] = {
32998 (char *) "bitmap", NULL
33001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33003 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33004 if (!SWIG_IsOK(res1
)) {
33005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33008 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33010 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33014 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
33015 wxPyEndAllowThreads(__tstate
);
33016 if (PyErr_Occurred()) SWIG_fail
;
33018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33025 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33026 PyObject
*resultobj
= 0;
33027 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33031 PyObject
*swig_obj
[1] ;
33033 if (!args
) SWIG_fail
;
33034 swig_obj
[0] = args
;
33035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33036 if (!SWIG_IsOK(res1
)) {
33037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
33039 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
33053 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33054 PyObject
*resultobj
= 0;
33055 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33056 wxBitmap
*arg2
= 0 ;
33061 PyObject
* obj0
= 0 ;
33062 PyObject
* obj1
= 0 ;
33063 char * kwnames
[] = {
33064 (char *) "self",(char *) "bitmap", NULL
33067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33069 if (!SWIG_IsOK(res1
)) {
33070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
33072 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33074 if (!SWIG_IsOK(res2
)) {
33075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33080 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33083 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33084 wxPyEndAllowThreads(__tstate
);
33085 if (PyErr_Occurred()) SWIG_fail
;
33087 resultobj
= SWIG_Py_Void();
33094 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33097 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
33098 return SWIG_Py_Void();
33101 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33102 return SWIG_Python_InitShadowInstance(args
);
33105 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33106 PyObject
*resultobj
= 0;
33107 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33108 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33109 wxPyBitmapDataObject
*result
= 0 ;
33112 PyObject
* obj0
= 0 ;
33113 char * kwnames
[] = {
33114 (char *) "bitmap", NULL
33117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33119 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33120 if (!SWIG_IsOK(res1
)) {
33121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33126 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
33131 wxPyEndAllowThreads(__tstate
);
33132 if (PyErr_Occurred()) SWIG_fail
;
33134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33141 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33142 PyObject
*resultobj
= 0;
33143 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
33144 PyObject
*arg2
= (PyObject
*) 0 ;
33145 PyObject
*arg3
= (PyObject
*) 0 ;
33148 PyObject
* obj0
= 0 ;
33149 PyObject
* obj1
= 0 ;
33150 PyObject
* obj2
= 0 ;
33151 char * kwnames
[] = {
33152 (char *) "self",(char *) "self",(char *) "_class", NULL
33155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
33157 if (!SWIG_IsOK(res1
)) {
33158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
33160 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
33164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33165 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33166 wxPyEndAllowThreads(__tstate
);
33167 if (PyErr_Occurred()) SWIG_fail
;
33169 resultobj
= SWIG_Py_Void();
33176 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33179 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
33180 return SWIG_Py_Void();
33183 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33184 return SWIG_Python_InitShadowInstance(args
);
33187 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33188 PyObject
*resultobj
= 0;
33189 wxFileDataObject
*result
= 0 ;
33191 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33194 result
= (wxFileDataObject
*)new wxFileDataObject();
33195 wxPyEndAllowThreads(__tstate
);
33196 if (PyErr_Occurred()) SWIG_fail
;
33198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33205 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33206 PyObject
*resultobj
= 0;
33207 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33208 wxArrayString
*result
= 0 ;
33211 PyObject
*swig_obj
[1] ;
33213 if (!args
) SWIG_fail
;
33214 swig_obj
[0] = args
;
33215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33216 if (!SWIG_IsOK(res1
)) {
33217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33219 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33223 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33224 result
= (wxArrayString
*) &_result_ref
;
33226 wxPyEndAllowThreads(__tstate
);
33227 if (PyErr_Occurred()) SWIG_fail
;
33230 resultobj
= wxArrayString2PyList_helper(*result
);
33238 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33239 PyObject
*resultobj
= 0;
33240 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33241 wxString
*arg2
= 0 ;
33244 bool temp2
= false ;
33245 PyObject
* obj0
= 0 ;
33246 PyObject
* obj1
= 0 ;
33247 char * kwnames
[] = {
33248 (char *) "self",(char *) "filename", NULL
33251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33253 if (!SWIG_IsOK(res1
)) {
33254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33256 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33258 arg2
= wxString_in_helper(obj1
);
33259 if (arg2
== NULL
) SWIG_fail
;
33263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 (arg1
)->AddFile((wxString
const &)*arg2
);
33265 wxPyEndAllowThreads(__tstate
);
33266 if (PyErr_Occurred()) SWIG_fail
;
33268 resultobj
= SWIG_Py_Void();
33283 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33286 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33287 return SWIG_Py_Void();
33290 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33291 return SWIG_Python_InitShadowInstance(args
);
33294 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33295 PyObject
*resultobj
= 0;
33296 wxDataFormat
*arg1
= 0 ;
33297 wxCustomDataObject
*result
= 0 ;
33301 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33303 if (!SWIG_IsOK(res1
)) {
33304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33309 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33312 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33313 wxPyEndAllowThreads(__tstate
);
33314 if (PyErr_Occurred()) SWIG_fail
;
33316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33323 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33324 PyObject
*resultobj
= 0;
33325 wxString
*arg1
= 0 ;
33326 wxCustomDataObject
*result
= 0 ;
33327 bool temp1
= false ;
33329 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33331 arg1
= wxString_in_helper(swig_obj
[0]);
33332 if (arg1
== NULL
) SWIG_fail
;
33336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33337 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33338 wxPyEndAllowThreads(__tstate
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33356 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33357 PyObject
*resultobj
= 0;
33358 wxCustomDataObject
*result
= 0 ;
33360 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33363 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33364 wxPyEndAllowThreads(__tstate
);
33365 if (PyErr_Occurred()) SWIG_fail
;
33367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33374 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33378 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33381 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33387 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33390 if (!_v
) goto check_2
;
33391 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33396 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33400 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33405 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33406 PyObject
*resultobj
= 0;
33407 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33408 PyObject
*arg2
= (PyObject
*) 0 ;
33412 PyObject
* obj0
= 0 ;
33413 PyObject
* obj1
= 0 ;
33414 char * kwnames
[] = {
33415 (char *) "self",(char *) "data", NULL
33418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33420 if (!SWIG_IsOK(res1
)) {
33421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33423 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33427 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33428 wxPyEndAllowThreads(__tstate
);
33429 if (PyErr_Occurred()) SWIG_fail
;
33432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33440 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33441 PyObject
*resultobj
= 0;
33442 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33446 PyObject
*swig_obj
[1] ;
33448 if (!args
) SWIG_fail
;
33449 swig_obj
[0] = args
;
33450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33451 if (!SWIG_IsOK(res1
)) {
33452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33454 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33457 result
= (size_t)(arg1
)->GetSize();
33458 wxPyEndAllowThreads(__tstate
);
33459 if (PyErr_Occurred()) SWIG_fail
;
33461 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33468 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33469 PyObject
*resultobj
= 0;
33470 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33471 PyObject
*result
= 0 ;
33474 PyObject
*swig_obj
[1] ;
33476 if (!args
) SWIG_fail
;
33477 swig_obj
[0] = args
;
33478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33479 if (!SWIG_IsOK(res1
)) {
33480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33482 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33485 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33486 wxPyEndAllowThreads(__tstate
);
33487 if (PyErr_Occurred()) SWIG_fail
;
33489 resultobj
= result
;
33496 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33499 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33500 return SWIG_Py_Void();
33503 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33504 return SWIG_Python_InitShadowInstance(args
);
33507 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33508 PyObject
*resultobj
= 0;
33509 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33510 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33511 wxURLDataObject
*result
= 0 ;
33512 bool temp1
= false ;
33513 PyObject
* obj0
= 0 ;
33514 char * kwnames
[] = {
33515 (char *) "url", NULL
33518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33521 arg1
= wxString_in_helper(obj0
);
33522 if (arg1
== NULL
) SWIG_fail
;
33527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33528 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33529 wxPyEndAllowThreads(__tstate
);
33530 if (PyErr_Occurred()) SWIG_fail
;
33532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33547 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33548 PyObject
*resultobj
= 0;
33549 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33553 PyObject
*swig_obj
[1] ;
33555 if (!args
) SWIG_fail
;
33556 swig_obj
[0] = args
;
33557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33558 if (!SWIG_IsOK(res1
)) {
33559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33561 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33564 result
= (arg1
)->GetURL();
33565 wxPyEndAllowThreads(__tstate
);
33566 if (PyErr_Occurred()) SWIG_fail
;
33570 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33572 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33581 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33582 PyObject
*resultobj
= 0;
33583 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33584 wxString
*arg2
= 0 ;
33587 bool temp2
= false ;
33588 PyObject
* obj0
= 0 ;
33589 PyObject
* obj1
= 0 ;
33590 char * kwnames
[] = {
33591 (char *) "self",(char *) "url", NULL
33594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33596 if (!SWIG_IsOK(res1
)) {
33597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33599 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33601 arg2
= wxString_in_helper(obj1
);
33602 if (arg2
== NULL
) SWIG_fail
;
33606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33607 (arg1
)->SetURL((wxString
const &)*arg2
);
33608 wxPyEndAllowThreads(__tstate
);
33609 if (PyErr_Occurred()) SWIG_fail
;
33611 resultobj
= SWIG_Py_Void();
33626 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33629 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33630 return SWIG_Py_Void();
33633 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33634 return SWIG_Python_InitShadowInstance(args
);
33637 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33638 PyObject
*resultobj
= 0;
33639 wxMetafileDataObject
*result
= 0 ;
33641 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33644 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33645 wxPyEndAllowThreads(__tstate
);
33646 if (PyErr_Occurred()) SWIG_fail
;
33648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33655 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
= 0;
33657 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33658 wxMetafile
*arg2
= 0 ;
33663 PyObject
* obj0
= 0 ;
33664 PyObject
* obj1
= 0 ;
33665 char * kwnames
[] = {
33666 (char *) "self",(char *) "metafile", NULL
33669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33671 if (!SWIG_IsOK(res1
)) {
33672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
33674 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33675 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
33676 if (!SWIG_IsOK(res2
)) {
33677 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33682 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
33684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33685 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
33686 wxPyEndAllowThreads(__tstate
);
33687 if (PyErr_Occurred()) SWIG_fail
;
33689 resultobj
= SWIG_Py_Void();
33696 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33697 PyObject
*resultobj
= 0;
33698 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33702 PyObject
*swig_obj
[1] ;
33704 if (!args
) SWIG_fail
;
33705 swig_obj
[0] = args
;
33706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33707 if (!SWIG_IsOK(res1
)) {
33708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
33710 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33713 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
33714 wxPyEndAllowThreads(__tstate
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
33724 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33727 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33728 return SWIG_Py_Void();
33731 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33732 return SWIG_Python_InitShadowInstance(args
);
33735 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33736 PyObject
*resultobj
= 0;
33737 wxDragResult arg1
;
33741 PyObject
* obj0
= 0 ;
33742 char * kwnames
[] = {
33743 (char *) "res", NULL
33746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33748 if (!SWIG_IsOK(ecode1
)) {
33749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33751 arg1
= static_cast< wxDragResult
>(val1
);
33753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33754 result
= (bool)wxIsDragResultOk(arg1
);
33755 wxPyEndAllowThreads(__tstate
);
33756 if (PyErr_Occurred()) SWIG_fail
;
33759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33767 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33768 PyObject
*resultobj
= 0;
33769 wxWindow
*arg1
= (wxWindow
*) 0 ;
33770 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33771 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33772 wxCursor
const &arg3_defvalue
= wxNullCursor
;
33773 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
33774 wxCursor
const &arg4_defvalue
= wxNullCursor
;
33775 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
33776 wxPyDropSource
*result
= 0 ;
33785 PyObject
* obj0
= 0 ;
33786 PyObject
* obj1
= 0 ;
33787 PyObject
* obj2
= 0 ;
33788 PyObject
* obj3
= 0 ;
33789 char * kwnames
[] = {
33790 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33795 if (!SWIG_IsOK(res1
)) {
33796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
33801 if (!SWIG_IsOK(res2
)) {
33802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33807 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
33810 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33811 if (!SWIG_IsOK(res3
)) {
33812 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33817 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33820 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
33821 if (!SWIG_IsOK(res4
)) {
33822 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33827 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
33830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33831 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
33832 wxPyEndAllowThreads(__tstate
);
33833 if (PyErr_Occurred()) SWIG_fail
;
33835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33842 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33843 PyObject
*resultobj
= 0;
33844 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33845 PyObject
*arg2
= (PyObject
*) 0 ;
33846 PyObject
*arg3
= (PyObject
*) 0 ;
33852 PyObject
* obj0
= 0 ;
33853 PyObject
* obj1
= 0 ;
33854 PyObject
* obj2
= 0 ;
33855 PyObject
* obj3
= 0 ;
33856 char * kwnames
[] = {
33857 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33862 if (!SWIG_IsOK(res1
)) {
33863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33865 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33869 if (!SWIG_IsOK(ecode4
)) {
33870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33872 arg4
= static_cast< int >(val4
);
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33875 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33876 wxPyEndAllowThreads(__tstate
);
33877 if (PyErr_Occurred()) SWIG_fail
;
33879 resultobj
= SWIG_Py_Void();
33886 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33887 PyObject
*resultobj
= 0;
33888 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33891 PyObject
*swig_obj
[1] ;
33893 if (!args
) SWIG_fail
;
33894 swig_obj
[0] = args
;
33895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33896 if (!SWIG_IsOK(res1
)) {
33897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33899 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33904 wxPyEndAllowThreads(__tstate
);
33905 if (PyErr_Occurred()) SWIG_fail
;
33907 resultobj
= SWIG_Py_Void();
33914 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33915 PyObject
*resultobj
= 0;
33916 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33917 wxDataObject
*arg2
= 0 ;
33922 PyObject
* obj0
= 0 ;
33923 PyObject
* obj1
= 0 ;
33924 char * kwnames
[] = {
33925 (char *) "self",(char *) "data", NULL
33928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33930 if (!SWIG_IsOK(res1
)) {
33931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33933 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33935 if (!SWIG_IsOK(res2
)) {
33936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33941 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33944 (arg1
)->SetData(*arg2
);
33945 wxPyEndAllowThreads(__tstate
);
33946 if (PyErr_Occurred()) SWIG_fail
;
33948 resultobj
= SWIG_Py_Void();
33955 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33956 PyObject
*resultobj
= 0;
33957 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33958 wxDataObject
*result
= 0 ;
33961 PyObject
*swig_obj
[1] ;
33963 if (!args
) SWIG_fail
;
33964 swig_obj
[0] = args
;
33965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33966 if (!SWIG_IsOK(res1
)) {
33967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33969 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33972 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33973 wxPyEndAllowThreads(__tstate
);
33974 if (PyErr_Occurred()) SWIG_fail
;
33976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33983 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33984 PyObject
*resultobj
= 0;
33985 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33986 wxDragResult arg2
;
33987 wxCursor
*arg3
= 0 ;
33994 PyObject
* obj0
= 0 ;
33995 PyObject
* obj1
= 0 ;
33996 PyObject
* obj2
= 0 ;
33997 char * kwnames
[] = {
33998 (char *) "self",(char *) "res",(char *) "cursor", NULL
34001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34003 if (!SWIG_IsOK(res1
)) {
34004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34006 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34008 if (!SWIG_IsOK(ecode2
)) {
34009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
34011 arg2
= static_cast< wxDragResult
>(val2
);
34012 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
34013 if (!SWIG_IsOK(res3
)) {
34014 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34019 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34022 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
34023 wxPyEndAllowThreads(__tstate
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34026 resultobj
= SWIG_Py_Void();
34033 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34034 PyObject
*resultobj
= 0;
34035 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34036 int arg2
= (int) wxDrag_CopyOnly
;
34037 wxDragResult result
;
34042 PyObject
* obj0
= 0 ;
34043 PyObject
* obj1
= 0 ;
34044 char * kwnames
[] = {
34045 (char *) "self",(char *) "flags", NULL
34048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34050 if (!SWIG_IsOK(res1
)) {
34051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34053 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34056 if (!SWIG_IsOK(ecode2
)) {
34057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
34059 arg2
= static_cast< int >(val2
);
34062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34063 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
34064 wxPyEndAllowThreads(__tstate
);
34065 if (PyErr_Occurred()) SWIG_fail
;
34067 resultobj
= SWIG_From_int(static_cast< int >(result
));
34074 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34075 PyObject
*resultobj
= 0;
34076 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34077 wxDragResult arg2
;
34083 PyObject
* obj0
= 0 ;
34084 PyObject
* obj1
= 0 ;
34085 char * kwnames
[] = {
34086 (char *) "self",(char *) "effect", NULL
34089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34091 if (!SWIG_IsOK(res1
)) {
34092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34094 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34096 if (!SWIG_IsOK(ecode2
)) {
34097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
34099 arg2
= static_cast< wxDragResult
>(val2
);
34101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34102 result
= (bool)(arg1
)->GiveFeedback(arg2
);
34103 wxPyEndAllowThreads(__tstate
);
34104 if (PyErr_Occurred()) SWIG_fail
;
34107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34115 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34118 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
34119 return SWIG_Py_Void();
34122 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34123 return SWIG_Python_InitShadowInstance(args
);
34126 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34127 PyObject
*resultobj
= 0;
34128 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
34129 wxPyDropTarget
*result
= 0 ;
34131 PyObject
* obj0
= 0 ;
34132 char * kwnames
[] = {
34133 (char *) "dataObject", NULL
34136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
34138 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34139 if (!SWIG_IsOK(res1
)) {
34140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
34144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34145 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
34146 wxPyEndAllowThreads(__tstate
);
34147 if (PyErr_Occurred()) SWIG_fail
;
34149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
34156 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34157 PyObject
*resultobj
= 0;
34158 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34159 PyObject
*arg2
= (PyObject
*) 0 ;
34160 PyObject
*arg3
= (PyObject
*) 0 ;
34163 PyObject
* obj0
= 0 ;
34164 PyObject
* obj1
= 0 ;
34165 PyObject
* obj2
= 0 ;
34166 char * kwnames
[] = {
34167 (char *) "self",(char *) "self",(char *) "_class", NULL
34170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34172 if (!SWIG_IsOK(res1
)) {
34173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34175 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34180 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34181 wxPyEndAllowThreads(__tstate
);
34182 if (PyErr_Occurred()) SWIG_fail
;
34184 resultobj
= SWIG_Py_Void();
34191 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34192 PyObject
*resultobj
= 0;
34193 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34196 PyObject
*swig_obj
[1] ;
34198 if (!args
) SWIG_fail
;
34199 swig_obj
[0] = args
;
34200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
34201 if (!SWIG_IsOK(res1
)) {
34202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34204 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34209 wxPyEndAllowThreads(__tstate
);
34210 if (PyErr_Occurred()) SWIG_fail
;
34212 resultobj
= SWIG_Py_Void();
34219 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34220 PyObject
*resultobj
= 0;
34221 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34222 wxDataObject
*result
= 0 ;
34225 PyObject
*swig_obj
[1] ;
34227 if (!args
) SWIG_fail
;
34228 swig_obj
[0] = args
;
34229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34230 if (!SWIG_IsOK(res1
)) {
34231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34233 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34236 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34237 wxPyEndAllowThreads(__tstate
);
34238 if (PyErr_Occurred()) SWIG_fail
;
34240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34247 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34248 PyObject
*resultobj
= 0;
34249 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34250 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34254 PyObject
* obj0
= 0 ;
34255 PyObject
* obj1
= 0 ;
34256 char * kwnames
[] = {
34257 (char *) "self",(char *) "dataObject", NULL
34260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34262 if (!SWIG_IsOK(res1
)) {
34263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34265 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34266 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34267 if (!SWIG_IsOK(res2
)) {
34268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34272 (arg1
)->SetDataObject(arg2
);
34273 wxPyEndAllowThreads(__tstate
);
34274 if (PyErr_Occurred()) SWIG_fail
;
34276 resultobj
= SWIG_Py_Void();
34283 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34284 PyObject
*resultobj
= 0;
34285 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34288 wxDragResult arg4
;
34289 wxDragResult result
;
34298 PyObject
* obj0
= 0 ;
34299 PyObject
* obj1
= 0 ;
34300 PyObject
* obj2
= 0 ;
34301 PyObject
* obj3
= 0 ;
34302 char * kwnames
[] = {
34303 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34308 if (!SWIG_IsOK(res1
)) {
34309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34311 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34313 if (!SWIG_IsOK(ecode2
)) {
34314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34316 arg2
= static_cast< int >(val2
);
34317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34318 if (!SWIG_IsOK(ecode3
)) {
34319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34321 arg3
= static_cast< int >(val3
);
34322 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34323 if (!SWIG_IsOK(ecode4
)) {
34324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34326 arg4
= static_cast< wxDragResult
>(val4
);
34328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34329 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34333 resultobj
= SWIG_From_int(static_cast< int >(result
));
34340 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34341 PyObject
*resultobj
= 0;
34342 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34345 wxDragResult arg4
;
34346 wxDragResult result
;
34355 PyObject
* obj0
= 0 ;
34356 PyObject
* obj1
= 0 ;
34357 PyObject
* obj2
= 0 ;
34358 PyObject
* obj3
= 0 ;
34359 char * kwnames
[] = {
34360 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34365 if (!SWIG_IsOK(res1
)) {
34366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34368 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34370 if (!SWIG_IsOK(ecode2
)) {
34371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34373 arg2
= static_cast< int >(val2
);
34374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34375 if (!SWIG_IsOK(ecode3
)) {
34376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34378 arg3
= static_cast< int >(val3
);
34379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34380 if (!SWIG_IsOK(ecode4
)) {
34381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34383 arg4
= static_cast< wxDragResult
>(val4
);
34385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34386 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34387 wxPyEndAllowThreads(__tstate
);
34388 if (PyErr_Occurred()) SWIG_fail
;
34390 resultobj
= SWIG_From_int(static_cast< int >(result
));
34397 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34398 PyObject
*resultobj
= 0;
34399 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34402 PyObject
*swig_obj
[1] ;
34404 if (!args
) SWIG_fail
;
34405 swig_obj
[0] = args
;
34406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34407 if (!SWIG_IsOK(res1
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34410 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34414 wxPyEndAllowThreads(__tstate
);
34415 if (PyErr_Occurred()) SWIG_fail
;
34417 resultobj
= SWIG_Py_Void();
34424 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34425 PyObject
*resultobj
= 0;
34426 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34436 PyObject
* obj0
= 0 ;
34437 PyObject
* obj1
= 0 ;
34438 PyObject
* obj2
= 0 ;
34439 char * kwnames
[] = {
34440 (char *) "self",(char *) "x",(char *) "y", NULL
34443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34445 if (!SWIG_IsOK(res1
)) {
34446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34448 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34450 if (!SWIG_IsOK(ecode2
)) {
34451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34453 arg2
= static_cast< int >(val2
);
34454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34455 if (!SWIG_IsOK(ecode3
)) {
34456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34458 arg3
= static_cast< int >(val3
);
34460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34461 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34462 wxPyEndAllowThreads(__tstate
);
34463 if (PyErr_Occurred()) SWIG_fail
;
34466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34474 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34475 PyObject
*resultobj
= 0;
34476 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34480 PyObject
*swig_obj
[1] ;
34482 if (!args
) SWIG_fail
;
34483 swig_obj
[0] = args
;
34484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34485 if (!SWIG_IsOK(res1
)) {
34486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34488 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34491 result
= (bool)(arg1
)->GetData();
34492 wxPyEndAllowThreads(__tstate
);
34493 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34504 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34505 PyObject
*resultobj
= 0;
34506 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34507 wxDragResult arg2
;
34512 PyObject
* obj0
= 0 ;
34513 PyObject
* obj1
= 0 ;
34514 char * kwnames
[] = {
34515 (char *) "self",(char *) "action", NULL
34518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34520 if (!SWIG_IsOK(res1
)) {
34521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34523 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34525 if (!SWIG_IsOK(ecode2
)) {
34526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34528 arg2
= static_cast< wxDragResult
>(val2
);
34530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34531 (arg1
)->SetDefaultAction(arg2
);
34532 wxPyEndAllowThreads(__tstate
);
34533 if (PyErr_Occurred()) SWIG_fail
;
34535 resultobj
= SWIG_Py_Void();
34542 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34543 PyObject
*resultobj
= 0;
34544 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34545 wxDragResult result
;
34548 PyObject
*swig_obj
[1] ;
34550 if (!args
) SWIG_fail
;
34551 swig_obj
[0] = args
;
34552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34553 if (!SWIG_IsOK(res1
)) {
34554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34556 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34559 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34560 wxPyEndAllowThreads(__tstate
);
34561 if (PyErr_Occurred()) SWIG_fail
;
34563 resultobj
= SWIG_From_int(static_cast< int >(result
));
34570 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34573 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34574 return SWIG_Py_Void();
34577 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34578 return SWIG_Python_InitShadowInstance(args
);
34581 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34582 PyObject
*resultobj
= 0;
34583 wxPyTextDropTarget
*result
= 0 ;
34585 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34588 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34589 wxPyEndAllowThreads(__tstate
);
34590 if (PyErr_Occurred()) SWIG_fail
;
34592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34599 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34600 PyObject
*resultobj
= 0;
34601 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34602 PyObject
*arg2
= (PyObject
*) 0 ;
34603 PyObject
*arg3
= (PyObject
*) 0 ;
34606 PyObject
* obj0
= 0 ;
34607 PyObject
* obj1
= 0 ;
34608 PyObject
* obj2
= 0 ;
34609 char * kwnames
[] = {
34610 (char *) "self",(char *) "self",(char *) "_class", NULL
34613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34615 if (!SWIG_IsOK(res1
)) {
34616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34618 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34623 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34624 wxPyEndAllowThreads(__tstate
);
34625 if (PyErr_Occurred()) SWIG_fail
;
34627 resultobj
= SWIG_Py_Void();
34634 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34635 PyObject
*resultobj
= 0;
34636 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34639 wxString
*arg4
= 0 ;
34647 bool temp4
= false ;
34648 PyObject
* obj0
= 0 ;
34649 PyObject
* obj1
= 0 ;
34650 PyObject
* obj2
= 0 ;
34651 PyObject
* obj3
= 0 ;
34652 char * kwnames
[] = {
34653 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34658 if (!SWIG_IsOK(res1
)) {
34659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34661 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34663 if (!SWIG_IsOK(ecode2
)) {
34664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34666 arg2
= static_cast< int >(val2
);
34667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34668 if (!SWIG_IsOK(ecode3
)) {
34669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34671 arg3
= static_cast< int >(val3
);
34673 arg4
= wxString_in_helper(obj3
);
34674 if (arg4
== NULL
) SWIG_fail
;
34678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34679 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34680 wxPyEndAllowThreads(__tstate
);
34681 if (PyErr_Occurred()) SWIG_fail
;
34684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34700 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34701 PyObject
*resultobj
= 0;
34702 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34705 wxDragResult arg4
;
34706 wxDragResult result
;
34715 PyObject
* obj0
= 0 ;
34716 PyObject
* obj1
= 0 ;
34717 PyObject
* obj2
= 0 ;
34718 PyObject
* obj3
= 0 ;
34719 char * kwnames
[] = {
34720 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34725 if (!SWIG_IsOK(res1
)) {
34726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34728 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34730 if (!SWIG_IsOK(ecode2
)) {
34731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34733 arg2
= static_cast< int >(val2
);
34734 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34735 if (!SWIG_IsOK(ecode3
)) {
34736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34738 arg3
= static_cast< int >(val3
);
34739 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34740 if (!SWIG_IsOK(ecode4
)) {
34741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34743 arg4
= static_cast< wxDragResult
>(val4
);
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34747 wxPyEndAllowThreads(__tstate
);
34748 if (PyErr_Occurred()) SWIG_fail
;
34750 resultobj
= SWIG_From_int(static_cast< int >(result
));
34757 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34758 PyObject
*resultobj
= 0;
34759 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34762 wxDragResult arg4
;
34763 wxDragResult result
;
34772 PyObject
* obj0
= 0 ;
34773 PyObject
* obj1
= 0 ;
34774 PyObject
* obj2
= 0 ;
34775 PyObject
* obj3
= 0 ;
34776 char * kwnames
[] = {
34777 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34782 if (!SWIG_IsOK(res1
)) {
34783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34785 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34787 if (!SWIG_IsOK(ecode2
)) {
34788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34790 arg2
= static_cast< int >(val2
);
34791 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34792 if (!SWIG_IsOK(ecode3
)) {
34793 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34795 arg3
= static_cast< int >(val3
);
34796 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34797 if (!SWIG_IsOK(ecode4
)) {
34798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34800 arg4
= static_cast< wxDragResult
>(val4
);
34802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34803 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34804 wxPyEndAllowThreads(__tstate
);
34805 if (PyErr_Occurred()) SWIG_fail
;
34807 resultobj
= SWIG_From_int(static_cast< int >(result
));
34814 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34815 PyObject
*resultobj
= 0;
34816 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34819 PyObject
*swig_obj
[1] ;
34821 if (!args
) SWIG_fail
;
34822 swig_obj
[0] = args
;
34823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34824 if (!SWIG_IsOK(res1
)) {
34825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34827 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 wxPyEndAllowThreads(__tstate
);
34832 if (PyErr_Occurred()) SWIG_fail
;
34834 resultobj
= SWIG_Py_Void();
34841 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34842 PyObject
*resultobj
= 0;
34843 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34853 PyObject
* obj0
= 0 ;
34854 PyObject
* obj1
= 0 ;
34855 PyObject
* obj2
= 0 ;
34856 char * kwnames
[] = {
34857 (char *) "self",(char *) "x",(char *) "y", NULL
34860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34862 if (!SWIG_IsOK(res1
)) {
34863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34865 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34867 if (!SWIG_IsOK(ecode2
)) {
34868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34870 arg2
= static_cast< int >(val2
);
34871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34872 if (!SWIG_IsOK(ecode3
)) {
34873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34875 arg3
= static_cast< int >(val3
);
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34878 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34879 wxPyEndAllowThreads(__tstate
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34891 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34892 PyObject
*resultobj
= 0;
34893 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34896 wxDragResult arg4
;
34897 wxDragResult result
;
34906 PyObject
* obj0
= 0 ;
34907 PyObject
* obj1
= 0 ;
34908 PyObject
* obj2
= 0 ;
34909 PyObject
* obj3
= 0 ;
34910 char * kwnames
[] = {
34911 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34916 if (!SWIG_IsOK(res1
)) {
34917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34919 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34921 if (!SWIG_IsOK(ecode2
)) {
34922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34924 arg2
= static_cast< int >(val2
);
34925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34926 if (!SWIG_IsOK(ecode3
)) {
34927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34929 arg3
= static_cast< int >(val3
);
34930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34931 if (!SWIG_IsOK(ecode4
)) {
34932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34934 arg4
= static_cast< wxDragResult
>(val4
);
34936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34937 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34938 wxPyEndAllowThreads(__tstate
);
34939 if (PyErr_Occurred()) SWIG_fail
;
34941 resultobj
= SWIG_From_int(static_cast< int >(result
));
34948 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34950 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34951 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34952 return SWIG_Py_Void();
34955 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34956 return SWIG_Python_InitShadowInstance(args
);
34959 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34960 PyObject
*resultobj
= 0;
34961 wxPyFileDropTarget
*result
= 0 ;
34963 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34966 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34967 wxPyEndAllowThreads(__tstate
);
34968 if (PyErr_Occurred()) SWIG_fail
;
34970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34977 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34978 PyObject
*resultobj
= 0;
34979 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34980 PyObject
*arg2
= (PyObject
*) 0 ;
34981 PyObject
*arg3
= (PyObject
*) 0 ;
34984 PyObject
* obj0
= 0 ;
34985 PyObject
* obj1
= 0 ;
34986 PyObject
* obj2
= 0 ;
34987 char * kwnames
[] = {
34988 (char *) "self",(char *) "self",(char *) "_class", NULL
34991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34993 if (!SWIG_IsOK(res1
)) {
34994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34996 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35001 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35002 wxPyEndAllowThreads(__tstate
);
35003 if (PyErr_Occurred()) SWIG_fail
;
35005 resultobj
= SWIG_Py_Void();
35012 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35013 PyObject
*resultobj
= 0;
35014 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35017 wxArrayString
*arg4
= 0 ;
35025 bool temp4
= false ;
35026 PyObject
* obj0
= 0 ;
35027 PyObject
* obj1
= 0 ;
35028 PyObject
* obj2
= 0 ;
35029 PyObject
* obj3
= 0 ;
35030 char * kwnames
[] = {
35031 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
35034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35036 if (!SWIG_IsOK(res1
)) {
35037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35039 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35041 if (!SWIG_IsOK(ecode2
)) {
35042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
35044 arg2
= static_cast< int >(val2
);
35045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35046 if (!SWIG_IsOK(ecode3
)) {
35047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
35049 arg3
= static_cast< int >(val3
);
35051 if (! PySequence_Check(obj3
)) {
35052 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
35055 arg4
= new wxArrayString
;
35057 int i
, len
=PySequence_Length(obj3
);
35058 for (i
=0; i
<len
; i
++) {
35059 PyObject
* item
= PySequence_GetItem(obj3
, i
);
35060 wxString
* s
= wxString_in_helper(item
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35069 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
35070 wxPyEndAllowThreads(__tstate
);
35071 if (PyErr_Occurred()) SWIG_fail
;
35074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35077 if (temp4
) delete arg4
;
35082 if (temp4
) delete arg4
;
35088 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35089 PyObject
*resultobj
= 0;
35090 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35093 wxDragResult arg4
;
35094 wxDragResult result
;
35103 PyObject
* obj0
= 0 ;
35104 PyObject
* obj1
= 0 ;
35105 PyObject
* obj2
= 0 ;
35106 PyObject
* obj3
= 0 ;
35107 char * kwnames
[] = {
35108 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35113 if (!SWIG_IsOK(res1
)) {
35114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35116 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35118 if (!SWIG_IsOK(ecode2
)) {
35119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
35121 arg2
= static_cast< int >(val2
);
35122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35123 if (!SWIG_IsOK(ecode3
)) {
35124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
35126 arg3
= static_cast< int >(val3
);
35127 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35128 if (!SWIG_IsOK(ecode4
)) {
35129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
35131 arg4
= static_cast< wxDragResult
>(val4
);
35133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35134 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
35135 wxPyEndAllowThreads(__tstate
);
35136 if (PyErr_Occurred()) SWIG_fail
;
35138 resultobj
= SWIG_From_int(static_cast< int >(result
));
35145 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35146 PyObject
*resultobj
= 0;
35147 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35150 wxDragResult arg4
;
35151 wxDragResult result
;
35160 PyObject
* obj0
= 0 ;
35161 PyObject
* obj1
= 0 ;
35162 PyObject
* obj2
= 0 ;
35163 PyObject
* obj3
= 0 ;
35164 char * kwnames
[] = {
35165 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35170 if (!SWIG_IsOK(res1
)) {
35171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35173 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35175 if (!SWIG_IsOK(ecode2
)) {
35176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
35178 arg2
= static_cast< int >(val2
);
35179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35180 if (!SWIG_IsOK(ecode3
)) {
35181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
35183 arg3
= static_cast< int >(val3
);
35184 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35185 if (!SWIG_IsOK(ecode4
)) {
35186 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
35188 arg4
= static_cast< wxDragResult
>(val4
);
35190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35191 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
35192 wxPyEndAllowThreads(__tstate
);
35193 if (PyErr_Occurred()) SWIG_fail
;
35195 resultobj
= SWIG_From_int(static_cast< int >(result
));
35202 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35203 PyObject
*resultobj
= 0;
35204 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35207 PyObject
*swig_obj
[1] ;
35209 if (!args
) SWIG_fail
;
35210 swig_obj
[0] = args
;
35211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35212 if (!SWIG_IsOK(res1
)) {
35213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35215 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35219 wxPyEndAllowThreads(__tstate
);
35220 if (PyErr_Occurred()) SWIG_fail
;
35222 resultobj
= SWIG_Py_Void();
35229 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35230 PyObject
*resultobj
= 0;
35231 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35241 PyObject
* obj0
= 0 ;
35242 PyObject
* obj1
= 0 ;
35243 PyObject
* obj2
= 0 ;
35244 char * kwnames
[] = {
35245 (char *) "self",(char *) "x",(char *) "y", NULL
35248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35250 if (!SWIG_IsOK(res1
)) {
35251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35253 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35255 if (!SWIG_IsOK(ecode2
)) {
35256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35258 arg2
= static_cast< int >(val2
);
35259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35260 if (!SWIG_IsOK(ecode3
)) {
35261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35263 arg3
= static_cast< int >(val3
);
35265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35266 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35267 wxPyEndAllowThreads(__tstate
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35279 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35280 PyObject
*resultobj
= 0;
35281 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35284 wxDragResult arg4
;
35285 wxDragResult result
;
35294 PyObject
* obj0
= 0 ;
35295 PyObject
* obj1
= 0 ;
35296 PyObject
* obj2
= 0 ;
35297 PyObject
* obj3
= 0 ;
35298 char * kwnames
[] = {
35299 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35304 if (!SWIG_IsOK(res1
)) {
35305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35307 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35309 if (!SWIG_IsOK(ecode2
)) {
35310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35312 arg2
= static_cast< int >(val2
);
35313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35314 if (!SWIG_IsOK(ecode3
)) {
35315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35317 arg3
= static_cast< int >(val3
);
35318 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35319 if (!SWIG_IsOK(ecode4
)) {
35320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35322 arg4
= static_cast< wxDragResult
>(val4
);
35324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35325 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35326 wxPyEndAllowThreads(__tstate
);
35327 if (PyErr_Occurred()) SWIG_fail
;
35329 resultobj
= SWIG_From_int(static_cast< int >(result
));
35336 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35339 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35340 return SWIG_Py_Void();
35343 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35344 return SWIG_Python_InitShadowInstance(args
);
35347 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35348 PyObject
*resultobj
= 0;
35349 wxClipboard
*result
= 0 ;
35351 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35354 result
= (wxClipboard
*)new wxClipboard();
35355 wxPyEndAllowThreads(__tstate
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35365 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35366 PyObject
*resultobj
= 0;
35367 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35370 PyObject
*swig_obj
[1] ;
35372 if (!args
) SWIG_fail
;
35373 swig_obj
[0] = args
;
35374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35375 if (!SWIG_IsOK(res1
)) {
35376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35378 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35383 wxPyEndAllowThreads(__tstate
);
35384 if (PyErr_Occurred()) SWIG_fail
;
35386 resultobj
= SWIG_Py_Void();
35393 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35394 PyObject
*resultobj
= 0;
35395 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35399 PyObject
*swig_obj
[1] ;
35401 if (!args
) SWIG_fail
;
35402 swig_obj
[0] = args
;
35403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35404 if (!SWIG_IsOK(res1
)) {
35405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35407 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35410 result
= (bool)(arg1
)->Open();
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35423 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35424 PyObject
*resultobj
= 0;
35425 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35428 PyObject
*swig_obj
[1] ;
35430 if (!args
) SWIG_fail
;
35431 swig_obj
[0] = args
;
35432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35433 if (!SWIG_IsOK(res1
)) {
35434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35436 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35440 wxPyEndAllowThreads(__tstate
);
35441 if (PyErr_Occurred()) SWIG_fail
;
35443 resultobj
= SWIG_Py_Void();
35450 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35451 PyObject
*resultobj
= 0;
35452 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35456 PyObject
*swig_obj
[1] ;
35458 if (!args
) SWIG_fail
;
35459 swig_obj
[0] = args
;
35460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35461 if (!SWIG_IsOK(res1
)) {
35462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35464 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35467 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35468 wxPyEndAllowThreads(__tstate
);
35469 if (PyErr_Occurred()) SWIG_fail
;
35472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35480 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35481 PyObject
*resultobj
= 0;
35482 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35483 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35488 PyObject
* obj0
= 0 ;
35489 PyObject
* obj1
= 0 ;
35490 char * kwnames
[] = {
35491 (char *) "self",(char *) "data", NULL
35494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35496 if (!SWIG_IsOK(res1
)) {
35497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35499 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35500 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35501 if (!SWIG_IsOK(res2
)) {
35502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35506 result
= (bool)(arg1
)->AddData(arg2
);
35507 wxPyEndAllowThreads(__tstate
);
35508 if (PyErr_Occurred()) SWIG_fail
;
35511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35519 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35520 PyObject
*resultobj
= 0;
35521 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35522 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35527 PyObject
* obj0
= 0 ;
35528 PyObject
* obj1
= 0 ;
35529 char * kwnames
[] = {
35530 (char *) "self",(char *) "data", NULL
35533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35535 if (!SWIG_IsOK(res1
)) {
35536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35538 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35539 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35540 if (!SWIG_IsOK(res2
)) {
35541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35545 result
= (bool)(arg1
)->SetData(arg2
);
35546 wxPyEndAllowThreads(__tstate
);
35547 if (PyErr_Occurred()) SWIG_fail
;
35550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35558 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
= 0;
35560 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35561 wxDataFormat
*arg2
= 0 ;
35567 PyObject
* obj0
= 0 ;
35568 PyObject
* obj1
= 0 ;
35569 char * kwnames
[] = {
35570 (char *) "self",(char *) "format", NULL
35573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35575 if (!SWIG_IsOK(res1
)) {
35576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35578 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35580 if (!SWIG_IsOK(res2
)) {
35581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35586 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35589 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35590 wxPyEndAllowThreads(__tstate
);
35591 if (PyErr_Occurred()) SWIG_fail
;
35594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35602 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35603 PyObject
*resultobj
= 0;
35604 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35605 wxDataObject
*arg2
= 0 ;
35611 PyObject
* obj0
= 0 ;
35612 PyObject
* obj1
= 0 ;
35613 char * kwnames
[] = {
35614 (char *) "self",(char *) "data", NULL
35617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35619 if (!SWIG_IsOK(res1
)) {
35620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35622 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35624 if (!SWIG_IsOK(res2
)) {
35625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35630 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35633 result
= (bool)(arg1
)->GetData(*arg2
);
35634 wxPyEndAllowThreads(__tstate
);
35635 if (PyErr_Occurred()) SWIG_fail
;
35638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35646 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35647 PyObject
*resultobj
= 0;
35648 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35651 PyObject
*swig_obj
[1] ;
35653 if (!args
) SWIG_fail
;
35654 swig_obj
[0] = args
;
35655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35656 if (!SWIG_IsOK(res1
)) {
35657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35659 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35663 wxPyEndAllowThreads(__tstate
);
35664 if (PyErr_Occurred()) SWIG_fail
;
35666 resultobj
= SWIG_Py_Void();
35673 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35674 PyObject
*resultobj
= 0;
35675 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35679 PyObject
*swig_obj
[1] ;
35681 if (!args
) SWIG_fail
;
35682 swig_obj
[0] = args
;
35683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35684 if (!SWIG_IsOK(res1
)) {
35685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35687 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35690 result
= (bool)(arg1
)->Flush();
35691 wxPyEndAllowThreads(__tstate
);
35692 if (PyErr_Occurred()) SWIG_fail
;
35695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35703 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35704 PyObject
*resultobj
= 0;
35705 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35706 bool arg2
= (bool) true ;
35711 PyObject
* obj0
= 0 ;
35712 PyObject
* obj1
= 0 ;
35713 char * kwnames
[] = {
35714 (char *) "self",(char *) "primary", NULL
35717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35719 if (!SWIG_IsOK(res1
)) {
35720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35722 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35724 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35725 if (!SWIG_IsOK(ecode2
)) {
35726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35728 arg2
= static_cast< bool >(val2
);
35731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35732 (arg1
)->UsePrimarySelection(arg2
);
35733 wxPyEndAllowThreads(__tstate
);
35734 if (PyErr_Occurred()) SWIG_fail
;
35736 resultobj
= SWIG_Py_Void();
35743 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35744 PyObject
*resultobj
= 0;
35745 wxClipboard
*result
= 0 ;
35747 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35750 result
= (wxClipboard
*)wxClipboard::Get();
35751 wxPyEndAllowThreads(__tstate
);
35752 if (PyErr_Occurred()) SWIG_fail
;
35754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35761 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35764 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35765 return SWIG_Py_Void();
35768 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35769 return SWIG_Python_InitShadowInstance(args
);
35772 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35773 PyObject
*resultobj
= 0;
35774 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35775 wxClipboardLocker
*result
= 0 ;
35778 PyObject
* obj0
= 0 ;
35779 char * kwnames
[] = {
35780 (char *) "clipboard", NULL
35783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35786 if (!SWIG_IsOK(res1
)) {
35787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35789 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35793 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35794 wxPyEndAllowThreads(__tstate
);
35795 if (PyErr_Occurred()) SWIG_fail
;
35797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35804 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35805 PyObject
*resultobj
= 0;
35806 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35809 PyObject
*swig_obj
[1] ;
35811 if (!args
) SWIG_fail
;
35812 swig_obj
[0] = args
;
35813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35814 if (!SWIG_IsOK(res1
)) {
35815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35817 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35822 wxPyEndAllowThreads(__tstate
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35825 resultobj
= SWIG_Py_Void();
35832 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35833 PyObject
*resultobj
= 0;
35834 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35838 PyObject
*swig_obj
[1] ;
35840 if (!args
) SWIG_fail
;
35841 swig_obj
[0] = args
;
35842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35843 if (!SWIG_IsOK(res1
)) {
35844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35846 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35849 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35850 wxPyEndAllowThreads(__tstate
);
35851 if (PyErr_Occurred()) SWIG_fail
;
35854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35862 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35865 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35866 return SWIG_Py_Void();
35869 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35870 return SWIG_Python_InitShadowInstance(args
);
35873 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35874 PyObject
*resultobj
= 0;
35875 int arg1
= (int) 0 ;
35876 int arg2
= (int) 0 ;
35877 int arg3
= (int) 0 ;
35878 int arg4
= (int) 0 ;
35879 wxVideoMode
*result
= 0 ;
35888 PyObject
* obj0
= 0 ;
35889 PyObject
* obj1
= 0 ;
35890 PyObject
* obj2
= 0 ;
35891 PyObject
* obj3
= 0 ;
35892 char * kwnames
[] = {
35893 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35898 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35899 if (!SWIG_IsOK(ecode1
)) {
35900 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35902 arg1
= static_cast< int >(val1
);
35905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35906 if (!SWIG_IsOK(ecode2
)) {
35907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35909 arg2
= static_cast< int >(val2
);
35912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35913 if (!SWIG_IsOK(ecode3
)) {
35914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35916 arg3
= static_cast< int >(val3
);
35919 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35920 if (!SWIG_IsOK(ecode4
)) {
35921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35923 arg4
= static_cast< int >(val4
);
35926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35927 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35928 wxPyEndAllowThreads(__tstate
);
35929 if (PyErr_Occurred()) SWIG_fail
;
35931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35938 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35939 PyObject
*resultobj
= 0;
35940 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35943 PyObject
*swig_obj
[1] ;
35945 if (!args
) SWIG_fail
;
35946 swig_obj
[0] = args
;
35947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35948 if (!SWIG_IsOK(res1
)) {
35949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35951 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35956 wxPyEndAllowThreads(__tstate
);
35957 if (PyErr_Occurred()) SWIG_fail
;
35959 resultobj
= SWIG_Py_Void();
35966 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35967 PyObject
*resultobj
= 0;
35968 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35969 wxVideoMode
*arg2
= 0 ;
35975 PyObject
* obj0
= 0 ;
35976 PyObject
* obj1
= 0 ;
35977 char * kwnames
[] = {
35978 (char *) "self",(char *) "other", NULL
35981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35983 if (!SWIG_IsOK(res1
)) {
35984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35986 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35988 if (!SWIG_IsOK(res2
)) {
35989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35994 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35997 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35998 wxPyEndAllowThreads(__tstate
);
35999 if (PyErr_Occurred()) SWIG_fail
;
36002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36010 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36011 PyObject
*resultobj
= 0;
36012 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36016 PyObject
*swig_obj
[1] ;
36018 if (!args
) SWIG_fail
;
36019 swig_obj
[0] = args
;
36020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36021 if (!SWIG_IsOK(res1
)) {
36022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36024 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36027 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
36028 wxPyEndAllowThreads(__tstate
);
36029 if (PyErr_Occurred()) SWIG_fail
;
36031 resultobj
= SWIG_From_int(static_cast< int >(result
));
36038 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36039 PyObject
*resultobj
= 0;
36040 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36044 PyObject
*swig_obj
[1] ;
36046 if (!args
) SWIG_fail
;
36047 swig_obj
[0] = args
;
36048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36049 if (!SWIG_IsOK(res1
)) {
36050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36052 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36055 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
36056 wxPyEndAllowThreads(__tstate
);
36057 if (PyErr_Occurred()) SWIG_fail
;
36059 resultobj
= SWIG_From_int(static_cast< int >(result
));
36066 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36067 PyObject
*resultobj
= 0;
36068 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36072 PyObject
*swig_obj
[1] ;
36074 if (!args
) SWIG_fail
;
36075 swig_obj
[0] = args
;
36076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36077 if (!SWIG_IsOK(res1
)) {
36078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36080 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36083 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
36084 wxPyEndAllowThreads(__tstate
);
36085 if (PyErr_Occurred()) SWIG_fail
;
36087 resultobj
= SWIG_From_int(static_cast< int >(result
));
36094 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36095 PyObject
*resultobj
= 0;
36096 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36100 PyObject
*swig_obj
[1] ;
36102 if (!args
) SWIG_fail
;
36103 swig_obj
[0] = args
;
36104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36105 if (!SWIG_IsOK(res1
)) {
36106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36108 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36111 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
36112 wxPyEndAllowThreads(__tstate
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36124 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36125 PyObject
*resultobj
= 0;
36126 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36127 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36133 PyObject
* obj0
= 0 ;
36134 PyObject
* obj1
= 0 ;
36135 char * kwnames
[] = {
36136 (char *) "self",(char *) "other", NULL
36139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36141 if (!SWIG_IsOK(res1
)) {
36142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36144 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36146 if (!SWIG_IsOK(res2
)) {
36147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36149 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36152 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
36153 wxPyEndAllowThreads(__tstate
);
36154 if (PyErr_Occurred()) SWIG_fail
;
36157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36165 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36166 PyObject
*resultobj
= 0;
36167 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36168 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36174 PyObject
* obj0
= 0 ;
36175 PyObject
* obj1
= 0 ;
36176 char * kwnames
[] = {
36177 (char *) "self",(char *) "other", NULL
36180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36182 if (!SWIG_IsOK(res1
)) {
36183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36185 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36187 if (!SWIG_IsOK(res2
)) {
36188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36190 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36193 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
36194 wxPyEndAllowThreads(__tstate
);
36195 if (PyErr_Occurred()) SWIG_fail
;
36198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36206 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36207 PyObject
*resultobj
= 0;
36208 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36214 PyObject
*swig_obj
[2] ;
36216 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
36217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36218 if (!SWIG_IsOK(res1
)) {
36219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36221 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36222 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36223 if (!SWIG_IsOK(ecode2
)) {
36224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
36226 arg2
= static_cast< int >(val2
);
36227 if (arg1
) (arg1
)->w
= arg2
;
36229 resultobj
= SWIG_Py_Void();
36236 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36237 PyObject
*resultobj
= 0;
36238 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36242 PyObject
*swig_obj
[1] ;
36244 if (!args
) SWIG_fail
;
36245 swig_obj
[0] = args
;
36246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36247 if (!SWIG_IsOK(res1
)) {
36248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36250 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36251 result
= (int) ((arg1
)->w
);
36252 resultobj
= SWIG_From_int(static_cast< int >(result
));
36259 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36260 PyObject
*resultobj
= 0;
36261 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36267 PyObject
*swig_obj
[2] ;
36269 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36271 if (!SWIG_IsOK(res1
)) {
36272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36274 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36275 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36276 if (!SWIG_IsOK(ecode2
)) {
36277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36279 arg2
= static_cast< int >(val2
);
36280 if (arg1
) (arg1
)->h
= arg2
;
36282 resultobj
= SWIG_Py_Void();
36289 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36290 PyObject
*resultobj
= 0;
36291 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36295 PyObject
*swig_obj
[1] ;
36297 if (!args
) SWIG_fail
;
36298 swig_obj
[0] = args
;
36299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36300 if (!SWIG_IsOK(res1
)) {
36301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36303 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36304 result
= (int) ((arg1
)->h
);
36305 resultobj
= SWIG_From_int(static_cast< int >(result
));
36312 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36313 PyObject
*resultobj
= 0;
36314 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36320 PyObject
*swig_obj
[2] ;
36322 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36324 if (!SWIG_IsOK(res1
)) {
36325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36327 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36328 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36329 if (!SWIG_IsOK(ecode2
)) {
36330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36332 arg2
= static_cast< int >(val2
);
36333 if (arg1
) (arg1
)->bpp
= arg2
;
36335 resultobj
= SWIG_Py_Void();
36342 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36343 PyObject
*resultobj
= 0;
36344 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36348 PyObject
*swig_obj
[1] ;
36350 if (!args
) SWIG_fail
;
36351 swig_obj
[0] = args
;
36352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36353 if (!SWIG_IsOK(res1
)) {
36354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36356 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36357 result
= (int) ((arg1
)->bpp
);
36358 resultobj
= SWIG_From_int(static_cast< int >(result
));
36365 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36366 PyObject
*resultobj
= 0;
36367 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36373 PyObject
*swig_obj
[2] ;
36375 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36377 if (!SWIG_IsOK(res1
)) {
36378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36380 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36381 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36382 if (!SWIG_IsOK(ecode2
)) {
36383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36385 arg2
= static_cast< int >(val2
);
36386 if (arg1
) (arg1
)->refresh
= arg2
;
36388 resultobj
= SWIG_Py_Void();
36395 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36396 PyObject
*resultobj
= 0;
36397 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36401 PyObject
*swig_obj
[1] ;
36403 if (!args
) SWIG_fail
;
36404 swig_obj
[0] = args
;
36405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36406 if (!SWIG_IsOK(res1
)) {
36407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36409 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36410 result
= (int) ((arg1
)->refresh
);
36411 resultobj
= SWIG_From_int(static_cast< int >(result
));
36418 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36421 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36422 return SWIG_Py_Void();
36425 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36426 return SWIG_Python_InitShadowInstance(args
);
36429 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36430 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36435 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36436 PyObject
*pyobj
= 0;
36438 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36443 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36444 PyObject
*resultobj
= 0;
36445 unsigned int arg1
= (unsigned int) 0 ;
36446 wxDisplay
*result
= 0 ;
36447 unsigned int val1
;
36449 PyObject
* obj0
= 0 ;
36450 char * kwnames
[] = {
36451 (char *) "index", NULL
36454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36456 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
36457 if (!SWIG_IsOK(ecode1
)) {
36458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "unsigned int""'");
36460 arg1
= static_cast< unsigned int >(val1
);
36463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36464 result
= (wxDisplay
*)new wxDisplay(arg1
);
36465 wxPyEndAllowThreads(__tstate
);
36466 if (PyErr_Occurred()) SWIG_fail
;
36468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36475 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36476 PyObject
*resultobj
= 0;
36477 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36480 PyObject
*swig_obj
[1] ;
36482 if (!args
) SWIG_fail
;
36483 swig_obj
[0] = args
;
36484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36485 if (!SWIG_IsOK(res1
)) {
36486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36488 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36493 wxPyEndAllowThreads(__tstate
);
36494 if (PyErr_Occurred()) SWIG_fail
;
36496 resultobj
= SWIG_Py_Void();
36503 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36504 PyObject
*resultobj
= 0;
36505 unsigned int result
;
36507 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36510 result
= (unsigned int)wxDisplay::GetCount();
36511 wxPyEndAllowThreads(__tstate
);
36512 if (PyErr_Occurred()) SWIG_fail
;
36514 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
36521 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36522 PyObject
*resultobj
= 0;
36523 wxPoint
*arg1
= 0 ;
36526 PyObject
* obj0
= 0 ;
36527 char * kwnames
[] = {
36528 (char *) "pt", NULL
36531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36534 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36538 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36539 wxPyEndAllowThreads(__tstate
);
36540 if (PyErr_Occurred()) SWIG_fail
;
36542 resultobj
= SWIG_From_int(static_cast< int >(result
));
36549 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36550 PyObject
*resultobj
= 0;
36551 wxWindow
*arg1
= (wxWindow
*) 0 ;
36555 PyObject
* obj0
= 0 ;
36556 char * kwnames
[] = {
36557 (char *) "window", NULL
36560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36562 if (!SWIG_IsOK(res1
)) {
36563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36565 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36568 result
= (int)wxDisplay::GetFromWindow(arg1
);
36569 wxPyEndAllowThreads(__tstate
);
36570 if (PyErr_Occurred()) SWIG_fail
;
36572 resultobj
= SWIG_From_int(static_cast< int >(result
));
36579 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36580 PyObject
*resultobj
= 0;
36581 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36585 PyObject
*swig_obj
[1] ;
36587 if (!args
) SWIG_fail
;
36588 swig_obj
[0] = args
;
36589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36590 if (!SWIG_IsOK(res1
)) {
36591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36593 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36596 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36597 wxPyEndAllowThreads(__tstate
);
36598 if (PyErr_Occurred()) SWIG_fail
;
36601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36609 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36610 PyObject
*resultobj
= 0;
36611 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36615 PyObject
*swig_obj
[1] ;
36617 if (!args
) SWIG_fail
;
36618 swig_obj
[0] = args
;
36619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36620 if (!SWIG_IsOK(res1
)) {
36621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36623 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36626 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36627 wxPyEndAllowThreads(__tstate
);
36628 if (PyErr_Occurred()) SWIG_fail
;
36630 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36637 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36638 PyObject
*resultobj
= 0;
36639 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36643 PyObject
*swig_obj
[1] ;
36645 if (!args
) SWIG_fail
;
36646 swig_obj
[0] = args
;
36647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36648 if (!SWIG_IsOK(res1
)) {
36649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36651 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36654 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36655 wxPyEndAllowThreads(__tstate
);
36656 if (PyErr_Occurred()) SWIG_fail
;
36658 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36665 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36666 PyObject
*resultobj
= 0;
36667 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36671 PyObject
*swig_obj
[1] ;
36673 if (!args
) SWIG_fail
;
36674 swig_obj
[0] = args
;
36675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36676 if (!SWIG_IsOK(res1
)) {
36677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36679 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36682 result
= ((wxDisplay
const *)arg1
)->GetName();
36683 wxPyEndAllowThreads(__tstate
);
36684 if (PyErr_Occurred()) SWIG_fail
;
36688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36699 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36700 PyObject
*resultobj
= 0;
36701 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36705 PyObject
*swig_obj
[1] ;
36707 if (!args
) SWIG_fail
;
36708 swig_obj
[0] = args
;
36709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36710 if (!SWIG_IsOK(res1
)) {
36711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36713 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36716 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36717 wxPyEndAllowThreads(__tstate
);
36718 if (PyErr_Occurred()) SWIG_fail
;
36721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36729 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36730 PyObject
*resultobj
= 0;
36731 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36732 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36733 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36734 PyObject
*result
= 0 ;
36739 PyObject
* obj0
= 0 ;
36740 PyObject
* obj1
= 0 ;
36741 char * kwnames
[] = {
36742 (char *) "self",(char *) "mode", NULL
36745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36747 if (!SWIG_IsOK(res1
)) {
36748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36750 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36752 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36753 if (!SWIG_IsOK(res2
)) {
36754 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36757 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36759 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36763 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36764 wxPyEndAllowThreads(__tstate
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36767 resultobj
= result
;
36774 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36775 PyObject
*resultobj
= 0;
36776 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36777 wxVideoMode result
;
36780 PyObject
*swig_obj
[1] ;
36782 if (!args
) SWIG_fail
;
36783 swig_obj
[0] = args
;
36784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36785 if (!SWIG_IsOK(res1
)) {
36786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36788 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36791 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36792 wxPyEndAllowThreads(__tstate
);
36793 if (PyErr_Occurred()) SWIG_fail
;
36795 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36802 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36803 PyObject
*resultobj
= 0;
36804 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36805 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36806 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36812 PyObject
* obj0
= 0 ;
36813 PyObject
* obj1
= 0 ;
36814 char * kwnames
[] = {
36815 (char *) "self",(char *) "mode", NULL
36818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36820 if (!SWIG_IsOK(res1
)) {
36821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36823 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36826 if (!SWIG_IsOK(res2
)) {
36827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36832 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36836 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36837 wxPyEndAllowThreads(__tstate
);
36838 if (PyErr_Occurred()) SWIG_fail
;
36841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36849 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36850 PyObject
*resultobj
= 0;
36851 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36854 PyObject
*swig_obj
[1] ;
36856 if (!args
) SWIG_fail
;
36857 swig_obj
[0] = args
;
36858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36859 if (!SWIG_IsOK(res1
)) {
36860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36862 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36865 wxDisplay_ResetMode(arg1
);
36866 wxPyEndAllowThreads(__tstate
);
36867 if (PyErr_Occurred()) SWIG_fail
;
36869 resultobj
= SWIG_Py_Void();
36876 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36879 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36880 return SWIG_Py_Void();
36883 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36884 return SWIG_Python_InitShadowInstance(args
);
36887 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36888 PyObject
*resultobj
= 0;
36889 wxStandardPaths
*result
= 0 ;
36891 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36894 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36895 wxPyEndAllowThreads(__tstate
);
36896 if (PyErr_Occurred()) SWIG_fail
;
36898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36905 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36906 PyObject
*resultobj
= 0;
36907 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36911 PyObject
*swig_obj
[1] ;
36913 if (!args
) SWIG_fail
;
36914 swig_obj
[0] = args
;
36915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36916 if (!SWIG_IsOK(res1
)) {
36917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36919 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36922 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36923 wxPyEndAllowThreads(__tstate
);
36924 if (PyErr_Occurred()) SWIG_fail
;
36928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36939 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36940 PyObject
*resultobj
= 0;
36941 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36945 PyObject
*swig_obj
[1] ;
36947 if (!args
) SWIG_fail
;
36948 swig_obj
[0] = args
;
36949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36950 if (!SWIG_IsOK(res1
)) {
36951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36953 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36956 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36957 wxPyEndAllowThreads(__tstate
);
36958 if (PyErr_Occurred()) SWIG_fail
;
36962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36973 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36974 PyObject
*resultobj
= 0;
36975 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36979 PyObject
*swig_obj
[1] ;
36981 if (!args
) SWIG_fail
;
36982 swig_obj
[0] = args
;
36983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36984 if (!SWIG_IsOK(res1
)) {
36985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36987 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36990 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
36991 wxPyEndAllowThreads(__tstate
);
36992 if (PyErr_Occurred()) SWIG_fail
;
36996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37007 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37008 PyObject
*resultobj
= 0;
37009 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37013 PyObject
*swig_obj
[1] ;
37015 if (!args
) SWIG_fail
;
37016 swig_obj
[0] = args
;
37017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37018 if (!SWIG_IsOK(res1
)) {
37019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37021 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37024 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
37025 wxPyEndAllowThreads(__tstate
);
37026 if (PyErr_Occurred()) SWIG_fail
;
37030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37041 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37042 PyObject
*resultobj
= 0;
37043 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37047 PyObject
*swig_obj
[1] ;
37049 if (!args
) SWIG_fail
;
37050 swig_obj
[0] = args
;
37051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37052 if (!SWIG_IsOK(res1
)) {
37053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37055 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37058 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
37059 wxPyEndAllowThreads(__tstate
);
37060 if (PyErr_Occurred()) SWIG_fail
;
37064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37075 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37076 PyObject
*resultobj
= 0;
37077 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37081 PyObject
*swig_obj
[1] ;
37083 if (!args
) SWIG_fail
;
37084 swig_obj
[0] = args
;
37085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37086 if (!SWIG_IsOK(res1
)) {
37087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37089 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37092 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
37093 wxPyEndAllowThreads(__tstate
);
37094 if (PyErr_Occurred()) SWIG_fail
;
37098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37109 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37110 PyObject
*resultobj
= 0;
37111 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37115 PyObject
*swig_obj
[1] ;
37117 if (!args
) SWIG_fail
;
37118 swig_obj
[0] = args
;
37119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37120 if (!SWIG_IsOK(res1
)) {
37121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37123 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37126 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
37127 wxPyEndAllowThreads(__tstate
);
37128 if (PyErr_Occurred()) SWIG_fail
;
37132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37143 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37144 PyObject
*resultobj
= 0;
37145 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37149 PyObject
*swig_obj
[1] ;
37151 if (!args
) SWIG_fail
;
37152 swig_obj
[0] = args
;
37153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37154 if (!SWIG_IsOK(res1
)) {
37155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37157 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37160 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
37161 wxPyEndAllowThreads(__tstate
);
37162 if (PyErr_Occurred()) SWIG_fail
;
37166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37177 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37178 PyObject
*resultobj
= 0;
37179 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37180 wxString
*arg2
= 0 ;
37181 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
37185 bool temp2
= false ;
37188 PyObject
* obj0
= 0 ;
37189 PyObject
* obj1
= 0 ;
37190 PyObject
* obj2
= 0 ;
37191 char * kwnames
[] = {
37192 (char *) "self",(char *) "lang",(char *) "category", NULL
37195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37197 if (!SWIG_IsOK(res1
)) {
37198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37200 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37202 arg2
= wxString_in_helper(obj1
);
37203 if (arg2
== NULL
) SWIG_fail
;
37207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37208 if (!SWIG_IsOK(ecode3
)) {
37209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
37211 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
37214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37215 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
37216 wxPyEndAllowThreads(__tstate
);
37217 if (PyErr_Occurred()) SWIG_fail
;
37221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37240 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37241 PyObject
*resultobj
= 0;
37242 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37246 PyObject
*swig_obj
[1] ;
37248 if (!args
) SWIG_fail
;
37249 swig_obj
[0] = args
;
37250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37251 if (!SWIG_IsOK(res1
)) {
37252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37254 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37257 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37258 wxPyEndAllowThreads(__tstate
);
37259 if (PyErr_Occurred()) SWIG_fail
;
37263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37274 SWIGINTERN PyObject
*_wrap_StandardPaths_GetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37275 PyObject
*resultobj
= 0;
37276 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37280 PyObject
*swig_obj
[1] ;
37282 if (!args
) SWIG_fail
;
37283 swig_obj
[0] = args
;
37284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37285 if (!SWIG_IsOK(res1
)) {
37286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetTempDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37288 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37291 result
= ((wxStandardPaths
const *)arg1
)->GetTempDir();
37292 wxPyEndAllowThreads(__tstate
);
37293 if (PyErr_Occurred()) SWIG_fail
;
37297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37308 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37309 PyObject
*resultobj
= 0;
37310 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37311 wxString
*arg2
= 0 ;
37314 bool temp2
= false ;
37315 PyObject
* obj0
= 0 ;
37316 PyObject
* obj1
= 0 ;
37317 char * kwnames
[] = {
37318 (char *) "self",(char *) "prefix", NULL
37321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37323 if (!SWIG_IsOK(res1
)) {
37324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37326 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37328 arg2
= wxString_in_helper(obj1
);
37329 if (arg2
== NULL
) SWIG_fail
;
37333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37334 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
37335 wxPyEndAllowThreads(__tstate
);
37336 if (PyErr_Occurred()) SWIG_fail
;
37338 resultobj
= SWIG_Py_Void();
37353 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37354 PyObject
*resultobj
= 0;
37355 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37359 PyObject
*swig_obj
[1] ;
37361 if (!args
) SWIG_fail
;
37362 swig_obj
[0] = args
;
37363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37364 if (!SWIG_IsOK(res1
)) {
37365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37367 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37370 result
= wxStandardPaths_GetInstallPrefix(arg1
);
37371 wxPyEndAllowThreads(__tstate
);
37372 if (PyErr_Occurred()) SWIG_fail
;
37376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37387 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37390 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37391 return SWIG_Py_Void();
37394 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37395 PyObject
*resultobj
= 0;
37397 wxPowerEvent
*result
= 0 ;
37400 PyObject
* obj0
= 0 ;
37401 char * kwnames
[] = {
37402 (char *) "evtType", NULL
37405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37406 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37407 if (!SWIG_IsOK(ecode1
)) {
37408 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37410 arg1
= static_cast< wxEventType
>(val1
);
37412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37413 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37414 wxPyEndAllowThreads(__tstate
);
37415 if (PyErr_Occurred()) SWIG_fail
;
37417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37424 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37425 PyObject
*resultobj
= 0;
37426 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37429 PyObject
*swig_obj
[1] ;
37431 if (!args
) SWIG_fail
;
37432 swig_obj
[0] = args
;
37433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37434 if (!SWIG_IsOK(res1
)) {
37435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37437 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37441 wxPyEndAllowThreads(__tstate
);
37442 if (PyErr_Occurred()) SWIG_fail
;
37444 resultobj
= SWIG_Py_Void();
37451 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37452 PyObject
*resultobj
= 0;
37453 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37457 PyObject
*swig_obj
[1] ;
37459 if (!args
) SWIG_fail
;
37460 swig_obj
[0] = args
;
37461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37462 if (!SWIG_IsOK(res1
)) {
37463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37465 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37468 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37469 wxPyEndAllowThreads(__tstate
);
37470 if (PyErr_Occurred()) SWIG_fail
;
37473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37481 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37484 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37485 return SWIG_Py_Void();
37488 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37489 return SWIG_Python_InitShadowInstance(args
);
37492 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37493 PyObject
*resultobj
= 0;
37494 wxPowerType result
;
37496 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37499 result
= (wxPowerType
)wxGetPowerType();
37500 wxPyEndAllowThreads(__tstate
);
37501 if (PyErr_Occurred()) SWIG_fail
;
37503 resultobj
= SWIG_From_int(static_cast< int >(result
));
37510 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37511 PyObject
*resultobj
= 0;
37512 wxBatteryState result
;
37514 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37517 result
= (wxBatteryState
)wxGetBatteryState();
37518 wxPyEndAllowThreads(__tstate
);
37519 if (PyErr_Occurred()) SWIG_fail
;
37521 resultobj
= SWIG_From_int(static_cast< int >(result
));
37528 SWIGINTERN PyObject
*_wrap_new_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37529 PyObject
*resultobj
= 0;
37530 wxAboutDialogInfo
*result
= 0 ;
37532 if (!SWIG_Python_UnpackTuple(args
,"new_AboutDialogInfo",0,0,0)) SWIG_fail
;
37534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 result
= (wxAboutDialogInfo
*)new wxAboutDialogInfo();
37536 wxPyEndAllowThreads(__tstate
);
37537 if (PyErr_Occurred()) SWIG_fail
;
37539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_NEW
| 0 );
37546 SWIGINTERN PyObject
*_wrap_delete_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37547 PyObject
*resultobj
= 0;
37548 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37551 PyObject
*swig_obj
[1] ;
37553 if (!args
) SWIG_fail
;
37554 swig_obj
[0] = args
;
37555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_DISOWN
| 0 );
37556 if (!SWIG_IsOK(res1
)) {
37557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AboutDialogInfo" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37559 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37564 wxPyEndAllowThreads(__tstate
);
37565 if (PyErr_Occurred()) SWIG_fail
;
37567 resultobj
= SWIG_Py_Void();
37574 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37575 PyObject
*resultobj
= 0;
37576 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37577 wxString
*arg2
= 0 ;
37580 bool temp2
= false ;
37581 PyObject
* obj0
= 0 ;
37582 PyObject
* obj1
= 0 ;
37583 char * kwnames
[] = {
37584 (char *) "self",(char *) "name", NULL
37587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37589 if (!SWIG_IsOK(res1
)) {
37590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37592 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37594 arg2
= wxString_in_helper(obj1
);
37595 if (arg2
== NULL
) SWIG_fail
;
37599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37600 (arg1
)->SetName((wxString
const &)*arg2
);
37601 wxPyEndAllowThreads(__tstate
);
37602 if (PyErr_Occurred()) SWIG_fail
;
37604 resultobj
= SWIG_Py_Void();
37619 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37620 PyObject
*resultobj
= 0;
37621 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37625 PyObject
*swig_obj
[1] ;
37627 if (!args
) SWIG_fail
;
37628 swig_obj
[0] = args
;
37629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37630 if (!SWIG_IsOK(res1
)) {
37631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37633 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37636 result
= ((wxAboutDialogInfo
const *)arg1
)->GetName();
37637 wxPyEndAllowThreads(__tstate
);
37638 if (PyErr_Occurred()) SWIG_fail
;
37642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37653 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37654 PyObject
*resultobj
= 0;
37655 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37656 wxString
*arg2
= 0 ;
37659 bool temp2
= false ;
37660 PyObject
* obj0
= 0 ;
37661 PyObject
* obj1
= 0 ;
37662 char * kwnames
[] = {
37663 (char *) "self",(char *) "version", NULL
37666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37668 if (!SWIG_IsOK(res1
)) {
37669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37671 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37673 arg2
= wxString_in_helper(obj1
);
37674 if (arg2
== NULL
) SWIG_fail
;
37678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37679 (arg1
)->SetVersion((wxString
const &)*arg2
);
37680 wxPyEndAllowThreads(__tstate
);
37681 if (PyErr_Occurred()) SWIG_fail
;
37683 resultobj
= SWIG_Py_Void();
37698 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37699 PyObject
*resultobj
= 0;
37700 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37704 PyObject
*swig_obj
[1] ;
37706 if (!args
) SWIG_fail
;
37707 swig_obj
[0] = args
;
37708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37709 if (!SWIG_IsOK(res1
)) {
37710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37712 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37715 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasVersion();
37716 wxPyEndAllowThreads(__tstate
);
37717 if (PyErr_Occurred()) SWIG_fail
;
37720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37728 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37729 PyObject
*resultobj
= 0;
37730 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37734 PyObject
*swig_obj
[1] ;
37736 if (!args
) SWIG_fail
;
37737 swig_obj
[0] = args
;
37738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37739 if (!SWIG_IsOK(res1
)) {
37740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37742 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37745 result
= ((wxAboutDialogInfo
const *)arg1
)->GetVersion();
37746 wxPyEndAllowThreads(__tstate
);
37747 if (PyErr_Occurred()) SWIG_fail
;
37751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37762 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37763 PyObject
*resultobj
= 0;
37764 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37765 wxString
*arg2
= 0 ;
37768 bool temp2
= false ;
37769 PyObject
* obj0
= 0 ;
37770 PyObject
* obj1
= 0 ;
37771 char * kwnames
[] = {
37772 (char *) "self",(char *) "desc", NULL
37775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDescription",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37777 if (!SWIG_IsOK(res1
)) {
37778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37780 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37782 arg2
= wxString_in_helper(obj1
);
37783 if (arg2
== NULL
) SWIG_fail
;
37787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37788 (arg1
)->SetDescription((wxString
const &)*arg2
);
37789 wxPyEndAllowThreads(__tstate
);
37790 if (PyErr_Occurred()) SWIG_fail
;
37792 resultobj
= SWIG_Py_Void();
37807 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37808 PyObject
*resultobj
= 0;
37809 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37813 PyObject
*swig_obj
[1] ;
37815 if (!args
) SWIG_fail
;
37816 swig_obj
[0] = args
;
37817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37818 if (!SWIG_IsOK(res1
)) {
37819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37821 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37824 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDescription();
37825 wxPyEndAllowThreads(__tstate
);
37826 if (PyErr_Occurred()) SWIG_fail
;
37829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37837 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37838 PyObject
*resultobj
= 0;
37839 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37843 PyObject
*swig_obj
[1] ;
37845 if (!args
) SWIG_fail
;
37846 swig_obj
[0] = args
;
37847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37848 if (!SWIG_IsOK(res1
)) {
37849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37851 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37854 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescription();
37855 wxPyEndAllowThreads(__tstate
);
37856 if (PyErr_Occurred()) SWIG_fail
;
37860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37871 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37872 PyObject
*resultobj
= 0;
37873 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37874 wxString
*arg2
= 0 ;
37877 bool temp2
= false ;
37878 PyObject
* obj0
= 0 ;
37879 PyObject
* obj1
= 0 ;
37880 char * kwnames
[] = {
37881 (char *) "self",(char *) "copyright", NULL
37884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetCopyright",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37886 if (!SWIG_IsOK(res1
)) {
37887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37889 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37891 arg2
= wxString_in_helper(obj1
);
37892 if (arg2
== NULL
) SWIG_fail
;
37896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37897 (arg1
)->SetCopyright((wxString
const &)*arg2
);
37898 wxPyEndAllowThreads(__tstate
);
37899 if (PyErr_Occurred()) SWIG_fail
;
37901 resultobj
= SWIG_Py_Void();
37916 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37917 PyObject
*resultobj
= 0;
37918 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37922 PyObject
*swig_obj
[1] ;
37924 if (!args
) SWIG_fail
;
37925 swig_obj
[0] = args
;
37926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37927 if (!SWIG_IsOK(res1
)) {
37928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37930 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37933 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasCopyright();
37934 wxPyEndAllowThreads(__tstate
);
37935 if (PyErr_Occurred()) SWIG_fail
;
37938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37946 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37947 PyObject
*resultobj
= 0;
37948 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37952 PyObject
*swig_obj
[1] ;
37954 if (!args
) SWIG_fail
;
37955 swig_obj
[0] = args
;
37956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37957 if (!SWIG_IsOK(res1
)) {
37958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37960 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37963 result
= ((wxAboutDialogInfo
const *)arg1
)->GetCopyright();
37964 wxPyEndAllowThreads(__tstate
);
37965 if (PyErr_Occurred()) SWIG_fail
;
37969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37980 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37981 PyObject
*resultobj
= 0;
37982 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37983 wxString
*arg2
= 0 ;
37986 bool temp2
= false ;
37987 PyObject
* obj0
= 0 ;
37988 PyObject
* obj1
= 0 ;
37989 char * kwnames
[] = {
37990 (char *) "self",(char *) "licence", NULL
37993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicence",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37995 if (!SWIG_IsOK(res1
)) {
37996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37998 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38000 arg2
= wxString_in_helper(obj1
);
38001 if (arg2
== NULL
) SWIG_fail
;
38005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38006 (arg1
)->SetLicence((wxString
const &)*arg2
);
38007 wxPyEndAllowThreads(__tstate
);
38008 if (PyErr_Occurred()) SWIG_fail
;
38010 resultobj
= SWIG_Py_Void();
38025 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicense(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38026 PyObject
*resultobj
= 0;
38027 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38028 wxString
*arg2
= 0 ;
38031 bool temp2
= false ;
38032 PyObject
* obj0
= 0 ;
38033 PyObject
* obj1
= 0 ;
38034 char * kwnames
[] = {
38035 (char *) "self",(char *) "licence", NULL
38038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicense",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38040 if (!SWIG_IsOK(res1
)) {
38041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicense" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38043 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38045 arg2
= wxString_in_helper(obj1
);
38046 if (arg2
== NULL
) SWIG_fail
;
38050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38051 (arg1
)->SetLicense((wxString
const &)*arg2
);
38052 wxPyEndAllowThreads(__tstate
);
38053 if (PyErr_Occurred()) SWIG_fail
;
38055 resultobj
= SWIG_Py_Void();
38070 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38071 PyObject
*resultobj
= 0;
38072 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38076 PyObject
*swig_obj
[1] ;
38078 if (!args
) SWIG_fail
;
38079 swig_obj
[0] = args
;
38080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38081 if (!SWIG_IsOK(res1
)) {
38082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38084 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38087 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasLicence();
38088 wxPyEndAllowThreads(__tstate
);
38089 if (PyErr_Occurred()) SWIG_fail
;
38092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38100 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38101 PyObject
*resultobj
= 0;
38102 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38106 PyObject
*swig_obj
[1] ;
38108 if (!args
) SWIG_fail
;
38109 swig_obj
[0] = args
;
38110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38111 if (!SWIG_IsOK(res1
)) {
38112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38114 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38117 result
= ((wxAboutDialogInfo
const *)arg1
)->GetLicence();
38118 wxPyEndAllowThreads(__tstate
);
38119 if (PyErr_Occurred()) SWIG_fail
;
38123 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38125 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38134 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38135 PyObject
*resultobj
= 0;
38136 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38142 PyObject
* obj0
= 0 ;
38143 PyObject
* obj1
= 0 ;
38144 char * kwnames
[] = {
38145 (char *) "self",(char *) "icon", NULL
38148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38150 if (!SWIG_IsOK(res1
)) {
38151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38153 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38155 if (!SWIG_IsOK(res2
)) {
38156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38161 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38164 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
38165 wxPyEndAllowThreads(__tstate
);
38166 if (PyErr_Occurred()) SWIG_fail
;
38168 resultobj
= SWIG_Py_Void();
38175 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38176 PyObject
*resultobj
= 0;
38177 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38181 PyObject
*swig_obj
[1] ;
38183 if (!args
) SWIG_fail
;
38184 swig_obj
[0] = args
;
38185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38186 if (!SWIG_IsOK(res1
)) {
38187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38189 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38192 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasIcon();
38193 wxPyEndAllowThreads(__tstate
);
38194 if (PyErr_Occurred()) SWIG_fail
;
38197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38205 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38206 PyObject
*resultobj
= 0;
38207 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38211 PyObject
*swig_obj
[1] ;
38213 if (!args
) SWIG_fail
;
38214 swig_obj
[0] = args
;
38215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38216 if (!SWIG_IsOK(res1
)) {
38217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38219 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38222 result
= ((wxAboutDialogInfo
const *)arg1
)->GetIcon();
38223 wxPyEndAllowThreads(__tstate
);
38224 if (PyErr_Occurred()) SWIG_fail
;
38226 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
38233 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__SetWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38234 PyObject
*resultobj
= 0;
38235 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38236 wxString
*arg2
= 0 ;
38237 wxString
const &arg3_defvalue
= wxEmptyString
;
38238 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
38241 bool temp2
= false ;
38242 bool temp3
= false ;
38243 PyObject
* obj0
= 0 ;
38244 PyObject
* obj1
= 0 ;
38245 PyObject
* obj2
= 0 ;
38246 char * kwnames
[] = {
38247 (char *) "self",(char *) "url",(char *) "desc", NULL
38250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AboutDialogInfo__SetWebSite",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38252 if (!SWIG_IsOK(res1
)) {
38253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__SetWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38255 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38257 arg2
= wxString_in_helper(obj1
);
38258 if (arg2
== NULL
) SWIG_fail
;
38263 arg3
= wxString_in_helper(obj2
);
38264 if (arg3
== NULL
) SWIG_fail
;
38269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38270 (arg1
)->SetWebSite((wxString
const &)*arg2
,(wxString
const &)*arg3
);
38271 wxPyEndAllowThreads(__tstate
);
38272 if (PyErr_Occurred()) SWIG_fail
;
38274 resultobj
= SWIG_Py_Void();
38297 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38298 PyObject
*resultobj
= 0;
38299 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38303 PyObject
*swig_obj
[1] ;
38305 if (!args
) SWIG_fail
;
38306 swig_obj
[0] = args
;
38307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38308 if (!SWIG_IsOK(res1
)) {
38309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteURL" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38311 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38314 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteURL();
38315 wxPyEndAllowThreads(__tstate
);
38316 if (PyErr_Occurred()) SWIG_fail
;
38320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38331 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38332 PyObject
*resultobj
= 0;
38333 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38337 PyObject
*swig_obj
[1] ;
38339 if (!args
) SWIG_fail
;
38340 swig_obj
[0] = args
;
38341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38342 if (!SWIG_IsOK(res1
)) {
38343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38345 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38348 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteDescription();
38349 wxPyEndAllowThreads(__tstate
);
38350 if (PyErr_Occurred()) SWIG_fail
;
38354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38365 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38366 PyObject
*resultobj
= 0;
38367 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38371 PyObject
*swig_obj
[1] ;
38373 if (!args
) SWIG_fail
;
38374 swig_obj
[0] = args
;
38375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38376 if (!SWIG_IsOK(res1
)) {
38377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38379 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38382 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasWebSite();
38383 wxPyEndAllowThreads(__tstate
);
38384 if (PyErr_Occurred()) SWIG_fail
;
38387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38395 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38396 PyObject
*resultobj
= 0;
38397 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38398 wxArrayString
*arg2
= 0 ;
38401 bool temp2
= false ;
38402 PyObject
* obj0
= 0 ;
38403 PyObject
* obj1
= 0 ;
38404 char * kwnames
[] = {
38405 (char *) "self",(char *) "developers", NULL
38408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDevelopers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38410 if (!SWIG_IsOK(res1
)) {
38411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38413 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38415 if (! PySequence_Check(obj1
)) {
38416 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38419 arg2
= new wxArrayString
;
38421 int i
, len
=PySequence_Length(obj1
);
38422 for (i
=0; i
<len
; i
++) {
38423 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38424 wxString
* s
= wxString_in_helper(item
);
38425 if (PyErr_Occurred()) SWIG_fail
;
38432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38433 (arg1
)->SetDevelopers((wxArrayString
const &)*arg2
);
38434 wxPyEndAllowThreads(__tstate
);
38435 if (PyErr_Occurred()) SWIG_fail
;
38437 resultobj
= SWIG_Py_Void();
38439 if (temp2
) delete arg2
;
38444 if (temp2
) delete arg2
;
38450 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDeveloper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38451 PyObject
*resultobj
= 0;
38452 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38453 wxString
*arg2
= 0 ;
38456 bool temp2
= false ;
38457 PyObject
* obj0
= 0 ;
38458 PyObject
* obj1
= 0 ;
38459 char * kwnames
[] = {
38460 (char *) "self",(char *) "developer", NULL
38463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDeveloper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38465 if (!SWIG_IsOK(res1
)) {
38466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDeveloper" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38468 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38470 arg2
= wxString_in_helper(obj1
);
38471 if (arg2
== NULL
) SWIG_fail
;
38475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38476 (arg1
)->AddDeveloper((wxString
const &)*arg2
);
38477 wxPyEndAllowThreads(__tstate
);
38478 if (PyErr_Occurred()) SWIG_fail
;
38480 resultobj
= SWIG_Py_Void();
38495 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38496 PyObject
*resultobj
= 0;
38497 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38501 PyObject
*swig_obj
[1] ;
38503 if (!args
) SWIG_fail
;
38504 swig_obj
[0] = args
;
38505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38506 if (!SWIG_IsOK(res1
)) {
38507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38509 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38512 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDevelopers();
38513 wxPyEndAllowThreads(__tstate
);
38514 if (PyErr_Occurred()) SWIG_fail
;
38517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38525 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38526 PyObject
*resultobj
= 0;
38527 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38528 wxArrayString
*result
= 0 ;
38531 PyObject
*swig_obj
[1] ;
38533 if (!args
) SWIG_fail
;
38534 swig_obj
[0] = args
;
38535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38536 if (!SWIG_IsOK(res1
)) {
38537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38539 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38543 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDevelopers();
38544 result
= (wxArrayString
*) &_result_ref
;
38546 wxPyEndAllowThreads(__tstate
);
38547 if (PyErr_Occurred()) SWIG_fail
;
38550 resultobj
= wxArrayString2PyList_helper(*result
);
38558 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38559 PyObject
*resultobj
= 0;
38560 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38561 wxArrayString
*arg2
= 0 ;
38564 bool temp2
= false ;
38565 PyObject
* obj0
= 0 ;
38566 PyObject
* obj1
= 0 ;
38567 char * kwnames
[] = {
38568 (char *) "self",(char *) "docwriters", NULL
38571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDocWriters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38573 if (!SWIG_IsOK(res1
)) {
38574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38576 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38578 if (! PySequence_Check(obj1
)) {
38579 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38582 arg2
= new wxArrayString
;
38584 int i
, len
=PySequence_Length(obj1
);
38585 for (i
=0; i
<len
; i
++) {
38586 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38587 wxString
* s
= wxString_in_helper(item
);
38588 if (PyErr_Occurred()) SWIG_fail
;
38595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38596 (arg1
)->SetDocWriters((wxArrayString
const &)*arg2
);
38597 wxPyEndAllowThreads(__tstate
);
38598 if (PyErr_Occurred()) SWIG_fail
;
38600 resultobj
= SWIG_Py_Void();
38602 if (temp2
) delete arg2
;
38607 if (temp2
) delete arg2
;
38613 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDocWriter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38614 PyObject
*resultobj
= 0;
38615 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38616 wxString
*arg2
= 0 ;
38619 bool temp2
= false ;
38620 PyObject
* obj0
= 0 ;
38621 PyObject
* obj1
= 0 ;
38622 char * kwnames
[] = {
38623 (char *) "self",(char *) "docwriter", NULL
38626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDocWriter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38628 if (!SWIG_IsOK(res1
)) {
38629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDocWriter" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38631 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38633 arg2
= wxString_in_helper(obj1
);
38634 if (arg2
== NULL
) SWIG_fail
;
38638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38639 (arg1
)->AddDocWriter((wxString
const &)*arg2
);
38640 wxPyEndAllowThreads(__tstate
);
38641 if (PyErr_Occurred()) SWIG_fail
;
38643 resultobj
= SWIG_Py_Void();
38658 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38659 PyObject
*resultobj
= 0;
38660 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38664 PyObject
*swig_obj
[1] ;
38666 if (!args
) SWIG_fail
;
38667 swig_obj
[0] = args
;
38668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38669 if (!SWIG_IsOK(res1
)) {
38670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38672 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38675 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDocWriters();
38676 wxPyEndAllowThreads(__tstate
);
38677 if (PyErr_Occurred()) SWIG_fail
;
38680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38688 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38689 PyObject
*resultobj
= 0;
38690 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38691 wxArrayString
*result
= 0 ;
38694 PyObject
*swig_obj
[1] ;
38696 if (!args
) SWIG_fail
;
38697 swig_obj
[0] = args
;
38698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38699 if (!SWIG_IsOK(res1
)) {
38700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38702 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38706 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDocWriters();
38707 result
= (wxArrayString
*) &_result_ref
;
38709 wxPyEndAllowThreads(__tstate
);
38710 if (PyErr_Occurred()) SWIG_fail
;
38713 resultobj
= wxArrayString2PyList_helper(*result
);
38721 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38722 PyObject
*resultobj
= 0;
38723 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38724 wxArrayString
*arg2
= 0 ;
38727 bool temp2
= false ;
38728 PyObject
* obj0
= 0 ;
38729 PyObject
* obj1
= 0 ;
38730 char * kwnames
[] = {
38731 (char *) "self",(char *) "artists", NULL
38734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetArtists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38736 if (!SWIG_IsOK(res1
)) {
38737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38739 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38741 if (! PySequence_Check(obj1
)) {
38742 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38745 arg2
= new wxArrayString
;
38747 int i
, len
=PySequence_Length(obj1
);
38748 for (i
=0; i
<len
; i
++) {
38749 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38750 wxString
* s
= wxString_in_helper(item
);
38751 if (PyErr_Occurred()) SWIG_fail
;
38758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38759 (arg1
)->SetArtists((wxArrayString
const &)*arg2
);
38760 wxPyEndAllowThreads(__tstate
);
38761 if (PyErr_Occurred()) SWIG_fail
;
38763 resultobj
= SWIG_Py_Void();
38765 if (temp2
) delete arg2
;
38770 if (temp2
) delete arg2
;
38776 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddArtist(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38777 PyObject
*resultobj
= 0;
38778 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38779 wxString
*arg2
= 0 ;
38782 bool temp2
= false ;
38783 PyObject
* obj0
= 0 ;
38784 PyObject
* obj1
= 0 ;
38785 char * kwnames
[] = {
38786 (char *) "self",(char *) "artist", NULL
38789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddArtist",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38791 if (!SWIG_IsOK(res1
)) {
38792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddArtist" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38794 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38796 arg2
= wxString_in_helper(obj1
);
38797 if (arg2
== NULL
) SWIG_fail
;
38801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38802 (arg1
)->AddArtist((wxString
const &)*arg2
);
38803 wxPyEndAllowThreads(__tstate
);
38804 if (PyErr_Occurred()) SWIG_fail
;
38806 resultobj
= SWIG_Py_Void();
38821 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38822 PyObject
*resultobj
= 0;
38823 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38827 PyObject
*swig_obj
[1] ;
38829 if (!args
) SWIG_fail
;
38830 swig_obj
[0] = args
;
38831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38832 if (!SWIG_IsOK(res1
)) {
38833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38835 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38838 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasArtists();
38839 wxPyEndAllowThreads(__tstate
);
38840 if (PyErr_Occurred()) SWIG_fail
;
38843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38851 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38852 PyObject
*resultobj
= 0;
38853 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38854 wxArrayString
*result
= 0 ;
38857 PyObject
*swig_obj
[1] ;
38859 if (!args
) SWIG_fail
;
38860 swig_obj
[0] = args
;
38861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38862 if (!SWIG_IsOK(res1
)) {
38863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38865 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38869 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetArtists();
38870 result
= (wxArrayString
*) &_result_ref
;
38872 wxPyEndAllowThreads(__tstate
);
38873 if (PyErr_Occurred()) SWIG_fail
;
38876 resultobj
= wxArrayString2PyList_helper(*result
);
38884 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38885 PyObject
*resultobj
= 0;
38886 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38887 wxArrayString
*arg2
= 0 ;
38890 bool temp2
= false ;
38891 PyObject
* obj0
= 0 ;
38892 PyObject
* obj1
= 0 ;
38893 char * kwnames
[] = {
38894 (char *) "self",(char *) "translators", NULL
38897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetTranslators",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38899 if (!SWIG_IsOK(res1
)) {
38900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38902 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38904 if (! PySequence_Check(obj1
)) {
38905 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38908 arg2
= new wxArrayString
;
38910 int i
, len
=PySequence_Length(obj1
);
38911 for (i
=0; i
<len
; i
++) {
38912 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38913 wxString
* s
= wxString_in_helper(item
);
38914 if (PyErr_Occurred()) SWIG_fail
;
38921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38922 (arg1
)->SetTranslators((wxArrayString
const &)*arg2
);
38923 wxPyEndAllowThreads(__tstate
);
38924 if (PyErr_Occurred()) SWIG_fail
;
38926 resultobj
= SWIG_Py_Void();
38928 if (temp2
) delete arg2
;
38933 if (temp2
) delete arg2
;
38939 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddTranslator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38940 PyObject
*resultobj
= 0;
38941 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38942 wxString
*arg2
= 0 ;
38945 bool temp2
= false ;
38946 PyObject
* obj0
= 0 ;
38947 PyObject
* obj1
= 0 ;
38948 char * kwnames
[] = {
38949 (char *) "self",(char *) "translator", NULL
38952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddTranslator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38954 if (!SWIG_IsOK(res1
)) {
38955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddTranslator" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38957 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38959 arg2
= wxString_in_helper(obj1
);
38960 if (arg2
== NULL
) SWIG_fail
;
38964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38965 (arg1
)->AddTranslator((wxString
const &)*arg2
);
38966 wxPyEndAllowThreads(__tstate
);
38967 if (PyErr_Occurred()) SWIG_fail
;
38969 resultobj
= SWIG_Py_Void();
38984 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38985 PyObject
*resultobj
= 0;
38986 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38990 PyObject
*swig_obj
[1] ;
38992 if (!args
) SWIG_fail
;
38993 swig_obj
[0] = args
;
38994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38995 if (!SWIG_IsOK(res1
)) {
38996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38998 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39001 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasTranslators();
39002 wxPyEndAllowThreads(__tstate
);
39003 if (PyErr_Occurred()) SWIG_fail
;
39006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39014 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39015 PyObject
*resultobj
= 0;
39016 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39017 wxArrayString
*result
= 0 ;
39020 PyObject
*swig_obj
[1] ;
39022 if (!args
) SWIG_fail
;
39023 swig_obj
[0] = args
;
39024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39025 if (!SWIG_IsOK(res1
)) {
39026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39028 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39032 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetTranslators();
39033 result
= (wxArrayString
*) &_result_ref
;
39035 wxPyEndAllowThreads(__tstate
);
39036 if (PyErr_Occurred()) SWIG_fail
;
39039 resultobj
= wxArrayString2PyList_helper(*result
);
39047 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_IsSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39048 PyObject
*resultobj
= 0;
39049 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39053 PyObject
*swig_obj
[1] ;
39055 if (!args
) SWIG_fail
;
39056 swig_obj
[0] = args
;
39057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39058 if (!SWIG_IsOK(res1
)) {
39059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_IsSimple" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39061 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39064 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->IsSimple();
39065 wxPyEndAllowThreads(__tstate
);
39066 if (PyErr_Occurred()) SWIG_fail
;
39069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39077 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescriptionAndCredits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39078 PyObject
*resultobj
= 0;
39079 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39083 PyObject
*swig_obj
[1] ;
39085 if (!args
) SWIG_fail
;
39086 swig_obj
[0] = args
;
39087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39088 if (!SWIG_IsOK(res1
)) {
39089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescriptionAndCredits" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39091 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39094 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescriptionAndCredits();
39095 wxPyEndAllowThreads(__tstate
);
39096 if (PyErr_Occurred()) SWIG_fail
;
39100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39111 SWIGINTERN PyObject
*AboutDialogInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39114 SWIG_TypeNewClientData(SWIGTYPE_p_wxAboutDialogInfo
, SWIG_NewClientData(obj
));
39115 return SWIG_Py_Void();
39118 SWIGINTERN PyObject
*AboutDialogInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39119 return SWIG_Python_InitShadowInstance(args
);
39122 SWIGINTERN PyObject
*_wrap_AboutBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39123 PyObject
*resultobj
= 0;
39124 wxAboutDialogInfo
*arg1
= 0 ;
39127 PyObject
* obj0
= 0 ;
39128 char * kwnames
[] = {
39129 (char *) "info", NULL
39132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AboutBox",kwnames
,&obj0
)) SWIG_fail
;
39133 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0);
39134 if (!SWIG_IsOK(res1
)) {
39135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39140 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39143 wxAboutBox((wxAboutDialogInfo
const &)*arg1
);
39144 wxPyEndAllowThreads(__tstate
);
39145 if (PyErr_Occurred()) SWIG_fail
;
39147 resultobj
= SWIG_Py_Void();
39154 static PyMethodDef SwigMethods
[] = {
39155 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
39160 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
39162 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
39163 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
39170 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
39171 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
39172 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
39174 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
39179 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
39180 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
39182 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
39183 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
39185 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
39186 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
39187 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
39188 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
39189 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
39190 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
39197 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
39198 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
39199 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
39200 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
39201 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
39202 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
39204 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
39205 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
39216 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
39217 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
39218 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
39219 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
39220 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
39221 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
39222 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
39223 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
39224 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
39226 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
39228 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
39229 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
39230 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
39236 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
39237 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
39238 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
39239 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
39240 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
39241 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
39242 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
39243 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
39244 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
39245 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
39246 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
39247 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
39257 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
39258 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
39259 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
39260 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
39261 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
39262 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
39263 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
39264 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
39265 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
39266 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
39267 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
39269 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
39271 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
39272 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
39275 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
39276 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
39278 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
39279 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
39280 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
39281 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
39282 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
39283 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
39284 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
39285 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
39286 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
39292 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
39293 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
39295 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
39296 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
39298 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
39299 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
39300 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
39302 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
39303 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
39304 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
39306 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
39307 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
39308 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
39309 { (char *)"delete_StopWatch", (PyCFunction
)_wrap_delete_StopWatch
, METH_O
, NULL
},
39310 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
39312 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
39313 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
39314 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
39315 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
39316 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
39318 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
39321 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
39326 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
39329 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
39330 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
39331 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
39333 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
39334 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
39336 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
39337 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
39338 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
39339 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
39342 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
39343 { (char *)"PlatformInformation_CheckOSVersion", (PyCFunction
) _wrap_PlatformInformation_CheckOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
39345 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
39346 { (char *)"PlatformInformation_CheckToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_CheckToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
39348 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
39349 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
39350 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
39351 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
39352 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
39353 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
39354 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
39355 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
39356 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
39357 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
39358 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
39365 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
39366 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
39367 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
39369 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
39370 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
39371 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
39373 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
39376 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
39377 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
39381 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
39384 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
39386 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
39387 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
39388 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
39389 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
39390 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
39391 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
39392 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
39393 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
39395 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
39396 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
39397 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
39398 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
39399 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
39401 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
39402 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
39403 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
39404 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
39405 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
39408 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
39409 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
39410 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
39412 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
39413 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39416 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
39418 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
39422 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
39423 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
39425 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
39426 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
39428 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
39429 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
39430 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
39431 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
39432 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
39433 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
39434 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
39435 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
39436 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
39438 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
39439 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
39440 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
39441 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
39442 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
39445 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
39446 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
39447 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
39449 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
39450 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
39454 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
39455 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
39456 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
39457 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
39458 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
39459 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
39460 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
39461 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
39462 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
39475 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
39477 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
39478 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
39479 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
39480 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
39481 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
39483 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
39484 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"delete_Process", (PyCFunction
)_wrap_delete_Process
, METH_O
, NULL
},
39489 { (char *)"Process_GetPid", (PyCFunction
)_wrap_Process_GetPid
, METH_O
, NULL
},
39490 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
39493 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
39494 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
39495 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
39496 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
39497 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
39498 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
39499 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
39500 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
39501 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
39502 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
39503 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
39504 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
39506 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
39507 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
39508 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
39509 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
39510 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
39511 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
39512 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
39513 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
39517 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
39518 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
39519 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
39520 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
39521 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
39522 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
39523 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
39524 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
39525 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
39526 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
39528 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
39529 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
39530 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
39531 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
39532 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
39533 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
39534 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
39535 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
39536 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
39537 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
39538 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
39539 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
39540 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
39541 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
39542 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
39543 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
39544 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
39545 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
39546 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
39547 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
39548 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
39549 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
39550 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
39551 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
39552 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
39553 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
39554 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
39555 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
39556 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
39557 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
39559 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
39560 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
39561 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
39563 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
39564 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
39565 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
39566 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
39567 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
39573 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
39574 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
39575 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
39579 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
39580 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
39583 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
39586 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
39589 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
39590 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
39591 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
39594 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
39595 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
39598 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
39599 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
39600 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
39601 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
39602 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
39603 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
39604 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
39605 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
39606 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
39607 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
39608 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
39610 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
39611 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
39612 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
39613 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
39614 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
39615 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
39616 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
39622 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
39624 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
39625 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
39627 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
39629 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
39634 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
39638 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
39639 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
39640 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
39641 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
39642 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"ArtProvider_Push", (PyCFunction
) _wrap_ArtProvider_Push
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"ArtProvider_Insert", (PyCFunction
) _wrap_ArtProvider_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"ArtProvider_Pop", (PyCFunction
)_wrap_ArtProvider_Pop
, METH_NOARGS
, NULL
},
39646 { (char *)"ArtProvider_Delete", (PyCFunction
) _wrap_ArtProvider_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
39651 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
39652 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
39653 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
39654 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
39657 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39658 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
39660 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
39661 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
39663 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
39684 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
39686 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
39688 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
39690 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
39691 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
39695 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
39696 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
39698 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
39699 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
39700 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
39702 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
39703 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
39704 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
39706 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
39707 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
39708 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
39709 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
39712 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
39723 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
39727 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
39728 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
39729 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
39730 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
39736 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
39737 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
39742 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
39766 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
39767 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
39768 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
39769 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
39770 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
39782 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
39783 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
39809 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
39810 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
39811 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
39812 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
39825 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
39826 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
39827 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
39828 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
39829 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
39830 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
39832 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
39834 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
39836 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
39838 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
39840 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
39842 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
39844 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
39848 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
39849 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
39853 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
39864 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
39865 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
39866 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
39870 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
39871 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
39872 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
39873 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
39874 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
39875 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
39877 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
39878 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
39880 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
39882 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
39884 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
39886 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
39888 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
39893 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
39894 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
39895 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
39896 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
39897 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
39900 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
39904 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
39912 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
39913 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
39914 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
39915 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
39916 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
39917 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39919 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
39920 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
39921 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
39922 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
39924 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
39925 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
39927 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
39928 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
39929 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
39937 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
39939 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
39941 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
39942 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39944 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39945 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39948 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39949 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
39950 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
39952 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
39953 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
39954 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39955 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
39956 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
39957 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
39959 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
39960 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
39963 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
39964 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
39966 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39968 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39969 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39972 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39973 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
39974 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
39975 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
39977 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
39978 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
39979 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39980 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
39981 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
39982 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
39983 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
39984 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39985 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
39986 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
39988 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
39989 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
39990 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39991 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
39992 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
39993 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
39994 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39995 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
39998 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39999 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
40000 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40001 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40003 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
40004 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
40005 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
40008 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
40009 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40011 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40012 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
40013 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
40015 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40016 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
40017 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
40018 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
40019 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
40020 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40024 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
40025 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40027 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
40028 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
40029 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
40030 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
40035 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40036 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40037 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
40038 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
40039 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
40040 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
40041 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
40042 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
40043 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
40044 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
40049 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
40050 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
40052 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
40053 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
40054 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
40056 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
40057 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
40058 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
40059 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40060 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
40061 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40062 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
40063 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
40064 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
40065 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
40066 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
40069 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
40070 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
40071 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
40072 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
40073 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
40074 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
40075 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
40076 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
40077 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
40078 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40079 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
40080 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
40081 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40083 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
40084 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
40085 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
40086 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
40087 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
40088 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
40090 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
40092 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
40093 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
40094 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
40095 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
40096 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
40097 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
40098 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
40099 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
40100 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
40101 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
40102 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
40103 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40104 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
40105 { (char *)"StandardPaths_GetTempDir", (PyCFunction
)_wrap_StandardPaths_GetTempDir
, METH_O
, NULL
},
40106 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40107 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
40108 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
40109 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40110 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
40111 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
40112 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
40113 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
40114 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
40115 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
40116 { (char *)"new_AboutDialogInfo", (PyCFunction
)_wrap_new_AboutDialogInfo
, METH_NOARGS
, NULL
},
40117 { (char *)"delete_AboutDialogInfo", (PyCFunction
)_wrap_delete_AboutDialogInfo
, METH_O
, NULL
},
40118 { (char *)"AboutDialogInfo_SetName", (PyCFunction
) _wrap_AboutDialogInfo_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"AboutDialogInfo_GetName", (PyCFunction
)_wrap_AboutDialogInfo_GetName
, METH_O
, NULL
},
40120 { (char *)"AboutDialogInfo_SetVersion", (PyCFunction
) _wrap_AboutDialogInfo_SetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"AboutDialogInfo_HasVersion", (PyCFunction
)_wrap_AboutDialogInfo_HasVersion
, METH_O
, NULL
},
40122 { (char *)"AboutDialogInfo_GetVersion", (PyCFunction
)_wrap_AboutDialogInfo_GetVersion
, METH_O
, NULL
},
40123 { (char *)"AboutDialogInfo_SetDescription", (PyCFunction
) _wrap_AboutDialogInfo_SetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40124 { (char *)"AboutDialogInfo_HasDescription", (PyCFunction
)_wrap_AboutDialogInfo_HasDescription
, METH_O
, NULL
},
40125 { (char *)"AboutDialogInfo_GetDescription", (PyCFunction
)_wrap_AboutDialogInfo_GetDescription
, METH_O
, NULL
},
40126 { (char *)"AboutDialogInfo_SetCopyright", (PyCFunction
) _wrap_AboutDialogInfo_SetCopyright
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"AboutDialogInfo_HasCopyright", (PyCFunction
)_wrap_AboutDialogInfo_HasCopyright
, METH_O
, NULL
},
40128 { (char *)"AboutDialogInfo_GetCopyright", (PyCFunction
)_wrap_AboutDialogInfo_GetCopyright
, METH_O
, NULL
},
40129 { (char *)"AboutDialogInfo_SetLicence", (PyCFunction
) _wrap_AboutDialogInfo_SetLicence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"AboutDialogInfo_SetLicense", (PyCFunction
) _wrap_AboutDialogInfo_SetLicense
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40131 { (char *)"AboutDialogInfo_HasLicence", (PyCFunction
)_wrap_AboutDialogInfo_HasLicence
, METH_O
, NULL
},
40132 { (char *)"AboutDialogInfo_GetLicence", (PyCFunction
)_wrap_AboutDialogInfo_GetLicence
, METH_O
, NULL
},
40133 { (char *)"AboutDialogInfo_SetIcon", (PyCFunction
) _wrap_AboutDialogInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40134 { (char *)"AboutDialogInfo_HasIcon", (PyCFunction
)_wrap_AboutDialogInfo_HasIcon
, METH_O
, NULL
},
40135 { (char *)"AboutDialogInfo_GetIcon", (PyCFunction
)_wrap_AboutDialogInfo_GetIcon
, METH_O
, NULL
},
40136 { (char *)"AboutDialogInfo__SetWebSite", (PyCFunction
) _wrap_AboutDialogInfo__SetWebSite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40137 { (char *)"AboutDialogInfo__GetWebSiteURL", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteURL
, METH_O
, NULL
},
40138 { (char *)"AboutDialogInfo__GetWebSiteDescription", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteDescription
, METH_O
, NULL
},
40139 { (char *)"AboutDialogInfo_HasWebSite", (PyCFunction
)_wrap_AboutDialogInfo_HasWebSite
, METH_O
, NULL
},
40140 { (char *)"AboutDialogInfo_SetDevelopers", (PyCFunction
) _wrap_AboutDialogInfo_SetDevelopers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"AboutDialogInfo_AddDeveloper", (PyCFunction
) _wrap_AboutDialogInfo_AddDeveloper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40142 { (char *)"AboutDialogInfo_HasDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_HasDevelopers
, METH_O
, NULL
},
40143 { (char *)"AboutDialogInfo_GetDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_GetDevelopers
, METH_O
, NULL
},
40144 { (char *)"AboutDialogInfo_SetDocWriters", (PyCFunction
) _wrap_AboutDialogInfo_SetDocWriters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"AboutDialogInfo_AddDocWriter", (PyCFunction
) _wrap_AboutDialogInfo_AddDocWriter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40146 { (char *)"AboutDialogInfo_HasDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_HasDocWriters
, METH_O
, NULL
},
40147 { (char *)"AboutDialogInfo_GetDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_GetDocWriters
, METH_O
, NULL
},
40148 { (char *)"AboutDialogInfo_SetArtists", (PyCFunction
) _wrap_AboutDialogInfo_SetArtists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"AboutDialogInfo_AddArtist", (PyCFunction
) _wrap_AboutDialogInfo_AddArtist
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40150 { (char *)"AboutDialogInfo_HasArtists", (PyCFunction
)_wrap_AboutDialogInfo_HasArtists
, METH_O
, NULL
},
40151 { (char *)"AboutDialogInfo_GetArtists", (PyCFunction
)_wrap_AboutDialogInfo_GetArtists
, METH_O
, NULL
},
40152 { (char *)"AboutDialogInfo_SetTranslators", (PyCFunction
) _wrap_AboutDialogInfo_SetTranslators
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40153 { (char *)"AboutDialogInfo_AddTranslator", (PyCFunction
) _wrap_AboutDialogInfo_AddTranslator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40154 { (char *)"AboutDialogInfo_HasTranslators", (PyCFunction
)_wrap_AboutDialogInfo_HasTranslators
, METH_O
, NULL
},
40155 { (char *)"AboutDialogInfo_GetTranslators", (PyCFunction
)_wrap_AboutDialogInfo_GetTranslators
, METH_O
, NULL
},
40156 { (char *)"AboutDialogInfo_IsSimple", (PyCFunction
)_wrap_AboutDialogInfo_IsSimple
, METH_O
, NULL
},
40157 { (char *)"AboutDialogInfo_GetDescriptionAndCredits", (PyCFunction
)_wrap_AboutDialogInfo_GetDescriptionAndCredits
, METH_O
, NULL
},
40158 { (char *)"AboutDialogInfo_swigregister", AboutDialogInfo_swigregister
, METH_VARARGS
, NULL
},
40159 { (char *)"AboutDialogInfo_swiginit", AboutDialogInfo_swiginit
, METH_VARARGS
, NULL
},
40160 { (char *)"AboutBox", (PyCFunction
) _wrap_AboutBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { NULL
, NULL
, 0, NULL
}
40165 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40167 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40168 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40170 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40171 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40173 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40174 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40176 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40177 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40179 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40180 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40182 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40183 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40185 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
40186 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
40188 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
40189 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
40191 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40192 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40194 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40195 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40197 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40198 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40200 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
40201 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40203 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40204 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40206 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
40207 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
40209 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40210 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40212 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40213 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40215 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40216 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40218 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40219 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40221 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40222 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40224 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40225 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40227 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40228 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40230 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40231 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40233 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
40234 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
40236 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40237 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40239 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40240 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40242 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
40243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40245 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40246 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40248 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40249 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40251 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40252 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40254 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40255 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40257 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40258 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40260 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40261 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40263 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40264 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40266 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40269 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
40270 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
40272 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40273 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40275 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40276 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40278 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40279 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40281 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40282 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40284 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40285 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40287 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40288 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40290 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40291 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40293 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
40294 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
40296 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
40297 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
40299 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
40300 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40302 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
40303 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40305 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
40306 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
40308 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
40309 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40311 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
40312 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
40314 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
40315 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40317 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
40318 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40320 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
40321 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40323 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
40324 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40326 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
40327 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40329 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
40330 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40332 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
40333 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
40335 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
40336 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40338 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
40339 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40341 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40342 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40344 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40345 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40347 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40348 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40350 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40351 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40353 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40354 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40356 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
40357 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40359 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40360 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40362 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40363 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40365 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40366 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40368 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40371 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40372 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40374 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
40375 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
40377 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40378 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40380 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40381 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40383 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40384 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40386 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40387 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40389 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
40390 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
40392 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
40393 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
40395 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40396 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40398 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40399 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40401 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40402 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40404 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40405 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40407 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40408 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40410 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40411 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40413 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40414 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40416 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40417 return (void *)((wxObject
*) ((wxSizer
*) x
));
40419 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40420 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40422 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
40423 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
40425 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40426 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40428 static void *_p_wxEventTo_p_wxObject(void *x
) {
40429 return (void *)((wxObject
*) ((wxEvent
*) x
));
40431 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40432 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40434 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40435 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40437 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40438 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40440 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40441 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40443 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40444 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40446 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40447 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40449 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40450 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40452 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40453 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40455 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40456 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40458 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40459 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40461 static void *_p_wxControlTo_p_wxObject(void *x
) {
40462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40464 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40465 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40467 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
40468 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
40470 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
40471 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
40473 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40474 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40476 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
40477 return (void *)((wxObject
*) ((wxClipboard
*) x
));
40479 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40480 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40482 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40483 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40485 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40488 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40489 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40491 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
40492 return (void *)((wxObject
*) ((wxToolTip
*) x
));
40494 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40495 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40497 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40500 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40501 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40503 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40504 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40506 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40507 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40509 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40510 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40512 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40513 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40515 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40516 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40518 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40519 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40521 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40522 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40524 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40525 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40527 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40528 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40530 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40531 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40533 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40534 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40536 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40537 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40539 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40540 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40542 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40543 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40545 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40546 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40548 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40549 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40551 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40552 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40554 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40555 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40557 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40558 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40560 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40561 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40563 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40564 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40566 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40567 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40569 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40570 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40572 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40573 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40575 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40576 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40578 static void *_p_wxImageTo_p_wxObject(void *x
) {
40579 return (void *)((wxObject
*) ((wxImage
*) x
));
40581 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40582 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40584 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
40585 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
40587 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
40588 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
40590 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40591 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40593 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40594 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40596 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40597 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40599 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40600 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40602 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40603 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40605 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40608 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
40609 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
40611 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40612 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40614 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40615 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40617 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40618 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40620 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40621 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40623 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40624 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40626 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40627 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40629 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40630 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40632 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
40633 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
40635 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40638 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40639 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40641 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40642 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40644 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40645 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40647 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40650 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
40651 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
40653 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40654 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40656 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40659 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40660 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40662 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
40663 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
40665 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
40666 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
40668 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
40669 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
40671 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
40672 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
40674 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
40675 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
40677 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
40678 return (void *)((wxLog
*) ((wxLogChain
*) x
));
40680 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
40681 return (void *)((wxLog
*) ((wxLogGui
*) x
));
40683 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
40684 return (void *)((wxLog
*) ((wxPyLog
*) x
));
40686 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40687 return (void *)((wxWindow
*) ((wxControl
*) x
));
40689 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40690 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40692 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40693 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40695 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
40696 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
40698 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
40699 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
40701 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40702 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};
40703 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40704 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40705 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40706 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
40707 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40708 static swig_type_info _swigt__p_wxAboutDialogInfo
= {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0};
40709 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
40710 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40711 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
40712 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
40713 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
40714 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
40715 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40716 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
40717 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
40718 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40719 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
40720 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
40721 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
40722 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40723 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
40724 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40725 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
40726 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
40727 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
40728 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
40729 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
40730 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
40731 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
40732 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
40733 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40734 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
40735 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40736 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40737 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40738 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40739 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40740 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40741 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40742 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40743 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40744 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40745 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40746 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40747 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40748 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40749 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40750 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40751 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40752 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40753 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40754 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40755 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40756 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40757 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40758 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40759 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40760 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40761 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40762 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40763 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40764 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40765 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40766 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40767 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40768 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40769 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40770 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40771 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40772 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40773 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
40774 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40775 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40776 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40777 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40778 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40779 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40780 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
40781 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
40782 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
40783 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
40784 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
40785 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40786 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
40787 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40788 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
40789 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
40790 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
40791 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
40792 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
40793 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
40794 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
40795 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
40796 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
40797 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
40798 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
40799 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
40800 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
40801 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
40802 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
40803 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
40804 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
40805 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40806 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40807 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40808 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40809 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40810 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40811 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40812 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40813 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40814 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40815 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40816 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40817 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40818 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40819 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40820 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40821 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40822 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40823 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40824 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40825 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40826 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40827 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40828 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40829 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40830 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40831 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40832 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40833 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40834 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40835 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
40836 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40837 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
40838 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40839 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
40840 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40841 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
40842 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
40843 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
40844 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
40845 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
40846 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
40847 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
40848 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
40849 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
40850 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
40851 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
40852 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
40853 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
40854 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
40855 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40856 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
40857 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40858 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
40859 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
40860 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
40861 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40862 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
40863 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
40864 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
40865 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
40866 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
40867 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
40868 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
40869 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
40870 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
40871 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
40872 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
40873 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
40874 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40875 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
40877 static swig_type_info
*swig_type_initial
[] = {
40879 &_swigt__p_form_ops_t
,
40881 &_swigt__p_unsigned_char
,
40882 &_swigt__p_unsigned_int
,
40883 &_swigt__p_unsigned_long
,
40885 &_swigt__p_wxANIHandler
,
40886 &_swigt__p_wxAboutDialogInfo
,
40887 &_swigt__p_wxAcceleratorTable
,
40888 &_swigt__p_wxActivateEvent
,
40889 &_swigt__p_wxArrayString
,
40890 &_swigt__p_wxBMPHandler
,
40891 &_swigt__p_wxBitmap
,
40892 &_swigt__p_wxBitmapDataObject
,
40893 &_swigt__p_wxBoxSizer
,
40894 &_swigt__p_wxBusyCursor
,
40895 &_swigt__p_wxBusyInfo
,
40896 &_swigt__p_wxCURHandler
,
40897 &_swigt__p_wxCaret
,
40899 &_swigt__p_wxChildFocusEvent
,
40900 &_swigt__p_wxClipboard
,
40901 &_swigt__p_wxClipboardLocker
,
40902 &_swigt__p_wxClipboardTextEvent
,
40903 &_swigt__p_wxCloseEvent
,
40904 &_swigt__p_wxColour
,
40905 &_swigt__p_wxCommandEvent
,
40906 &_swigt__p_wxConfig
,
40907 &_swigt__p_wxConfigBase
,
40908 &_swigt__p_wxConfigPathChanger
,
40909 &_swigt__p_wxContextMenuEvent
,
40910 &_swigt__p_wxControl
,
40911 &_swigt__p_wxControlWithItems
,
40912 &_swigt__p_wxCursor
,
40913 &_swigt__p_wxCustomDataObject
,
40915 &_swigt__p_wxDataFormat
,
40916 &_swigt__p_wxDataObject
,
40917 &_swigt__p_wxDataObjectComposite
,
40918 &_swigt__p_wxDataObjectSimple
,
40919 &_swigt__p_wxDateEvent
,
40920 &_swigt__p_wxDateSpan
,
40921 &_swigt__p_wxDateTime
,
40922 &_swigt__p_wxDateTime__TimeZone
,
40923 &_swigt__p_wxDisplay
,
40924 &_swigt__p_wxDisplayChangedEvent
,
40925 &_swigt__p_wxDropFilesEvent
,
40926 &_swigt__p_wxDuplexMode
,
40927 &_swigt__p_wxEraseEvent
,
40928 &_swigt__p_wxEvent
,
40929 &_swigt__p_wxEvtHandler
,
40930 &_swigt__p_wxFSFile
,
40931 &_swigt__p_wxFileConfig
,
40932 &_swigt__p_wxFileDataObject
,
40933 &_swigt__p_wxFileHistory
,
40934 &_swigt__p_wxFileSystem
,
40935 &_swigt__p_wxFileType
,
40936 &_swigt__p_wxFileTypeInfo
,
40937 &_swigt__p_wxFlexGridSizer
,
40938 &_swigt__p_wxFocusEvent
,
40940 &_swigt__p_wxFrame
,
40941 &_swigt__p_wxGBSizerItem
,
40942 &_swigt__p_wxGIFHandler
,
40943 &_swigt__p_wxGridBagSizer
,
40944 &_swigt__p_wxGridSizer
,
40945 &_swigt__p_wxICOHandler
,
40947 &_swigt__p_wxIconizeEvent
,
40948 &_swigt__p_wxIdleEvent
,
40949 &_swigt__p_wxImage
,
40950 &_swigt__p_wxImageHandler
,
40951 &_swigt__p_wxIndividualLayoutConstraint
,
40952 &_swigt__p_wxInitDialogEvent
,
40953 &_swigt__p_wxJPEGHandler
,
40954 &_swigt__p_wxJoystick
,
40955 &_swigt__p_wxJoystickEvent
,
40956 &_swigt__p_wxKeyEvent
,
40957 &_swigt__p_wxKillError
,
40958 &_swigt__p_wxLayoutConstraints
,
40960 &_swigt__p_wxLogBuffer
,
40961 &_swigt__p_wxLogChain
,
40962 &_swigt__p_wxLogGui
,
40963 &_swigt__p_wxLogNull
,
40964 &_swigt__p_wxLogStderr
,
40965 &_swigt__p_wxLogTextCtrl
,
40966 &_swigt__p_wxLogWindow
,
40967 &_swigt__p_wxMaximizeEvent
,
40969 &_swigt__p_wxMenuBar
,
40970 &_swigt__p_wxMenuEvent
,
40971 &_swigt__p_wxMenuItem
,
40972 &_swigt__p_wxMetafile
,
40973 &_swigt__p_wxMetafileDataObject
,
40974 &_swigt__p_wxMimeTypesManager
,
40975 &_swigt__p_wxMouseCaptureChangedEvent
,
40976 &_swigt__p_wxMouseCaptureLostEvent
,
40977 &_swigt__p_wxMouseEvent
,
40978 &_swigt__p_wxMouseState
,
40979 &_swigt__p_wxMoveEvent
,
40980 &_swigt__p_wxMutexGuiLocker
,
40981 &_swigt__p_wxNavigationKeyEvent
,
40982 &_swigt__p_wxNcPaintEvent
,
40983 &_swigt__p_wxNotifyEvent
,
40984 &_swigt__p_wxObject
,
40985 &_swigt__p_wxOutputStream
,
40986 &_swigt__p_wxPCXHandler
,
40987 &_swigt__p_wxPNGHandler
,
40988 &_swigt__p_wxPNMHandler
,
40989 &_swigt__p_wxPaintEvent
,
40990 &_swigt__p_wxPaletteChangedEvent
,
40991 &_swigt__p_wxPaperSize
,
40992 &_swigt__p_wxPlatformInfo
,
40993 &_swigt__p_wxPoint
,
40994 &_swigt__p_wxPowerEvent
,
40995 &_swigt__p_wxProcessEvent
,
40996 &_swigt__p_wxPyApp
,
40997 &_swigt__p_wxPyArtProvider
,
40998 &_swigt__p_wxPyBitmapDataObject
,
40999 &_swigt__p_wxPyCommandEvent
,
41000 &_swigt__p_wxPyDataObjectSimple
,
41001 &_swigt__p_wxPyDropSource
,
41002 &_swigt__p_wxPyDropTarget
,
41003 &_swigt__p_wxPyEvent
,
41004 &_swigt__p_wxPyFileDropTarget
,
41005 &_swigt__p_wxPyImageHandler
,
41006 &_swigt__p_wxPyLog
,
41007 &_swigt__p_wxPyProcess
,
41008 &_swigt__p_wxPySizer
,
41009 &_swigt__p_wxPyTextDataObject
,
41010 &_swigt__p_wxPyTextDropTarget
,
41011 &_swigt__p_wxPyTimer
,
41012 &_swigt__p_wxPyTipProvider
,
41013 &_swigt__p_wxPyValidator
,
41014 &_swigt__p_wxQueryNewPaletteEvent
,
41016 &_swigt__p_wxScrollEvent
,
41017 &_swigt__p_wxScrollWinEvent
,
41018 &_swigt__p_wxSetCursorEvent
,
41019 &_swigt__p_wxShowEvent
,
41020 &_swigt__p_wxSingleInstanceChecker
,
41022 &_swigt__p_wxSizeEvent
,
41023 &_swigt__p_wxSizer
,
41024 &_swigt__p_wxSizerItem
,
41025 &_swigt__p_wxSound
,
41026 &_swigt__p_wxStandardPaths
,
41027 &_swigt__p_wxStaticBoxSizer
,
41028 &_swigt__p_wxStdDialogButtonSizer
,
41029 &_swigt__p_wxStopWatch
,
41030 &_swigt__p_wxString
,
41031 &_swigt__p_wxSysColourChangedEvent
,
41032 &_swigt__p_wxSystemOptions
,
41033 &_swigt__p_wxSystemSettings
,
41034 &_swigt__p_wxTGAHandler
,
41035 &_swigt__p_wxTIFFHandler
,
41036 &_swigt__p_wxTextCtrl
,
41037 &_swigt__p_wxTextDataObject
,
41038 &_swigt__p_wxTimeSpan
,
41039 &_swigt__p_wxTimer
,
41040 &_swigt__p_wxTimerEvent
,
41041 &_swigt__p_wxTimerRunner
,
41042 &_swigt__p_wxTipProvider
,
41043 &_swigt__p_wxToolTip
,
41044 &_swigt__p_wxURLDataObject
,
41045 &_swigt__p_wxUpdateUIEvent
,
41046 &_swigt__p_wxValidator
,
41047 &_swigt__p_wxVideoMode
,
41048 &_swigt__p_wxWindow
,
41049 &_swigt__p_wxWindowCreateEvent
,
41050 &_swigt__p_wxWindowDestroyEvent
,
41051 &_swigt__p_wxWindowDisabler
,
41052 &_swigt__p_wxXPMHandler
,
41055 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41056 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41057 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41058 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41059 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41060 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41061 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41062 static swig_cast_info _swigc__p_wxAboutDialogInfo
[] = { {&_swigt__p_wxAboutDialogInfo
, 0, 0, 0},{0, 0, 0, 0}};
41063 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
41064 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41065 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}};
41066 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
41067 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
41068 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
41069 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41070 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
41071 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
41072 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41073 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
41074 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}};
41075 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
41076 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41077 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41078 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
41079 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
41080 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}};
41081 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
41082 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}};
41083 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
41084 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
41085 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
41086 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
41087 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41088 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41089 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41090 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41091 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41092 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41093 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41094 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41095 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41096 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41097 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41098 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41099 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41100 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41101 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41102 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41103 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41104 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41105 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41106 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41107 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41108 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41109 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41110 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41111 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41112 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41113 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41114 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41115 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41116 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41117 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41118 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41119 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41120 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41121 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41122 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41123 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41124 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41125 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41126 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}};
41127 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41128 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41129 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41130 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41131 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41132 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41133 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
41134 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
41135 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41136 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
41137 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
41138 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
41139 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41140 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
41141 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41142 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
41143 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
41144 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
41145 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}};
41146 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
41147 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
41150 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
41151 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41152 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
41153 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41154 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
41155 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41156 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
41157 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
41158 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
41159 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41160 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41161 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41162 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41163 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41164 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41165 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41166 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41167 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41168 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41169 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41171 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41172 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41173 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41174 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41179 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41185 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41186 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41189 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41190 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileHistory
, _p_wxFileHistoryTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPowerEvent
, _p_wxPowerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboard
, _p_wxClipboardTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolTip
, _p_wxToolTipTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSystemOptions
, _p_wxSystemOptionsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBusyInfo
, _p_wxBusyInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
41191 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
41192 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41195 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41196 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
41197 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
41198 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41199 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
41200 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
41201 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}};
41202 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41203 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
41204 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
41205 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41206 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41207 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
41208 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41210 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
41211 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41212 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
41213 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41216 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
41217 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
41218 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41219 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}};
41220 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
41222 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41223 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
41224 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}};
41225 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
41226 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41227 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
41228 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}};
41229 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
41231 static swig_cast_info
*swig_cast_initial
[] = {
41233 _swigc__p_form_ops_t
,
41235 _swigc__p_unsigned_char
,
41236 _swigc__p_unsigned_int
,
41237 _swigc__p_unsigned_long
,
41239 _swigc__p_wxANIHandler
,
41240 _swigc__p_wxAboutDialogInfo
,
41241 _swigc__p_wxAcceleratorTable
,
41242 _swigc__p_wxActivateEvent
,
41243 _swigc__p_wxArrayString
,
41244 _swigc__p_wxBMPHandler
,
41245 _swigc__p_wxBitmap
,
41246 _swigc__p_wxBitmapDataObject
,
41247 _swigc__p_wxBoxSizer
,
41248 _swigc__p_wxBusyCursor
,
41249 _swigc__p_wxBusyInfo
,
41250 _swigc__p_wxCURHandler
,
41253 _swigc__p_wxChildFocusEvent
,
41254 _swigc__p_wxClipboard
,
41255 _swigc__p_wxClipboardLocker
,
41256 _swigc__p_wxClipboardTextEvent
,
41257 _swigc__p_wxCloseEvent
,
41258 _swigc__p_wxColour
,
41259 _swigc__p_wxCommandEvent
,
41260 _swigc__p_wxConfig
,
41261 _swigc__p_wxConfigBase
,
41262 _swigc__p_wxConfigPathChanger
,
41263 _swigc__p_wxContextMenuEvent
,
41264 _swigc__p_wxControl
,
41265 _swigc__p_wxControlWithItems
,
41266 _swigc__p_wxCursor
,
41267 _swigc__p_wxCustomDataObject
,
41269 _swigc__p_wxDataFormat
,
41270 _swigc__p_wxDataObject
,
41271 _swigc__p_wxDataObjectComposite
,
41272 _swigc__p_wxDataObjectSimple
,
41273 _swigc__p_wxDateEvent
,
41274 _swigc__p_wxDateSpan
,
41275 _swigc__p_wxDateTime
,
41276 _swigc__p_wxDateTime__TimeZone
,
41277 _swigc__p_wxDisplay
,
41278 _swigc__p_wxDisplayChangedEvent
,
41279 _swigc__p_wxDropFilesEvent
,
41280 _swigc__p_wxDuplexMode
,
41281 _swigc__p_wxEraseEvent
,
41283 _swigc__p_wxEvtHandler
,
41284 _swigc__p_wxFSFile
,
41285 _swigc__p_wxFileConfig
,
41286 _swigc__p_wxFileDataObject
,
41287 _swigc__p_wxFileHistory
,
41288 _swigc__p_wxFileSystem
,
41289 _swigc__p_wxFileType
,
41290 _swigc__p_wxFileTypeInfo
,
41291 _swigc__p_wxFlexGridSizer
,
41292 _swigc__p_wxFocusEvent
,
41295 _swigc__p_wxGBSizerItem
,
41296 _swigc__p_wxGIFHandler
,
41297 _swigc__p_wxGridBagSizer
,
41298 _swigc__p_wxGridSizer
,
41299 _swigc__p_wxICOHandler
,
41301 _swigc__p_wxIconizeEvent
,
41302 _swigc__p_wxIdleEvent
,
41304 _swigc__p_wxImageHandler
,
41305 _swigc__p_wxIndividualLayoutConstraint
,
41306 _swigc__p_wxInitDialogEvent
,
41307 _swigc__p_wxJPEGHandler
,
41308 _swigc__p_wxJoystick
,
41309 _swigc__p_wxJoystickEvent
,
41310 _swigc__p_wxKeyEvent
,
41311 _swigc__p_wxKillError
,
41312 _swigc__p_wxLayoutConstraints
,
41314 _swigc__p_wxLogBuffer
,
41315 _swigc__p_wxLogChain
,
41316 _swigc__p_wxLogGui
,
41317 _swigc__p_wxLogNull
,
41318 _swigc__p_wxLogStderr
,
41319 _swigc__p_wxLogTextCtrl
,
41320 _swigc__p_wxLogWindow
,
41321 _swigc__p_wxMaximizeEvent
,
41323 _swigc__p_wxMenuBar
,
41324 _swigc__p_wxMenuEvent
,
41325 _swigc__p_wxMenuItem
,
41326 _swigc__p_wxMetafile
,
41327 _swigc__p_wxMetafileDataObject
,
41328 _swigc__p_wxMimeTypesManager
,
41329 _swigc__p_wxMouseCaptureChangedEvent
,
41330 _swigc__p_wxMouseCaptureLostEvent
,
41331 _swigc__p_wxMouseEvent
,
41332 _swigc__p_wxMouseState
,
41333 _swigc__p_wxMoveEvent
,
41334 _swigc__p_wxMutexGuiLocker
,
41335 _swigc__p_wxNavigationKeyEvent
,
41336 _swigc__p_wxNcPaintEvent
,
41337 _swigc__p_wxNotifyEvent
,
41338 _swigc__p_wxObject
,
41339 _swigc__p_wxOutputStream
,
41340 _swigc__p_wxPCXHandler
,
41341 _swigc__p_wxPNGHandler
,
41342 _swigc__p_wxPNMHandler
,
41343 _swigc__p_wxPaintEvent
,
41344 _swigc__p_wxPaletteChangedEvent
,
41345 _swigc__p_wxPaperSize
,
41346 _swigc__p_wxPlatformInfo
,
41348 _swigc__p_wxPowerEvent
,
41349 _swigc__p_wxProcessEvent
,
41351 _swigc__p_wxPyArtProvider
,
41352 _swigc__p_wxPyBitmapDataObject
,
41353 _swigc__p_wxPyCommandEvent
,
41354 _swigc__p_wxPyDataObjectSimple
,
41355 _swigc__p_wxPyDropSource
,
41356 _swigc__p_wxPyDropTarget
,
41357 _swigc__p_wxPyEvent
,
41358 _swigc__p_wxPyFileDropTarget
,
41359 _swigc__p_wxPyImageHandler
,
41361 _swigc__p_wxPyProcess
,
41362 _swigc__p_wxPySizer
,
41363 _swigc__p_wxPyTextDataObject
,
41364 _swigc__p_wxPyTextDropTarget
,
41365 _swigc__p_wxPyTimer
,
41366 _swigc__p_wxPyTipProvider
,
41367 _swigc__p_wxPyValidator
,
41368 _swigc__p_wxQueryNewPaletteEvent
,
41370 _swigc__p_wxScrollEvent
,
41371 _swigc__p_wxScrollWinEvent
,
41372 _swigc__p_wxSetCursorEvent
,
41373 _swigc__p_wxShowEvent
,
41374 _swigc__p_wxSingleInstanceChecker
,
41376 _swigc__p_wxSizeEvent
,
41378 _swigc__p_wxSizerItem
,
41380 _swigc__p_wxStandardPaths
,
41381 _swigc__p_wxStaticBoxSizer
,
41382 _swigc__p_wxStdDialogButtonSizer
,
41383 _swigc__p_wxStopWatch
,
41384 _swigc__p_wxString
,
41385 _swigc__p_wxSysColourChangedEvent
,
41386 _swigc__p_wxSystemOptions
,
41387 _swigc__p_wxSystemSettings
,
41388 _swigc__p_wxTGAHandler
,
41389 _swigc__p_wxTIFFHandler
,
41390 _swigc__p_wxTextCtrl
,
41391 _swigc__p_wxTextDataObject
,
41392 _swigc__p_wxTimeSpan
,
41394 _swigc__p_wxTimerEvent
,
41395 _swigc__p_wxTimerRunner
,
41396 _swigc__p_wxTipProvider
,
41397 _swigc__p_wxToolTip
,
41398 _swigc__p_wxURLDataObject
,
41399 _swigc__p_wxUpdateUIEvent
,
41400 _swigc__p_wxValidator
,
41401 _swigc__p_wxVideoMode
,
41402 _swigc__p_wxWindow
,
41403 _swigc__p_wxWindowCreateEvent
,
41404 _swigc__p_wxWindowDestroyEvent
,
41405 _swigc__p_wxWindowDisabler
,
41406 _swigc__p_wxXPMHandler
,
41410 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41412 static swig_const_info swig_const_table
[] = {
41413 {0, 0, 0, 0.0, 0, 0}};
41418 /* -----------------------------------------------------------------------------
41419 * Type initialization:
41420 * This problem is tough by the requirement that no dynamic
41421 * memory is used. Also, since swig_type_info structures store pointers to
41422 * swig_cast_info structures and swig_cast_info structures store pointers back
41423 * to swig_type_info structures, we need some lookup code at initialization.
41424 * The idea is that swig generates all the structures that are needed.
41425 * The runtime then collects these partially filled structures.
41426 * The SWIG_InitializeModule function takes these initial arrays out of
41427 * swig_module, and does all the lookup, filling in the swig_module.types
41428 * array with the correct data and linking the correct swig_cast_info
41429 * structures together.
41431 * The generated swig_type_info structures are assigned staticly to an initial
41432 * array. We just loop though that array, and handle each type individually.
41433 * First we lookup if this type has been already loaded, and if so, use the
41434 * loaded structure instead of the generated one. Then we have to fill in the
41435 * cast linked list. The cast data is initially stored in something like a
41436 * two-dimensional array. Each row corresponds to a type (there are the same
41437 * number of rows as there are in the swig_type_initial array). Each entry in
41438 * a column is one of the swig_cast_info structures for that type.
41439 * The cast_initial array is actually an array of arrays, because each row has
41440 * a variable number of columns. So to actually build the cast linked list,
41441 * we find the array of casts associated with the type, and loop through it
41442 * adding the casts to the list. The one last trick we need to do is making
41443 * sure the type pointer in the swig_cast_info struct is correct.
41445 * First off, we lookup the cast->type name to see if it is already loaded.
41446 * There are three cases to handle:
41447 * 1) If the cast->type has already been loaded AND the type we are adding
41448 * casting info to has not been loaded (it is in this module), THEN we
41449 * replace the cast->type pointer with the type pointer that has already
41451 * 2) If BOTH types (the one we are adding casting info to, and the
41452 * cast->type) are loaded, THEN the cast info has already been loaded by
41453 * the previous module so we just ignore it.
41454 * 3) Finally, if cast->type has not already been loaded, then we add that
41455 * swig_cast_info to the linked list (because the cast->type) pointer will
41457 * ----------------------------------------------------------------------------- */
41467 #define SWIGRUNTIME_DEBUG
41471 SWIG_InitializeModule(void *clientdata
) {
41473 swig_module_info
*module_head
;
41474 static int init_run
= 0;
41476 clientdata
= clientdata
;
41478 if (init_run
) return;
41481 /* Initialize the swig_module */
41482 swig_module
.type_initial
= swig_type_initial
;
41483 swig_module
.cast_initial
= swig_cast_initial
;
41485 /* Try and load any already created modules */
41486 module_head
= SWIG_GetModule(clientdata
);
41488 swig_module
.next
= module_head
->next
;
41489 module_head
->next
= &swig_module
;
41491 /* This is the first module loaded */
41492 swig_module
.next
= &swig_module
;
41493 SWIG_SetModule(clientdata
, &swig_module
);
41496 /* Now work on filling in swig_module.types */
41497 #ifdef SWIGRUNTIME_DEBUG
41498 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41500 for (i
= 0; i
< swig_module
.size
; ++i
) {
41501 swig_type_info
*type
= 0;
41502 swig_type_info
*ret
;
41503 swig_cast_info
*cast
;
41505 #ifdef SWIGRUNTIME_DEBUG
41506 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41509 /* if there is another module already loaded */
41510 if (swig_module
.next
!= &swig_module
) {
41511 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41514 /* Overwrite clientdata field */
41515 #ifdef SWIGRUNTIME_DEBUG
41516 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41518 if (swig_module
.type_initial
[i
]->clientdata
) {
41519 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41520 #ifdef SWIGRUNTIME_DEBUG
41521 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41525 type
= swig_module
.type_initial
[i
];
41528 /* Insert casting types */
41529 cast
= swig_module
.cast_initial
[i
];
41530 while (cast
->type
) {
41531 /* Don't need to add information already in the list */
41533 #ifdef SWIGRUNTIME_DEBUG
41534 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41536 if (swig_module
.next
!= &swig_module
) {
41537 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41538 #ifdef SWIGRUNTIME_DEBUG
41539 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41543 if (type
== swig_module
.type_initial
[i
]) {
41544 #ifdef SWIGRUNTIME_DEBUG
41545 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41550 /* Check for casting already in the list */
41551 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41552 #ifdef SWIGRUNTIME_DEBUG
41553 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41555 if (!ocast
) ret
= 0;
41560 #ifdef SWIGRUNTIME_DEBUG
41561 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41564 type
->cast
->prev
= cast
;
41565 cast
->next
= type
->cast
;
41571 /* Set entry in modules->types array equal to the type */
41572 swig_module
.types
[i
] = type
;
41574 swig_module
.types
[i
] = 0;
41576 #ifdef SWIGRUNTIME_DEBUG
41577 printf("**** SWIG_InitializeModule: Cast List ******\n");
41578 for (i
= 0; i
< swig_module
.size
; ++i
) {
41580 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41581 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41582 while (cast
->type
) {
41583 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41587 printf("---- Total casts: %d\n",j
);
41589 printf("**** SWIG_InitializeModule: Cast List ******\n");
41593 /* This function will propagate the clientdata field of type to
41594 * any new swig_type_info structures that have been added into the list
41595 * of equivalent types. It is like calling
41596 * SWIG_TypeClientData(type, clientdata) a second time.
41599 SWIG_PropagateClientData(void) {
41601 swig_cast_info
*equiv
;
41602 static int init_run
= 0;
41604 if (init_run
) return;
41607 for (i
= 0; i
< swig_module
.size
; i
++) {
41608 if (swig_module
.types
[i
]->clientdata
) {
41609 equiv
= swig_module
.types
[i
]->cast
;
41611 if (!equiv
->converter
) {
41612 if (equiv
->type
&& !equiv
->type
->clientdata
)
41613 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41615 equiv
= equiv
->next
;
41635 /* Python-specific SWIG API */
41636 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41637 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41638 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41640 /* -----------------------------------------------------------------------------
41641 * global variable support code.
41642 * ----------------------------------------------------------------------------- */
41644 typedef struct swig_globalvar
{
41645 char *name
; /* Name of global variable */
41646 PyObject
*(*get_attr
)(void); /* Return the current value */
41647 int (*set_attr
)(PyObject
*); /* Set the value */
41648 struct swig_globalvar
*next
;
41651 typedef struct swig_varlinkobject
{
41653 swig_globalvar
*vars
;
41654 } swig_varlinkobject
;
41656 SWIGINTERN PyObject
*
41657 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41658 return PyString_FromString("<Swig global variables>");
41661 SWIGINTERN PyObject
*
41662 swig_varlink_str(swig_varlinkobject
*v
) {
41663 PyObject
*str
= PyString_FromString("(");
41664 swig_globalvar
*var
;
41665 for (var
= v
->vars
; var
; var
=var
->next
) {
41666 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41667 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41669 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41674 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41675 PyObject
*str
= swig_varlink_str(v
);
41676 fprintf(fp
,"Swig global variables ");
41677 fprintf(fp
,"%s\n", PyString_AsString(str
));
41683 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41684 swig_globalvar
*var
= v
->vars
;
41686 swig_globalvar
*n
= var
->next
;
41693 SWIGINTERN PyObject
*
41694 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41695 PyObject
*res
= NULL
;
41696 swig_globalvar
*var
= v
->vars
;
41698 if (strcmp(var
->name
,n
) == 0) {
41699 res
= (*var
->get_attr
)();
41704 if (res
== NULL
&& !PyErr_Occurred()) {
41705 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41711 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41713 swig_globalvar
*var
= v
->vars
;
41715 if (strcmp(var
->name
,n
) == 0) {
41716 res
= (*var
->set_attr
)(p
);
41721 if (res
== 1 && !PyErr_Occurred()) {
41722 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41727 SWIGINTERN PyTypeObject
*
41728 swig_varlink_type(void) {
41729 static char varlink__doc__
[] = "Swig var link object";
41730 static PyTypeObject varlink_type
;
41731 static int type_init
= 0;
41733 const PyTypeObject tmp
41735 PyObject_HEAD_INIT(NULL
)
41736 0, /* Number of items in variable part (ob_size) */
41737 (char *)"swigvarlink", /* Type name (tp_name) */
41738 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41739 0, /* Itemsize (tp_itemsize) */
41740 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41741 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41742 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41743 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41744 0, /* tp_compare */
41745 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41746 0, /* tp_as_number */
41747 0, /* tp_as_sequence */
41748 0, /* tp_as_mapping */
41751 (reprfunc
)swig_varlink_str
, /* tp_str */
41752 0, /* tp_getattro */
41753 0, /* tp_setattro */
41754 0, /* tp_as_buffer */
41756 varlink__doc__
, /* tp_doc */
41757 0, /* tp_traverse */
41759 0, /* tp_richcompare */
41760 0, /* tp_weaklistoffset */
41761 #if PY_VERSION_HEX >= 0x02020000
41762 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41764 #if PY_VERSION_HEX >= 0x02030000
41767 #ifdef COUNT_ALLOCS
41768 0,0,0,0 /* tp_alloc -> tp_next */
41771 varlink_type
= tmp
;
41772 varlink_type
.ob_type
= &PyType_Type
;
41775 return &varlink_type
;
41778 /* Create a variable linking object for use later */
41779 SWIGINTERN PyObject
*
41780 SWIG_Python_newvarlink(void) {
41781 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41785 return ((PyObject
*) result
);
41789 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41790 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41791 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41793 size_t size
= strlen(name
)+1;
41794 gv
->name
= (char *)malloc(size
);
41796 strncpy(gv
->name
,name
,size
);
41797 gv
->get_attr
= get_attr
;
41798 gv
->set_attr
= set_attr
;
41799 gv
->next
= v
->vars
;
41805 SWIGINTERN PyObject
*
41807 static PyObject
*_SWIG_globals
= 0;
41808 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41809 return _SWIG_globals
;
41812 /* -----------------------------------------------------------------------------
41813 * constants/methods manipulation
41814 * ----------------------------------------------------------------------------- */
41816 /* Install Constants */
41818 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41821 for (i
= 0; constants
[i
].type
; ++i
) {
41822 switch(constants
[i
].type
) {
41823 case SWIG_PY_POINTER
:
41824 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41826 case SWIG_PY_BINARY
:
41827 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41834 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41840 /* -----------------------------------------------------------------------------*/
41841 /* Fix SwigMethods to carry the callback ptrs when needed */
41842 /* -----------------------------------------------------------------------------*/
41845 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41846 swig_const_info
*const_table
,
41847 swig_type_info
**types
,
41848 swig_type_info
**types_initial
) {
41850 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41851 const char *c
= methods
[i
].ml_doc
;
41852 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41854 swig_const_info
*ci
= 0;
41855 const char *name
= c
+ 10;
41856 for (j
= 0; const_table
[j
].type
; ++j
) {
41857 if (strncmp(const_table
[j
].name
, name
,
41858 strlen(const_table
[j
].name
)) == 0) {
41859 ci
= &(const_table
[j
]);
41864 size_t shift
= (ci
->ptype
) - types
;
41865 swig_type_info
*ty
= types_initial
[shift
];
41866 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41867 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41868 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41871 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41873 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41875 strncpy(buff
, "swig_ptr: ", 10);
41877 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41878 methods
[i
].ml_doc
= ndoc
;
41890 /* -----------------------------------------------------------------------------*
41891 * Partial Init method
41892 * -----------------------------------------------------------------------------*/
41897 SWIGEXPORT
void SWIG_init(void) {
41900 /* Fix SwigMethods to carry the callback ptrs when needed */
41901 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41903 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41904 d
= PyModule_GetDict(m
);
41906 SWIG_InitializeModule(0);
41907 SWIG_InstallConstants(d
,swig_const_table
);
41910 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
41911 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
41912 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
41913 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
41914 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
41915 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
41916 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
41917 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
41918 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
41919 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
41920 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
41921 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
41922 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
41923 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
41924 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
41925 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
41926 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
41927 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
41928 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
41929 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
41930 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
41931 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
41932 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
41933 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
41934 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
41935 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
41936 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
41937 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
41938 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
41939 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
41940 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
41941 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
41942 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
41943 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
41944 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
41945 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
41946 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
41947 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
41948 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
41949 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
41950 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
41951 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
41952 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
41953 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
41954 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
41955 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
41956 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
41957 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
41958 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
41959 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
41960 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
41961 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
41962 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
41963 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
41964 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
41965 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
41966 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
41967 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
41968 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
41969 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
41970 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
41971 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
41972 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
41973 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
41974 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
41975 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
41976 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
41977 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
41978 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
41979 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
41980 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
41981 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
41982 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
41983 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
41984 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
41985 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
41986 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
41987 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
41988 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
41989 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
41990 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
41991 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
41992 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
41993 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
41994 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
41995 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
41996 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
41997 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
41998 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
41999 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
42000 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
42001 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
42002 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42003 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
42004 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
42005 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
42006 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
42007 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
42008 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
42009 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
42010 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
42011 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
42012 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
42013 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
42014 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
42015 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
42016 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
42017 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
42018 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
42019 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
42020 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
42021 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
42022 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
42023 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
42024 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
42025 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
42026 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
42027 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
42028 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
42029 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
42030 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
42031 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
42032 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
42033 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
42034 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
42035 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
42036 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
42037 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
42038 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
42039 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
42040 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
42041 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
42042 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
42043 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
42044 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
42045 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
42046 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
42047 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
42048 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
42049 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
42050 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
42051 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
42052 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
42053 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
42054 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
42055 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
42056 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
42057 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
42059 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
42061 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
42062 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
42063 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
42064 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
42065 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
42066 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
42067 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
42068 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
42069 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
42070 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
42071 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
42072 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
42073 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
42074 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
42075 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
42076 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
42077 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
42078 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
42079 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
42080 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
42081 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
42082 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
42083 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
42084 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
42085 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
42086 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
42087 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
42088 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
42089 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
42090 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
42091 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
42092 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
42093 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
42094 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
42095 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
42096 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
42097 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
42098 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
42099 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
42100 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
42101 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
42102 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
42103 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
42104 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
42105 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
42106 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
42107 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
42108 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
42109 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
42110 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
42111 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
42112 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
42113 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
42115 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
42117 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
42118 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
42119 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
42120 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
42121 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
42122 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
42123 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
42124 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
42125 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
42126 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
42127 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
42128 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
42129 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
42130 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
42131 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
42132 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
42133 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
42134 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
42135 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
42136 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
42137 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
42138 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
42139 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
42140 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
42141 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
42142 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
42143 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
42144 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
42145 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
42146 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
42147 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
42148 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
42149 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
42150 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
42151 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
42152 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
42153 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
42154 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
42155 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
42156 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
42157 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
42158 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
42159 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
42160 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
42161 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
42162 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
42163 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
42164 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
42165 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
42166 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
42167 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
42168 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
42169 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
42170 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
42171 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
42172 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
42173 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
42174 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
42175 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
42176 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
42177 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
42178 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
42179 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
42180 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
42181 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
42182 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
42183 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
42184 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
42185 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
42186 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
42187 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
42188 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
42189 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
42190 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
42191 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
42192 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
42194 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
42196 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
42197 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
42198 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
42199 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
42200 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
42201 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
42202 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
42203 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
42204 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
42205 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
42206 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
42207 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
42208 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
42209 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
42210 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
42211 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
42212 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
42213 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
42214 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
42215 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
42216 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
42217 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
42218 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
42219 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
42220 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
42221 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
42222 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
42223 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
42224 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
42225 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
42226 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
42227 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
42228 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
42229 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
42230 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
42231 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
42232 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
42233 SWIG_Python_SetConstant(d
, "DateTime_GMT13",SWIG_From_int(static_cast< int >(wxDateTime::GMT13
)));
42234 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
42235 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
42236 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
42237 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
42238 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
42239 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
42240 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
42241 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
42242 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
42243 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
42244 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
42245 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
42246 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
42247 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
42248 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
42249 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
42250 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
42251 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
42252 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
42253 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
42254 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
42255 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
42256 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
42257 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
42258 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
42259 SWIG_Python_SetConstant(d
, "DateTime_NZST",SWIG_From_int(static_cast< int >(wxDateTime::NZST
)));
42260 SWIG_Python_SetConstant(d
, "DateTime_NZDT",SWIG_From_int(static_cast< int >(wxDateTime::NZDT
)));
42261 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
42262 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
42263 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
42264 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
42265 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
42266 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
42267 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
42268 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
42269 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
42270 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
42271 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
42272 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
42273 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
42274 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
42275 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
42276 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
42277 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
42278 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
42279 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
42280 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
42281 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
42282 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
42283 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
42284 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
42285 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
42286 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
42287 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
42288 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
42289 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
42290 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
42291 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
42292 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
42293 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
42294 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
42295 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
42296 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
42297 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
42298 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
42299 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
42300 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
42301 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
42302 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
42303 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
42304 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
42305 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
42306 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
42307 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
42308 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
42309 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
42310 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
42311 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
42312 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
42313 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
42314 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
42315 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
42316 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
42317 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
42318 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
42319 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
42320 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
42321 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
42322 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
42323 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
42324 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
42325 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
42326 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
42327 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
42328 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
42329 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
42330 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
42331 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
42332 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
42333 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
42334 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
42335 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
42336 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
42337 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
42338 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
42339 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
42340 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
42341 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
42342 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
42343 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
42344 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
42345 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
42346 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
42347 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
42348 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
42349 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
42350 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
42351 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
42352 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
42353 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
42354 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
42355 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
42356 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
42357 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
42358 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
42359 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
42360 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
42361 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
42362 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
42363 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
42364 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
42365 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
42366 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
42367 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
42368 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
42369 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
42370 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
42371 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
42372 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
42373 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
42374 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
42375 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
42376 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
42377 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
42378 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
42379 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
42380 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
42381 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
42382 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
42383 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
42384 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
42385 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
42386 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
42387 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
42388 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
42389 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
42390 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
42391 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
42392 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
42393 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
42394 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
42395 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
42396 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
42397 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
42398 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
42400 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
42401 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
42402 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
42403 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
42405 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
42406 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
42407 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
42408 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
42409 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
42410 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
42411 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
42412 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
42413 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
42414 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
42415 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
42416 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
42417 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
42418 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
42419 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
42420 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));