1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_void swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAboutDialogInfo swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBitmapDataObject swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBusyCursor swig_types[16]
2483 #define SWIGTYPE_p_wxBusyInfo swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCaret swig_types[19]
2486 #define SWIGTYPE_p_wxChar swig_types[20]
2487 #define SWIGTYPE_p_wxChildFocusEvent swig_types[21]
2488 #define SWIGTYPE_p_wxClipboard swig_types[22]
2489 #define SWIGTYPE_p_wxClipboardLocker swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColour swig_types[26]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[27]
2494 #define SWIGTYPE_p_wxConfig swig_types[28]
2495 #define SWIGTYPE_p_wxConfigBase swig_types[29]
2496 #define SWIGTYPE_p_wxConfigPathChanger swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxCustomDataObject swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDataFormat swig_types[37]
2504 #define SWIGTYPE_p_wxDataObject swig_types[38]
2505 #define SWIGTYPE_p_wxDataObjectComposite swig_types[39]
2506 #define SWIGTYPE_p_wxDataObjectSimple swig_types[40]
2507 #define SWIGTYPE_p_wxDateEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDateSpan swig_types[42]
2509 #define SWIGTYPE_p_wxDateTime swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[44]
2511 #define SWIGTYPE_p_wxDisplay swig_types[45]
2512 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDuplexMode swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEventBlocker swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileConfig swig_types[54]
2521 #define SWIGTYPE_p_wxFileDataObject swig_types[55]
2522 #define SWIGTYPE_p_wxFileHistory swig_types[56]
2523 #define SWIGTYPE_p_wxFileSystem swig_types[57]
2524 #define SWIGTYPE_p_wxFileType swig_types[58]
2525 #define SWIGTYPE_p_wxFileTypeInfo swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFrame swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGridBagSizer swig_types[66]
2533 #define SWIGTYPE_p_wxGridSizer swig_types[67]
2534 #define SWIGTYPE_p_wxICOHandler swig_types[68]
2535 #define SWIGTYPE_p_wxIcon swig_types[69]
2536 #define SWIGTYPE_p_wxIconizeEvent swig_types[70]
2537 #define SWIGTYPE_p_wxIdleEvent swig_types[71]
2538 #define SWIGTYPE_p_wxImage swig_types[72]
2539 #define SWIGTYPE_p_wxImageHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74]
2541 #define SWIGTYPE_p_wxInitDialogEvent swig_types[75]
2542 #define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2543 #define SWIGTYPE_p_wxJoystick swig_types[77]
2544 #define SWIGTYPE_p_wxJoystickEvent swig_types[78]
2545 #define SWIGTYPE_p_wxKeyEvent swig_types[79]
2546 #define SWIGTYPE_p_wxKillError swig_types[80]
2547 #define SWIGTYPE_p_wxLayoutConstraints swig_types[81]
2548 #define SWIGTYPE_p_wxLog swig_types[82]
2549 #define SWIGTYPE_p_wxLogBuffer swig_types[83]
2550 #define SWIGTYPE_p_wxLogChain swig_types[84]
2551 #define SWIGTYPE_p_wxLogGui swig_types[85]
2552 #define SWIGTYPE_p_wxLogNull swig_types[86]
2553 #define SWIGTYPE_p_wxLogStderr swig_types[87]
2554 #define SWIGTYPE_p_wxLogTextCtrl swig_types[88]
2555 #define SWIGTYPE_p_wxLogWindow swig_types[89]
2556 #define SWIGTYPE_p_wxMaximizeEvent swig_types[90]
2557 #define SWIGTYPE_p_wxMenu swig_types[91]
2558 #define SWIGTYPE_p_wxMenuBar swig_types[92]
2559 #define SWIGTYPE_p_wxMenuEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMenuItem swig_types[94]
2561 #define SWIGTYPE_p_wxMetafileDataObject swig_types[95]
2562 #define SWIGTYPE_p_wxMimeTypesManager swig_types[96]
2563 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[98]
2565 #define SWIGTYPE_p_wxMouseEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseState swig_types[100]
2567 #define SWIGTYPE_p_wxMoveEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[102]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNotifyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxObject swig_types[106]
2573 #define SWIGTYPE_p_wxOutputStream swig_types[107]
2574 #define SWIGTYPE_p_wxPCXHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPNGHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNMHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPaintEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaperSize swig_types[113]
2580 #define SWIGTYPE_p_wxPlatformInfo swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPowerEvent swig_types[116]
2583 #define SWIGTYPE_p_wxProcessEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPyApp swig_types[118]
2585 #define SWIGTYPE_p_wxPyArtProvider swig_types[119]
2586 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[122]
2589 #define SWIGTYPE_p_wxPyDropSource swig_types[123]
2590 #define SWIGTYPE_p_wxPyDropTarget swig_types[124]
2591 #define SWIGTYPE_p_wxPyEvent swig_types[125]
2592 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[126]
2593 #define SWIGTYPE_p_wxPyImageHandler swig_types[127]
2594 #define SWIGTYPE_p_wxPyLog swig_types[128]
2595 #define SWIGTYPE_p_wxPyProcess swig_types[129]
2596 #define SWIGTYPE_p_wxPySizer swig_types[130]
2597 #define SWIGTYPE_p_wxPyTextDataObject swig_types[131]
2598 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[132]
2599 #define SWIGTYPE_p_wxPyTimer swig_types[133]
2600 #define SWIGTYPE_p_wxPyTipProvider swig_types[134]
2601 #define SWIGTYPE_p_wxPyValidator swig_types[135]
2602 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[136]
2603 #define SWIGTYPE_p_wxRect swig_types[137]
2604 #define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605 #define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSetCursorEvent swig_types[140]
2607 #define SWIGTYPE_p_wxShowEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[142]
2609 #define SWIGTYPE_p_wxSize swig_types[143]
2610 #define SWIGTYPE_p_wxSizeEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxSizerItem swig_types[146]
2613 #define SWIGTYPE_p_wxSound swig_types[147]
2614 #define SWIGTYPE_p_wxStandardPaths swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStopWatch swig_types[151]
2618 #define SWIGTYPE_p_wxString swig_types[152]
2619 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSystemOptions swig_types[154]
2621 #define SWIGTYPE_p_wxSystemSettings swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625 #define SWIGTYPE_p_wxTextDataObject swig_types[159]
2626 #define SWIGTYPE_p_wxTimeSpan swig_types[160]
2627 #define SWIGTYPE_p_wxTimer swig_types[161]
2628 #define SWIGTYPE_p_wxTimerEvent swig_types[162]
2629 #define SWIGTYPE_p_wxTimerRunner swig_types[163]
2630 #define SWIGTYPE_p_wxTipProvider swig_types[164]
2631 #define SWIGTYPE_p_wxToolTip swig_types[165]
2632 #define SWIGTYPE_p_wxURLDataObject swig_types[166]
2633 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2634 #define SWIGTYPE_p_wxValidator swig_types[168]
2635 #define SWIGTYPE_p_wxVideoMode swig_types[169]
2636 #define SWIGTYPE_p_wxWindow swig_types[170]
2637 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[171]
2638 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDisabler swig_types[173]
2640 #define SWIGTYPE_p_wxXPMHandler swig_types[174]
2641 static swig_type_info
*swig_types
[176];
2642 static swig_module_info swig_module
= {swig_types
, 175, 0, 0, 0, 0};
2643 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2644 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2646 /* -------- TYPES TABLE (END) -------- */
2648 #if (PY_VERSION_HEX <= 0x02000000)
2649 # if !defined(SWIG_PYTHON_CLASSIC)
2650 # error "This python version requires to use swig with the '-classic' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodern' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 /*-----------------------------------------------
2664 @(target):= _misc_.so
2665 ------------------------------------------------*/
2666 #define SWIG_init init_misc_
2668 #define SWIG_name "_misc_"
2670 #define SWIGVERSION 0x010329
2673 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2674 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677 #include <stdexcept>
2681 class PyObject_ptr
{
2686 PyObject_ptr() :_obj(0)
2690 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2695 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2697 if (initial_ref
) Py_XINCREF(_obj
);
2700 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2702 Py_XINCREF(item
._obj
);
2713 operator PyObject
*() const
2718 PyObject
*operator->() const
2727 struct PyObject_var
: PyObject_ptr
{
2728 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2730 PyObject_var
& operator = (PyObject
* obj
)
2740 #include "wx/wxPython/wxPython.h"
2741 #include "wx/wxPython/pyclasses.h"
2742 #include "wx/wxPython/pyistream.h"
2744 static const wxString
wxPyEmptyString(wxEmptyString
);
2748 #define SWIG_From_long PyInt_FromLong
2751 SWIGINTERNINLINE PyObject
*
2752 SWIG_From_int (int value
)
2754 return SWIG_From_long (value
);
2760 # define LLONG_MIN LONG_LONG_MIN
2763 # define LLONG_MAX LONG_LONG_MAX
2766 # define ULLONG_MAX ULONG_LONG_MAX
2771 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2773 if (PyNumber_Check(obj
)) {
2774 if (val
) *val
= PyInt_AsLong(obj
);
2777 return SWIG_TypeError
;
2782 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2785 int res
= SWIG_AsVal_long (obj
, &v
);
2786 if (SWIG_IsOK(res
)) {
2787 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2788 return SWIG_OverflowError
;
2790 if (val
) *val
= static_cast< int >(v
);
2796 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2798 #include <wx/stockitem.h>
2800 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2801 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2802 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2804 wxMemorySize
wxGetFreeMemory()
2805 { wxPyRaiseNotImplemented(); return 0; }
2809 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2812 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2813 return SWIG_TypeError
;
2816 *val
= (unsigned long)v
;
2822 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2824 if (obj
== Py_True
) {
2825 if (val
) *val
= true;
2827 } else if (obj
== Py_False
) {
2828 if (val
) *val
= false;
2832 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2833 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2839 SWIGINTERNINLINE PyObject
*
2840 SWIG_From_unsigned_SS_long (unsigned long value
)
2842 return (value
> LONG_MAX
) ?
2843 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2847 void* wxGetXDisplay()
2850 return wxGetDisplay();
2857 wxWindow
* FindWindowAtPointer() {
2859 return wxFindWindowAtPointer(unused
);
2863 void wxWakeUpMainThread() {}
2866 bool wxThread_IsMain() {
2867 #ifdef WXP_WITH_THREAD
2868 return wxThread::IsMain();
2874 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2878 #include <wx/snglinst.h>
2882 #include <wx/msw/private.h>
2883 #include <wx/dynload.h>
2888 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2899 // This one only partially works. Appears to be an undocumented
2900 // "standard" convention that not all widgets adhear to. For
2901 // example, for some widgets backgrounds or non-client areas may
2903 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2908 // This one works much better, nearly all widgets and their
2909 // children are captured correctly[**]. Prior to the big
2910 // background erase changes that Vadim did in 2004-2005 this
2911 // method failed badly on XP with Themes activated, most native
2912 // widgets draw only partially, if at all. Without themes it
2913 // worked just like on Win2k. After those changes this method
2916 // ** For example the radio buttons in a wxRadioBox are not its
2917 // children by default, but you can capture it via the panel
2918 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2919 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2920 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2921 PRF_ERASEBKGND
| PRF_OWNED
);
2927 // This one is only defined in the latest SDK and is only
2928 // available on XP. MSDN says it is similar to sending WM_PRINT
2929 // so I expect that it will work similar to the above. Since it
2930 // is avaialble only on XP, it can't be compiled like this and
2931 // will have to be loaded dynamically.
2932 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2937 // Use PrintWindow if available, or fallback to WM_PRINT
2938 // otherwise. Unfortunately using PrintWindow is even worse than
2939 // WM_PRINT. For most native widgets nothing is drawn to the dc
2940 // at all, with or without Themes.
2941 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2942 static bool s_triedToLoad
= false;
2943 static PrintWindow_t pfnPrintWindow
= NULL
;
2944 if ( !s_triedToLoad
)
2947 s_triedToLoad
= true;
2948 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2949 if ( dllUser32
.IsLoaded() )
2951 wxLogNull nolog
; // Don't report errors here
2952 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2957 //printf("Using PrintWindow\n");
2958 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2962 //printf("Using WM_PRINT\n");
2963 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2964 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2965 PRF_ERASEBKGND
| PRF_OWNED
);
2976 #include <wx/tipdlg.h>
2979 SWIGINTERNINLINE PyObject
*
2980 SWIG_From_size_t (size_t value
)
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2986 class wxPyTipProvider
: public wxTipProvider
{
2988 wxPyTipProvider(size_t currentTip
)
2989 : wxTipProvider(currentTip
) {}
2991 DEC_PYCALLBACK_STRING__pure(GetTip
);
2992 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2996 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2997 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
3000 SWIGINTERNINLINE
int
3001 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3004 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3005 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3010 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3012 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3014 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3015 : wxTimer(owner
, id
)
3021 wxPyTimer::~wxPyTimer()
3023 // printf("-=* ~wxPyTimer\n");
3028 SWIGINTERN swig_type_info
*
3029 SWIG_pchar_descriptor()
3031 static int init
= 0;
3032 static swig_type_info
* info
= 0;
3034 info
= SWIG_TypeQuery("_p_char");
3041 SWIGINTERNINLINE PyObject
*
3042 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3045 if (size
> INT_MAX
) {
3046 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3047 return pchar_descriptor
?
3048 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3050 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3053 return SWIG_Py_Void();
3058 SWIGINTERNINLINE PyObject
*
3059 SWIG_FromCharPtr(const char *cptr
)
3061 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3066 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3069 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3070 if (SWIG_IsOK(res
)) {
3071 if ((v
> UINT_MAX
)) {
3072 return SWIG_OverflowError
;
3074 if (val
) *val
= static_cast< unsigned int >(v
);
3080 SWIGINTERN wxString
wxLog_TimeStamp(){
3082 wxLog::TimeStamp(&msg
);
3085 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3086 // Make some wrappers that double any % signs so they are 'escaped'
3087 void wxPyLogFatalError(const wxString
& msg
)
3090 m
.Replace(wxT("%"), wxT("%%"));
3094 void wxPyLogError(const wxString
& msg
)
3097 m
.Replace(wxT("%"), wxT("%%"));
3101 void wxPyLogWarning(const wxString
& msg
)
3104 m
.Replace(wxT("%"), wxT("%%"));
3108 void wxPyLogMessage(const wxString
& msg
)
3111 m
.Replace(wxT("%"), wxT("%%"));
3115 void wxPyLogInfo(const wxString
& msg
)
3118 m
.Replace(wxT("%"), wxT("%%"));
3122 void wxPyLogDebug(const wxString
& msg
)
3125 m
.Replace(wxT("%"), wxT("%%"));
3129 void wxPyLogVerbose(const wxString
& msg
)
3132 m
.Replace(wxT("%"), wxT("%%"));
3136 void wxPyLogStatus(const wxString
& msg
)
3139 m
.Replace(wxT("%"), wxT("%%"));
3143 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3146 m
.Replace(wxT("%"), wxT("%%"));
3147 wxLogStatus(pFrame
, m
);
3150 void wxPyLogSysError(const wxString
& msg
)
3153 m
.Replace(wxT("%"), wxT("%%"));
3157 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3160 m
.Replace(wxT("%"), wxT("%%"));
3161 wxLogGeneric(level
, m
);
3164 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3167 m
.Replace(wxT("%"), wxT("%%"));
3168 wxLogTrace(mask
, m
);
3171 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3174 m
.Replace(wxT("%"), wxT("%%"));
3175 wxLogTrace(mask
, m
);
3180 // A wxLog class that can be derived from in wxPython
3181 class wxPyLog
: public wxLog
{
3183 wxPyLog() : wxLog() {}
3185 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3187 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3188 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3189 PyObject
* s
= wx2PyString(szString
);
3190 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3193 wxPyEndBlockThreads(blocked
);
3195 wxLog::DoLog(level
, szString
, t
);
3198 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3201 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3202 PyObject
* s
= wx2PyString(szString
);
3203 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3206 wxPyEndBlockThreads(blocked
);
3208 wxLog::DoLogString(szString
, t
);
3211 DEC_PYCALLBACK_VOID_(Flush
);
3214 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3219 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3222 #include <wx/joystick.h>
3225 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3226 // A C++ stub class for wxJoystick for platforms that don't have it.
3227 class wxJoystick
: public wxObject
{
3229 wxJoystick(int joystick
= wxJOYSTICK1
) {
3230 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3231 PyErr_SetString(PyExc_NotImplementedError
,
3232 "wxJoystick is not available on this platform.");
3233 wxPyEndBlockThreads(blocked
);
3235 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3236 int GetZPosition() { return -1; }
3237 int GetButtonState() { return -1; }
3238 int GetPOVPosition() { return -1; }
3239 int GetPOVCTSPosition() { return -1; }
3240 int GetRudderPosition() { return -1; }
3241 int GetUPosition() { return -1; }
3242 int GetVPosition() { return -1; }
3243 int GetMovementThreshold() { return -1; }
3244 void SetMovementThreshold(int threshold
) {}
3246 bool IsOk(void) { return false; }
3247 int GetNumberJoysticks() { return -1; }
3248 int GetManufacturerId() { return -1; }
3249 int GetProductId() { return -1; }
3250 wxString
GetProductName() { return wxEmptyString
; }
3251 int GetXMin() { return -1; }
3252 int GetYMin() { return -1; }
3253 int GetZMin() { return -1; }
3254 int GetXMax() { return -1; }
3255 int GetYMax() { return -1; }
3256 int GetZMax() { return -1; }
3257 int GetNumberButtons() { return -1; }
3258 int GetNumberAxes() { return -1; }
3259 int GetMaxButtons() { return -1; }
3260 int GetMaxAxes() { return -1; }
3261 int GetPollingMin() { return -1; }
3262 int GetPollingMax() { return -1; }
3263 int GetRudderMin() { return -1; }
3264 int GetRudderMax() { return -1; }
3265 int GetUMin() { return -1; }
3266 int GetUMax() { return -1; }
3267 int GetVMin() { return -1; }
3268 int GetVMax() { return -1; }
3270 bool HasRudder() { return false; }
3271 bool HasZ() { return false; }
3272 bool HasU() { return false; }
3273 bool HasV() { return false; }
3274 bool HasPOV() { return false; }
3275 bool HasPOV4Dir() { return false; }
3276 bool HasPOVCTS() { return false; }
3278 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3279 bool ReleaseCapture() { return false; }
3284 #include <wx/sound.h>
3288 // A C++ stub class for wxWave for platforms that don't have it.
3289 class wxSound
: public wxObject
3293 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3294 PyErr_SetString(PyExc_NotImplementedError
,
3295 "wxSound is not available on this platform.");
3296 wxPyEndBlockThreads(blocked
);
3298 wxSound(const wxString
&/*, bool*/) {
3299 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3300 PyErr_SetString(PyExc_NotImplementedError
,
3301 "wxSound is not available on this platform.");
3302 wxPyEndBlockThreads(blocked
);
3304 wxSound(int, const wxByte
*) {
3305 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3306 PyErr_SetString(PyExc_NotImplementedError
,
3307 "wxSound is not available on this platform.");
3308 wxPyEndBlockThreads(blocked
);
3313 bool Create(const wxString
&/*, bool*/) { return false; }
3314 bool Create(int, const wxByte
*) { return false; };
3315 bool IsOk() { return false; };
3316 bool Play(unsigned) const { return false; }
3317 static bool Play(const wxString
&, unsigned) { return false; }
3318 static void Stop() {}
3323 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3324 if (fileName
.Length() == 0)
3327 return new wxSound(fileName
);
3329 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3330 unsigned char* buffer
; int size
;
3331 wxSound
*sound
= NULL
;
3333 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3334 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3336 sound
= new wxSound(size
, buffer
);
3338 wxPyEndBlockThreads(blocked
);
3341 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3343 unsigned char* buffer
;
3347 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3348 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3350 rv
= self
->Create(size
, buffer
);
3352 wxPyEndBlockThreads(blocked
);
3355 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3356 PyErr_SetString(PyExc_NotImplementedError
,
3357 "Create from data is not available on this platform.");
3358 wxPyEndBlockThreads(blocked
);
3363 #include <wx/mimetype.h>
3365 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3367 if (self
->GetMimeType(&str
))
3368 return wx2PyString(str
);
3372 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3374 if (self
->GetMimeTypes(arr
))
3375 return wxArrayString2PyList_helper(arr
);
3379 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3381 if (self
->GetExtensions(arr
))
3382 return wxArrayString2PyList_helper(arr
);
3386 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3388 if (self
->GetIcon(&loc
))
3389 return new wxIcon(loc
);
3393 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3395 if (self
->GetIcon(&loc
)) {
3396 wxString iconFile
= loc
.GetFileName();
3401 // Make a tuple and put the values in it
3402 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3403 PyObject
* tuple
= PyTuple_New(3);
3404 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3405 wxT("wxIcon"), true));
3406 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3407 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3408 wxPyEndBlockThreads(blocked
);
3414 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3416 if (self
->GetDescription(&str
))
3417 return wx2PyString(str
);
3421 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3423 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3424 return wx2PyString(str
);
3428 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3430 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3431 return wx2PyString(str
);
3435 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3436 wxArrayString verbs
;
3437 wxArrayString commands
;
3438 if (self
->GetAllCommands(&verbs
, &commands
,
3439 wxFileType::MessageParameters(filename
, mimetype
))) {
3440 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3441 PyObject
* tuple
= PyTuple_New(2);
3442 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3443 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3444 wxPyEndBlockThreads(blocked
);
3450 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3451 return wxFileType::ExpandCommand(command
,
3452 wxFileType::MessageParameters(filename
, mimetype
));
3454 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3456 self
->EnumAllFileTypes(arr
);
3457 return wxArrayString2PyList_helper(arr
);
3460 #include <wx/artprov.h>
3462 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3463 static const wxString
wxPyART_MENU(wxART_MENU
);
3464 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3465 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3466 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3467 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3468 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3469 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3470 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3471 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3472 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3473 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3474 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3475 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3476 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3477 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3478 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3479 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3480 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3481 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3482 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3483 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3484 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3485 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3486 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3487 static const wxString
wxPyART_HELP(wxART_HELP
);
3488 static const wxString
wxPyART_TIP(wxART_TIP
);
3489 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3490 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3491 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3492 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3493 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3494 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3495 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3496 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3497 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3498 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3499 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3500 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3501 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3502 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3503 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3504 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3505 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3506 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3507 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3508 static const wxString
wxPyART_COPY(wxART_COPY
);
3509 static const wxString
wxPyART_CUT(wxART_CUT
);
3510 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3511 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3512 static const wxString
wxPyART_NEW(wxART_NEW
);
3513 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3514 static const wxString
wxPyART_REDO(wxART_REDO
);
3515 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3516 static const wxString
wxPyART_FIND(wxART_FIND
);
3517 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3518 // Python aware wxArtProvider
3519 class wxPyArtProvider
: public wxArtProvider
{
3522 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3523 const wxArtClient
& client
,
3524 const wxSize
& size
) {
3525 wxBitmap rval
= wxNullBitmap
;
3526 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3527 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3528 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3532 s1
= wx2PyString(id
);
3533 s2
= wx2PyString(client
);
3534 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3539 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3544 wxPyEndBlockThreads(blocked
);
3551 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3555 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3556 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3557 PyObject
* ret
= PyTuple_New(3);
3559 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3560 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3561 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3563 wxPyEndBlockThreads(blocked
);
3567 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3572 cont
= self
->GetFirstGroup(value
, index
);
3573 return __EnumerationHelper(cont
, value
, index
);
3575 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3579 cont
= self
->GetNextGroup(value
, index
);
3580 return __EnumerationHelper(cont
, value
, index
);
3582 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3587 cont
= self
->GetFirstEntry(value
, index
);
3588 return __EnumerationHelper(cont
, value
, index
);
3590 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3594 cont
= self
->GetNextEntry(value
, index
);
3595 return __EnumerationHelper(cont
, value
, index
);
3597 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3599 self
->Read(key
, &rv
, defaultVal
);
3604 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3606 if (PyNumber_Check(obj
)) {
3607 if (val
) *val
= PyFloat_AsDouble(obj
);
3610 return SWIG_TypeError
;
3613 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3615 self
->Read(key
, &rv
, defaultVal
);
3619 #define SWIG_From_double PyFloat_FromDouble
3621 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3623 self
->Read(key
, &rv
, defaultVal
);
3627 #include <wx/datetime.h>
3629 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3630 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3632 #define LOCAL_TZ wxDateTime::Local
3634 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3637 wxDateTime::GetAmPmStrings(&am
, &pm
);
3638 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3639 PyObject
* tup
= PyTuple_New(2);
3640 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3641 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3642 wxPyEndBlockThreads(blocked
);
3646 SWIGINTERNINLINE PyObject
*
3647 SWIG_From_unsigned_SS_int (unsigned int value
)
3649 return SWIG_From_unsigned_SS_long (value
);
3652 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3653 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3654 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3655 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3656 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3657 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3658 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3659 return (*self
< *other
);
3661 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3662 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3663 return (*self
<= *other
);
3665 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3666 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3667 return (*self
> *other
);
3669 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3670 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3671 return (*self
>= *other
);
3673 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3674 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3675 return (*self
== *other
);
3677 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3678 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3679 return (*self
!= *other
);
3681 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3683 const wxChar
* _date
= date
;
3684 rv
= self
->ParseRfc822Date(_date
);
3685 if (rv
== NULL
) return -1;
3688 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3690 const wxChar
* _date
= date
;
3691 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3692 if (rv
== NULL
) return -1;
3695 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3697 const wxChar
* _datetime
= datetime
;
3698 rv
= self
->ParseDateTime(_datetime
);
3699 if (rv
== NULL
) return -1;
3700 return rv
- _datetime
;
3702 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3704 const wxChar
* _date
= date
;
3705 rv
= self
->ParseDate(_date
);
3706 if (rv
== NULL
) return -1;
3709 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3711 const wxChar
* _time
= time
;
3712 rv
= self
->ParseTime(_time
);
3713 if (rv
== NULL
) return -1;
3716 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3717 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3718 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3719 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3720 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3721 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3722 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3723 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3724 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3725 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3726 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3727 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3728 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3729 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3730 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3731 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3733 #include <wx/dataobj.h>
3735 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3736 size_t count
= self
->GetFormatCount(dir
);
3737 wxDataFormat
* formats
= new wxDataFormat
[count
];
3738 self
->GetAllFormats(formats
, dir
);
3740 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3741 PyObject
* list
= PyList_New(count
);
3742 for (size_t i
=0; i
<count
; i
++) {
3743 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3744 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3745 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3747 wxPyEndBlockThreads(blocked
);
3751 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3752 PyObject
* rval
= NULL
;
3753 size_t size
= self
->GetDataSize(format
);
3754 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3756 char* buf
= new char[size
];
3757 if (self
->GetDataHere(format
, buf
))
3758 rval
= PyString_FromStringAndSize(buf
, size
);
3765 wxPyEndBlockThreads(blocked
);
3768 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3770 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3771 if (PyString_Check(data
)) {
3772 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3775 // raise a TypeError if not a string
3776 PyErr_SetString(PyExc_TypeError
, "String expected.");
3779 wxPyEndBlockThreads(blocked
);
3782 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3783 PyObject
* rval
= NULL
;
3784 size_t size
= self
->GetDataSize();
3785 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3787 char* buf
= new char[size
];
3788 if (self
->GetDataHere(buf
))
3789 rval
= PyString_FromStringAndSize(buf
, size
);
3796 wxPyEndBlockThreads(blocked
);
3799 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3801 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3802 if (PyString_Check(data
)) {
3803 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3806 // raise a TypeError if not a string
3807 PyErr_SetString(PyExc_TypeError
, "String expected.");
3810 wxPyEndBlockThreads(blocked
);
3813 // Create a new class for wxPython to use
3814 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3816 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3817 : wxDataObjectSimple(format
) {}
3819 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3820 bool GetDataHere(void *buf
) const;
3821 bool SetData(size_t len
, const void *buf
);
3825 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3827 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3828 // We need to get the data for this object and write it to buf. I think
3829 // the best way to do this for wxPython is to have the Python method
3830 // return either a string or None and then act appropriately with the
3834 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3835 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3837 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3839 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3841 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3845 wxPyEndBlockThreads(blocked
);
3849 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3850 // For this one we simply need to make a string from buf and len
3851 // and send it to the Python method.
3853 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3854 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3855 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3856 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3859 wxPyEndBlockThreads(blocked
);
3863 // Create a new class for wxPython to use
3864 class wxPyTextDataObject
: public wxTextDataObject
{
3866 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3867 : wxTextDataObject(text
) {}
3869 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3870 DEC_PYCALLBACK_STRING__const(GetText
);
3871 DEC_PYCALLBACK__STRING(SetText
);
3875 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3876 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3877 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3880 // Create a new class for wxPython to use
3881 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3883 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3884 : wxBitmapDataObject(bitmap
) {}
3886 wxBitmap
GetBitmap() const;
3887 void SetBitmap(const wxBitmap
& bitmap
);
3891 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3892 wxBitmap
* rval
= &wxNullBitmap
;
3893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3894 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3897 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3899 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3904 wxPyEndBlockThreads(blocked
);
3908 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3909 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3910 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3911 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3912 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3915 wxPyEndBlockThreads(blocked
);
3918 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3919 return new wxCustomDataObject(wxDataFormat(formatName
));
3921 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3923 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3924 if (PyString_Check(data
)) {
3925 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3928 // raise a TypeError if not a string
3929 PyErr_SetString(PyExc_TypeError
, "String expected.");
3932 wxPyEndBlockThreads(blocked
);
3935 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3937 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3938 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3939 wxPyEndBlockThreads(blocked
);
3943 class wxMetafileDataObject
: public wxDataObjectSimple
3946 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3950 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3953 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3954 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3955 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3956 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3957 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3960 class wxPyTextDropTarget
: public wxTextDropTarget
{
3962 wxPyTextDropTarget() {}
3964 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3966 DEC_PYCALLBACK__(OnLeave
);
3967 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3968 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3969 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3970 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3975 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3976 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3977 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3978 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3979 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3980 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3984 class wxPyFileDropTarget
: public wxFileDropTarget
{
3986 wxPyFileDropTarget() {}
3988 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3990 DEC_PYCALLBACK__(OnLeave
);
3991 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3992 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3993 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3994 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3999 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
4000 const wxArrayString
& filenames
) {
4002 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4003 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
4004 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
4005 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
4008 wxPyEndBlockThreads(blocked
);
4014 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4015 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4016 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4017 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4018 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4023 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4025 #include <wx/display.h>
4026 #include <wx/vidmode.h>
4028 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4029 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4032 const wxVideoMode wxDefaultVideoMode
;
4035 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4037 PyObject
* pyList
= NULL
;
4038 wxArrayVideoModes arr
= self
->GetModes(mode
);
4039 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4040 pyList
= PyList_New(0);
4041 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4043 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4044 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4045 PyList_Append(pyList
, pyObj
);
4048 wxPyEndBlockThreads(blocked
);
4051 wxPyRaiseNotImplemented();
4055 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4057 return self
->GetCurrentMode();
4059 wxPyRaiseNotImplemented();
4060 return wxDefaultVideoMode
;
4063 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4065 return self
->ChangeMode(mode
);
4067 wxPyRaiseNotImplemented();
4071 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4075 wxPyRaiseNotImplemented();
4079 #include <wx/stdpaths.h>
4081 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4082 return (wxStandardPaths
*) &wxStandardPaths::Get();
4085 #ifndef wxHAS_POWER_EVENTS
4086 // Dummy class and other definitions for platforms that don't have them
4088 // See wxPython_int.h for wxPowerEvent
4091 wxEVT_POWER_SUSPENDING
,
4092 wxEVT_POWER_SUSPENDED
,
4093 wxEVT_POWER_SUSPEND_CANCEL
,
4097 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4098 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4103 #include <wx/aboutdlg.h>
4108 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
= 0;
4110 wxSystemColour arg1
;
4114 PyObject
* obj0
= 0 ;
4115 char * kwnames
[] = {
4116 (char *) "index", NULL
4119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4120 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4121 if (!SWIG_IsOK(ecode1
)) {
4122 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4124 arg1
= static_cast< wxSystemColour
>(val1
);
4126 if (!wxPyCheckForApp()) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 result
= wxSystemSettings::GetColour(arg1
);
4129 wxPyEndAllowThreads(__tstate
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4139 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
= 0;
4145 PyObject
* obj0
= 0 ;
4146 char * kwnames
[] = {
4147 (char *) "index", NULL
4150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4151 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4152 if (!SWIG_IsOK(ecode1
)) {
4153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4155 arg1
= static_cast< wxSystemFont
>(val1
);
4157 if (!wxPyCheckForApp()) SWIG_fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= wxSystemSettings::GetFont(arg1
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4170 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
= 0;
4172 wxSystemMetric arg1
;
4173 wxWindow
*arg2
= (wxWindow
*) NULL
;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4181 char * kwnames
[] = {
4182 (char *) "index",(char *) "win", NULL
4185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4187 if (!SWIG_IsOK(ecode1
)) {
4188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4190 arg1
= static_cast< wxSystemMetric
>(val1
);
4192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4193 if (!SWIG_IsOK(res2
)) {
4194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4199 if (!wxPyCheckForApp()) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= SWIG_From_int(static_cast< int >(result
));
4212 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
= 0;
4214 wxSystemFeature arg1
;
4218 PyObject
* obj0
= 0 ;
4219 char * kwnames
[] = {
4220 (char *) "index", NULL
4223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4224 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4225 if (!SWIG_IsOK(ecode1
)) {
4226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4228 arg1
= static_cast< wxSystemFeature
>(val1
);
4230 if (!wxPyCheckForApp()) SWIG_fail
;
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4245 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4246 PyObject
*resultobj
= 0;
4247 wxSystemScreenType result
;
4249 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4251 if (!wxPyCheckForApp()) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 resultobj
= SWIG_From_int(static_cast< int >(result
));
4264 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
= 0;
4266 wxSystemScreenType arg1
;
4269 PyObject
* obj0
= 0 ;
4270 char * kwnames
[] = {
4271 (char *) "screen", NULL
4274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4275 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4276 if (!SWIG_IsOK(ecode1
)) {
4277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4279 arg1
= static_cast< wxSystemScreenType
>(val1
);
4281 if (!wxPyCheckForApp()) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 wxSystemSettings::SetScreenType(arg1
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_Py_Void();
4294 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4297 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4298 return SWIG_Py_Void();
4301 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4302 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4307 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4308 PyObject
*pyobj
= 0;
4312 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4314 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4321 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4322 PyObject
*resultobj
= 0;
4323 wxSystemOptions
*result
= 0 ;
4325 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 result
= (wxSystemOptions
*)new wxSystemOptions();
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4339 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
= 0;
4341 wxString
*arg1
= 0 ;
4342 wxString
*arg2
= 0 ;
4343 bool temp1
= false ;
4344 bool temp2
= false ;
4345 PyObject
* obj0
= 0 ;
4346 PyObject
* obj1
= 0 ;
4347 char * kwnames
[] = {
4348 (char *) "name",(char *) "value", NULL
4351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4353 arg1
= wxString_in_helper(obj0
);
4354 if (arg1
== NULL
) SWIG_fail
;
4358 arg2
= wxString_in_helper(obj1
);
4359 if (arg2
== NULL
) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 resultobj
= SWIG_Py_Void();
4391 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
= 0;
4393 wxString
*arg1
= 0 ;
4395 bool temp1
= false ;
4398 PyObject
* obj0
= 0 ;
4399 PyObject
* obj1
= 0 ;
4400 char * kwnames
[] = {
4401 (char *) "name",(char *) "value", NULL
4404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4406 arg1
= wxString_in_helper(obj0
);
4407 if (arg1
== NULL
) SWIG_fail
;
4410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4411 if (!SWIG_IsOK(ecode2
)) {
4412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4414 arg2
= static_cast< int >(val2
);
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= SWIG_Py_Void();
4436 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
= 0;
4438 wxString
*arg1
= 0 ;
4440 bool temp1
= false ;
4441 PyObject
* obj0
= 0 ;
4442 char * kwnames
[] = {
4443 (char *) "name", NULL
4446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4448 arg1
= wxString_in_helper(obj0
);
4449 if (arg1
== NULL
) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4479 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxString
*arg1
= 0 ;
4483 bool temp1
= false ;
4484 PyObject
* obj0
= 0 ;
4485 char * kwnames
[] = {
4486 (char *) "name", NULL
4489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4491 arg1
= wxString_in_helper(obj0
);
4492 if (arg1
== NULL
) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4501 resultobj
= SWIG_From_int(static_cast< int >(result
));
4516 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4517 PyObject
*resultobj
= 0;
4518 wxString
*arg1
= 0 ;
4520 bool temp1
= false ;
4521 PyObject
* obj0
= 0 ;
4522 char * kwnames
[] = {
4523 (char *) "name", NULL
4526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4528 arg1
= wxString_in_helper(obj0
);
4529 if (arg1
== NULL
) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4555 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
= 0;
4557 wxString
*arg1
= 0 ;
4559 bool temp1
= false ;
4560 PyObject
* obj0
= 0 ;
4561 char * kwnames
[] = {
4562 (char *) "name", NULL
4565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4567 arg1
= wxString_in_helper(obj0
);
4568 if (arg1
== NULL
) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4594 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4597 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4598 return SWIG_Py_Void();
4601 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4602 return SWIG_Python_InitShadowInstance(args
);
4605 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4606 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4611 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4612 PyObject
*pyobj
= 0;
4616 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4618 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4625 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4626 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4631 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4632 PyObject
*pyobj
= 0;
4636 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4638 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4645 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4646 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4651 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4652 PyObject
*pyobj
= 0;
4656 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4658 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4665 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4666 PyObject
*resultobj
= 0;
4669 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 result
= (long)wxNewId();
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= SWIG_From_long(static_cast< long >(result
));
4683 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
= 0;
4688 PyObject
* obj0
= 0 ;
4689 char * kwnames
[] = {
4693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4694 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4695 if (!SWIG_IsOK(ecode1
)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4698 arg1
= static_cast< long >(val1
);
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_Py_Void();
4712 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 PyObject
*resultobj
= 0;
4716 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (long)wxGetCurrentId();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= SWIG_From_long(static_cast< long >(result
));
4730 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
= 0;
4736 PyObject
* obj0
= 0 ;
4737 char * kwnames
[] = {
4741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4742 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4743 if (!SWIG_IsOK(ecode1
)) {
4744 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4746 arg1
= static_cast< int >(val1
);
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (bool)wxIsStockID(arg1
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4762 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
= 0;
4765 wxString
*arg2
= 0 ;
4769 bool temp2
= false ;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4772 char * kwnames
[] = {
4773 (char *) "id",(char *) "label", NULL
4776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4777 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4778 if (!SWIG_IsOK(ecode1
)) {
4779 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4781 arg1
= static_cast< int >(val1
);
4783 arg2
= wxString_in_helper(obj1
);
4784 if (arg2
== NULL
) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4810 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
= 0;
4813 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4821 char * kwnames
[] = {
4822 (char *) "id",(char *) "flags", NULL
4825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4826 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4827 if (!SWIG_IsOK(ecode1
)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4830 arg1
= static_cast< int >(val1
);
4832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4833 if (!SWIG_IsOK(ecode2
)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4836 arg2
= static_cast< long >(val2
);
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= wxGetStockLabel(arg1
,arg2
);
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4857 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
= 0;
4860 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4866 PyObject
* obj0
= 0 ;
4867 PyObject
* obj1
= 0 ;
4868 char * kwnames
[] = {
4869 (char *) "id",(char *) "client", NULL
4872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4873 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4874 if (!SWIG_IsOK(ecode1
)) {
4875 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4877 arg1
= static_cast< int >(val1
);
4879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4880 if (!SWIG_IsOK(ecode2
)) {
4881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4883 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= wxGetStockHelpString(arg1
,arg2
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4904 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4905 PyObject
*resultobj
= 0;
4907 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4909 if (!wxPyCheckForApp()) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_Py_Void();
4922 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4923 PyObject
*resultobj
= 0;
4925 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4927 if (!wxPyCheckForApp()) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 resultobj
= SWIG_Py_Void();
4940 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4941 PyObject
*resultobj
= 0;
4944 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (bool)wxIsBusy();
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4960 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4961 PyObject
*resultobj
= 0;
4964 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4984 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
= 0;
4986 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4987 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4989 bool temp1
= false ;
4990 PyObject
* obj0
= 0 ;
4991 char * kwnames
[] = {
4992 (char *) "command", NULL
4995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4998 arg1
= wxString_in_helper(obj0
);
4999 if (arg1
== NULL
) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (bool)wxShell((wxString
const &)*arg1
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5026 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5027 PyObject
*resultobj
= 0;
5028 int *arg1
= (int *) 0 ;
5029 int *arg2
= (int *) 0 ;
5032 int res1
= SWIG_TMPOBJ
;
5034 int res2
= SWIG_TMPOBJ
;
5038 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (int)wxGetOsVersion(arg1
,arg2
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= SWIG_From_int(static_cast< int >(result
));
5046 if (SWIG_IsTmpObj(res1
)) {
5047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5049 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5052 if (SWIG_IsTmpObj(res2
)) {
5053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5055 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5056 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5064 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5065 PyObject
*resultobj
= 0;
5068 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 result
= wxGetOsDescription();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5088 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5089 PyObject
*resultobj
= 0;
5092 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 result
= (bool)wxIsPlatformLittleEndian();
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5108 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5109 PyObject
*resultobj
= 0;
5112 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (bool)wxIsPlatform64Bit();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5128 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5129 PyObject
*resultobj
= 0;
5130 wxMemorySize result
;
5132 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= wxGetFreeMemory();
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5143 resultobj
= PyInt_FromLong(result
);
5152 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
= 0;
5154 wxShutdownFlags arg1
;
5158 PyObject
* obj0
= 0 ;
5159 char * kwnames
[] = {
5160 (char *) "wFlags", NULL
5163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5165 if (!SWIG_IsOK(ecode1
)) {
5166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5168 arg1
= static_cast< wxShutdownFlags
>(val1
);
5170 if (!wxPyCheckForApp()) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= (bool)wxShutdown(arg1
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5185 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= 0;
5190 PyObject
* obj0
= 0 ;
5191 char * kwnames
[] = {
5192 (char *) "secs", NULL
5195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5196 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5197 if (!SWIG_IsOK(ecode1
)) {
5198 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5200 arg1
= static_cast< int >(val1
);
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= SWIG_Py_Void();
5214 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
= 0;
5216 unsigned long arg1
;
5217 unsigned long val1
;
5219 PyObject
* obj0
= 0 ;
5220 char * kwnames
[] = {
5221 (char *) "milliseconds", NULL
5224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5225 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5226 if (!SWIG_IsOK(ecode1
)) {
5227 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5229 arg1
= static_cast< unsigned long >(val1
);
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_Py_Void();
5243 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
= 0;
5245 unsigned long arg1
;
5246 unsigned long val1
;
5248 PyObject
* obj0
= 0 ;
5249 char * kwnames
[] = {
5250 (char *) "microseconds", NULL
5253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5254 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5255 if (!SWIG_IsOK(ecode1
)) {
5256 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5258 arg1
= static_cast< unsigned long >(val1
);
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) SWIG_fail
;
5265 resultobj
= SWIG_Py_Void();
5272 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
*resultobj
= 0;
5277 PyObject
* obj0
= 0 ;
5278 char * kwnames
[] = {
5279 (char *) "enable", NULL
5282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5283 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5284 if (!SWIG_IsOK(ecode1
)) {
5285 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5287 arg1
= static_cast< bool >(val1
);
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 wxEnableTopLevelWindows(arg1
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= SWIG_Py_Void();
5301 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
*resultobj
= 0;
5303 wxString
*arg1
= 0 ;
5305 bool temp1
= false ;
5306 PyObject
* obj0
= 0 ;
5307 char * kwnames
[] = {
5311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5313 arg1
= wxString_in_helper(obj0
);
5314 if (arg1
== NULL
) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5344 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5345 PyObject
*resultobj
= 0;
5348 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= wxGetEmailAddress();
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5368 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5369 PyObject
*resultobj
= 0;
5372 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= wxGetHostName();
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5392 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5393 PyObject
*resultobj
= 0;
5396 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= wxGetFullHostName();
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5416 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5417 PyObject
*resultobj
= 0;
5420 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 result
= wxGetUserId();
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5440 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5441 PyObject
*resultobj
= 0;
5444 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= wxGetUserName();
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5464 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5465 PyObject
*resultobj
= 0;
5468 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= wxGetHomeDir();
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5488 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
= 0;
5490 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5491 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5493 bool temp1
= false ;
5494 PyObject
* obj0
= 0 ;
5495 char * kwnames
[] = {
5496 (char *) "user", NULL
5499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5502 arg1
= wxString_in_helper(obj0
);
5503 if (arg1
== NULL
) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= wxGetUserHome((wxString
const &)*arg1
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5534 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5535 PyObject
*resultobj
= 0;
5536 unsigned long result
;
5538 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 result
= (unsigned long)wxGetProcessId();
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5545 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5552 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5553 PyObject
*resultobj
= 0;
5555 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_Py_Void();
5569 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
= 0;
5571 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5572 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5573 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5574 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5575 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5576 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5577 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5579 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5580 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5581 int arg6
= (int) 0 ;
5582 wxWindow
*arg7
= (wxWindow
*) NULL
;
5583 int arg8
= (int) -1 ;
5584 int arg9
= (int) -1 ;
5586 bool temp1
= false ;
5587 bool temp2
= false ;
5588 bool temp3
= false ;
5589 bool temp4
= false ;
5590 bool temp5
= false ;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5601 PyObject
* obj2
= 0 ;
5602 PyObject
* obj3
= 0 ;
5603 PyObject
* obj4
= 0 ;
5604 PyObject
* obj5
= 0 ;
5605 PyObject
* obj6
= 0 ;
5606 PyObject
* obj7
= 0 ;
5607 PyObject
* obj8
= 0 ;
5608 char * kwnames
[] = {
5609 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5615 arg1
= wxString_in_helper(obj0
);
5616 if (arg1
== NULL
) SWIG_fail
;
5622 arg2
= wxString_in_helper(obj1
);
5623 if (arg2
== NULL
) SWIG_fail
;
5629 arg3
= wxString_in_helper(obj2
);
5630 if (arg3
== NULL
) SWIG_fail
;
5636 arg4
= wxString_in_helper(obj3
);
5637 if (arg4
== NULL
) SWIG_fail
;
5643 arg5
= wxString_in_helper(obj4
);
5644 if (arg5
== NULL
) SWIG_fail
;
5649 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5650 if (!SWIG_IsOK(ecode6
)) {
5651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5653 arg6
= static_cast< int >(val6
);
5656 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5657 if (!SWIG_IsOK(res7
)) {
5658 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5660 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5663 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5664 if (!SWIG_IsOK(ecode8
)) {
5665 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5667 arg8
= static_cast< int >(val8
);
5670 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5671 if (!SWIG_IsOK(ecode9
)) {
5672 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5674 arg9
= static_cast< int >(val9
);
5677 if (!wxPyCheckForApp()) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5736 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
= 0;
5738 wxString
*arg1
= 0 ;
5739 wxString
*arg2
= 0 ;
5740 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5741 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5742 wxWindow
*arg4
= (wxWindow
*) NULL
;
5744 bool temp1
= false ;
5745 bool temp2
= false ;
5746 bool temp3
= false ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5751 PyObject
* obj2
= 0 ;
5752 PyObject
* obj3
= 0 ;
5753 char * kwnames
[] = {
5754 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5759 arg1
= wxString_in_helper(obj0
);
5760 if (arg1
== NULL
) SWIG_fail
;
5764 arg2
= wxString_in_helper(obj1
);
5765 if (arg2
== NULL
) SWIG_fail
;
5770 arg3
= wxString_in_helper(obj2
);
5771 if (arg3
== NULL
) SWIG_fail
;
5776 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5777 if (!SWIG_IsOK(res4
)) {
5778 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5780 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5783 if (!wxPyCheckForApp()) SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5826 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
*resultobj
= 0;
5828 wxString
*arg1
= 0 ;
5829 wxString
*arg2
= 0 ;
5830 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5831 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5832 wxWindow
*arg4
= (wxWindow
*) NULL
;
5834 bool temp1
= false ;
5835 bool temp2
= false ;
5836 bool temp3
= false ;
5839 PyObject
* obj0
= 0 ;
5840 PyObject
* obj1
= 0 ;
5841 PyObject
* obj2
= 0 ;
5842 PyObject
* obj3
= 0 ;
5843 char * kwnames
[] = {
5844 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5849 arg1
= wxString_in_helper(obj0
);
5850 if (arg1
== NULL
) SWIG_fail
;
5854 arg2
= wxString_in_helper(obj1
);
5855 if (arg2
== NULL
) SWIG_fail
;
5860 arg3
= wxString_in_helper(obj2
);
5861 if (arg3
== NULL
) SWIG_fail
;
5866 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5867 if (!SWIG_IsOK(res4
)) {
5868 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5870 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5873 if (!wxPyCheckForApp()) SWIG_fail
;
5874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5875 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5916 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
= 0;
5918 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5919 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5920 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5921 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5922 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5923 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5924 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5925 wxWindow
*arg5
= (wxWindow
*) NULL
;
5927 bool temp1
= false ;
5928 bool temp2
= false ;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5936 PyObject
* obj2
= 0 ;
5937 PyObject
* obj3
= 0 ;
5938 PyObject
* obj4
= 0 ;
5939 char * kwnames
[] = {
5940 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5946 arg1
= wxString_in_helper(obj0
);
5947 if (arg1
== NULL
) SWIG_fail
;
5953 arg2
= wxString_in_helper(obj1
);
5954 if (arg2
== NULL
) SWIG_fail
;
5959 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5960 if (!SWIG_IsOK(ecode3
)) {
5961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5963 arg3
= static_cast< long >(val3
);
5968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5972 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5973 if (!SWIG_IsOK(res5
)) {
5974 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5976 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5979 if (!wxPyCheckForApp()) SWIG_fail
;
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6014 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6015 PyObject
*resultobj
= 0;
6016 wxString
*arg1
= 0 ;
6017 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6018 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6019 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6020 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6021 wxWindow
*arg4
= (wxWindow
*) NULL
;
6022 int arg5
= (int) -1 ;
6023 int arg6
= (int) -1 ;
6024 bool arg7
= (bool) true ;
6026 bool temp1
= false ;
6027 bool temp2
= false ;
6028 bool temp3
= false ;
6037 PyObject
* obj0
= 0 ;
6038 PyObject
* obj1
= 0 ;
6039 PyObject
* obj2
= 0 ;
6040 PyObject
* obj3
= 0 ;
6041 PyObject
* obj4
= 0 ;
6042 PyObject
* obj5
= 0 ;
6043 PyObject
* obj6
= 0 ;
6044 char * kwnames
[] = {
6045 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6050 arg1
= wxString_in_helper(obj0
);
6051 if (arg1
== NULL
) SWIG_fail
;
6056 arg2
= wxString_in_helper(obj1
);
6057 if (arg2
== NULL
) SWIG_fail
;
6063 arg3
= wxString_in_helper(obj2
);
6064 if (arg3
== NULL
) SWIG_fail
;
6069 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6070 if (!SWIG_IsOK(res4
)) {
6071 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6073 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6076 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6077 if (!SWIG_IsOK(ecode5
)) {
6078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6080 arg5
= static_cast< int >(val5
);
6083 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6084 if (!SWIG_IsOK(ecode6
)) {
6085 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6087 arg6
= static_cast< int >(val6
);
6090 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6091 if (!SWIG_IsOK(ecode7
)) {
6092 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6094 arg7
= static_cast< bool >(val7
);
6097 if (!wxPyCheckForApp()) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6140 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
= 0;
6142 wxString
*arg1
= 0 ;
6143 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6144 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6145 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6146 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6147 wxWindow
*arg4
= (wxWindow
*) NULL
;
6149 bool temp1
= false ;
6150 bool temp2
= false ;
6151 bool temp3
= false ;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6156 PyObject
* obj2
= 0 ;
6157 PyObject
* obj3
= 0 ;
6158 char * kwnames
[] = {
6159 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6164 arg1
= wxString_in_helper(obj0
);
6165 if (arg1
== NULL
) SWIG_fail
;
6170 arg2
= wxString_in_helper(obj1
);
6171 if (arg2
== NULL
) SWIG_fail
;
6177 arg3
= wxString_in_helper(obj2
);
6178 if (arg3
== NULL
) SWIG_fail
;
6183 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6184 if (!SWIG_IsOK(res4
)) {
6185 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6187 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6190 if (!wxPyCheckForApp()) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6233 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
= 0;
6235 wxString
*arg1
= 0 ;
6236 wxString
*arg2
= 0 ;
6238 wxString
*arg4
= (wxString
*) 0 ;
6239 wxWindow
*arg5
= (wxWindow
*) NULL
;
6240 int arg6
= (int) -1 ;
6241 int arg7
= (int) -1 ;
6242 bool arg8
= (bool) true ;
6243 int arg9
= (int) 150 ;
6244 int arg10
= (int) 200 ;
6246 bool temp1
= false ;
6247 bool temp2
= false ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6262 PyObject
* obj2
= 0 ;
6263 PyObject
* obj3
= 0 ;
6264 PyObject
* obj4
= 0 ;
6265 PyObject
* obj5
= 0 ;
6266 PyObject
* obj6
= 0 ;
6267 PyObject
* obj7
= 0 ;
6268 PyObject
* obj8
= 0 ;
6269 char * kwnames
[] = {
6270 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6275 arg1
= wxString_in_helper(obj0
);
6276 if (arg1
== NULL
) SWIG_fail
;
6280 arg2
= wxString_in_helper(obj1
);
6281 if (arg2
== NULL
) SWIG_fail
;
6285 arg3
= PyList_Size(obj2
);
6286 arg4
= wxString_LIST_helper(obj2
);
6287 if (arg4
== NULL
) SWIG_fail
;
6290 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6291 if (!SWIG_IsOK(res5
)) {
6292 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6294 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6297 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6298 if (!SWIG_IsOK(ecode6
)) {
6299 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6301 arg6
= static_cast< int >(val6
);
6304 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6305 if (!SWIG_IsOK(ecode7
)) {
6306 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6308 arg7
= static_cast< int >(val7
);
6311 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6312 if (!SWIG_IsOK(ecode8
)) {
6313 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6315 arg8
= static_cast< bool >(val8
);
6318 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6319 if (!SWIG_IsOK(ecode9
)) {
6320 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6322 arg9
= static_cast< int >(val9
);
6325 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6326 if (!SWIG_IsOK(ecode10
)) {
6327 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6329 arg10
= static_cast< int >(val10
);
6332 if (!wxPyCheckForApp()) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6354 if (arg4
) delete [] arg4
;
6367 if (arg4
) delete [] arg4
;
6373 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
= 0;
6375 wxString
*arg1
= 0 ;
6376 wxString
*arg2
= 0 ;
6378 wxString
*arg4
= (wxString
*) 0 ;
6379 wxWindow
*arg5
= (wxWindow
*) NULL
;
6380 int arg6
= (int) -1 ;
6381 int arg7
= (int) -1 ;
6382 bool arg8
= (bool) true ;
6383 int arg9
= (int) 150 ;
6384 int arg10
= (int) 200 ;
6386 bool temp1
= false ;
6387 bool temp2
= false ;
6400 PyObject
* obj0
= 0 ;
6401 PyObject
* obj1
= 0 ;
6402 PyObject
* obj2
= 0 ;
6403 PyObject
* obj3
= 0 ;
6404 PyObject
* obj4
= 0 ;
6405 PyObject
* obj5
= 0 ;
6406 PyObject
* obj6
= 0 ;
6407 PyObject
* obj7
= 0 ;
6408 PyObject
* obj8
= 0 ;
6409 char * kwnames
[] = {
6410 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6415 arg1
= wxString_in_helper(obj0
);
6416 if (arg1
== NULL
) SWIG_fail
;
6420 arg2
= wxString_in_helper(obj1
);
6421 if (arg2
== NULL
) SWIG_fail
;
6425 arg3
= PyList_Size(obj2
);
6426 arg4
= wxString_LIST_helper(obj2
);
6427 if (arg4
== NULL
) SWIG_fail
;
6430 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6431 if (!SWIG_IsOK(res5
)) {
6432 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6434 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6437 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6438 if (!SWIG_IsOK(ecode6
)) {
6439 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6441 arg6
= static_cast< int >(val6
);
6444 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6445 if (!SWIG_IsOK(ecode7
)) {
6446 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6448 arg7
= static_cast< int >(val7
);
6451 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6452 if (!SWIG_IsOK(ecode8
)) {
6453 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6455 arg8
= static_cast< bool >(val8
);
6458 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6459 if (!SWIG_IsOK(ecode9
)) {
6460 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6462 arg9
= static_cast< int >(val9
);
6465 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6466 if (!SWIG_IsOK(ecode10
)) {
6467 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6469 arg10
= static_cast< int >(val10
);
6472 if (!wxPyCheckForApp()) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 resultobj
= SWIG_From_int(static_cast< int >(result
));
6488 if (arg4
) delete [] arg4
;
6501 if (arg4
) delete [] arg4
;
6507 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
*resultobj
= 0;
6509 wxString
*arg1
= 0 ;
6510 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6511 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6512 int arg3
= (int) wxOK
|wxCENTRE
;
6513 wxWindow
*arg4
= (wxWindow
*) NULL
;
6514 int arg5
= (int) -1 ;
6515 int arg6
= (int) -1 ;
6517 bool temp1
= false ;
6518 bool temp2
= false ;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6529 PyObject
* obj2
= 0 ;
6530 PyObject
* obj3
= 0 ;
6531 PyObject
* obj4
= 0 ;
6532 PyObject
* obj5
= 0 ;
6533 char * kwnames
[] = {
6534 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6539 arg1
= wxString_in_helper(obj0
);
6540 if (arg1
== NULL
) SWIG_fail
;
6545 arg2
= wxString_in_helper(obj1
);
6546 if (arg2
== NULL
) SWIG_fail
;
6551 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6552 if (!SWIG_IsOK(ecode3
)) {
6553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6555 arg3
= static_cast< int >(val3
);
6558 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6559 if (!SWIG_IsOK(res4
)) {
6560 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6562 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6565 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6566 if (!SWIG_IsOK(ecode5
)) {
6567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6569 arg5
= static_cast< int >(val5
);
6572 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6573 if (!SWIG_IsOK(ecode6
)) {
6574 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6576 arg6
= static_cast< int >(val6
);
6579 if (!wxPyCheckForApp()) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6585 resultobj
= SWIG_From_int(static_cast< int >(result
));
6608 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
*resultobj
= 0;
6610 wxString
*arg1
= 0 ;
6611 wxString
*arg2
= 0 ;
6612 wxString
*arg3
= 0 ;
6614 long arg5
= (long) 0 ;
6615 long arg6
= (long) 100 ;
6616 wxWindow
*arg7
= (wxWindow
*) NULL
;
6617 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6618 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6620 bool temp1
= false ;
6621 bool temp2
= false ;
6622 bool temp3
= false ;
6632 PyObject
* obj0
= 0 ;
6633 PyObject
* obj1
= 0 ;
6634 PyObject
* obj2
= 0 ;
6635 PyObject
* obj3
= 0 ;
6636 PyObject
* obj4
= 0 ;
6637 PyObject
* obj5
= 0 ;
6638 PyObject
* obj6
= 0 ;
6639 PyObject
* obj7
= 0 ;
6640 char * kwnames
[] = {
6641 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6646 arg1
= wxString_in_helper(obj0
);
6647 if (arg1
== NULL
) SWIG_fail
;
6651 arg2
= wxString_in_helper(obj1
);
6652 if (arg2
== NULL
) SWIG_fail
;
6656 arg3
= wxString_in_helper(obj2
);
6657 if (arg3
== NULL
) SWIG_fail
;
6660 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6661 if (!SWIG_IsOK(ecode4
)) {
6662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6664 arg4
= static_cast< long >(val4
);
6666 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6667 if (!SWIG_IsOK(ecode5
)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6670 arg5
= static_cast< long >(val5
);
6673 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6674 if (!SWIG_IsOK(ecode6
)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6677 arg6
= static_cast< long >(val6
);
6680 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6681 if (!SWIG_IsOK(res7
)) {
6682 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6684 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6689 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6693 if (!wxPyCheckForApp()) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_From_long(static_cast< long >(result
));
6730 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6731 PyObject
*resultobj
= 0;
6734 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6736 if (!wxPyCheckForApp()) SWIG_fail
;
6737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6738 result
= (bool)wxColourDisplay();
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6751 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6752 PyObject
*resultobj
= 0;
6755 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6757 if (!wxPyCheckForApp()) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 result
= (int)wxDisplayDepth();
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= SWIG_From_int(static_cast< int >(result
));
6770 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6771 PyObject
*resultobj
= 0;
6774 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6776 if (!wxPyCheckForApp()) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 result
= (int)wxGetDisplayDepth();
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= SWIG_From_int(static_cast< int >(result
));
6789 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6790 PyObject
*resultobj
= 0;
6791 int *arg1
= (int *) 0 ;
6792 int *arg2
= (int *) 0 ;
6794 int res1
= SWIG_TMPOBJ
;
6796 int res2
= SWIG_TMPOBJ
;
6800 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6802 if (!wxPyCheckForApp()) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 wxDisplaySize(arg1
,arg2
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 resultobj
= SWIG_Py_Void();
6809 if (SWIG_IsTmpObj(res1
)) {
6810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6812 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6815 if (SWIG_IsTmpObj(res2
)) {
6816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6818 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6827 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6828 PyObject
*resultobj
= 0;
6831 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6833 if (!wxPyCheckForApp()) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= wxGetDisplaySize();
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6846 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6847 PyObject
*resultobj
= 0;
6848 int *arg1
= (int *) 0 ;
6849 int *arg2
= (int *) 0 ;
6851 int res1
= SWIG_TMPOBJ
;
6853 int res2
= SWIG_TMPOBJ
;
6857 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6859 if (!wxPyCheckForApp()) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 wxDisplaySizeMM(arg1
,arg2
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= SWIG_Py_Void();
6866 if (SWIG_IsTmpObj(res1
)) {
6867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6869 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6872 if (SWIG_IsTmpObj(res2
)) {
6873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6875 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6884 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6885 PyObject
*resultobj
= 0;
6888 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6890 if (!wxPyCheckForApp()) SWIG_fail
;
6891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6892 result
= wxGetDisplaySizeMM();
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6903 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6904 PyObject
*resultobj
= 0;
6905 int *arg1
= (int *) 0 ;
6906 int *arg2
= (int *) 0 ;
6907 int *arg3
= (int *) 0 ;
6908 int *arg4
= (int *) 0 ;
6910 int res1
= SWIG_TMPOBJ
;
6912 int res2
= SWIG_TMPOBJ
;
6914 int res3
= SWIG_TMPOBJ
;
6916 int res4
= SWIG_TMPOBJ
;
6922 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6924 if (!wxPyCheckForApp()) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= SWIG_Py_Void();
6931 if (SWIG_IsTmpObj(res1
)) {
6932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6934 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6937 if (SWIG_IsTmpObj(res2
)) {
6938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6940 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6943 if (SWIG_IsTmpObj(res3
)) {
6944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6946 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6949 if (SWIG_IsTmpObj(res4
)) {
6950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6952 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6961 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6962 PyObject
*resultobj
= 0;
6965 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6967 if (!wxPyCheckForApp()) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= wxGetClientDisplayRect();
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6980 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
= 0;
6982 wxCursor
*arg1
= 0 ;
6985 PyObject
* obj0
= 0 ;
6986 char * kwnames
[] = {
6987 (char *) "cursor", NULL
6990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6991 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6992 if (!SWIG_IsOK(res1
)) {
6993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6998 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7000 if (!wxPyCheckForApp()) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= SWIG_Py_Void();
7013 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7014 PyObject
*resultobj
= 0;
7017 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7019 if (!wxPyCheckForApp()) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (void *)wxGetXDisplay();
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7032 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
= 0;
7034 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7037 PyObject
* obj0
= 0 ;
7038 char * kwnames
[] = {
7039 (char *) "cursor", NULL
7042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7045 if (!SWIG_IsOK(res1
)) {
7046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7048 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7051 if (!wxPyCheckForApp()) SWIG_fail
;
7052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7053 wxBeginBusyCursor(arg1
);
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 resultobj
= SWIG_Py_Void();
7064 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7065 PyObject
*resultobj
= 0;
7068 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7070 if (!wxPyCheckForApp()) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= wxGetMousePosition();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7083 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7084 PyObject
*resultobj
= 0;
7085 wxWindow
*result
= 0 ;
7087 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7089 if (!wxPyCheckForApp()) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (wxWindow
*)FindWindowAtPointer();
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= wxPyMake_wxObject(result
, 0);
7104 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7105 PyObject
*resultobj
= 0;
7106 wxWindow
*result
= 0 ;
7108 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7110 if (!wxPyCheckForApp()) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (wxWindow
*)wxGetActiveWindow();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= wxPyMake_wxObject(result
, 0);
7125 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
= 0;
7128 wxWindow
*result
= 0 ;
7130 PyObject
* obj0
= 0 ;
7131 char * kwnames
[] = {
7135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7138 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7141 if (!wxPyCheckForApp()) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7148 resultobj
= wxPyMake_wxObject(result
, 0);
7156 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
= 0;
7159 wxWindow
*result
= 0 ;
7161 PyObject
* obj0
= 0 ;
7162 char * kwnames
[] = {
7166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7169 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7172 if (!wxPyCheckForApp()) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= wxPyMake_wxObject(result
, 0);
7187 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
= 0;
7189 wxWindow
*arg1
= (wxWindow
*) 0 ;
7190 wxWindow
*result
= 0 ;
7193 PyObject
* obj0
= 0 ;
7194 char * kwnames
[] = {
7195 (char *) "win", NULL
7198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7200 if (!SWIG_IsOK(res1
)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7203 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7205 if (!wxPyCheckForApp()) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= wxPyMake_wxObject(result
, 0);
7220 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
= 0;
7222 wxString
*arg1
= 0 ;
7224 bool temp1
= false ;
7225 PyObject
* obj0
= 0 ;
7226 char * kwnames
[] = {
7227 (char *) "url", NULL
7230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7232 arg1
= wxString_in_helper(obj0
);
7233 if (arg1
== NULL
) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7259 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
= 0;
7265 PyObject
* obj0
= 0 ;
7266 char * kwnames
[] = {
7267 (char *) "key", NULL
7270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7271 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7272 if (!SWIG_IsOK(ecode1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7275 arg1
= static_cast< wxKeyCode
>(val1
);
7277 if (!wxPyCheckForApp()) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 result
= (bool)wxGetKeyState(arg1
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7292 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7293 PyObject
*resultobj
= 0;
7294 wxMouseState
*result
= 0 ;
7296 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (wxMouseState
*)new wxMouseState();
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7310 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7315 PyObject
*swig_obj
[1] ;
7317 if (!args
) SWIG_fail
;
7319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7320 if (!SWIG_IsOK(res1
)) {
7321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7323 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_Py_Void();
7338 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7339 PyObject
*resultobj
= 0;
7340 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7344 PyObject
*swig_obj
[1] ;
7346 if (!args
) SWIG_fail
;
7348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7349 if (!SWIG_IsOK(res1
)) {
7350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7352 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (int)(arg1
)->GetX();
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= SWIG_From_int(static_cast< int >(result
));
7366 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7367 PyObject
*resultobj
= 0;
7368 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7372 PyObject
*swig_obj
[1] ;
7374 if (!args
) SWIG_fail
;
7376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7377 if (!SWIG_IsOK(res1
)) {
7378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7380 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 result
= (int)(arg1
)->GetY();
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_From_int(static_cast< int >(result
));
7394 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7395 PyObject
*resultobj
= 0;
7396 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7400 PyObject
*swig_obj
[1] ;
7402 if (!args
) SWIG_fail
;
7404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7405 if (!SWIG_IsOK(res1
)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7408 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (bool)(arg1
)->LeftDown();
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7424 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7425 PyObject
*resultobj
= 0;
7426 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7430 PyObject
*swig_obj
[1] ;
7432 if (!args
) SWIG_fail
;
7434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7435 if (!SWIG_IsOK(res1
)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7438 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (bool)(arg1
)->MiddleDown();
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7454 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7455 PyObject
*resultobj
= 0;
7456 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7460 PyObject
*swig_obj
[1] ;
7462 if (!args
) SWIG_fail
;
7464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7465 if (!SWIG_IsOK(res1
)) {
7466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7468 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 result
= (bool)(arg1
)->RightDown();
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7484 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7485 PyObject
*resultobj
= 0;
7486 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7490 PyObject
*swig_obj
[1] ;
7492 if (!args
) SWIG_fail
;
7494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7495 if (!SWIG_IsOK(res1
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7498 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 result
= (bool)(arg1
)->ControlDown();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7514 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7515 PyObject
*resultobj
= 0;
7516 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7520 PyObject
*swig_obj
[1] ;
7522 if (!args
) SWIG_fail
;
7524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7525 if (!SWIG_IsOK(res1
)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7528 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (bool)(arg1
)->ShiftDown();
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) SWIG_fail
;
7536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7544 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7545 PyObject
*resultobj
= 0;
7546 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7550 PyObject
*swig_obj
[1] ;
7552 if (!args
) SWIG_fail
;
7554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7555 if (!SWIG_IsOK(res1
)) {
7556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7558 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (bool)(arg1
)->AltDown();
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7574 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7575 PyObject
*resultobj
= 0;
7576 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7580 PyObject
*swig_obj
[1] ;
7582 if (!args
) SWIG_fail
;
7584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7585 if (!SWIG_IsOK(res1
)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7588 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 result
= (bool)(arg1
)->MetaDown();
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7604 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7605 PyObject
*resultobj
= 0;
7606 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7610 PyObject
*swig_obj
[1] ;
7612 if (!args
) SWIG_fail
;
7614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7615 if (!SWIG_IsOK(res1
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7618 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (bool)(arg1
)->CmdDown();
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7634 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
= 0;
7636 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7644 char * kwnames
[] = {
7645 (char *) "self",(char *) "x", NULL
7648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7650 if (!SWIG_IsOK(res1
)) {
7651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7653 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7655 if (!SWIG_IsOK(ecode2
)) {
7656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7658 arg2
= static_cast< int >(val2
);
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 resultobj
= SWIG_Py_Void();
7672 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
*resultobj
= 0;
7674 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7681 PyObject
* obj1
= 0 ;
7682 char * kwnames
[] = {
7683 (char *) "self",(char *) "y", NULL
7686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7688 if (!SWIG_IsOK(res1
)) {
7689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7691 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7693 if (!SWIG_IsOK(ecode2
)) {
7694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7696 arg2
= static_cast< int >(val2
);
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= SWIG_Py_Void();
7710 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
= 0;
7712 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7718 PyObject
* obj0
= 0 ;
7719 PyObject
* obj1
= 0 ;
7720 char * kwnames
[] = {
7721 (char *) "self",(char *) "down", NULL
7724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7726 if (!SWIG_IsOK(res1
)) {
7727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7729 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7730 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7731 if (!SWIG_IsOK(ecode2
)) {
7732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7734 arg2
= static_cast< bool >(val2
);
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 (arg1
)->SetLeftDown(arg2
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= SWIG_Py_Void();
7748 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
= 0;
7750 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7758 char * kwnames
[] = {
7759 (char *) "self",(char *) "down", NULL
7762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7764 if (!SWIG_IsOK(res1
)) {
7765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7767 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7768 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7769 if (!SWIG_IsOK(ecode2
)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7772 arg2
= static_cast< bool >(val2
);
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 (arg1
)->SetMiddleDown(arg2
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_Py_Void();
7786 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
= 0;
7788 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7796 char * kwnames
[] = {
7797 (char *) "self",(char *) "down", NULL
7800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7802 if (!SWIG_IsOK(res1
)) {
7803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7805 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7806 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7807 if (!SWIG_IsOK(ecode2
)) {
7808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7810 arg2
= static_cast< bool >(val2
);
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 (arg1
)->SetRightDown(arg2
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_Py_Void();
7824 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
= 0;
7826 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7832 PyObject
* obj0
= 0 ;
7833 PyObject
* obj1
= 0 ;
7834 char * kwnames
[] = {
7835 (char *) "self",(char *) "down", NULL
7838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7840 if (!SWIG_IsOK(res1
)) {
7841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7843 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7844 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7845 if (!SWIG_IsOK(ecode2
)) {
7846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7848 arg2
= static_cast< bool >(val2
);
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 (arg1
)->SetControlDown(arg2
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= SWIG_Py_Void();
7862 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
= 0;
7864 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7870 PyObject
* obj0
= 0 ;
7871 PyObject
* obj1
= 0 ;
7872 char * kwnames
[] = {
7873 (char *) "self",(char *) "down", NULL
7876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7881 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7882 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7883 if (!SWIG_IsOK(ecode2
)) {
7884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7886 arg2
= static_cast< bool >(val2
);
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 (arg1
)->SetShiftDown(arg2
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 resultobj
= SWIG_Py_Void();
7900 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
= 0;
7902 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7910 char * kwnames
[] = {
7911 (char *) "self",(char *) "down", NULL
7914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7916 if (!SWIG_IsOK(res1
)) {
7917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7919 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7920 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7921 if (!SWIG_IsOK(ecode2
)) {
7922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7924 arg2
= static_cast< bool >(val2
);
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 (arg1
)->SetAltDown(arg2
);
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= SWIG_Py_Void();
7938 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
= 0;
7940 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7946 PyObject
* obj0
= 0 ;
7947 PyObject
* obj1
= 0 ;
7948 char * kwnames
[] = {
7949 (char *) "self",(char *) "down", NULL
7952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7954 if (!SWIG_IsOK(res1
)) {
7955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7957 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7958 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7959 if (!SWIG_IsOK(ecode2
)) {
7960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7962 arg2
= static_cast< bool >(val2
);
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 (arg1
)->SetMetaDown(arg2
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_Py_Void();
7976 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7979 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7980 return SWIG_Py_Void();
7983 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7984 return SWIG_Python_InitShadowInstance(args
);
7987 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7988 PyObject
*resultobj
= 0;
7989 wxMouseState result
;
7991 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 result
= wxGetMouseState();
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7998 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8005 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8006 PyObject
*resultobj
= 0;
8008 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8010 if (!wxPyCheckForApp()) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 wxWakeUpMainThread();
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= SWIG_Py_Void();
8023 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8024 PyObject
*resultobj
= 0;
8026 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8028 if (!wxPyCheckForApp()) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= SWIG_Py_Void();
8041 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8042 PyObject
*resultobj
= 0;
8044 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8046 if (!wxPyCheckForApp()) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= SWIG_Py_Void();
8059 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8060 PyObject
*resultobj
= 0;
8061 wxMutexGuiLocker
*result
= 0 ;
8063 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8065 if (!wxPyCheckForApp()) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8078 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8079 PyObject
*resultobj
= 0;
8080 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8083 PyObject
*swig_obj
[1] ;
8085 if (!args
) SWIG_fail
;
8087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8088 if (!SWIG_IsOK(res1
)) {
8089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8091 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= SWIG_Py_Void();
8106 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8109 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8110 return SWIG_Py_Void();
8113 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8114 return SWIG_Python_InitShadowInstance(args
);
8117 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8118 PyObject
*resultobj
= 0;
8121 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 result
= (bool)wxThread_IsMain();
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8137 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
= 0;
8139 wxString
*arg1
= 0 ;
8140 wxToolTip
*result
= 0 ;
8141 bool temp1
= false ;
8142 PyObject
* obj0
= 0 ;
8143 char * kwnames
[] = {
8144 (char *) "tip", NULL
8147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8149 arg1
= wxString_in_helper(obj0
);
8150 if (arg1
== NULL
) SWIG_fail
;
8154 if (!wxPyCheckForApp()) SWIG_fail
;
8155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8156 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8157 wxPyEndAllowThreads(__tstate
);
8158 if (PyErr_Occurred()) SWIG_fail
;
8160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8175 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8176 PyObject
*resultobj
= 0;
8177 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8180 PyObject
*swig_obj
[1] ;
8182 if (!args
) SWIG_fail
;
8184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8185 if (!SWIG_IsOK(res1
)) {
8186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8188 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_Py_Void();
8203 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
= 0;
8205 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8206 wxString
*arg2
= 0 ;
8209 bool temp2
= false ;
8210 PyObject
* obj0
= 0 ;
8211 PyObject
* obj1
= 0 ;
8212 char * kwnames
[] = {
8213 (char *) "self",(char *) "tip", NULL
8216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8218 if (!SWIG_IsOK(res1
)) {
8219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8221 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8223 arg2
= wxString_in_helper(obj1
);
8224 if (arg2
== NULL
) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 (arg1
)->SetTip((wxString
const &)*arg2
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_Py_Void();
8248 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8249 PyObject
*resultobj
= 0;
8250 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8254 PyObject
*swig_obj
[1] ;
8256 if (!args
) SWIG_fail
;
8258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8259 if (!SWIG_IsOK(res1
)) {
8260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8262 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 result
= (arg1
)->GetTip();
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8282 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8283 PyObject
*resultobj
= 0;
8284 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8285 wxWindow
*result
= 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_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8296 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 result
= (wxWindow
*)(arg1
)->GetWindow();
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= wxPyMake_wxObject(result
, 0);
8312 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
= 0;
8317 PyObject
* obj0
= 0 ;
8318 char * kwnames
[] = {
8319 (char *) "flag", NULL
8322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8323 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8324 if (!SWIG_IsOK(ecode1
)) {
8325 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8327 arg1
= static_cast< bool >(val1
);
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 wxToolTip::Enable(arg1
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= SWIG_Py_Void();
8341 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
= 0;
8346 PyObject
* obj0
= 0 ;
8347 char * kwnames
[] = {
8348 (char *) "milliseconds", NULL
8351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8352 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8353 if (!SWIG_IsOK(ecode1
)) {
8354 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8356 arg1
= static_cast< long >(val1
);
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 wxToolTip::SetDelay(arg1
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 resultobj
= SWIG_Py_Void();
8370 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8373 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8374 return SWIG_Py_Void();
8377 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8378 return SWIG_Python_InitShadowInstance(args
);
8381 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
= 0;
8383 wxWindow
*arg1
= (wxWindow
*) 0 ;
8385 wxCaret
*result
= 0 ;
8389 PyObject
* obj0
= 0 ;
8390 PyObject
* obj1
= 0 ;
8391 char * kwnames
[] = {
8392 (char *) "window",(char *) "size", NULL
8395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8397 if (!SWIG_IsOK(res1
)) {
8398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8400 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8403 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8406 if (!wxPyCheckForApp()) SWIG_fail
;
8407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8408 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8419 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8420 PyObject
*resultobj
= 0;
8421 wxCaret
*arg1
= (wxCaret
*) 0 ;
8424 PyObject
*swig_obj
[1] ;
8426 if (!args
) SWIG_fail
;
8428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8429 if (!SWIG_IsOK(res1
)) {
8430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8432 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= SWIG_Py_Void();
8447 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8448 PyObject
*resultobj
= 0;
8449 wxCaret
*arg1
= (wxCaret
*) 0 ;
8452 PyObject
*swig_obj
[1] ;
8454 if (!args
) SWIG_fail
;
8456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8457 if (!SWIG_IsOK(res1
)) {
8458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8460 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 wxCaret_Destroy(arg1
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= SWIG_Py_Void();
8474 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8475 PyObject
*resultobj
= 0;
8476 wxCaret
*arg1
= (wxCaret
*) 0 ;
8480 PyObject
*swig_obj
[1] ;
8482 if (!args
) SWIG_fail
;
8484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8485 if (!SWIG_IsOK(res1
)) {
8486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8488 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= (bool)(arg1
)->IsOk();
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8504 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8505 PyObject
*resultobj
= 0;
8506 wxCaret
*arg1
= (wxCaret
*) 0 ;
8510 PyObject
*swig_obj
[1] ;
8512 if (!args
) SWIG_fail
;
8514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8515 if (!SWIG_IsOK(res1
)) {
8516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8518 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 result
= (bool)(arg1
)->IsVisible();
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8534 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8535 PyObject
*resultobj
= 0;
8536 wxCaret
*arg1
= (wxCaret
*) 0 ;
8540 PyObject
*swig_obj
[1] ;
8542 if (!args
) SWIG_fail
;
8544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8545 if (!SWIG_IsOK(res1
)) {
8546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8548 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= (arg1
)->GetPosition();
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8562 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8563 PyObject
*resultobj
= 0;
8564 wxCaret
*arg1
= (wxCaret
*) 0 ;
8565 int *arg2
= (int *) 0 ;
8566 int *arg3
= (int *) 0 ;
8570 int res2
= SWIG_TMPOBJ
;
8572 int res3
= SWIG_TMPOBJ
;
8573 PyObject
*swig_obj
[1] ;
8577 if (!args
) SWIG_fail
;
8579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8580 if (!SWIG_IsOK(res1
)) {
8581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8583 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 (arg1
)->GetPosition(arg2
,arg3
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= SWIG_Py_Void();
8591 if (SWIG_IsTmpObj(res2
)) {
8592 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8594 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8595 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8597 if (SWIG_IsTmpObj(res3
)) {
8598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8600 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8609 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8610 PyObject
*resultobj
= 0;
8611 wxCaret
*arg1
= (wxCaret
*) 0 ;
8615 PyObject
*swig_obj
[1] ;
8617 if (!args
) SWIG_fail
;
8619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8620 if (!SWIG_IsOK(res1
)) {
8621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8623 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= (arg1
)->GetSize();
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8630 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8637 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8638 PyObject
*resultobj
= 0;
8639 wxCaret
*arg1
= (wxCaret
*) 0 ;
8640 int *arg2
= (int *) 0 ;
8641 int *arg3
= (int *) 0 ;
8645 int res2
= SWIG_TMPOBJ
;
8647 int res3
= SWIG_TMPOBJ
;
8648 PyObject
*swig_obj
[1] ;
8652 if (!args
) SWIG_fail
;
8654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8655 if (!SWIG_IsOK(res1
)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8658 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 (arg1
)->GetSize(arg2
,arg3
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 resultobj
= SWIG_Py_Void();
8666 if (SWIG_IsTmpObj(res2
)) {
8667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8669 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8672 if (SWIG_IsTmpObj(res3
)) {
8673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8675 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8684 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8685 PyObject
*resultobj
= 0;
8686 wxCaret
*arg1
= (wxCaret
*) 0 ;
8687 wxWindow
*result
= 0 ;
8690 PyObject
*swig_obj
[1] ;
8692 if (!args
) SWIG_fail
;
8694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8695 if (!SWIG_IsOK(res1
)) {
8696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8698 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 result
= (wxWindow
*)(arg1
)->GetWindow();
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= wxPyMake_wxObject(result
, 0);
8714 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
= 0;
8716 wxCaret
*arg1
= (wxCaret
*) 0 ;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8727 PyObject
* obj2
= 0 ;
8728 char * kwnames
[] = {
8729 (char *) "self",(char *) "x",(char *) "y", NULL
8732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8734 if (!SWIG_IsOK(res1
)) {
8735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8737 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8739 if (!SWIG_IsOK(ecode2
)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8742 arg2
= static_cast< int >(val2
);
8743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8744 if (!SWIG_IsOK(ecode3
)) {
8745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8747 arg3
= static_cast< int >(val3
);
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 (arg1
)->Move(arg2
,arg3
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_Py_Void();
8761 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
= 0;
8763 wxCaret
*arg1
= (wxCaret
*) 0 ;
8768 PyObject
* obj0
= 0 ;
8769 PyObject
* obj1
= 0 ;
8770 char * kwnames
[] = {
8771 (char *) "self",(char *) "pt", NULL
8774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8776 if (!SWIG_IsOK(res1
)) {
8777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8779 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->Move((wxPoint
const &)*arg2
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= SWIG_Py_Void();
8797 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
= 0;
8799 wxCaret
*arg1
= (wxCaret
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8809 PyObject
* obj1
= 0 ;
8810 PyObject
* obj2
= 0 ;
8811 char * kwnames
[] = {
8812 (char *) "self",(char *) "width",(char *) "height", NULL
8815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8817 if (!SWIG_IsOK(res1
)) {
8818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8820 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8822 if (!SWIG_IsOK(ecode2
)) {
8823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8825 arg2
= static_cast< int >(val2
);
8826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8827 if (!SWIG_IsOK(ecode3
)) {
8828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8830 arg3
= static_cast< int >(val3
);
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 (arg1
)->SetSize(arg2
,arg3
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= SWIG_Py_Void();
8844 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
= 0;
8846 wxCaret
*arg1
= (wxCaret
*) 0 ;
8851 PyObject
* obj0
= 0 ;
8852 PyObject
* obj1
= 0 ;
8853 char * kwnames
[] = {
8854 (char *) "self",(char *) "size", NULL
8857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8859 if (!SWIG_IsOK(res1
)) {
8860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8862 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8865 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 (arg1
)->SetSize((wxSize
const &)*arg2
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= SWIG_Py_Void();
8880 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
= 0;
8882 wxCaret
*arg1
= (wxCaret
*) 0 ;
8883 int arg2
= (int) true ;
8888 PyObject
* obj0
= 0 ;
8889 PyObject
* obj1
= 0 ;
8890 char * kwnames
[] = {
8891 (char *) "self",(char *) "show", NULL
8894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8896 if (!SWIG_IsOK(res1
)) {
8897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8899 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8902 if (!SWIG_IsOK(ecode2
)) {
8903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8905 arg2
= static_cast< int >(val2
);
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8913 resultobj
= SWIG_Py_Void();
8920 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8921 PyObject
*resultobj
= 0;
8922 wxCaret
*arg1
= (wxCaret
*) 0 ;
8925 PyObject
*swig_obj
[1] ;
8927 if (!args
) SWIG_fail
;
8929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8930 if (!SWIG_IsOK(res1
)) {
8931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8933 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_Py_Void();
8947 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8948 PyObject
*resultobj
= 0;
8951 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (int)wxCaret::GetBlinkTime();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= SWIG_From_int(static_cast< int >(result
));
8965 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
= 0;
8970 PyObject
* obj0
= 0 ;
8971 char * kwnames
[] = {
8972 (char *) "milliseconds", NULL
8975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8976 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8977 if (!SWIG_IsOK(ecode1
)) {
8978 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8980 arg1
= static_cast< int >(val1
);
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 wxCaret::SetBlinkTime(arg1
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= SWIG_Py_Void();
8994 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8997 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8998 return SWIG_Py_Void();
9001 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9002 return SWIG_Python_InitShadowInstance(args
);
9005 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
= 0;
9007 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9008 wxBusyCursor
*result
= 0 ;
9011 PyObject
* obj0
= 0 ;
9012 char * kwnames
[] = {
9013 (char *) "cursor", NULL
9016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9019 if (!SWIG_IsOK(res1
)) {
9020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9022 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9025 if (!wxPyCheckForApp()) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9038 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9039 PyObject
*resultobj
= 0;
9040 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9043 PyObject
*swig_obj
[1] ;
9045 if (!args
) SWIG_fail
;
9047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9048 if (!SWIG_IsOK(res1
)) {
9049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9051 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= SWIG_Py_Void();
9066 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9069 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9070 return SWIG_Py_Void();
9073 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9074 return SWIG_Python_InitShadowInstance(args
);
9077 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
= 0;
9079 wxWindow
*arg1
= (wxWindow
*) NULL
;
9080 wxWindowDisabler
*result
= 0 ;
9083 PyObject
* obj0
= 0 ;
9084 char * kwnames
[] = {
9085 (char *) "winToSkip", NULL
9088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9091 if (!SWIG_IsOK(res1
)) {
9092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9094 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9097 if (!wxPyCheckForApp()) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9110 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9111 PyObject
*resultobj
= 0;
9112 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9115 PyObject
*swig_obj
[1] ;
9117 if (!args
) SWIG_fail
;
9119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9120 if (!SWIG_IsOK(res1
)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9123 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_Py_Void();
9138 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9141 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9142 return SWIG_Py_Void();
9145 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9146 return SWIG_Python_InitShadowInstance(args
);
9149 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
= 0;
9151 wxString
*arg1
= 0 ;
9152 wxWindow
*arg2
= (wxWindow
*) NULL
;
9153 wxBusyInfo
*result
= 0 ;
9154 bool temp1
= false ;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9159 char * kwnames
[] = {
9160 (char *) "message",(char *) "parent", NULL
9163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BusyInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9165 arg1
= wxString_in_helper(obj0
);
9166 if (arg1
== NULL
) SWIG_fail
;
9170 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9171 if (!SWIG_IsOK(res2
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BusyInfo" "', expected argument " "2"" of type '" "wxWindow *""'");
9174 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9177 if (!wxPyCheckForApp()) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
,arg2
);
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9198 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9199 PyObject
*resultobj
= 0;
9200 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9203 PyObject
*swig_obj
[1] ;
9205 if (!args
) SWIG_fail
;
9207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9208 if (!SWIG_IsOK(res1
)) {
9209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9211 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_Py_Void();
9226 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9229 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9230 return SWIG_Py_Void();
9233 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9234 return SWIG_Python_InitShadowInstance(args
);
9237 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9238 PyObject
*resultobj
= 0;
9239 wxStopWatch
*result
= 0 ;
9241 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (wxStopWatch
*)new wxStopWatch();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9255 SWIGINTERN PyObject
*_wrap_delete_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9256 PyObject
*resultobj
= 0;
9257 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9260 PyObject
*swig_obj
[1] ;
9262 if (!args
) SWIG_fail
;
9264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_DISOWN
| 0 );
9265 if (!SWIG_IsOK(res1
)) {
9266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StopWatch" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9268 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_Py_Void();
9283 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
= 0;
9285 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9286 long arg2
= (long) 0 ;
9291 PyObject
* obj0
= 0 ;
9292 PyObject
* obj1
= 0 ;
9293 char * kwnames
[] = {
9294 (char *) "self",(char *) "t0", NULL
9297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9299 if (!SWIG_IsOK(res1
)) {
9300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9302 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9304 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9305 if (!SWIG_IsOK(ecode2
)) {
9306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9308 arg2
= static_cast< long >(val2
);
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 (arg1
)->Start(arg2
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_Py_Void();
9323 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9324 PyObject
*resultobj
= 0;
9325 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9328 PyObject
*swig_obj
[1] ;
9330 if (!args
) SWIG_fail
;
9332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9333 if (!SWIG_IsOK(res1
)) {
9334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9336 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= SWIG_Py_Void();
9350 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9351 PyObject
*resultobj
= 0;
9352 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9355 PyObject
*swig_obj
[1] ;
9357 if (!args
) SWIG_fail
;
9359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9360 if (!SWIG_IsOK(res1
)) {
9361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9363 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_Py_Void();
9377 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9378 PyObject
*resultobj
= 0;
9379 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9383 PyObject
*swig_obj
[1] ;
9385 if (!args
) SWIG_fail
;
9387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9388 if (!SWIG_IsOK(res1
)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9391 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= SWIG_From_long(static_cast< long >(result
));
9405 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9408 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9409 return SWIG_Py_Void();
9412 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9413 return SWIG_Python_InitShadowInstance(args
);
9416 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
= 0;
9418 int arg1
= (int) 9 ;
9419 int arg2
= (int) wxID_FILE1
;
9420 wxFileHistory
*result
= 0 ;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9427 char * kwnames
[] = {
9428 (char *) "maxFiles",(char *) "idBase", NULL
9431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9434 if (!SWIG_IsOK(ecode1
)) {
9435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9437 arg1
= static_cast< int >(val1
);
9440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9441 if (!SWIG_IsOK(ecode2
)) {
9442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9444 arg2
= static_cast< int >(val2
);
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9459 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9460 PyObject
*resultobj
= 0;
9461 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9464 PyObject
*swig_obj
[1] ;
9466 if (!args
) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9472 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= SWIG_Py_Void();
9487 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
= 0;
9489 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9490 wxString
*arg2
= 0 ;
9493 bool temp2
= false ;
9494 PyObject
* obj0
= 0 ;
9495 PyObject
* obj1
= 0 ;
9496 char * kwnames
[] = {
9497 (char *) "self",(char *) "file", NULL
9500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9502 if (!SWIG_IsOK(res1
)) {
9503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9505 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9507 arg2
= wxString_in_helper(obj1
);
9508 if (arg2
== NULL
) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_Py_Void();
9532 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
= 0;
9534 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9542 char * kwnames
[] = {
9543 (char *) "self",(char *) "i", NULL
9546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9548 if (!SWIG_IsOK(res1
)) {
9549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9551 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9553 if (!SWIG_IsOK(ecode2
)) {
9554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9556 arg2
= static_cast< int >(val2
);
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 (arg1
)->RemoveFileFromHistory(arg2
);
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= SWIG_Py_Void();
9570 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9571 PyObject
*resultobj
= 0;
9572 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9576 PyObject
*swig_obj
[1] ;
9578 if (!args
) SWIG_fail
;
9580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9581 if (!SWIG_IsOK(res1
)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9584 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= SWIG_From_int(static_cast< int >(result
));
9598 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
= 0;
9600 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9601 wxMenu
*arg2
= (wxMenu
*) 0 ;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9608 char * kwnames
[] = {
9609 (char *) "self",(char *) "menu", NULL
9612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9614 if (!SWIG_IsOK(res1
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9617 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9619 if (!SWIG_IsOK(res2
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9622 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 (arg1
)->UseMenu(arg2
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= SWIG_Py_Void();
9636 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
= 0;
9638 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9639 wxMenu
*arg2
= (wxMenu
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9645 PyObject
* obj1
= 0 ;
9646 char * kwnames
[] = {
9647 (char *) "self",(char *) "menu", NULL
9650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9652 if (!SWIG_IsOK(res1
)) {
9653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9655 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9657 if (!SWIG_IsOK(res2
)) {
9658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9660 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 (arg1
)->RemoveMenu(arg2
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= SWIG_Py_Void();
9674 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
= 0;
9676 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9677 wxConfigBase
*arg2
= 0 ;
9682 PyObject
* obj0
= 0 ;
9683 PyObject
* obj1
= 0 ;
9684 char * kwnames
[] = {
9685 (char *) "self",(char *) "config", NULL
9688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9690 if (!SWIG_IsOK(res1
)) {
9691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9693 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9695 if (!SWIG_IsOK(res2
)) {
9696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9701 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 (arg1
)->Load(*arg2
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= SWIG_Py_Void();
9715 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
= 0;
9717 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9718 wxConfigBase
*arg2
= 0 ;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9725 char * kwnames
[] = {
9726 (char *) "self",(char *) "config", NULL
9729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9731 if (!SWIG_IsOK(res1
)) {
9732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9734 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9736 if (!SWIG_IsOK(res2
)) {
9737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9742 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 (arg1
)->Save(*arg2
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= SWIG_Py_Void();
9756 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9757 PyObject
*resultobj
= 0;
9758 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9761 PyObject
*swig_obj
[1] ;
9763 if (!args
) SWIG_fail
;
9765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9766 if (!SWIG_IsOK(res1
)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9769 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 (arg1
)->AddFilesToMenu();
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= SWIG_Py_Void();
9783 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
= 0;
9785 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9786 wxMenu
*arg2
= (wxMenu
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9792 PyObject
* obj1
= 0 ;
9793 char * kwnames
[] = {
9794 (char *) "self",(char *) "menu", NULL
9797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9799 if (!SWIG_IsOK(res1
)) {
9800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9802 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9804 if (!SWIG_IsOK(res2
)) {
9805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9807 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 (arg1
)->AddFilesToMenu(arg2
);
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= SWIG_Py_Void();
9821 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
= 0;
9823 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9832 char * kwnames
[] = {
9833 (char *) "self",(char *) "i", NULL
9836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9838 if (!SWIG_IsOK(res1
)) {
9839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9841 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9843 if (!SWIG_IsOK(ecode2
)) {
9844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9846 arg2
= static_cast< int >(val2
);
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9866 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9867 PyObject
*resultobj
= 0;
9868 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9872 PyObject
*swig_obj
[1] ;
9874 if (!args
) SWIG_fail
;
9876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9877 if (!SWIG_IsOK(res1
)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9880 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= SWIG_From_int(static_cast< int >(result
));
9894 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9897 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9898 return SWIG_Py_Void();
9901 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9902 return SWIG_Python_InitShadowInstance(args
);
9905 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
= 0;
9907 wxString
*arg1
= 0 ;
9908 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9909 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9910 wxSingleInstanceChecker
*result
= 0 ;
9911 bool temp1
= false ;
9912 bool temp2
= false ;
9913 PyObject
* obj0
= 0 ;
9914 PyObject
* obj1
= 0 ;
9915 char * kwnames
[] = {
9916 (char *) "name",(char *) "path", NULL
9919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9921 arg1
= wxString_in_helper(obj0
);
9922 if (arg1
== NULL
) SWIG_fail
;
9927 arg2
= wxString_in_helper(obj1
);
9928 if (arg2
== NULL
) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9961 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9962 PyObject
*resultobj
= 0;
9963 wxSingleInstanceChecker
*result
= 0 ;
9965 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9979 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9980 PyObject
*resultobj
= 0;
9981 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9984 PyObject
*swig_obj
[1] ;
9986 if (!args
) SWIG_fail
;
9988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9989 if (!SWIG_IsOK(res1
)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9992 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10000 resultobj
= SWIG_Py_Void();
10007 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
= 0;
10009 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10010 wxString
*arg2
= 0 ;
10011 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10012 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10016 bool temp2
= false ;
10017 bool temp3
= false ;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 PyObject
* obj2
= 0 ;
10021 char * kwnames
[] = {
10022 (char *) "self",(char *) "name",(char *) "path", NULL
10025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10027 if (!SWIG_IsOK(res1
)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10030 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10032 arg2
= wxString_in_helper(obj1
);
10033 if (arg2
== NULL
) SWIG_fail
;
10038 arg3
= wxString_in_helper(obj2
);
10039 if (arg3
== NULL
) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10074 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10075 PyObject
*resultobj
= 0;
10076 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10080 PyObject
*swig_obj
[1] ;
10082 if (!args
) SWIG_fail
;
10083 swig_obj
[0] = args
;
10084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10085 if (!SWIG_IsOK(res1
)) {
10086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10088 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10104 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10106 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10107 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10108 return SWIG_Py_Void();
10111 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10112 return SWIG_Python_InitShadowInstance(args
);
10115 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 PyObject
*resultobj
= 0;
10117 wxPlatformInfo
*result
= 0 ;
10119 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10133 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
= 0;
10135 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10136 wxPlatformInfo
*arg2
= 0 ;
10142 PyObject
* obj0
= 0 ;
10143 PyObject
* obj1
= 0 ;
10144 char * kwnames
[] = {
10145 (char *) "self",(char *) "t", NULL
10148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10150 if (!SWIG_IsOK(res1
)) {
10151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10153 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10155 if (!SWIG_IsOK(res2
)) {
10156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10161 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10164 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10177 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
= 0;
10179 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10180 wxPlatformInfo
*arg2
= 0 ;
10186 PyObject
* obj0
= 0 ;
10187 PyObject
* obj1
= 0 ;
10188 char * kwnames
[] = {
10189 (char *) "self",(char *) "t", NULL
10192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10194 if (!SWIG_IsOK(res1
)) {
10195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10197 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10199 if (!SWIG_IsOK(res2
)) {
10200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10205 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10221 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10222 PyObject
*resultobj
= 0;
10223 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10227 PyObject
*swig_obj
[1] ;
10229 if (!args
) SWIG_fail
;
10230 swig_obj
[0] = args
;
10231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10232 if (!SWIG_IsOK(res1
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10235 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_From_int(static_cast< int >(result
));
10249 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10250 PyObject
*resultobj
= 0;
10251 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10255 PyObject
*swig_obj
[1] ;
10257 if (!args
) SWIG_fail
;
10258 swig_obj
[0] = args
;
10259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10260 if (!SWIG_IsOK(res1
)) {
10261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10263 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= SWIG_From_int(static_cast< int >(result
));
10277 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
= 0;
10279 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 PyObject
* obj2
= 0 ;
10292 char * kwnames
[] = {
10293 (char *) "self",(char *) "major",(char *) "minor", NULL
10296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10298 if (!SWIG_IsOK(res1
)) {
10299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10301 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10303 if (!SWIG_IsOK(ecode2
)) {
10304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "2"" of type '" "int""'");
10306 arg2
= static_cast< int >(val2
);
10307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10308 if (!SWIG_IsOK(ecode3
)) {
10309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "3"" of type '" "int""'");
10311 arg3
= static_cast< int >(val3
);
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckOSVersion(arg2
,arg3
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10327 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10328 PyObject
*resultobj
= 0;
10329 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10333 PyObject
*swig_obj
[1] ;
10335 if (!args
) SWIG_fail
;
10336 swig_obj
[0] = args
;
10337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10338 if (!SWIG_IsOK(res1
)) {
10339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10341 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10345 wxPyEndAllowThreads(__tstate
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10348 resultobj
= SWIG_From_int(static_cast< int >(result
));
10355 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10356 PyObject
*resultobj
= 0;
10357 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10361 PyObject
*swig_obj
[1] ;
10363 if (!args
) SWIG_fail
;
10364 swig_obj
[0] = args
;
10365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10366 if (!SWIG_IsOK(res1
)) {
10367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10369 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_From_int(static_cast< int >(result
));
10383 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
= 0;
10385 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10395 PyObject
* obj0
= 0 ;
10396 PyObject
* obj1
= 0 ;
10397 PyObject
* obj2
= 0 ;
10398 char * kwnames
[] = {
10399 (char *) "self",(char *) "major",(char *) "minor", NULL
10402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10404 if (!SWIG_IsOK(res1
)) {
10405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10407 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10409 if (!SWIG_IsOK(ecode2
)) {
10410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10412 arg2
= static_cast< int >(val2
);
10413 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10414 if (!SWIG_IsOK(ecode3
)) {
10415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10417 arg3
= static_cast< int >(val3
);
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckToolkitVersion(arg2
,arg3
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10433 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10434 PyObject
*resultobj
= 0;
10435 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10439 PyObject
*swig_obj
[1] ;
10441 if (!args
) SWIG_fail
;
10442 swig_obj
[0] = args
;
10443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10444 if (!SWIG_IsOK(res1
)) {
10445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10447 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10463 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10464 PyObject
*resultobj
= 0;
10465 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10466 wxOperatingSystemId result
;
10469 PyObject
*swig_obj
[1] ;
10471 if (!args
) SWIG_fail
;
10472 swig_obj
[0] = args
;
10473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10474 if (!SWIG_IsOK(res1
)) {
10475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10477 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_From_int(static_cast< int >(result
));
10491 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10492 PyObject
*resultobj
= 0;
10493 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10497 PyObject
*swig_obj
[1] ;
10499 if (!args
) SWIG_fail
;
10500 swig_obj
[0] = args
;
10501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10505 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_From_int(static_cast< int >(result
));
10519 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10520 PyObject
*resultobj
= 0;
10521 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10522 wxArchitecture result
;
10525 PyObject
*swig_obj
[1] ;
10527 if (!args
) SWIG_fail
;
10528 swig_obj
[0] = args
;
10529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10530 if (!SWIG_IsOK(res1
)) {
10531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10533 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_From_int(static_cast< int >(result
));
10547 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10548 PyObject
*resultobj
= 0;
10549 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10550 wxEndianness result
;
10553 PyObject
*swig_obj
[1] ;
10555 if (!args
) SWIG_fail
;
10556 swig_obj
[0] = args
;
10557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10558 if (!SWIG_IsOK(res1
)) {
10559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10561 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= SWIG_From_int(static_cast< int >(result
));
10575 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10576 PyObject
*resultobj
= 0;
10577 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10581 PyObject
*swig_obj
[1] ;
10583 if (!args
) SWIG_fail
;
10584 swig_obj
[0] = args
;
10585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10586 if (!SWIG_IsOK(res1
)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10589 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10609 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10610 PyObject
*resultobj
= 0;
10611 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10615 PyObject
*swig_obj
[1] ;
10617 if (!args
) SWIG_fail
;
10618 swig_obj
[0] = args
;
10619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10620 if (!SWIG_IsOK(res1
)) {
10621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10623 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10643 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10644 PyObject
*resultobj
= 0;
10645 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10649 PyObject
*swig_obj
[1] ;
10651 if (!args
) SWIG_fail
;
10652 swig_obj
[0] = args
;
10653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10654 if (!SWIG_IsOK(res1
)) {
10655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10657 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10677 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10678 PyObject
*resultobj
= 0;
10679 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10683 PyObject
*swig_obj
[1] ;
10685 if (!args
) SWIG_fail
;
10686 swig_obj
[0] = args
;
10687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10688 if (!SWIG_IsOK(res1
)) {
10689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10691 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10711 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10712 PyObject
*resultobj
= 0;
10713 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10717 PyObject
*swig_obj
[1] ;
10719 if (!args
) SWIG_fail
;
10720 swig_obj
[0] = args
;
10721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10722 if (!SWIG_IsOK(res1
)) {
10723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10725 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10728 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10745 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10746 PyObject
*resultobj
= 0;
10747 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10751 PyObject
*swig_obj
[1] ;
10753 if (!args
) SWIG_fail
;
10754 swig_obj
[0] = args
;
10755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10756 if (!SWIG_IsOK(res1
)) {
10757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10759 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10762 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10779 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
= 0;
10781 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10790 PyObject
* obj0
= 0 ;
10791 PyObject
* obj1
= 0 ;
10792 PyObject
* obj2
= 0 ;
10793 char * kwnames
[] = {
10794 (char *) "self",(char *) "major",(char *) "minor", NULL
10797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10799 if (!SWIG_IsOK(res1
)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10802 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10804 if (!SWIG_IsOK(ecode2
)) {
10805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10807 arg2
= static_cast< int >(val2
);
10808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10809 if (!SWIG_IsOK(ecode3
)) {
10810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10812 arg3
= static_cast< int >(val3
);
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->SetOSVersion(arg2
,arg3
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 resultobj
= SWIG_Py_Void();
10826 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
= 0;
10828 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 PyObject
* obj1
= 0 ;
10839 PyObject
* obj2
= 0 ;
10840 char * kwnames
[] = {
10841 (char *) "self",(char *) "major",(char *) "minor", NULL
10844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10846 if (!SWIG_IsOK(res1
)) {
10847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10849 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10851 if (!SWIG_IsOK(ecode2
)) {
10852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10854 arg2
= static_cast< int >(val2
);
10855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10856 if (!SWIG_IsOK(ecode3
)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10859 arg3
= static_cast< int >(val3
);
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_Py_Void();
10873 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
= 0;
10875 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10876 wxOperatingSystemId arg2
;
10881 PyObject
* obj0
= 0 ;
10882 PyObject
* obj1
= 0 ;
10883 char * kwnames
[] = {
10884 (char *) "self",(char *) "n", NULL
10887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10889 if (!SWIG_IsOK(res1
)) {
10890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10892 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10894 if (!SWIG_IsOK(ecode2
)) {
10895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10897 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 (arg1
)->SetOperatingSystemId(arg2
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= SWIG_Py_Void();
10911 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
= 0;
10913 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 char * kwnames
[] = {
10922 (char *) "self",(char *) "n", NULL
10925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10927 if (!SWIG_IsOK(res1
)) {
10928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10930 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10932 if (!SWIG_IsOK(ecode2
)) {
10933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10935 arg2
= static_cast< wxPortId
>(val2
);
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 (arg1
)->SetPortId(arg2
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 resultobj
= SWIG_Py_Void();
10949 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
= 0;
10951 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10952 wxArchitecture arg2
;
10957 PyObject
* obj0
= 0 ;
10958 PyObject
* obj1
= 0 ;
10959 char * kwnames
[] = {
10960 (char *) "self",(char *) "n", NULL
10963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10965 if (!SWIG_IsOK(res1
)) {
10966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10968 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10970 if (!SWIG_IsOK(ecode2
)) {
10971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
10973 arg2
= static_cast< wxArchitecture
>(val2
);
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 (arg1
)->SetArchitecture(arg2
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= SWIG_Py_Void();
10987 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
= 0;
10989 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10990 wxEndianness arg2
;
10995 PyObject
* obj0
= 0 ;
10996 PyObject
* obj1
= 0 ;
10997 char * kwnames
[] = {
10998 (char *) "self",(char *) "n", NULL
11001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11003 if (!SWIG_IsOK(res1
)) {
11004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11006 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11008 if (!SWIG_IsOK(ecode2
)) {
11009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
11011 arg2
= static_cast< wxEndianness
>(val2
);
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 (arg1
)->SetEndianness(arg2
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= SWIG_Py_Void();
11025 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11026 PyObject
*resultobj
= 0;
11027 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11031 PyObject
*swig_obj
[1] ;
11033 if (!args
) SWIG_fail
;
11034 swig_obj
[0] = args
;
11035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11036 if (!SWIG_IsOK(res1
)) {
11037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
11039 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11055 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11058 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
11059 return SWIG_Py_Void();
11062 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11063 return SWIG_Python_InitShadowInstance(args
);
11066 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
= 0;
11068 wxWindow
*arg1
= (wxWindow
*) 0 ;
11075 PyObject
* obj0
= 0 ;
11076 PyObject
* obj1
= 0 ;
11077 char * kwnames
[] = {
11078 (char *) "window",(char *) "dc", NULL
11081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11083 if (!SWIG_IsOK(res1
)) {
11084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
11086 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11087 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
11088 if (!SWIG_IsOK(res2
)) {
11089 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11094 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11110 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11111 PyObject
*resultobj
= 0;
11112 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11115 PyObject
*swig_obj
[1] ;
11117 if (!args
) SWIG_fail
;
11118 swig_obj
[0] = args
;
11119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11120 if (!SWIG_IsOK(res1
)) {
11121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11123 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= SWIG_Py_Void();
11138 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11139 PyObject
*resultobj
= 0;
11140 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11144 PyObject
*swig_obj
[1] ;
11146 if (!args
) SWIG_fail
;
11147 swig_obj
[0] = args
;
11148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11149 if (!SWIG_IsOK(res1
)) {
11150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11152 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (arg1
)->GetTip();
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11172 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11173 PyObject
*resultobj
= 0;
11174 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11178 PyObject
*swig_obj
[1] ;
11180 if (!args
) SWIG_fail
;
11181 swig_obj
[0] = args
;
11182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11183 if (!SWIG_IsOK(res1
)) {
11184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11186 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= (size_t)(arg1
)->GetCurrentTip();
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11200 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
= 0;
11202 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11203 wxString
*arg2
= 0 ;
11207 bool temp2
= false ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 char * kwnames
[] = {
11211 (char *) "self",(char *) "tip", NULL
11214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11216 if (!SWIG_IsOK(res1
)) {
11217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11219 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11221 arg2
= wxString_in_helper(obj1
);
11222 if (arg2
== NULL
) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11252 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11255 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11256 return SWIG_Py_Void();
11259 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
= 0;
11262 wxPyTipProvider
*result
= 0 ;
11265 PyObject
* obj0
= 0 ;
11266 char * kwnames
[] = {
11267 (char *) "currentTip", NULL
11270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11271 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11272 if (!SWIG_IsOK(ecode1
)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11275 arg1
= static_cast< size_t >(val1
);
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11289 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
= 0;
11291 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11292 PyObject
*arg2
= (PyObject
*) 0 ;
11293 PyObject
*arg3
= (PyObject
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11299 char * kwnames
[] = {
11300 (char *) "self",(char *) "self",(char *) "_class", NULL
11303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11305 if (!SWIG_IsOK(res1
)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11308 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= SWIG_Py_Void();
11324 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11327 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11328 return SWIG_Py_Void();
11331 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11332 return SWIG_Python_InitShadowInstance(args
);
11335 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
= 0;
11337 wxWindow
*arg1
= (wxWindow
*) 0 ;
11338 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11339 bool arg3
= (bool) true ;
11347 PyObject
* obj0
= 0 ;
11348 PyObject
* obj1
= 0 ;
11349 PyObject
* obj2
= 0 ;
11350 char * kwnames
[] = {
11351 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11356 if (!SWIG_IsOK(res1
)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11361 if (!SWIG_IsOK(res2
)) {
11362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11364 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11366 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11367 if (!SWIG_IsOK(ecode3
)) {
11368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11370 arg3
= static_cast< bool >(val3
);
11373 if (!wxPyCheckForApp()) SWIG_fail
;
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11388 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
= 0;
11390 wxString
*arg1
= 0 ;
11392 wxTipProvider
*result
= 0 ;
11393 bool temp1
= false ;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 char * kwnames
[] = {
11399 (char *) "filename",(char *) "currentTip", NULL
11402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11404 arg1
= wxString_in_helper(obj0
);
11405 if (arg1
== NULL
) SWIG_fail
;
11408 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11409 if (!SWIG_IsOK(ecode2
)) {
11410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11412 arg2
= static_cast< size_t >(val2
);
11414 if (!wxPyCheckForApp()) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11435 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
= 0;
11437 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11438 int arg2
= (int) wxID_ANY
;
11439 wxPyTimer
*result
= 0 ;
11444 PyObject
* obj0
= 0 ;
11445 PyObject
* obj1
= 0 ;
11446 char * kwnames
[] = {
11447 (char *) "owner",(char *) "id", NULL
11450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11453 if (!SWIG_IsOK(res1
)) {
11454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11456 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11460 if (!SWIG_IsOK(ecode2
)) {
11461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11463 arg2
= static_cast< int >(val2
);
11466 if (!wxPyCheckForApp()) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11479 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11480 PyObject
*resultobj
= 0;
11481 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11484 PyObject
*swig_obj
[1] ;
11486 if (!args
) SWIG_fail
;
11487 swig_obj
[0] = args
;
11488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11489 if (!SWIG_IsOK(res1
)) {
11490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11492 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= SWIG_Py_Void();
11507 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
= 0;
11509 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11510 PyObject
*arg2
= (PyObject
*) 0 ;
11511 PyObject
*arg3
= (PyObject
*) 0 ;
11512 int arg4
= (int) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 PyObject
* obj2
= 0 ;
11520 PyObject
* obj3
= 0 ;
11521 char * kwnames
[] = {
11522 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11527 if (!SWIG_IsOK(res1
)) {
11528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11530 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11535 if (!SWIG_IsOK(ecode4
)) {
11536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11538 arg4
= static_cast< int >(val4
);
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= SWIG_Py_Void();
11553 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
= 0;
11555 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11556 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11557 int arg3
= (int) wxID_ANY
;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 PyObject
* obj2
= 0 ;
11567 char * kwnames
[] = {
11568 (char *) "self",(char *) "owner",(char *) "id", NULL
11571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11573 if (!SWIG_IsOK(res1
)) {
11574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11576 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11577 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11578 if (!SWIG_IsOK(res2
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11581 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11584 if (!SWIG_IsOK(ecode3
)) {
11585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11587 arg3
= static_cast< int >(val3
);
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 (arg1
)->SetOwner(arg2
,arg3
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= SWIG_Py_Void();
11602 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11603 PyObject
*resultobj
= 0;
11604 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11605 wxEvtHandler
*result
= 0 ;
11608 PyObject
*swig_obj
[1] ;
11610 if (!args
) SWIG_fail
;
11611 swig_obj
[0] = args
;
11612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11613 if (!SWIG_IsOK(res1
)) {
11614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11616 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11624 resultobj
= wxPyMake_wxObject(result
, 0);
11632 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
= 0;
11634 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11635 int arg2
= (int) -1 ;
11636 bool arg3
= (bool) false ;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 PyObject
* obj2
= 0 ;
11647 char * kwnames
[] = {
11648 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11653 if (!SWIG_IsOK(res1
)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11656 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11659 if (!SWIG_IsOK(ecode2
)) {
11660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11662 arg2
= static_cast< int >(val2
);
11665 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11666 if (!SWIG_IsOK(ecode3
)) {
11667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11669 arg3
= static_cast< bool >(val3
);
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11686 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11687 PyObject
*resultobj
= 0;
11688 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11691 PyObject
*swig_obj
[1] ;
11693 if (!args
) SWIG_fail
;
11694 swig_obj
[0] = args
;
11695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11696 if (!SWIG_IsOK(res1
)) {
11697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11699 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= SWIG_Py_Void();
11713 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11714 PyObject
*resultobj
= 0;
11715 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11718 PyObject
*swig_obj
[1] ;
11720 if (!args
) SWIG_fail
;
11721 swig_obj
[0] = args
;
11722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11723 if (!SWIG_IsOK(res1
)) {
11724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11726 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 wxPyEndAllowThreads(__tstate
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= SWIG_Py_Void();
11740 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11741 PyObject
*resultobj
= 0;
11742 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11746 PyObject
*swig_obj
[1] ;
11748 if (!args
) SWIG_fail
;
11749 swig_obj
[0] = args
;
11750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11751 if (!SWIG_IsOK(res1
)) {
11752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11754 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11770 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11771 PyObject
*resultobj
= 0;
11772 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11776 PyObject
*swig_obj
[1] ;
11778 if (!args
) SWIG_fail
;
11779 swig_obj
[0] = args
;
11780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11781 if (!SWIG_IsOK(res1
)) {
11782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11784 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_From_int(static_cast< int >(result
));
11798 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11799 PyObject
*resultobj
= 0;
11800 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11804 PyObject
*swig_obj
[1] ;
11806 if (!args
) SWIG_fail
;
11807 swig_obj
[0] = args
;
11808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11809 if (!SWIG_IsOK(res1
)) {
11810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11812 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_From_int(static_cast< int >(result
));
11826 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11827 PyObject
*resultobj
= 0;
11828 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11832 PyObject
*swig_obj
[1] ;
11834 if (!args
) SWIG_fail
;
11835 swig_obj
[0] = args
;
11836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11837 if (!SWIG_IsOK(res1
)) {
11838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11840 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11856 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11859 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11860 return SWIG_Py_Void();
11863 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11864 return SWIG_Python_InitShadowInstance(args
);
11867 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
= 0;
11869 int arg1
= (int) 0 ;
11870 int arg2
= (int) 0 ;
11871 wxTimerEvent
*result
= 0 ;
11876 PyObject
* obj0
= 0 ;
11877 PyObject
* obj1
= 0 ;
11878 char * kwnames
[] = {
11879 (char *) "timerid",(char *) "interval", NULL
11882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11884 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11885 if (!SWIG_IsOK(ecode1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11888 arg1
= static_cast< int >(val1
);
11891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11892 if (!SWIG_IsOK(ecode2
)) {
11893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11895 arg2
= static_cast< int >(val2
);
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11910 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11911 PyObject
*resultobj
= 0;
11912 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11916 PyObject
*swig_obj
[1] ;
11918 if (!args
) SWIG_fail
;
11919 swig_obj
[0] = args
;
11920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11921 if (!SWIG_IsOK(res1
)) {
11922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11924 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_From_int(static_cast< int >(result
));
11938 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11941 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11942 return SWIG_Py_Void();
11945 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11946 return SWIG_Python_InitShadowInstance(args
);
11949 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11950 PyObject
*resultobj
= 0;
11951 wxTimer
*arg1
= 0 ;
11952 wxTimerRunner
*result
= 0 ;
11956 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11958 if (!SWIG_IsOK(res1
)) {
11959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11964 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11966 if (!wxPyCheckForApp()) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
11979 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11980 PyObject
*resultobj
= 0;
11981 wxTimer
*arg1
= 0 ;
11983 bool arg3
= (bool) false ;
11984 wxTimerRunner
*result
= 0 ;
11992 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
11993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11994 if (!SWIG_IsOK(res1
)) {
11995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12000 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
12001 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12002 if (!SWIG_IsOK(ecode2
)) {
12003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
12005 arg2
= static_cast< int >(val2
);
12007 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
12008 if (!SWIG_IsOK(ecode3
)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
12011 arg3
= static_cast< bool >(val3
);
12014 if (!wxPyCheckForApp()) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
12017 wxPyEndAllowThreads(__tstate
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12027 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
12031 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
12034 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
12036 if ((argc
>= 2) && (argc
<= 3)) {
12037 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
12041 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
12046 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12047 PyObject
*resultobj
= 0;
12048 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12051 PyObject
*swig_obj
[1] ;
12053 if (!args
) SWIG_fail
;
12054 swig_obj
[0] = args
;
12055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
12056 if (!SWIG_IsOK(res1
)) {
12057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12059 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= SWIG_Py_Void();
12074 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
= 0;
12076 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12078 bool arg3
= (bool) false ;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 PyObject
* obj2
= 0 ;
12088 char * kwnames
[] = {
12089 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
12092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
12094 if (!SWIG_IsOK(res1
)) {
12095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12097 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12099 if (!SWIG_IsOK(ecode2
)) {
12100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
12102 arg2
= static_cast< int >(val2
);
12104 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12105 if (!SWIG_IsOK(ecode3
)) {
12106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
12108 arg3
= static_cast< bool >(val3
);
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 (arg1
)->Start(arg2
,arg3
);
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= SWIG_Py_Void();
12123 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12126 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12127 return SWIG_Py_Void();
12130 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12131 return SWIG_Python_InitShadowInstance(args
);
12134 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12135 PyObject
*resultobj
= 0;
12136 wxLog
*result
= 0 ;
12138 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (wxLog
*)new wxLog();
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12152 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12153 PyObject
*resultobj
= 0;
12154 wxLog
*arg1
= (wxLog
*) 0 ;
12157 PyObject
*swig_obj
[1] ;
12159 if (!args
) SWIG_fail
;
12160 swig_obj
[0] = args
;
12161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12162 if (!SWIG_IsOK(res1
)) {
12163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12165 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= SWIG_Py_Void();
12180 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12181 PyObject
*resultobj
= 0;
12184 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12187 result
= (bool)wxLog::IsEnabled();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12200 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
= 0;
12202 bool arg1
= (bool) true ;
12206 PyObject
* obj0
= 0 ;
12207 char * kwnames
[] = {
12208 (char *) "doIt", NULL
12211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12213 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12214 if (!SWIG_IsOK(ecode1
)) {
12215 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12217 arg1
= static_cast< bool >(val1
);
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 result
= (bool)wxLog::EnableLogging(arg1
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12234 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
= 0;
12237 wxChar
*arg2
= (wxChar
*) 0 ;
12239 unsigned long val1
;
12243 unsigned int val3
;
12245 PyObject
* obj0
= 0 ;
12246 PyObject
* obj1
= 0 ;
12247 PyObject
* obj2
= 0 ;
12248 char * kwnames
[] = {
12249 (char *) "level",(char *) "szString",(char *) "t", NULL
12252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12253 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12254 if (!SWIG_IsOK(ecode1
)) {
12255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12257 arg1
= static_cast< wxLogLevel
>(val1
);
12258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12259 if (!SWIG_IsOK(res2
)) {
12260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12262 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12263 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12264 if (!SWIG_IsOK(ecode3
)) {
12265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12267 arg3
= static_cast< time_t >(val3
);
12269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12270 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= SWIG_Py_Void();
12281 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12282 PyObject
*resultobj
= 0;
12283 wxLog
*arg1
= (wxLog
*) 0 ;
12286 PyObject
*swig_obj
[1] ;
12288 if (!args
) SWIG_fail
;
12289 swig_obj
[0] = args
;
12290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12291 if (!SWIG_IsOK(res1
)) {
12292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12294 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_Py_Void();
12308 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12309 PyObject
*resultobj
= 0;
12311 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 wxLog::FlushActive();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_Py_Void();
12325 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12326 PyObject
*resultobj
= 0;
12327 wxLog
*result
= 0 ;
12329 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= (wxLog
*)wxLog::GetActiveTarget();
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12343 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
= 0;
12345 wxLog
*arg1
= (wxLog
*) 0 ;
12346 wxLog
*result
= 0 ;
12348 PyObject
* obj0
= 0 ;
12349 char * kwnames
[] = {
12350 (char *) "pLogger", NULL
12353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12354 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12355 if (!SWIG_IsOK(res1
)) {
12356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12361 wxPyEndAllowThreads(__tstate
);
12362 if (PyErr_Occurred()) SWIG_fail
;
12364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12371 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12372 PyObject
*resultobj
= 0;
12374 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= SWIG_Py_Void();
12388 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12389 PyObject
*resultobj
= 0;
12391 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= SWIG_Py_Void();
12405 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
= 0;
12407 bool arg1
= (bool) true ;
12410 PyObject
* obj0
= 0 ;
12411 char * kwnames
[] = {
12412 (char *) "bVerbose", NULL
12415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12417 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12418 if (!SWIG_IsOK(ecode1
)) {
12419 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12421 arg1
= static_cast< bool >(val1
);
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 wxLog::SetVerbose(arg1
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= SWIG_Py_Void();
12436 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
= 0;
12439 unsigned long val1
;
12441 PyObject
* obj0
= 0 ;
12442 char * kwnames
[] = {
12443 (char *) "logLevel", NULL
12446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12447 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12448 if (!SWIG_IsOK(ecode1
)) {
12449 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12451 arg1
= static_cast< wxLogLevel
>(val1
);
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 wxLog::SetLogLevel(arg1
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= SWIG_Py_Void();
12465 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12466 PyObject
*resultobj
= 0;
12468 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 wxLog::DontCreateOnDemand();
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= SWIG_Py_Void();
12482 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
= 0;
12484 bool arg1
= (bool) true ;
12487 PyObject
* obj0
= 0 ;
12488 char * kwnames
[] = {
12489 (char *) "bRepetCounting", NULL
12492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12494 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12495 if (!SWIG_IsOK(ecode1
)) {
12496 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12498 arg1
= static_cast< bool >(val1
);
12501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12502 wxLog::SetRepetitionCounting(arg1
);
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= SWIG_Py_Void();
12513 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12514 PyObject
*resultobj
= 0;
12517 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= (bool)wxLog::GetRepetitionCounting();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12533 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
= 0;
12536 unsigned long val1
;
12538 PyObject
* obj0
= 0 ;
12539 char * kwnames
[] = {
12540 (char *) "ulMask", NULL
12543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12544 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12545 if (!SWIG_IsOK(ecode1
)) {
12546 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12548 arg1
= static_cast< wxTraceMask
>(val1
);
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 wxLog::SetTraceMask(arg1
);
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 resultobj
= SWIG_Py_Void();
12562 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
= 0;
12564 wxString
*arg1
= 0 ;
12565 bool temp1
= false ;
12566 PyObject
* obj0
= 0 ;
12567 char * kwnames
[] = {
12568 (char *) "str", NULL
12571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12573 arg1
= wxString_in_helper(obj0
);
12574 if (arg1
== NULL
) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 wxLog::AddTraceMask((wxString
const &)*arg1
);
12580 wxPyEndAllowThreads(__tstate
);
12581 if (PyErr_Occurred()) SWIG_fail
;
12583 resultobj
= SWIG_Py_Void();
12598 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
= 0;
12600 wxString
*arg1
= 0 ;
12601 bool temp1
= false ;
12602 PyObject
* obj0
= 0 ;
12603 char * kwnames
[] = {
12604 (char *) "str", NULL
12607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12609 arg1
= wxString_in_helper(obj0
);
12610 if (arg1
== NULL
) SWIG_fail
;
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= SWIG_Py_Void();
12634 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12635 PyObject
*resultobj
= 0;
12637 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 wxLog::ClearTraceMasks();
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= SWIG_Py_Void();
12651 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12652 PyObject
*resultobj
= 0;
12653 wxArrayString
*result
= 0 ;
12655 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12660 result
= (wxArrayString
*) &_result_ref
;
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= wxArrayString2PyList_helper(*result
);
12674 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
= 0;
12676 wxChar
*arg1
= (wxChar
*) 0 ;
12679 PyObject
* obj0
= 0 ;
12680 char * kwnames
[] = {
12681 (char *) "ts", NULL
12684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12686 if (!SWIG_IsOK(res1
)) {
12687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12689 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 wxLog::SetTimestamp((wxChar
const *)arg1
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 resultobj
= SWIG_Py_Void();
12703 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12704 PyObject
*resultobj
= 0;
12707 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (bool)wxLog::GetVerbose();
12711 wxPyEndAllowThreads(__tstate
);
12712 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12723 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12724 PyObject
*resultobj
= 0;
12725 wxTraceMask result
;
12727 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 result
= (wxTraceMask
)wxLog::GetTraceMask();
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12741 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
= 0;
12743 wxChar
*arg1
= (wxChar
*) 0 ;
12747 PyObject
* obj0
= 0 ;
12748 char * kwnames
[] = {
12749 (char *) "mask", NULL
12752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12754 if (!SWIG_IsOK(res1
)) {
12755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12757 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12773 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12774 PyObject
*resultobj
= 0;
12777 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (wxLogLevel
)wxLog::GetLogLevel();
12781 wxPyEndAllowThreads(__tstate
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12784 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12791 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12792 PyObject
*resultobj
= 0;
12793 wxChar
*result
= 0 ;
12795 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (wxChar
*)wxLog::GetTimestamp();
12799 wxPyEndAllowThreads(__tstate
);
12800 if (PyErr_Occurred()) SWIG_fail
;
12802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12809 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12810 PyObject
*resultobj
= 0;
12813 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 result
= wxLog_TimeStamp();
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12833 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12834 PyObject
*resultobj
= 0;
12835 wxLog
*arg1
= (wxLog
*) 0 ;
12838 PyObject
*swig_obj
[1] ;
12840 if (!args
) SWIG_fail
;
12841 swig_obj
[0] = args
;
12842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12843 if (!SWIG_IsOK(res1
)) {
12844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12846 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 wxLog_Destroy(arg1
);
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= SWIG_Py_Void();
12860 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12862 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12863 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12864 return SWIG_Py_Void();
12867 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12868 return SWIG_Python_InitShadowInstance(args
);
12871 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12872 PyObject
*resultobj
= 0;
12873 wxLogStderr
*result
= 0 ;
12875 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (wxLogStderr
*)new wxLogStderr();
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12889 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12892 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12893 return SWIG_Py_Void();
12896 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12897 return SWIG_Python_InitShadowInstance(args
);
12900 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
= 0;
12902 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12903 wxLogTextCtrl
*result
= 0 ;
12906 PyObject
* obj0
= 0 ;
12907 char * kwnames
[] = {
12908 (char *) "pTextCtrl", NULL
12911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12913 if (!SWIG_IsOK(res1
)) {
12914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12916 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12930 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12933 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12934 return SWIG_Py_Void();
12937 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12938 return SWIG_Python_InitShadowInstance(args
);
12941 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12942 PyObject
*resultobj
= 0;
12943 wxLogGui
*result
= 0 ;
12945 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (wxLogGui
*)new wxLogGui();
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
12959 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12962 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
12963 return SWIG_Py_Void();
12966 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 return SWIG_Python_InitShadowInstance(args
);
12970 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
= 0;
12972 wxFrame
*arg1
= (wxFrame
*) 0 ;
12973 wxString
*arg2
= 0 ;
12974 bool arg3
= (bool) true ;
12975 bool arg4
= (bool) true ;
12976 wxLogWindow
*result
= 0 ;
12979 bool temp2
= false ;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 PyObject
* obj2
= 0 ;
12987 PyObject
* obj3
= 0 ;
12988 char * kwnames
[] = {
12989 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
12992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
12997 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12999 arg2
= wxString_in_helper(obj1
);
13000 if (arg2
== NULL
) SWIG_fail
;
13004 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13005 if (!SWIG_IsOK(ecode3
)) {
13006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
13008 arg3
= static_cast< bool >(val3
);
13011 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13012 if (!SWIG_IsOK(ecode4
)) {
13013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
13015 arg4
= static_cast< bool >(val4
);
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
13038 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
= 0;
13040 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13041 bool arg2
= (bool) true ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char * kwnames
[] = {
13049 (char *) "self",(char *) "bShow", NULL
13052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13054 if (!SWIG_IsOK(res1
)) {
13055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13057 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13059 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13060 if (!SWIG_IsOK(ecode2
)) {
13061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
13063 arg2
= static_cast< bool >(val2
);
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 (arg1
)->Show(arg2
);
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= SWIG_Py_Void();
13078 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13079 PyObject
*resultobj
= 0;
13080 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13081 wxFrame
*result
= 0 ;
13084 PyObject
*swig_obj
[1] ;
13086 if (!args
) SWIG_fail
;
13087 swig_obj
[0] = args
;
13088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13089 if (!SWIG_IsOK(res1
)) {
13090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13092 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13100 resultobj
= wxPyMake_wxObject(result
, (bool)0);
13108 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13109 PyObject
*resultobj
= 0;
13110 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13111 wxLog
*result
= 0 ;
13114 PyObject
*swig_obj
[1] ;
13116 if (!args
) SWIG_fail
;
13117 swig_obj
[0] = args
;
13118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13122 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13136 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13137 PyObject
*resultobj
= 0;
13138 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13142 PyObject
*swig_obj
[1] ;
13144 if (!args
) SWIG_fail
;
13145 swig_obj
[0] = args
;
13146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13147 if (!SWIG_IsOK(res1
)) {
13148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13150 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13166 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
= 0;
13168 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 char * kwnames
[] = {
13177 (char *) "self",(char *) "bDoPass", NULL
13180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13182 if (!SWIG_IsOK(res1
)) {
13183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13185 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13186 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13187 if (!SWIG_IsOK(ecode2
)) {
13188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13190 arg2
= static_cast< bool >(val2
);
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 (arg1
)->PassMessages(arg2
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= SWIG_Py_Void();
13204 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13207 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13208 return SWIG_Py_Void();
13211 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13212 return SWIG_Python_InitShadowInstance(args
);
13215 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
= 0;
13217 wxLog
*arg1
= (wxLog
*) 0 ;
13218 wxLogChain
*result
= 0 ;
13221 PyObject
* obj0
= 0 ;
13222 char * kwnames
[] = {
13223 (char *) "logger", NULL
13226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13228 if (!SWIG_IsOK(res1
)) {
13229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13231 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (wxLogChain
*)new wxLogChain(arg1
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13245 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13246 PyObject
*resultobj
= 0;
13247 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13248 wxLog
*arg2
= (wxLog
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 PyObject
* obj1
= 0 ;
13255 char * kwnames
[] = {
13256 (char *) "self",(char *) "logger", NULL
13259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13261 if (!SWIG_IsOK(res1
)) {
13262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13264 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13266 if (!SWIG_IsOK(res2
)) {
13267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13269 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 (arg1
)->SetLog(arg2
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= SWIG_Py_Void();
13283 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
= 0;
13285 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 PyObject
* obj1
= 0 ;
13293 char * kwnames
[] = {
13294 (char *) "self",(char *) "bDoPass", NULL
13297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13299 if (!SWIG_IsOK(res1
)) {
13300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13302 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13303 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13304 if (!SWIG_IsOK(ecode2
)) {
13305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13307 arg2
= static_cast< bool >(val2
);
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 (arg1
)->PassMessages(arg2
);
13311 wxPyEndAllowThreads(__tstate
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= SWIG_Py_Void();
13321 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 PyObject
*resultobj
= 0;
13323 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13327 PyObject
*swig_obj
[1] ;
13329 if (!args
) SWIG_fail
;
13330 swig_obj
[0] = args
;
13331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13332 if (!SWIG_IsOK(res1
)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13335 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (bool)(arg1
)->IsPassingMessages();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13351 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13352 PyObject
*resultobj
= 0;
13353 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13354 wxLog
*result
= 0 ;
13357 PyObject
*swig_obj
[1] ;
13359 if (!args
) SWIG_fail
;
13360 swig_obj
[0] = args
;
13361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13362 if (!SWIG_IsOK(res1
)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13365 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 result
= (wxLog
*)(arg1
)->GetOldLog();
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13379 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13382 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13383 return SWIG_Py_Void();
13386 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 return SWIG_Python_InitShadowInstance(args
);
13390 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 PyObject
*resultobj
= 0;
13392 wxLogBuffer
*result
= 0 ;
13394 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 result
= (wxLogBuffer
*)new wxLogBuffer();
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13408 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13409 PyObject
*resultobj
= 0;
13410 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13411 wxString
*result
= 0 ;
13414 PyObject
*swig_obj
[1] ;
13416 if (!args
) SWIG_fail
;
13417 swig_obj
[0] = args
;
13418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13419 if (!SWIG_IsOK(res1
)) {
13420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13422 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13427 result
= (wxString
*) &_result_ref
;
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13436 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13445 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13448 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13449 return SWIG_Py_Void();
13452 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13453 return SWIG_Python_InitShadowInstance(args
);
13456 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13457 PyObject
*resultobj
= 0;
13458 unsigned long result
;
13460 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (unsigned long)wxSysErrorCode();
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13474 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
= 0;
13476 unsigned long arg1
= (unsigned long) 0 ;
13478 unsigned long val1
;
13480 PyObject
* obj0
= 0 ;
13481 char * kwnames
[] = {
13482 (char *) "nErrCode", NULL
13485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13487 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13488 if (!SWIG_IsOK(ecode1
)) {
13489 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13491 arg1
= static_cast< unsigned long >(val1
);
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 result
= wxSysErrorMsg(arg1
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13512 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
= 0;
13514 wxString
*arg1
= 0 ;
13515 bool temp1
= false ;
13516 PyObject
* obj0
= 0 ;
13517 char * kwnames
[] = {
13518 (char *) "msg", NULL
13521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13523 arg1
= wxString_in_helper(obj0
);
13524 if (arg1
== NULL
) SWIG_fail
;
13528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13529 wxPyLogFatalError((wxString
const &)*arg1
);
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13533 resultobj
= SWIG_Py_Void();
13548 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13549 PyObject
*resultobj
= 0;
13550 wxString
*arg1
= 0 ;
13551 bool temp1
= false ;
13552 PyObject
* obj0
= 0 ;
13553 char * kwnames
[] = {
13554 (char *) "msg", NULL
13557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13559 arg1
= wxString_in_helper(obj0
);
13560 if (arg1
== NULL
) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 wxPyLogError((wxString
const &)*arg1
);
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= SWIG_Py_Void();
13584 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
= 0;
13586 wxString
*arg1
= 0 ;
13587 bool temp1
= false ;
13588 PyObject
* obj0
= 0 ;
13589 char * kwnames
[] = {
13590 (char *) "msg", NULL
13593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13595 arg1
= wxString_in_helper(obj0
);
13596 if (arg1
== NULL
) SWIG_fail
;
13600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13601 wxPyLogWarning((wxString
const &)*arg1
);
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= SWIG_Py_Void();
13620 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
= 0;
13622 wxString
*arg1
= 0 ;
13623 bool temp1
= false ;
13624 PyObject
* obj0
= 0 ;
13625 char * kwnames
[] = {
13626 (char *) "msg", NULL
13629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13631 arg1
= wxString_in_helper(obj0
);
13632 if (arg1
== NULL
) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 wxPyLogMessage((wxString
const &)*arg1
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_Py_Void();
13656 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
= 0;
13658 wxString
*arg1
= 0 ;
13659 bool temp1
= false ;
13660 PyObject
* obj0
= 0 ;
13661 char * kwnames
[] = {
13662 (char *) "msg", NULL
13665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13667 arg1
= wxString_in_helper(obj0
);
13668 if (arg1
== NULL
) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 wxPyLogInfo((wxString
const &)*arg1
);
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= SWIG_Py_Void();
13692 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
= 0;
13694 wxString
*arg1
= 0 ;
13695 bool temp1
= false ;
13696 PyObject
* obj0
= 0 ;
13697 char * kwnames
[] = {
13698 (char *) "msg", NULL
13701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13703 arg1
= wxString_in_helper(obj0
);
13704 if (arg1
== NULL
) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 wxPyLogDebug((wxString
const &)*arg1
);
13710 wxPyEndAllowThreads(__tstate
);
13711 if (PyErr_Occurred()) SWIG_fail
;
13713 resultobj
= SWIG_Py_Void();
13728 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
= 0;
13730 wxString
*arg1
= 0 ;
13731 bool temp1
= false ;
13732 PyObject
* obj0
= 0 ;
13733 char * kwnames
[] = {
13734 (char *) "msg", NULL
13737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13739 arg1
= wxString_in_helper(obj0
);
13740 if (arg1
== NULL
) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 wxPyLogVerbose((wxString
const &)*arg1
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_Py_Void();
13764 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
= 0;
13766 wxString
*arg1
= 0 ;
13767 bool temp1
= false ;
13768 PyObject
* obj0
= 0 ;
13769 char * kwnames
[] = {
13770 (char *) "msg", NULL
13773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13775 arg1
= wxString_in_helper(obj0
);
13776 if (arg1
== NULL
) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 wxPyLogStatus((wxString
const &)*arg1
);
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= SWIG_Py_Void();
13800 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
= 0;
13802 wxFrame
*arg1
= (wxFrame
*) 0 ;
13803 wxString
*arg2
= 0 ;
13806 bool temp2
= false ;
13807 PyObject
* obj0
= 0 ;
13808 PyObject
* obj1
= 0 ;
13809 char * kwnames
[] = {
13810 (char *) "pFrame",(char *) "msg", NULL
13813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13815 if (!SWIG_IsOK(res1
)) {
13816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13818 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13820 arg2
= wxString_in_helper(obj1
);
13821 if (arg2
== NULL
) SWIG_fail
;
13825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13827 wxPyEndAllowThreads(__tstate
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= SWIG_Py_Void();
13845 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
= 0;
13847 wxString
*arg1
= 0 ;
13848 bool temp1
= false ;
13849 PyObject
* obj0
= 0 ;
13850 char * kwnames
[] = {
13851 (char *) "msg", NULL
13854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13856 arg1
= wxString_in_helper(obj0
);
13857 if (arg1
== NULL
) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 wxPyLogSysError((wxString
const &)*arg1
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_Py_Void();
13881 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
= 0;
13883 unsigned long arg1
;
13884 wxString
*arg2
= 0 ;
13885 unsigned long val1
;
13887 bool temp2
= false ;
13888 PyObject
* obj0
= 0 ;
13889 PyObject
* obj1
= 0 ;
13890 char * kwnames
[] = {
13891 (char *) "level",(char *) "msg", NULL
13894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13895 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13896 if (!SWIG_IsOK(ecode1
)) {
13897 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13899 arg1
= static_cast< unsigned long >(val1
);
13901 arg2
= wxString_in_helper(obj1
);
13902 if (arg2
== NULL
) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 resultobj
= SWIG_Py_Void();
13926 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13927 PyObject
*resultobj
= 0;
13928 unsigned long arg1
;
13929 wxString
*arg2
= 0 ;
13930 unsigned long val1
;
13932 bool temp2
= false ;
13934 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13935 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13936 if (!SWIG_IsOK(ecode1
)) {
13937 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13939 arg1
= static_cast< unsigned long >(val1
);
13941 arg2
= wxString_in_helper(swig_obj
[1]);
13942 if (arg2
== NULL
) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_Py_Void();
13966 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13967 PyObject
*resultobj
= 0;
13968 wxString
*arg1
= 0 ;
13969 wxString
*arg2
= 0 ;
13970 bool temp1
= false ;
13971 bool temp2
= false ;
13973 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13975 arg1
= wxString_in_helper(swig_obj
[0]);
13976 if (arg1
== NULL
) SWIG_fail
;
13980 arg2
= wxString_in_helper(swig_obj
[1]);
13981 if (arg2
== NULL
) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= SWIG_Py_Void();
14013 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
14017 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
14023 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
14026 if (!_v
) goto check_1
;
14027 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
14032 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
14036 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
14041 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
= 0;
14043 wxString
*arg1
= 0 ;
14044 wxString
*arg2
= 0 ;
14045 bool temp1
= false ;
14046 bool temp2
= false ;
14047 PyObject
* obj0
= 0 ;
14048 PyObject
* obj1
= 0 ;
14049 char * kwnames
[] = {
14050 (char *) "title",(char *) "text", NULL
14053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14055 arg1
= wxString_in_helper(obj0
);
14056 if (arg1
== NULL
) SWIG_fail
;
14060 arg2
= wxString_in_helper(obj1
);
14061 if (arg2
== NULL
) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14070 resultobj
= SWIG_Py_Void();
14093 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14094 PyObject
*resultobj
= 0;
14095 wxLogNull
*result
= 0 ;
14097 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 result
= (wxLogNull
*)new wxLogNull();
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14111 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14112 PyObject
*resultobj
= 0;
14113 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14116 PyObject
*swig_obj
[1] ;
14118 if (!args
) SWIG_fail
;
14119 swig_obj
[0] = args
;
14120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14121 if (!SWIG_IsOK(res1
)) {
14122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14124 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= SWIG_Py_Void();
14139 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14142 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14143 return SWIG_Py_Void();
14146 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14147 return SWIG_Python_InitShadowInstance(args
);
14150 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14151 PyObject
*resultobj
= 0;
14152 wxPyLog
*result
= 0 ;
14154 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= (wxPyLog
*)new wxPyLog();
14158 wxPyEndAllowThreads(__tstate
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14168 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
= 0;
14170 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14171 PyObject
*arg2
= (PyObject
*) 0 ;
14172 PyObject
*arg3
= (PyObject
*) 0 ;
14175 PyObject
* obj0
= 0 ;
14176 PyObject
* obj1
= 0 ;
14177 PyObject
* obj2
= 0 ;
14178 char * kwnames
[] = {
14179 (char *) "self",(char *) "self",(char *) "_class", NULL
14182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14184 if (!SWIG_IsOK(res1
)) {
14185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14187 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14193 wxPyEndAllowThreads(__tstate
);
14194 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= SWIG_Py_Void();
14203 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14206 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14207 return SWIG_Py_Void();
14210 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14211 return SWIG_Python_InitShadowInstance(args
);
14214 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
= 0;
14217 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14218 int arg3
= (int) wxKILL_NOCHILDREN
;
14219 wxKillError result
;
14226 PyObject
* obj0
= 0 ;
14227 PyObject
* obj1
= 0 ;
14228 PyObject
* obj2
= 0 ;
14229 char * kwnames
[] = {
14230 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14235 if (!SWIG_IsOK(ecode1
)) {
14236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14238 arg1
= static_cast< int >(val1
);
14240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14241 if (!SWIG_IsOK(ecode2
)) {
14242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14244 arg2
= static_cast< wxSignal
>(val2
);
14247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14248 if (!SWIG_IsOK(ecode3
)) {
14249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14251 arg3
= static_cast< int >(val3
);
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= SWIG_From_int(static_cast< int >(result
));
14266 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
= 0;
14272 PyObject
* obj0
= 0 ;
14273 char * kwnames
[] = {
14274 (char *) "pid", NULL
14277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14278 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14279 if (!SWIG_IsOK(ecode1
)) {
14280 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14282 arg1
= static_cast< int >(val1
);
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (bool)wxPyProcess::Exists(arg1
);
14286 wxPyEndAllowThreads(__tstate
);
14287 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14298 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
= 0;
14300 wxString
*arg1
= 0 ;
14301 int arg2
= (int) wxEXEC_ASYNC
;
14302 wxPyProcess
*result
= 0 ;
14303 bool temp1
= false ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 char * kwnames
[] = {
14309 (char *) "cmd",(char *) "flags", NULL
14312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14314 arg1
= wxString_in_helper(obj0
);
14315 if (arg1
== NULL
) SWIG_fail
;
14319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14320 if (!SWIG_IsOK(ecode2
)) {
14321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14323 arg2
= static_cast< int >(val2
);
14326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14327 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14346 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
= 0;
14348 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14349 int arg2
= (int) -1 ;
14350 wxPyProcess
*result
= 0 ;
14355 PyObject
* obj0
= 0 ;
14356 PyObject
* obj1
= 0 ;
14357 char * kwnames
[] = {
14358 (char *) "parent",(char *) "id", NULL
14361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14364 if (!SWIG_IsOK(res1
)) {
14365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14367 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14371 if (!SWIG_IsOK(ecode2
)) {
14372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14374 arg2
= static_cast< int >(val2
);
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14379 wxPyEndAllowThreads(__tstate
);
14380 if (PyErr_Occurred()) SWIG_fail
;
14382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14389 SWIGINTERN PyObject
*_wrap_delete_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14390 PyObject
*resultobj
= 0;
14391 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14394 PyObject
*swig_obj
[1] ;
14396 if (!args
) SWIG_fail
;
14397 swig_obj
[0] = args
;
14398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_DISOWN
| 0 );
14399 if (!SWIG_IsOK(res1
)) {
14400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Process" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14402 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= SWIG_Py_Void();
14417 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
= 0;
14419 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14420 PyObject
*arg2
= (PyObject
*) 0 ;
14421 PyObject
*arg3
= (PyObject
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 PyObject
* obj1
= 0 ;
14426 PyObject
* obj2
= 0 ;
14427 char * kwnames
[] = {
14428 (char *) "self",(char *) "self",(char *) "_class", NULL
14431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14433 if (!SWIG_IsOK(res1
)) {
14434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14436 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= SWIG_Py_Void();
14452 SWIGINTERN PyObject
*_wrap_Process_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14453 PyObject
*resultobj
= 0;
14454 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14458 PyObject
*swig_obj
[1] ;
14460 if (!args
) SWIG_fail
;
14461 swig_obj
[0] = args
;
14462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14463 if (!SWIG_IsOK(res1
)) {
14464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetPid" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14466 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (long)((wxPyProcess
const *)arg1
)->GetPid();
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14473 resultobj
= SWIG_From_long(static_cast< long >(result
));
14480 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
= 0;
14482 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 PyObject
* obj2
= 0 ;
14494 char * kwnames
[] = {
14495 (char *) "self",(char *) "pid",(char *) "status", NULL
14498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14500 if (!SWIG_IsOK(res1
)) {
14501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14503 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14505 if (!SWIG_IsOK(ecode2
)) {
14506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14508 arg2
= static_cast< int >(val2
);
14509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14510 if (!SWIG_IsOK(ecode3
)) {
14511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14513 arg3
= static_cast< int >(val3
);
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 (arg1
)->OnTerminate(arg2
,arg3
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= SWIG_Py_Void();
14527 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14528 PyObject
*resultobj
= 0;
14529 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14532 PyObject
*swig_obj
[1] ;
14534 if (!args
) SWIG_fail
;
14535 swig_obj
[0] = args
;
14536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14537 if (!SWIG_IsOK(res1
)) {
14538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14540 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 (arg1
)->Redirect();
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= SWIG_Py_Void();
14554 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14555 PyObject
*resultobj
= 0;
14556 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14560 PyObject
*swig_obj
[1] ;
14562 if (!args
) SWIG_fail
;
14563 swig_obj
[0] = args
;
14564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14565 if (!SWIG_IsOK(res1
)) {
14566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14568 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 result
= (bool)(arg1
)->IsRedirected();
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14584 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14585 PyObject
*resultobj
= 0;
14586 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14589 PyObject
*swig_obj
[1] ;
14591 if (!args
) SWIG_fail
;
14592 swig_obj
[0] = args
;
14593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14594 if (!SWIG_IsOK(res1
)) {
14595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14597 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= SWIG_Py_Void();
14611 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14612 PyObject
*resultobj
= 0;
14613 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14614 wxInputStream
*result
= 0 ;
14617 PyObject
*swig_obj
[1] ;
14619 if (!args
) SWIG_fail
;
14620 swig_obj
[0] = args
;
14621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14622 if (!SWIG_IsOK(res1
)) {
14623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14625 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14633 wxPyInputStream
* _ptr
= NULL
;
14636 _ptr
= new wxPyInputStream(result
);
14638 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14646 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14647 PyObject
*resultobj
= 0;
14648 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14649 wxInputStream
*result
= 0 ;
14652 PyObject
*swig_obj
[1] ;
14654 if (!args
) SWIG_fail
;
14655 swig_obj
[0] = args
;
14656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14657 if (!SWIG_IsOK(res1
)) {
14658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14660 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14668 wxPyInputStream
* _ptr
= NULL
;
14671 _ptr
= new wxPyInputStream(result
);
14673 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14681 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14682 PyObject
*resultobj
= 0;
14683 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14684 wxOutputStream
*result
= 0 ;
14687 PyObject
*swig_obj
[1] ;
14689 if (!args
) SWIG_fail
;
14690 swig_obj
[0] = args
;
14691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14692 if (!SWIG_IsOK(res1
)) {
14693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14695 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14709 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14710 PyObject
*resultobj
= 0;
14711 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14714 PyObject
*swig_obj
[1] ;
14716 if (!args
) SWIG_fail
;
14717 swig_obj
[0] = args
;
14718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14719 if (!SWIG_IsOK(res1
)) {
14720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14722 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 (arg1
)->CloseOutput();
14726 wxPyEndAllowThreads(__tstate
);
14727 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= SWIG_Py_Void();
14736 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14737 PyObject
*resultobj
= 0;
14738 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14742 PyObject
*swig_obj
[1] ;
14744 if (!args
) SWIG_fail
;
14745 swig_obj
[0] = args
;
14746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14747 if (!SWIG_IsOK(res1
)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14750 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14766 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14767 PyObject
*resultobj
= 0;
14768 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14772 PyObject
*swig_obj
[1] ;
14774 if (!args
) SWIG_fail
;
14775 swig_obj
[0] = args
;
14776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14777 if (!SWIG_IsOK(res1
)) {
14778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14780 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14796 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14797 PyObject
*resultobj
= 0;
14798 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14802 PyObject
*swig_obj
[1] ;
14804 if (!args
) SWIG_fail
;
14805 swig_obj
[0] = args
;
14806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14807 if (!SWIG_IsOK(res1
)) {
14808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14810 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14826 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14829 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14830 return SWIG_Py_Void();
14833 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14834 return SWIG_Python_InitShadowInstance(args
);
14837 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
= 0;
14839 int arg1
= (int) 0 ;
14840 int arg2
= (int) 0 ;
14841 int arg3
= (int) 0 ;
14842 wxProcessEvent
*result
= 0 ;
14849 PyObject
* obj0
= 0 ;
14850 PyObject
* obj1
= 0 ;
14851 PyObject
* obj2
= 0 ;
14852 char * kwnames
[] = {
14853 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14858 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14859 if (!SWIG_IsOK(ecode1
)) {
14860 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14862 arg1
= static_cast< int >(val1
);
14865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14866 if (!SWIG_IsOK(ecode2
)) {
14867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14869 arg2
= static_cast< int >(val2
);
14872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14873 if (!SWIG_IsOK(ecode3
)) {
14874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14876 arg3
= static_cast< int >(val3
);
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14881 wxPyEndAllowThreads(__tstate
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14891 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14892 PyObject
*resultobj
= 0;
14893 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14897 PyObject
*swig_obj
[1] ;
14899 if (!args
) SWIG_fail
;
14900 swig_obj
[0] = args
;
14901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14902 if (!SWIG_IsOK(res1
)) {
14903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14905 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 result
= (int)(arg1
)->GetPid();
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= SWIG_From_int(static_cast< int >(result
));
14919 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14920 PyObject
*resultobj
= 0;
14921 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14925 PyObject
*swig_obj
[1] ;
14927 if (!args
) SWIG_fail
;
14928 swig_obj
[0] = args
;
14929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14930 if (!SWIG_IsOK(res1
)) {
14931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14933 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (int)(arg1
)->GetExitCode();
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_From_int(static_cast< int >(result
));
14947 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14948 PyObject
*resultobj
= 0;
14949 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14955 PyObject
*swig_obj
[2] ;
14957 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14959 if (!SWIG_IsOK(res1
)) {
14960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14962 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14963 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14964 if (!SWIG_IsOK(ecode2
)) {
14965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
14967 arg2
= static_cast< int >(val2
);
14968 if (arg1
) (arg1
)->m_pid
= arg2
;
14970 resultobj
= SWIG_Py_Void();
14977 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14978 PyObject
*resultobj
= 0;
14979 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14983 PyObject
*swig_obj
[1] ;
14985 if (!args
) SWIG_fail
;
14986 swig_obj
[0] = args
;
14987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14991 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14992 result
= (int) ((arg1
)->m_pid
);
14993 resultobj
= SWIG_From_int(static_cast< int >(result
));
15000 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15001 PyObject
*resultobj
= 0;
15002 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15008 PyObject
*swig_obj
[2] ;
15010 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
15011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15012 if (!SWIG_IsOK(res1
)) {
15013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15015 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15016 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15017 if (!SWIG_IsOK(ecode2
)) {
15018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
15020 arg2
= static_cast< int >(val2
);
15021 if (arg1
) (arg1
)->m_exitcode
= arg2
;
15023 resultobj
= SWIG_Py_Void();
15030 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15031 PyObject
*resultobj
= 0;
15032 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15036 PyObject
*swig_obj
[1] ;
15038 if (!args
) SWIG_fail
;
15039 swig_obj
[0] = args
;
15040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15041 if (!SWIG_IsOK(res1
)) {
15042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15044 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15045 result
= (int) ((arg1
)->m_exitcode
);
15046 resultobj
= SWIG_From_int(static_cast< int >(result
));
15053 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15055 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15056 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
15057 return SWIG_Py_Void();
15060 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15061 return SWIG_Python_InitShadowInstance(args
);
15064 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
= 0;
15066 wxString
*arg1
= 0 ;
15067 int arg2
= (int) wxEXEC_ASYNC
;
15068 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
15070 bool temp1
= false ;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 PyObject
* obj2
= 0 ;
15078 char * kwnames
[] = {
15079 (char *) "command",(char *) "flags",(char *) "process", NULL
15082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15084 arg1
= wxString_in_helper(obj0
);
15085 if (arg1
== NULL
) SWIG_fail
;
15089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15090 if (!SWIG_IsOK(ecode2
)) {
15091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
15093 arg2
= static_cast< int >(val2
);
15096 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
15097 if (!SWIG_IsOK(res3
)) {
15098 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
15100 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
15103 if (!wxPyCheckForApp()) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_From_long(static_cast< long >(result
));
15124 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
= 0;
15127 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
15128 wxKillError
*arg3
= (wxKillError
*) 0 ;
15129 int arg4
= (int) wxKILL_NOCHILDREN
;
15135 wxKillError temp3
;
15138 PyObject
* obj0
= 0 ;
15139 PyObject
* obj1
= 0 ;
15140 PyObject
* obj2
= 0 ;
15141 char * kwnames
[] = {
15142 (char *) "pid",(char *) "sig",(char *) "flags", NULL
15148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15149 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
15150 if (!SWIG_IsOK(ecode1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
15153 arg1
= static_cast< long >(val1
);
15155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15156 if (!SWIG_IsOK(ecode2
)) {
15157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
15159 arg2
= static_cast< wxSignal
>(val2
);
15162 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
15163 if (!SWIG_IsOK(ecode4
)) {
15164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
15166 arg4
= static_cast< int >(val4
);
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= SWIG_From_int(static_cast< int >(result
));
15177 o
= PyInt_FromLong((long) (*arg3
));
15181 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15190 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
= 0;
15192 int arg1
= (int) wxJOYSTICK1
;
15193 wxJoystick
*result
= 0 ;
15196 PyObject
* obj0
= 0 ;
15197 char * kwnames
[] = {
15198 (char *) "joystick", NULL
15201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15203 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15204 if (!SWIG_IsOK(ecode1
)) {
15205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15207 arg1
= static_cast< int >(val1
);
15210 if (!wxPyCheckForApp()) SWIG_fail
;
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (wxJoystick
*)new wxJoystick(arg1
);
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15223 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15224 PyObject
*resultobj
= 0;
15225 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15228 PyObject
*swig_obj
[1] ;
15230 if (!args
) SWIG_fail
;
15231 swig_obj
[0] = args
;
15232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15233 if (!SWIG_IsOK(res1
)) {
15234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15236 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_Py_Void();
15251 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15252 PyObject
*resultobj
= 0;
15253 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15257 PyObject
*swig_obj
[1] ;
15259 if (!args
) SWIG_fail
;
15260 swig_obj
[0] = args
;
15261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15262 if (!SWIG_IsOK(res1
)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15265 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (arg1
)->GetPosition();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15279 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15280 PyObject
*resultobj
= 0;
15281 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15285 PyObject
*swig_obj
[1] ;
15287 if (!args
) SWIG_fail
;
15288 swig_obj
[0] = args
;
15289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15290 if (!SWIG_IsOK(res1
)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15293 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (int)(arg1
)->GetZPosition();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= SWIG_From_int(static_cast< int >(result
));
15307 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15308 PyObject
*resultobj
= 0;
15309 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15313 PyObject
*swig_obj
[1] ;
15315 if (!args
) SWIG_fail
;
15316 swig_obj
[0] = args
;
15317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15318 if (!SWIG_IsOK(res1
)) {
15319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15321 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (int)(arg1
)->GetButtonState();
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 resultobj
= SWIG_From_int(static_cast< int >(result
));
15335 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15336 PyObject
*resultobj
= 0;
15337 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15341 PyObject
*swig_obj
[1] ;
15343 if (!args
) SWIG_fail
;
15344 swig_obj
[0] = args
;
15345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15346 if (!SWIG_IsOK(res1
)) {
15347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15349 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 result
= (int)(arg1
)->GetPOVPosition();
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= SWIG_From_int(static_cast< int >(result
));
15363 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15364 PyObject
*resultobj
= 0;
15365 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15369 PyObject
*swig_obj
[1] ;
15371 if (!args
) SWIG_fail
;
15372 swig_obj
[0] = args
;
15373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15374 if (!SWIG_IsOK(res1
)) {
15375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15377 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (int)(arg1
)->GetPOVCTSPosition();
15381 wxPyEndAllowThreads(__tstate
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15384 resultobj
= SWIG_From_int(static_cast< int >(result
));
15391 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15392 PyObject
*resultobj
= 0;
15393 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15397 PyObject
*swig_obj
[1] ;
15399 if (!args
) SWIG_fail
;
15400 swig_obj
[0] = args
;
15401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15402 if (!SWIG_IsOK(res1
)) {
15403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15405 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 result
= (int)(arg1
)->GetRudderPosition();
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= SWIG_From_int(static_cast< int >(result
));
15419 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15420 PyObject
*resultobj
= 0;
15421 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15425 PyObject
*swig_obj
[1] ;
15427 if (!args
) SWIG_fail
;
15428 swig_obj
[0] = args
;
15429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15430 if (!SWIG_IsOK(res1
)) {
15431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15433 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (int)(arg1
)->GetUPosition();
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_From_int(static_cast< int >(result
));
15447 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15448 PyObject
*resultobj
= 0;
15449 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15453 PyObject
*swig_obj
[1] ;
15455 if (!args
) SWIG_fail
;
15456 swig_obj
[0] = args
;
15457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15458 if (!SWIG_IsOK(res1
)) {
15459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15461 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 result
= (int)(arg1
)->GetVPosition();
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= SWIG_From_int(static_cast< int >(result
));
15475 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15476 PyObject
*resultobj
= 0;
15477 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15481 PyObject
*swig_obj
[1] ;
15483 if (!args
) SWIG_fail
;
15484 swig_obj
[0] = args
;
15485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15486 if (!SWIG_IsOK(res1
)) {
15487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15489 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 result
= (int)(arg1
)->GetMovementThreshold();
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= SWIG_From_int(static_cast< int >(result
));
15503 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
= 0;
15505 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 PyObject
* obj1
= 0 ;
15513 char * kwnames
[] = {
15514 (char *) "self",(char *) "threshold", NULL
15517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15519 if (!SWIG_IsOK(res1
)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15522 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15524 if (!SWIG_IsOK(ecode2
)) {
15525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15527 arg2
= static_cast< int >(val2
);
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 (arg1
)->SetMovementThreshold(arg2
);
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= SWIG_Py_Void();
15541 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15542 PyObject
*resultobj
= 0;
15543 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15547 PyObject
*swig_obj
[1] ;
15549 if (!args
) SWIG_fail
;
15550 swig_obj
[0] = args
;
15551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15552 if (!SWIG_IsOK(res1
)) {
15553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15555 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (bool)(arg1
)->IsOk();
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15571 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15572 PyObject
*resultobj
= 0;
15573 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15577 PyObject
*swig_obj
[1] ;
15579 if (!args
) SWIG_fail
;
15580 swig_obj
[0] = args
;
15581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15582 if (!SWIG_IsOK(res1
)) {
15583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15585 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (int)(arg1
)->GetNumberJoysticks();
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= SWIG_From_int(static_cast< int >(result
));
15599 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15600 PyObject
*resultobj
= 0;
15601 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15605 PyObject
*swig_obj
[1] ;
15607 if (!args
) SWIG_fail
;
15608 swig_obj
[0] = args
;
15609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15610 if (!SWIG_IsOK(res1
)) {
15611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15613 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (int)(arg1
)->GetManufacturerId();
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= SWIG_From_int(static_cast< int >(result
));
15627 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15628 PyObject
*resultobj
= 0;
15629 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15633 PyObject
*swig_obj
[1] ;
15635 if (!args
) SWIG_fail
;
15636 swig_obj
[0] = args
;
15637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15638 if (!SWIG_IsOK(res1
)) {
15639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15641 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15644 result
= (int)(arg1
)->GetProductId();
15645 wxPyEndAllowThreads(__tstate
);
15646 if (PyErr_Occurred()) SWIG_fail
;
15648 resultobj
= SWIG_From_int(static_cast< int >(result
));
15655 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15656 PyObject
*resultobj
= 0;
15657 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15661 PyObject
*swig_obj
[1] ;
15663 if (!args
) SWIG_fail
;
15664 swig_obj
[0] = args
;
15665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15666 if (!SWIG_IsOK(res1
)) {
15667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15669 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (arg1
)->GetProductName();
15673 wxPyEndAllowThreads(__tstate
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15689 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15690 PyObject
*resultobj
= 0;
15691 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15695 PyObject
*swig_obj
[1] ;
15697 if (!args
) SWIG_fail
;
15698 swig_obj
[0] = args
;
15699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15700 if (!SWIG_IsOK(res1
)) {
15701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15703 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 result
= (int)(arg1
)->GetXMin();
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_From_int(static_cast< int >(result
));
15717 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15718 PyObject
*resultobj
= 0;
15719 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15723 PyObject
*swig_obj
[1] ;
15725 if (!args
) SWIG_fail
;
15726 swig_obj
[0] = args
;
15727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15728 if (!SWIG_IsOK(res1
)) {
15729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15731 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= (int)(arg1
)->GetYMin();
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 resultobj
= SWIG_From_int(static_cast< int >(result
));
15745 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15746 PyObject
*resultobj
= 0;
15747 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15751 PyObject
*swig_obj
[1] ;
15753 if (!args
) SWIG_fail
;
15754 swig_obj
[0] = args
;
15755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15756 if (!SWIG_IsOK(res1
)) {
15757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15759 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= (int)(arg1
)->GetZMin();
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= SWIG_From_int(static_cast< int >(result
));
15773 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15774 PyObject
*resultobj
= 0;
15775 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15779 PyObject
*swig_obj
[1] ;
15781 if (!args
) SWIG_fail
;
15782 swig_obj
[0] = args
;
15783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15787 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (int)(arg1
)->GetXMax();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= SWIG_From_int(static_cast< int >(result
));
15801 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15802 PyObject
*resultobj
= 0;
15803 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15807 PyObject
*swig_obj
[1] ;
15809 if (!args
) SWIG_fail
;
15810 swig_obj
[0] = args
;
15811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15812 if (!SWIG_IsOK(res1
)) {
15813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15815 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= (int)(arg1
)->GetYMax();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= SWIG_From_int(static_cast< int >(result
));
15829 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15830 PyObject
*resultobj
= 0;
15831 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15835 PyObject
*swig_obj
[1] ;
15837 if (!args
) SWIG_fail
;
15838 swig_obj
[0] = args
;
15839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15840 if (!SWIG_IsOK(res1
)) {
15841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15843 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 result
= (int)(arg1
)->GetZMax();
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= SWIG_From_int(static_cast< int >(result
));
15857 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15858 PyObject
*resultobj
= 0;
15859 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15863 PyObject
*swig_obj
[1] ;
15865 if (!args
) SWIG_fail
;
15866 swig_obj
[0] = args
;
15867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15868 if (!SWIG_IsOK(res1
)) {
15869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15871 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (int)(arg1
)->GetNumberButtons();
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= SWIG_From_int(static_cast< int >(result
));
15885 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15886 PyObject
*resultobj
= 0;
15887 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15891 PyObject
*swig_obj
[1] ;
15893 if (!args
) SWIG_fail
;
15894 swig_obj
[0] = args
;
15895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15896 if (!SWIG_IsOK(res1
)) {
15897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15899 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 result
= (int)(arg1
)->GetNumberAxes();
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_From_int(static_cast< int >(result
));
15913 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15914 PyObject
*resultobj
= 0;
15915 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15919 PyObject
*swig_obj
[1] ;
15921 if (!args
) SWIG_fail
;
15922 swig_obj
[0] = args
;
15923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15924 if (!SWIG_IsOK(res1
)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15927 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 result
= (int)(arg1
)->GetMaxButtons();
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_From_int(static_cast< int >(result
));
15941 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15942 PyObject
*resultobj
= 0;
15943 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15947 PyObject
*swig_obj
[1] ;
15949 if (!args
) SWIG_fail
;
15950 swig_obj
[0] = args
;
15951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15952 if (!SWIG_IsOK(res1
)) {
15953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15955 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (int)(arg1
)->GetMaxAxes();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= SWIG_From_int(static_cast< int >(result
));
15969 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15970 PyObject
*resultobj
= 0;
15971 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15975 PyObject
*swig_obj
[1] ;
15977 if (!args
) SWIG_fail
;
15978 swig_obj
[0] = args
;
15979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15980 if (!SWIG_IsOK(res1
)) {
15981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15983 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 result
= (int)(arg1
)->GetPollingMin();
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_From_int(static_cast< int >(result
));
15997 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15998 PyObject
*resultobj
= 0;
15999 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16003 PyObject
*swig_obj
[1] ;
16005 if (!args
) SWIG_fail
;
16006 swig_obj
[0] = args
;
16007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16008 if (!SWIG_IsOK(res1
)) {
16009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16011 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 result
= (int)(arg1
)->GetPollingMax();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= SWIG_From_int(static_cast< int >(result
));
16025 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16026 PyObject
*resultobj
= 0;
16027 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16031 PyObject
*swig_obj
[1] ;
16033 if (!args
) SWIG_fail
;
16034 swig_obj
[0] = args
;
16035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16036 if (!SWIG_IsOK(res1
)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16039 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (int)(arg1
)->GetRudderMin();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= SWIG_From_int(static_cast< int >(result
));
16053 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16054 PyObject
*resultobj
= 0;
16055 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16059 PyObject
*swig_obj
[1] ;
16061 if (!args
) SWIG_fail
;
16062 swig_obj
[0] = args
;
16063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16064 if (!SWIG_IsOK(res1
)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16067 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 result
= (int)(arg1
)->GetRudderMax();
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 resultobj
= SWIG_From_int(static_cast< int >(result
));
16081 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16082 PyObject
*resultobj
= 0;
16083 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16087 PyObject
*swig_obj
[1] ;
16089 if (!args
) SWIG_fail
;
16090 swig_obj
[0] = args
;
16091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16092 if (!SWIG_IsOK(res1
)) {
16093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16095 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (int)(arg1
)->GetUMin();
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 resultobj
= SWIG_From_int(static_cast< int >(result
));
16109 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16110 PyObject
*resultobj
= 0;
16111 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16115 PyObject
*swig_obj
[1] ;
16117 if (!args
) SWIG_fail
;
16118 swig_obj
[0] = args
;
16119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16120 if (!SWIG_IsOK(res1
)) {
16121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16123 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (int)(arg1
)->GetUMax();
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= SWIG_From_int(static_cast< int >(result
));
16137 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16138 PyObject
*resultobj
= 0;
16139 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16143 PyObject
*swig_obj
[1] ;
16145 if (!args
) SWIG_fail
;
16146 swig_obj
[0] = args
;
16147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16148 if (!SWIG_IsOK(res1
)) {
16149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16151 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (int)(arg1
)->GetVMin();
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= SWIG_From_int(static_cast< int >(result
));
16165 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16166 PyObject
*resultobj
= 0;
16167 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16171 PyObject
*swig_obj
[1] ;
16173 if (!args
) SWIG_fail
;
16174 swig_obj
[0] = args
;
16175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16176 if (!SWIG_IsOK(res1
)) {
16177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16179 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (int)(arg1
)->GetVMax();
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 resultobj
= SWIG_From_int(static_cast< int >(result
));
16193 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16194 PyObject
*resultobj
= 0;
16195 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16199 PyObject
*swig_obj
[1] ;
16201 if (!args
) SWIG_fail
;
16202 swig_obj
[0] = args
;
16203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16204 if (!SWIG_IsOK(res1
)) {
16205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16207 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (bool)(arg1
)->HasRudder();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16223 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16224 PyObject
*resultobj
= 0;
16225 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16229 PyObject
*swig_obj
[1] ;
16231 if (!args
) SWIG_fail
;
16232 swig_obj
[0] = args
;
16233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16234 if (!SWIG_IsOK(res1
)) {
16235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16237 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 result
= (bool)(arg1
)->HasZ();
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16253 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16254 PyObject
*resultobj
= 0;
16255 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16259 PyObject
*swig_obj
[1] ;
16261 if (!args
) SWIG_fail
;
16262 swig_obj
[0] = args
;
16263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16264 if (!SWIG_IsOK(res1
)) {
16265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16267 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 result
= (bool)(arg1
)->HasU();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16283 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16284 PyObject
*resultobj
= 0;
16285 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16289 PyObject
*swig_obj
[1] ;
16291 if (!args
) SWIG_fail
;
16292 swig_obj
[0] = args
;
16293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16294 if (!SWIG_IsOK(res1
)) {
16295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16297 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (bool)(arg1
)->HasV();
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16313 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16314 PyObject
*resultobj
= 0;
16315 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16319 PyObject
*swig_obj
[1] ;
16321 if (!args
) SWIG_fail
;
16322 swig_obj
[0] = args
;
16323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16324 if (!SWIG_IsOK(res1
)) {
16325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16327 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (bool)(arg1
)->HasPOV();
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16343 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16344 PyObject
*resultobj
= 0;
16345 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16349 PyObject
*swig_obj
[1] ;
16351 if (!args
) SWIG_fail
;
16352 swig_obj
[0] = args
;
16353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16354 if (!SWIG_IsOK(res1
)) {
16355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16357 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 result
= (bool)(arg1
)->HasPOV4Dir();
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16373 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16374 PyObject
*resultobj
= 0;
16375 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16379 PyObject
*swig_obj
[1] ;
16381 if (!args
) SWIG_fail
;
16382 swig_obj
[0] = args
;
16383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16384 if (!SWIG_IsOK(res1
)) {
16385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16387 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (bool)(arg1
)->HasPOVCTS();
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16403 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
= 0;
16405 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16406 wxWindow
*arg2
= (wxWindow
*) 0 ;
16407 int arg3
= (int) 0 ;
16415 PyObject
* obj0
= 0 ;
16416 PyObject
* obj1
= 0 ;
16417 PyObject
* obj2
= 0 ;
16418 char * kwnames
[] = {
16419 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16424 if (!SWIG_IsOK(res1
)) {
16425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16427 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16428 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16429 if (!SWIG_IsOK(res2
)) {
16430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16432 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16435 if (!SWIG_IsOK(ecode3
)) {
16436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16438 arg3
= static_cast< int >(val3
);
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16455 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16456 PyObject
*resultobj
= 0;
16457 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16461 PyObject
*swig_obj
[1] ;
16463 if (!args
) SWIG_fail
;
16464 swig_obj
[0] = args
;
16465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16466 if (!SWIG_IsOK(res1
)) {
16467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16469 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (bool)(arg1
)->ReleaseCapture();
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16485 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16488 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16489 return SWIG_Py_Void();
16492 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16493 return SWIG_Python_InitShadowInstance(args
);
16496 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
= 0;
16498 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16499 int arg2
= (int) 0 ;
16500 int arg3
= (int) wxJOYSTICK1
;
16501 int arg4
= (int) 0 ;
16502 wxJoystickEvent
*result
= 0 ;
16511 PyObject
* obj0
= 0 ;
16512 PyObject
* obj1
= 0 ;
16513 PyObject
* obj2
= 0 ;
16514 PyObject
* obj3
= 0 ;
16515 char * kwnames
[] = {
16516 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16521 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16522 if (!SWIG_IsOK(ecode1
)) {
16523 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16525 arg1
= static_cast< wxEventType
>(val1
);
16528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16529 if (!SWIG_IsOK(ecode2
)) {
16530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16532 arg2
= static_cast< int >(val2
);
16535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16536 if (!SWIG_IsOK(ecode3
)) {
16537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16539 arg3
= static_cast< int >(val3
);
16542 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16543 if (!SWIG_IsOK(ecode4
)) {
16544 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16546 arg4
= static_cast< int >(val4
);
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16550 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16561 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16562 PyObject
*resultobj
= 0;
16563 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16567 PyObject
*swig_obj
[1] ;
16569 if (!args
) SWIG_fail
;
16570 swig_obj
[0] = args
;
16571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16572 if (!SWIG_IsOK(res1
)) {
16573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16575 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16589 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16590 PyObject
*resultobj
= 0;
16591 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16595 PyObject
*swig_obj
[1] ;
16597 if (!args
) SWIG_fail
;
16598 swig_obj
[0] = args
;
16599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16600 if (!SWIG_IsOK(res1
)) {
16601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16603 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_From_int(static_cast< int >(result
));
16617 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16618 PyObject
*resultobj
= 0;
16619 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16623 PyObject
*swig_obj
[1] ;
16625 if (!args
) SWIG_fail
;
16626 swig_obj
[0] = args
;
16627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16628 if (!SWIG_IsOK(res1
)) {
16629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16631 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= SWIG_From_int(static_cast< int >(result
));
16645 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16646 PyObject
*resultobj
= 0;
16647 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16651 PyObject
*swig_obj
[1] ;
16653 if (!args
) SWIG_fail
;
16654 swig_obj
[0] = args
;
16655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16656 if (!SWIG_IsOK(res1
)) {
16657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16659 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= SWIG_From_int(static_cast< int >(result
));
16673 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16674 PyObject
*resultobj
= 0;
16675 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16679 PyObject
*swig_obj
[1] ;
16681 if (!args
) SWIG_fail
;
16682 swig_obj
[0] = args
;
16683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16684 if (!SWIG_IsOK(res1
)) {
16685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16687 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= SWIG_From_int(static_cast< int >(result
));
16701 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
= 0;
16703 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16709 PyObject
* obj0
= 0 ;
16710 PyObject
* obj1
= 0 ;
16711 char * kwnames
[] = {
16712 (char *) "self",(char *) "stick", NULL
16715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16717 if (!SWIG_IsOK(res1
)) {
16718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16720 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16722 if (!SWIG_IsOK(ecode2
)) {
16723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16725 arg2
= static_cast< int >(val2
);
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 (arg1
)->SetJoystick(arg2
);
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= SWIG_Py_Void();
16739 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
= 0;
16741 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 char * kwnames
[] = {
16750 (char *) "self",(char *) "state", NULL
16753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16755 if (!SWIG_IsOK(res1
)) {
16756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16758 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16760 if (!SWIG_IsOK(ecode2
)) {
16761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16763 arg2
= static_cast< int >(val2
);
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 (arg1
)->SetButtonState(arg2
);
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16770 resultobj
= SWIG_Py_Void();
16777 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
= 0;
16779 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16785 PyObject
* obj0
= 0 ;
16786 PyObject
* obj1
= 0 ;
16787 char * kwnames
[] = {
16788 (char *) "self",(char *) "change", NULL
16791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16793 if (!SWIG_IsOK(res1
)) {
16794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16796 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16798 if (!SWIG_IsOK(ecode2
)) {
16799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16801 arg2
= static_cast< int >(val2
);
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 (arg1
)->SetButtonChange(arg2
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_Py_Void();
16815 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
= 0;
16817 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16818 wxPoint
*arg2
= 0 ;
16822 PyObject
* obj0
= 0 ;
16823 PyObject
* obj1
= 0 ;
16824 char * kwnames
[] = {
16825 (char *) "self",(char *) "pos", NULL
16828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16830 if (!SWIG_IsOK(res1
)) {
16831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16833 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= SWIG_Py_Void();
16851 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16852 PyObject
*resultobj
= 0;
16853 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16859 PyObject
* obj0
= 0 ;
16860 PyObject
* obj1
= 0 ;
16861 char * kwnames
[] = {
16862 (char *) "self",(char *) "zPos", NULL
16865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16867 if (!SWIG_IsOK(res1
)) {
16868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16870 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16872 if (!SWIG_IsOK(ecode2
)) {
16873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16875 arg2
= static_cast< int >(val2
);
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 (arg1
)->SetZPosition(arg2
);
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= SWIG_Py_Void();
16889 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16890 PyObject
*resultobj
= 0;
16891 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16895 PyObject
*swig_obj
[1] ;
16897 if (!args
) SWIG_fail
;
16898 swig_obj
[0] = args
;
16899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16900 if (!SWIG_IsOK(res1
)) {
16901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16903 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16919 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16920 PyObject
*resultobj
= 0;
16921 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16925 PyObject
*swig_obj
[1] ;
16927 if (!args
) SWIG_fail
;
16928 swig_obj
[0] = args
;
16929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16930 if (!SWIG_IsOK(res1
)) {
16931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16933 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16949 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16950 PyObject
*resultobj
= 0;
16951 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16955 PyObject
*swig_obj
[1] ;
16957 if (!args
) SWIG_fail
;
16958 swig_obj
[0] = args
;
16959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16960 if (!SWIG_IsOK(res1
)) {
16961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16963 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16979 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
= 0;
16981 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16982 int arg2
= (int) wxJOY_BUTTON_ANY
;
16988 PyObject
* obj0
= 0 ;
16989 PyObject
* obj1
= 0 ;
16990 char * kwnames
[] = {
16991 (char *) "self",(char *) "but", NULL
16994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16996 if (!SWIG_IsOK(res1
)) {
16997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16999 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17002 if (!SWIG_IsOK(ecode2
)) {
17003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
17005 arg2
= static_cast< int >(val2
);
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17022 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
= 0;
17024 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17025 int arg2
= (int) wxJOY_BUTTON_ANY
;
17031 PyObject
* obj0
= 0 ;
17032 PyObject
* obj1
= 0 ;
17033 char * kwnames
[] = {
17034 (char *) "self",(char *) "but", NULL
17037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17039 if (!SWIG_IsOK(res1
)) {
17040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17042 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17045 if (!SWIG_IsOK(ecode2
)) {
17046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
17048 arg2
= static_cast< int >(val2
);
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17065 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
= 0;
17067 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17068 int arg2
= (int) wxJOY_BUTTON_ANY
;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 char * kwnames
[] = {
17077 (char *) "self",(char *) "but", NULL
17080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17082 if (!SWIG_IsOK(res1
)) {
17083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17085 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17088 if (!SWIG_IsOK(ecode2
)) {
17089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
17091 arg2
= static_cast< int >(val2
);
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17108 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17111 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
17112 return SWIG_Py_Void();
17115 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17116 return SWIG_Python_InitShadowInstance(args
);
17119 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
= 0;
17121 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17122 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17123 wxSound
*result
= 0 ;
17124 bool temp1
= false ;
17125 PyObject
* obj0
= 0 ;
17126 char * kwnames
[] = {
17127 (char *) "fileName", NULL
17130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
17133 arg1
= wxString_in_helper(obj0
);
17134 if (arg1
== NULL
) SWIG_fail
;
17139 if (!wxPyCheckForApp()) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
17160 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
= 0;
17162 PyObject
*arg1
= (PyObject
*) 0 ;
17163 wxSound
*result
= 0 ;
17164 PyObject
* obj0
= 0 ;
17165 char * kwnames
[] = {
17166 (char *) "data", NULL
17169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17172 if (!wxPyCheckForApp()) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= (wxSound
*)new_wxSound(arg1
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17185 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17186 PyObject
*resultobj
= 0;
17187 wxSound
*arg1
= (wxSound
*) 0 ;
17190 PyObject
*swig_obj
[1] ;
17192 if (!args
) SWIG_fail
;
17193 swig_obj
[0] = args
;
17194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17195 if (!SWIG_IsOK(res1
)) {
17196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17198 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= SWIG_Py_Void();
17213 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
= 0;
17215 wxSound
*arg1
= (wxSound
*) 0 ;
17216 wxString
*arg2
= 0 ;
17220 bool temp2
= false ;
17221 PyObject
* obj0
= 0 ;
17222 PyObject
* obj1
= 0 ;
17223 char * kwnames
[] = {
17224 (char *) "self",(char *) "fileName", NULL
17227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17229 if (!SWIG_IsOK(res1
)) {
17230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17232 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17234 arg2
= wxString_in_helper(obj1
);
17235 if (arg2
== NULL
) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17261 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
= 0;
17263 wxSound
*arg1
= (wxSound
*) 0 ;
17264 PyObject
*arg2
= (PyObject
*) 0 ;
17268 PyObject
* obj0
= 0 ;
17269 PyObject
* obj1
= 0 ;
17270 char * kwnames
[] = {
17271 (char *) "self",(char *) "data", NULL
17274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17276 if (!SWIG_IsOK(res1
)) {
17277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17279 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17296 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17297 PyObject
*resultobj
= 0;
17298 wxSound
*arg1
= (wxSound
*) 0 ;
17302 PyObject
*swig_obj
[1] ;
17304 if (!args
) SWIG_fail
;
17305 swig_obj
[0] = args
;
17306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17307 if (!SWIG_IsOK(res1
)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17310 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= (bool)(arg1
)->IsOk();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17326 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
= 0;
17328 wxSound
*arg1
= (wxSound
*) 0 ;
17329 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17333 unsigned int val2
;
17335 PyObject
* obj0
= 0 ;
17336 PyObject
* obj1
= 0 ;
17337 char * kwnames
[] = {
17338 (char *) "self",(char *) "flags", NULL
17341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17343 if (!SWIG_IsOK(res1
)) {
17344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17346 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17348 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17349 if (!SWIG_IsOK(ecode2
)) {
17350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17352 arg2
= static_cast< unsigned int >(val2
);
17355 if (!wxPyCheckForApp()) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17370 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
= 0;
17372 wxString
*arg1
= 0 ;
17373 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17375 bool temp1
= false ;
17376 unsigned int val2
;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 char * kwnames
[] = {
17381 (char *) "filename",(char *) "flags", NULL
17384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17386 arg1
= wxString_in_helper(obj0
);
17387 if (arg1
== NULL
) SWIG_fail
;
17391 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17392 if (!SWIG_IsOK(ecode2
)) {
17393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17395 arg2
= static_cast< unsigned int >(val2
);
17398 if (!wxPyCheckForApp()) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17421 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17422 PyObject
*resultobj
= 0;
17424 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17426 if (!wxPyCheckForApp()) SWIG_fail
;
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= SWIG_Py_Void();
17439 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17441 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17442 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17443 return SWIG_Py_Void();
17446 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17447 return SWIG_Python_InitShadowInstance(args
);
17450 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
= 0;
17452 wxString
*arg1
= 0 ;
17453 wxString
*arg2
= 0 ;
17454 wxString
*arg3
= 0 ;
17455 wxString
*arg4
= 0 ;
17456 wxFileTypeInfo
*result
= 0 ;
17457 bool temp1
= false ;
17458 bool temp2
= false ;
17459 bool temp3
= false ;
17460 bool temp4
= false ;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 PyObject
* obj2
= 0 ;
17464 PyObject
* obj3
= 0 ;
17465 char * kwnames
[] = {
17466 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17471 arg1
= wxString_in_helper(obj0
);
17472 if (arg1
== NULL
) SWIG_fail
;
17476 arg2
= wxString_in_helper(obj1
);
17477 if (arg2
== NULL
) SWIG_fail
;
17481 arg3
= wxString_in_helper(obj2
);
17482 if (arg3
== NULL
) SWIG_fail
;
17486 arg4
= wxString_in_helper(obj3
);
17487 if (arg4
== NULL
) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17535 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
= 0;
17537 wxArrayString
*arg1
= 0 ;
17538 wxFileTypeInfo
*result
= 0 ;
17539 bool temp1
= false ;
17540 PyObject
* obj0
= 0 ;
17541 char * kwnames
[] = {
17542 (char *) "sArray", NULL
17545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17547 if (! PySequence_Check(obj0
)) {
17548 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17551 arg1
= new wxArrayString
;
17553 int i
, len
=PySequence_Length(obj0
);
17554 for (i
=0; i
<len
; i
++) {
17555 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17556 wxString
* s
= wxString_in_helper(item
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17571 if (temp1
) delete arg1
;
17576 if (temp1
) delete arg1
;
17582 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17583 PyObject
*resultobj
= 0;
17584 wxFileTypeInfo
*result
= 0 ;
17586 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17600 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17601 PyObject
*resultobj
= 0;
17602 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17606 PyObject
*swig_obj
[1] ;
17608 if (!args
) SWIG_fail
;
17609 swig_obj
[0] = args
;
17610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17611 if (!SWIG_IsOK(res1
)) {
17612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17614 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17630 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
= 0;
17632 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17633 wxString
*arg2
= 0 ;
17634 int arg3
= (int) 0 ;
17637 bool temp2
= false ;
17640 PyObject
* obj0
= 0 ;
17641 PyObject
* obj1
= 0 ;
17642 PyObject
* obj2
= 0 ;
17643 char * kwnames
[] = {
17644 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17649 if (!SWIG_IsOK(res1
)) {
17650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17652 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17654 arg2
= wxString_in_helper(obj1
);
17655 if (arg2
== NULL
) SWIG_fail
;
17659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17660 if (!SWIG_IsOK(ecode3
)) {
17661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17663 arg3
= static_cast< int >(val3
);
17666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= SWIG_Py_Void();
17686 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
= 0;
17688 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17689 wxString
*arg2
= 0 ;
17692 bool temp2
= false ;
17693 PyObject
* obj0
= 0 ;
17694 PyObject
* obj1
= 0 ;
17695 char * kwnames
[] = {
17696 (char *) "self",(char *) "shortDesc", NULL
17699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17701 if (!SWIG_IsOK(res1
)) {
17702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17704 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17706 arg2
= wxString_in_helper(obj1
);
17707 if (arg2
== NULL
) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= SWIG_Py_Void();
17731 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17732 PyObject
*resultobj
= 0;
17733 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17734 wxString
*result
= 0 ;
17737 PyObject
*swig_obj
[1] ;
17739 if (!args
) SWIG_fail
;
17740 swig_obj
[0] = args
;
17741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17742 if (!SWIG_IsOK(res1
)) {
17743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17745 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17750 result
= (wxString
*) &_result_ref
;
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17768 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17769 PyObject
*resultobj
= 0;
17770 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17771 wxString
*result
= 0 ;
17774 PyObject
*swig_obj
[1] ;
17776 if (!args
) SWIG_fail
;
17777 swig_obj
[0] = args
;
17778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17779 if (!SWIG_IsOK(res1
)) {
17780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17782 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17787 result
= (wxString
*) &_result_ref
;
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17796 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17805 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17806 PyObject
*resultobj
= 0;
17807 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17808 wxString
*result
= 0 ;
17811 PyObject
*swig_obj
[1] ;
17813 if (!args
) SWIG_fail
;
17814 swig_obj
[0] = args
;
17815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17816 if (!SWIG_IsOK(res1
)) {
17817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17819 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17824 result
= (wxString
*) &_result_ref
;
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17833 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17842 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17843 PyObject
*resultobj
= 0;
17844 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17845 wxString
*result
= 0 ;
17848 PyObject
*swig_obj
[1] ;
17850 if (!args
) SWIG_fail
;
17851 swig_obj
[0] = args
;
17852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17853 if (!SWIG_IsOK(res1
)) {
17854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17856 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17861 result
= (wxString
*) &_result_ref
;
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17870 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17879 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17880 PyObject
*resultobj
= 0;
17881 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17882 wxString
*result
= 0 ;
17885 PyObject
*swig_obj
[1] ;
17887 if (!args
) SWIG_fail
;
17888 swig_obj
[0] = args
;
17889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17890 if (!SWIG_IsOK(res1
)) {
17891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17893 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17898 result
= (wxString
*) &_result_ref
;
17900 wxPyEndAllowThreads(__tstate
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17907 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17916 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17917 PyObject
*resultobj
= 0;
17918 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17919 wxArrayString
*result
= 0 ;
17922 PyObject
*swig_obj
[1] ;
17924 if (!args
) SWIG_fail
;
17925 swig_obj
[0] = args
;
17926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17927 if (!SWIG_IsOK(res1
)) {
17928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17930 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17935 result
= (wxArrayString
*) &_result_ref
;
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17941 resultobj
= wxArrayString2PyList_helper(*result
);
17949 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17950 PyObject
*resultobj
= 0;
17951 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17955 PyObject
*swig_obj
[1] ;
17957 if (!args
) SWIG_fail
;
17958 swig_obj
[0] = args
;
17959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17960 if (!SWIG_IsOK(res1
)) {
17961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17963 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
17977 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17978 PyObject
*resultobj
= 0;
17979 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17980 wxString
*result
= 0 ;
17983 PyObject
*swig_obj
[1] ;
17985 if (!args
) SWIG_fail
;
17986 swig_obj
[0] = args
;
17987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17988 if (!SWIG_IsOK(res1
)) {
17989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17991 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
17996 result
= (wxString
*) &_result_ref
;
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18003 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18005 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18014 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18015 PyObject
*resultobj
= 0;
18016 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18020 PyObject
*swig_obj
[1] ;
18022 if (!args
) SWIG_fail
;
18023 swig_obj
[0] = args
;
18024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18025 if (!SWIG_IsOK(res1
)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18028 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 resultobj
= SWIG_From_int(static_cast< int >(result
));
18042 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18045 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
18046 return SWIG_Py_Void();
18049 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18050 return SWIG_Python_InitShadowInstance(args
);
18053 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
= 0;
18055 wxFileTypeInfo
*arg1
= 0 ;
18056 wxFileType
*result
= 0 ;
18059 PyObject
* obj0
= 0 ;
18060 char * kwnames
[] = {
18061 (char *) "ftInfo", NULL
18064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
18065 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18066 if (!SWIG_IsOK(res1
)) {
18067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18072 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
18086 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18087 PyObject
*resultobj
= 0;
18088 wxFileType
*arg1
= (wxFileType
*) 0 ;
18091 PyObject
*swig_obj
[1] ;
18093 if (!args
) SWIG_fail
;
18094 swig_obj
[0] = args
;
18095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
18096 if (!SWIG_IsOK(res1
)) {
18097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
18099 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_Py_Void();
18114 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18115 PyObject
*resultobj
= 0;
18116 wxFileType
*arg1
= (wxFileType
*) 0 ;
18117 PyObject
*result
= 0 ;
18120 PyObject
*swig_obj
[1] ;
18122 if (!args
) SWIG_fail
;
18123 swig_obj
[0] = args
;
18124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18125 if (!SWIG_IsOK(res1
)) {
18126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
18128 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
18132 wxPyEndAllowThreads(__tstate
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 resultobj
= result
;
18142 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18143 PyObject
*resultobj
= 0;
18144 wxFileType
*arg1
= (wxFileType
*) 0 ;
18145 PyObject
*result
= 0 ;
18148 PyObject
*swig_obj
[1] ;
18150 if (!args
) SWIG_fail
;
18151 swig_obj
[0] = args
;
18152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18153 if (!SWIG_IsOK(res1
)) {
18154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
18156 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 resultobj
= result
;
18170 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18171 PyObject
*resultobj
= 0;
18172 wxFileType
*arg1
= (wxFileType
*) 0 ;
18173 PyObject
*result
= 0 ;
18176 PyObject
*swig_obj
[1] ;
18178 if (!args
) SWIG_fail
;
18179 swig_obj
[0] = args
;
18180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18181 if (!SWIG_IsOK(res1
)) {
18182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18184 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= result
;
18198 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18199 PyObject
*resultobj
= 0;
18200 wxFileType
*arg1
= (wxFileType
*) 0 ;
18201 wxIcon
*result
= 0 ;
18204 PyObject
*swig_obj
[1] ;
18206 if (!args
) SWIG_fail
;
18207 swig_obj
[0] = args
;
18208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18209 if (!SWIG_IsOK(res1
)) {
18210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18212 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18226 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18227 PyObject
*resultobj
= 0;
18228 wxFileType
*arg1
= (wxFileType
*) 0 ;
18229 PyObject
*result
= 0 ;
18232 PyObject
*swig_obj
[1] ;
18234 if (!args
) SWIG_fail
;
18235 swig_obj
[0] = args
;
18236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18237 if (!SWIG_IsOK(res1
)) {
18238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18240 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= result
;
18254 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18255 PyObject
*resultobj
= 0;
18256 wxFileType
*arg1
= (wxFileType
*) 0 ;
18257 PyObject
*result
= 0 ;
18260 PyObject
*swig_obj
[1] ;
18262 if (!args
) SWIG_fail
;
18263 swig_obj
[0] = args
;
18264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18265 if (!SWIG_IsOK(res1
)) {
18266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18268 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= result
;
18282 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
= 0;
18284 wxFileType
*arg1
= (wxFileType
*) 0 ;
18285 wxString
*arg2
= 0 ;
18286 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18287 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18288 PyObject
*result
= 0 ;
18291 bool temp2
= false ;
18292 bool temp3
= false ;
18293 PyObject
* obj0
= 0 ;
18294 PyObject
* obj1
= 0 ;
18295 PyObject
* obj2
= 0 ;
18296 char * kwnames
[] = {
18297 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18302 if (!SWIG_IsOK(res1
)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18305 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18307 arg2
= wxString_in_helper(obj1
);
18308 if (arg2
== NULL
) SWIG_fail
;
18313 arg3
= wxString_in_helper(obj2
);
18314 if (arg3
== NULL
) SWIG_fail
;
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= result
;
18347 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
= 0;
18349 wxFileType
*arg1
= (wxFileType
*) 0 ;
18350 wxString
*arg2
= 0 ;
18351 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18352 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18353 PyObject
*result
= 0 ;
18356 bool temp2
= false ;
18357 bool temp3
= false ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 PyObject
* obj2
= 0 ;
18361 char * kwnames
[] = {
18362 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18367 if (!SWIG_IsOK(res1
)) {
18368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18370 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18372 arg2
= wxString_in_helper(obj1
);
18373 if (arg2
== NULL
) SWIG_fail
;
18378 arg3
= wxString_in_helper(obj2
);
18379 if (arg3
== NULL
) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= result
;
18412 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
= 0;
18414 wxFileType
*arg1
= (wxFileType
*) 0 ;
18415 wxString
*arg2
= 0 ;
18416 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18417 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18418 PyObject
*result
= 0 ;
18421 bool temp2
= false ;
18422 bool temp3
= false ;
18423 PyObject
* obj0
= 0 ;
18424 PyObject
* obj1
= 0 ;
18425 PyObject
* obj2
= 0 ;
18426 char * kwnames
[] = {
18427 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18432 if (!SWIG_IsOK(res1
)) {
18433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18435 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18437 arg2
= wxString_in_helper(obj1
);
18438 if (arg2
== NULL
) SWIG_fail
;
18443 arg3
= wxString_in_helper(obj2
);
18444 if (arg3
== NULL
) SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 resultobj
= result
;
18477 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
= 0;
18479 wxFileType
*arg1
= (wxFileType
*) 0 ;
18480 wxString
*arg2
= 0 ;
18481 wxString
*arg3
= 0 ;
18482 bool arg4
= (bool) true ;
18486 bool temp2
= false ;
18487 bool temp3
= false ;
18490 PyObject
* obj0
= 0 ;
18491 PyObject
* obj1
= 0 ;
18492 PyObject
* obj2
= 0 ;
18493 PyObject
* obj3
= 0 ;
18494 char * kwnames
[] = {
18495 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18500 if (!SWIG_IsOK(res1
)) {
18501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18503 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18505 arg2
= wxString_in_helper(obj1
);
18506 if (arg2
== NULL
) SWIG_fail
;
18510 arg3
= wxString_in_helper(obj2
);
18511 if (arg3
== NULL
) SWIG_fail
;
18515 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18516 if (!SWIG_IsOK(ecode4
)) {
18517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18519 arg4
= static_cast< bool >(val4
);
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18552 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
= 0;
18554 wxFileType
*arg1
= (wxFileType
*) 0 ;
18555 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18556 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18557 int arg3
= (int) 0 ;
18561 bool temp2
= false ;
18564 PyObject
* obj0
= 0 ;
18565 PyObject
* obj1
= 0 ;
18566 PyObject
* obj2
= 0 ;
18567 char * kwnames
[] = {
18568 (char *) "self",(char *) "cmd",(char *) "index", NULL
18571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18573 if (!SWIG_IsOK(res1
)) {
18574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18576 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18579 arg2
= wxString_in_helper(obj1
);
18580 if (arg2
== NULL
) SWIG_fail
;
18585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18586 if (!SWIG_IsOK(ecode3
)) {
18587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18589 arg3
= static_cast< int >(val3
);
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18614 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18615 PyObject
*resultobj
= 0;
18616 wxFileType
*arg1
= (wxFileType
*) 0 ;
18620 PyObject
*swig_obj
[1] ;
18622 if (!args
) SWIG_fail
;
18623 swig_obj
[0] = args
;
18624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18625 if (!SWIG_IsOK(res1
)) {
18626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18628 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 result
= (bool)(arg1
)->Unassociate();
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18644 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
= 0;
18646 wxString
*arg1
= 0 ;
18647 wxString
*arg2
= 0 ;
18648 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18649 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18651 bool temp1
= false ;
18652 bool temp2
= false ;
18653 bool temp3
= false ;
18654 PyObject
* obj0
= 0 ;
18655 PyObject
* obj1
= 0 ;
18656 PyObject
* obj2
= 0 ;
18657 char * kwnames
[] = {
18658 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18663 arg1
= wxString_in_helper(obj0
);
18664 if (arg1
== NULL
) SWIG_fail
;
18668 arg2
= wxString_in_helper(obj1
);
18669 if (arg2
== NULL
) SWIG_fail
;
18674 arg3
= wxString_in_helper(obj2
);
18675 if (arg3
== NULL
) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18722 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18725 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18726 return SWIG_Py_Void();
18729 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18730 return SWIG_Python_InitShadowInstance(args
);
18733 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18734 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18739 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18740 PyObject
*pyobj
= 0;
18742 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18747 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
= 0;
18749 wxString
*arg1
= 0 ;
18750 wxString
*arg2
= 0 ;
18752 bool temp1
= false ;
18753 bool temp2
= false ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 char * kwnames
[] = {
18757 (char *) "mimeType",(char *) "wildcard", NULL
18760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18762 arg1
= wxString_in_helper(obj0
);
18763 if (arg1
== NULL
) SWIG_fail
;
18767 arg2
= wxString_in_helper(obj1
);
18768 if (arg2
== NULL
) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18802 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18803 PyObject
*resultobj
= 0;
18804 wxMimeTypesManager
*result
= 0 ;
18806 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18820 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
= 0;
18822 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18823 int arg2
= (int) wxMAILCAP_ALL
;
18824 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18825 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18830 bool temp3
= false ;
18831 PyObject
* obj0
= 0 ;
18832 PyObject
* obj1
= 0 ;
18833 PyObject
* obj2
= 0 ;
18834 char * kwnames
[] = {
18835 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18840 if (!SWIG_IsOK(res1
)) {
18841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18843 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18846 if (!SWIG_IsOK(ecode2
)) {
18847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18849 arg2
= static_cast< int >(val2
);
18853 arg3
= wxString_in_helper(obj2
);
18854 if (arg3
== NULL
) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= SWIG_Py_Void();
18879 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18880 PyObject
*resultobj
= 0;
18881 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18884 PyObject
*swig_obj
[1] ;
18886 if (!args
) SWIG_fail
;
18887 swig_obj
[0] = args
;
18888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18889 if (!SWIG_IsOK(res1
)) {
18890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18892 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 (arg1
)->ClearData();
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= SWIG_Py_Void();
18906 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
= 0;
18908 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18909 wxString
*arg2
= 0 ;
18910 wxFileType
*result
= 0 ;
18913 bool temp2
= false ;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj1
= 0 ;
18916 char * kwnames
[] = {
18917 (char *) "self",(char *) "ext", NULL
18920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18922 if (!SWIG_IsOK(res1
)) {
18923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18925 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18927 arg2
= wxString_in_helper(obj1
);
18928 if (arg2
== NULL
) SWIG_fail
;
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18952 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
= 0;
18954 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18955 wxString
*arg2
= 0 ;
18956 wxFileType
*result
= 0 ;
18959 bool temp2
= false ;
18960 PyObject
* obj0
= 0 ;
18961 PyObject
* obj1
= 0 ;
18962 char * kwnames
[] = {
18963 (char *) "self",(char *) "mimeType", NULL
18966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18968 if (!SWIG_IsOK(res1
)) {
18969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18971 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18973 arg2
= wxString_in_helper(obj1
);
18974 if (arg2
== NULL
) SWIG_fail
;
18978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18998 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18999 PyObject
*resultobj
= 0;
19000 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19001 wxString
*arg2
= 0 ;
19002 bool arg3
= (bool) false ;
19006 bool temp2
= false ;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 PyObject
* obj2
= 0 ;
19012 char * kwnames
[] = {
19013 (char *) "self",(char *) "filename",(char *) "fallback", NULL
19016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19018 if (!SWIG_IsOK(res1
)) {
19019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19021 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19023 arg2
= wxString_in_helper(obj1
);
19024 if (arg2
== NULL
) SWIG_fail
;
19028 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19029 if (!SWIG_IsOK(ecode3
)) {
19030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
19032 arg3
= static_cast< bool >(val3
);
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19057 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
= 0;
19059 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19060 wxString
*arg2
= 0 ;
19064 bool temp2
= false ;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 char * kwnames
[] = {
19068 (char *) "self",(char *) "filename", NULL
19071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19073 if (!SWIG_IsOK(res1
)) {
19074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19076 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19078 arg2
= wxString_in_helper(obj1
);
19079 if (arg2
== NULL
) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19105 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19106 PyObject
*resultobj
= 0;
19107 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19108 PyObject
*result
= 0 ;
19111 PyObject
*swig_obj
[1] ;
19113 if (!args
) SWIG_fail
;
19114 swig_obj
[0] = args
;
19115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19116 if (!SWIG_IsOK(res1
)) {
19117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19119 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= result
;
19133 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
= 0;
19135 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19136 wxFileTypeInfo
*arg2
= 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char * kwnames
[] = {
19144 (char *) "self",(char *) "ft", NULL
19147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19149 if (!SWIG_IsOK(res1
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19152 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19154 if (!SWIG_IsOK(res2
)) {
19155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19160 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= SWIG_Py_Void();
19174 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
= 0;
19176 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19177 wxFileTypeInfo
*arg2
= 0 ;
19178 wxFileType
*result
= 0 ;
19183 PyObject
* obj0
= 0 ;
19184 PyObject
* obj1
= 0 ;
19185 char * kwnames
[] = {
19186 (char *) "self",(char *) "ftInfo", NULL
19189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19191 if (!SWIG_IsOK(res1
)) {
19192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19194 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19196 if (!SWIG_IsOK(res2
)) {
19197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19202 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19216 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
= 0;
19218 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19219 wxFileType
*arg2
= (wxFileType
*) 0 ;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 char * kwnames
[] = {
19228 (char *) "self",(char *) "ft", NULL
19231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19233 if (!SWIG_IsOK(res1
)) {
19234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19236 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19237 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19238 if (!SWIG_IsOK(res2
)) {
19239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19241 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 result
= (bool)(arg1
)->Unassociate(arg2
);
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19257 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19258 PyObject
*resultobj
= 0;
19259 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19262 PyObject
*swig_obj
[1] ;
19264 if (!args
) SWIG_fail
;
19265 swig_obj
[0] = args
;
19266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19267 if (!SWIG_IsOK(res1
)) {
19268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19270 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= SWIG_Py_Void();
19285 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19288 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19289 return SWIG_Py_Void();
19292 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19293 return SWIG_Python_InitShadowInstance(args
);
19296 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19297 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19302 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19303 PyObject
*pyobj
= 0;
19307 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19309 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19316 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19317 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19322 SWIGINTERN PyObject
*ART_MENU_get(void) {
19323 PyObject
*pyobj
= 0;
19327 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19329 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19336 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19337 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19342 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19343 PyObject
*pyobj
= 0;
19347 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19349 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19356 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19357 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19362 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19363 PyObject
*pyobj
= 0;
19367 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19369 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19376 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19377 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19382 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19383 PyObject
*pyobj
= 0;
19387 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19389 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19396 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19397 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19402 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19403 PyObject
*pyobj
= 0;
19407 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19409 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19416 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19417 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19422 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19423 PyObject
*pyobj
= 0;
19427 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19429 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19436 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19437 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19442 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19443 PyObject
*pyobj
= 0;
19447 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19449 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19456 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19457 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19462 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19463 PyObject
*pyobj
= 0;
19467 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19469 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19476 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19477 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19482 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19483 PyObject
*pyobj
= 0;
19487 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19489 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19496 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19497 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19502 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19503 PyObject
*pyobj
= 0;
19507 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19509 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19516 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19517 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19522 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19523 PyObject
*pyobj
= 0;
19527 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19529 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19536 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19537 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19542 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19543 PyObject
*pyobj
= 0;
19547 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19549 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19556 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19557 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19562 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19563 PyObject
*pyobj
= 0;
19567 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19569 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19576 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19577 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19582 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19583 PyObject
*pyobj
= 0;
19587 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19589 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19596 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19597 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19602 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19603 PyObject
*pyobj
= 0;
19607 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19609 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19616 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19617 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19622 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19623 PyObject
*pyobj
= 0;
19627 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19629 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19636 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19637 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19642 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19643 PyObject
*pyobj
= 0;
19647 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19649 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19656 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19657 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19662 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19663 PyObject
*pyobj
= 0;
19667 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19669 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19676 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19677 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19682 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19683 PyObject
*pyobj
= 0;
19687 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19689 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19696 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19697 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19702 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19703 PyObject
*pyobj
= 0;
19707 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19709 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19716 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19717 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19722 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19723 PyObject
*pyobj
= 0;
19727 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19729 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19736 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19737 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19742 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19743 PyObject
*pyobj
= 0;
19747 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19749 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19756 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19757 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19762 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19763 PyObject
*pyobj
= 0;
19767 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19769 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19776 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19777 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19782 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19783 PyObject
*pyobj
= 0;
19787 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19789 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19796 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19797 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19802 SWIGINTERN PyObject
*ART_HELP_get(void) {
19803 PyObject
*pyobj
= 0;
19807 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19809 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19816 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19817 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19822 SWIGINTERN PyObject
*ART_TIP_get(void) {
19823 PyObject
*pyobj
= 0;
19827 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19829 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19836 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19837 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19842 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19843 PyObject
*pyobj
= 0;
19847 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19849 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19856 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19857 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19862 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19863 PyObject
*pyobj
= 0;
19867 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19869 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19876 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19877 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19882 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19883 PyObject
*pyobj
= 0;
19887 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19889 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19896 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19897 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19902 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19903 PyObject
*pyobj
= 0;
19907 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19909 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19916 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19917 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19922 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19923 PyObject
*pyobj
= 0;
19927 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19929 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19936 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19937 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19942 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19943 PyObject
*pyobj
= 0;
19947 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19949 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19956 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
19957 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
19962 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
19963 PyObject
*pyobj
= 0;
19967 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19969 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19976 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
19977 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
19982 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
19983 PyObject
*pyobj
= 0;
19987 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19989 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19996 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
19997 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
20002 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
20003 PyObject
*pyobj
= 0;
20007 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20009 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20016 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
20017 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
20022 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
20023 PyObject
*pyobj
= 0;
20027 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20029 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20036 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
20037 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
20042 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
20043 PyObject
*pyobj
= 0;
20047 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20049 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20056 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
20057 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
20062 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
20063 PyObject
*pyobj
= 0;
20067 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20069 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20076 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
20077 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
20082 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
20083 PyObject
*pyobj
= 0;
20087 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20089 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20096 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
20097 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
20102 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
20103 PyObject
*pyobj
= 0;
20107 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20109 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20116 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
20117 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
20122 SWIGINTERN PyObject
*ART_ERROR_get(void) {
20123 PyObject
*pyobj
= 0;
20127 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20129 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20136 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
20137 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
20142 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
20143 PyObject
*pyobj
= 0;
20147 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20149 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20156 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
20157 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
20162 SWIGINTERN PyObject
*ART_WARNING_get(void) {
20163 PyObject
*pyobj
= 0;
20167 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20169 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20176 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20177 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20182 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20183 PyObject
*pyobj
= 0;
20187 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20189 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20196 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20197 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20202 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20203 PyObject
*pyobj
= 0;
20207 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20209 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20216 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20217 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20222 SWIGINTERN PyObject
*ART_COPY_get(void) {
20223 PyObject
*pyobj
= 0;
20227 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20229 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20236 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20237 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20242 SWIGINTERN PyObject
*ART_CUT_get(void) {
20243 PyObject
*pyobj
= 0;
20247 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20249 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20256 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20257 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20262 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20263 PyObject
*pyobj
= 0;
20267 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20269 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20276 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20277 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20282 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20283 PyObject
*pyobj
= 0;
20287 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20289 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20296 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20297 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20302 SWIGINTERN PyObject
*ART_NEW_get(void) {
20303 PyObject
*pyobj
= 0;
20307 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20309 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20316 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20317 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20322 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20323 PyObject
*pyobj
= 0;
20327 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20329 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20336 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20337 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20342 SWIGINTERN PyObject
*ART_REDO_get(void) {
20343 PyObject
*pyobj
= 0;
20347 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20349 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20356 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20357 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20362 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20363 PyObject
*pyobj
= 0;
20367 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20369 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20376 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20377 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20382 SWIGINTERN PyObject
*ART_FIND_get(void) {
20383 PyObject
*pyobj
= 0;
20387 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20389 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20396 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20397 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20402 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20403 PyObject
*pyobj
= 0;
20407 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20409 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20416 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20417 PyObject
*resultobj
= 0;
20418 wxPyArtProvider
*result
= 0 ;
20420 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20422 if (!wxPyCheckForApp()) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20435 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20436 PyObject
*resultobj
= 0;
20437 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20440 PyObject
*swig_obj
[1] ;
20442 if (!args
) SWIG_fail
;
20443 swig_obj
[0] = args
;
20444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20445 if (!SWIG_IsOK(res1
)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20448 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= SWIG_Py_Void();
20463 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
= 0;
20465 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20466 PyObject
*arg2
= (PyObject
*) 0 ;
20467 PyObject
*arg3
= (PyObject
*) 0 ;
20470 PyObject
* obj0
= 0 ;
20471 PyObject
* obj1
= 0 ;
20472 PyObject
* obj2
= 0 ;
20473 char * kwnames
[] = {
20474 (char *) "self",(char *) "self",(char *) "_class", NULL
20477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20479 if (!SWIG_IsOK(res1
)) {
20480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20482 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20487 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 resultobj
= SWIG_Py_Void();
20498 SWIGINTERN PyObject
*_wrap_ArtProvider_Push(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
= 0;
20500 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 char * kwnames
[] = {
20504 (char *) "provider", NULL
20507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Push",kwnames
,&obj0
)) SWIG_fail
;
20508 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20509 if (!SWIG_IsOK(res1
)) {
20510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Push" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 wxPyArtProvider::Push(arg1
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= SWIG_Py_Void();
20525 SWIGINTERN PyObject
*_wrap_ArtProvider_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
= 0;
20527 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20529 PyObject
* obj0
= 0 ;
20530 char * kwnames
[] = {
20531 (char *) "provider", NULL
20534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Insert",kwnames
,&obj0
)) SWIG_fail
;
20535 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20536 if (!SWIG_IsOK(res1
)) {
20537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Insert" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 wxPyArtProvider::Insert(arg1
);
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= SWIG_Py_Void();
20552 SWIGINTERN PyObject
*_wrap_ArtProvider_Pop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20553 PyObject
*resultobj
= 0;
20556 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_Pop",0,0,0)) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (bool)wxPyArtProvider::Pop();
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20572 SWIGINTERN PyObject
*_wrap_ArtProvider_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20573 PyObject
*resultobj
= 0;
20574 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 char * kwnames
[] = {
20580 (char *) "provider", NULL
20583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Delete",kwnames
,&obj0
)) SWIG_fail
;
20584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20585 if (!SWIG_IsOK(res1
)) {
20586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Delete" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20588 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (bool)wxPyArtProvider::Delete(arg1
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20604 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
= 0;
20606 wxString
*arg1
= 0 ;
20607 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20608 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20609 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20610 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20612 bool temp1
= false ;
20613 bool temp2
= false ;
20615 PyObject
* obj0
= 0 ;
20616 PyObject
* obj1
= 0 ;
20617 PyObject
* obj2
= 0 ;
20618 char * kwnames
[] = {
20619 (char *) "id",(char *) "client",(char *) "size", NULL
20622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20624 arg1
= wxString_in_helper(obj0
);
20625 if (arg1
== NULL
) SWIG_fail
;
20630 arg2
= wxString_in_helper(obj1
);
20631 if (arg2
== NULL
) SWIG_fail
;
20638 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20642 if (!wxPyCheckForApp()) SWIG_fail
;
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20671 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
= 0;
20673 wxString
*arg1
= 0 ;
20674 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20675 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20676 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20677 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20679 bool temp1
= false ;
20680 bool temp2
= false ;
20682 PyObject
* obj0
= 0 ;
20683 PyObject
* obj1
= 0 ;
20684 PyObject
* obj2
= 0 ;
20685 char * kwnames
[] = {
20686 (char *) "id",(char *) "client",(char *) "size", NULL
20689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20691 arg1
= wxString_in_helper(obj0
);
20692 if (arg1
== NULL
) SWIG_fail
;
20697 arg2
= wxString_in_helper(obj1
);
20698 if (arg2
== NULL
) SWIG_fail
;
20705 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20709 if (!wxPyCheckForApp()) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20738 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
= 0;
20740 wxString
*arg1
= 0 ;
20741 bool arg2
= (bool) false ;
20743 bool temp1
= false ;
20746 PyObject
* obj0
= 0 ;
20747 PyObject
* obj1
= 0 ;
20748 char * kwnames
[] = {
20749 (char *) "client",(char *) "platform_dependent", NULL
20752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20754 arg1
= wxString_in_helper(obj0
);
20755 if (arg1
== NULL
) SWIG_fail
;
20759 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20760 if (!SWIG_IsOK(ecode2
)) {
20761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20763 arg2
= static_cast< bool >(val2
);
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20768 wxPyEndAllowThreads(__tstate
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20786 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20787 PyObject
*resultobj
= 0;
20788 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20791 PyObject
*swig_obj
[1] ;
20793 if (!args
) SWIG_fail
;
20794 swig_obj
[0] = args
;
20795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20796 if (!SWIG_IsOK(res1
)) {
20797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20799 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 wxPyArtProvider_Destroy(arg1
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_Py_Void();
20813 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20816 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20817 return SWIG_Py_Void();
20820 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20821 return SWIG_Python_InitShadowInstance(args
);
20824 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20825 PyObject
*resultobj
= 0;
20826 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20829 PyObject
*swig_obj
[1] ;
20831 if (!args
) SWIG_fail
;
20832 swig_obj
[0] = args
;
20833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20834 if (!SWIG_IsOK(res1
)) {
20835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20837 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= SWIG_Py_Void();
20852 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
= 0;
20854 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20855 wxConfigBase
*result
= 0 ;
20857 PyObject
* obj0
= 0 ;
20858 char * kwnames
[] = {
20859 (char *) "config", NULL
20862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20863 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20864 if (!SWIG_IsOK(res1
)) {
20865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20880 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
= 0;
20882 bool arg1
= (bool) true ;
20883 wxConfigBase
*result
= 0 ;
20886 PyObject
* obj0
= 0 ;
20887 char * kwnames
[] = {
20888 (char *) "createOnDemand", NULL
20891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20893 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20894 if (!SWIG_IsOK(ecode1
)) {
20895 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20897 arg1
= static_cast< bool >(val1
);
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20912 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20913 PyObject
*resultobj
= 0;
20914 wxConfigBase
*result
= 0 ;
20916 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (wxConfigBase
*)wxConfigBase::Create();
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20930 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20931 PyObject
*resultobj
= 0;
20933 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 wxConfigBase::DontCreateOnDemand();
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 resultobj
= SWIG_Py_Void();
20947 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
= 0;
20949 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20950 wxString
*arg2
= 0 ;
20953 bool temp2
= false ;
20954 PyObject
* obj0
= 0 ;
20955 PyObject
* obj1
= 0 ;
20956 char * kwnames
[] = {
20957 (char *) "self",(char *) "path", NULL
20960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20962 if (!SWIG_IsOK(res1
)) {
20963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20965 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20967 arg2
= wxString_in_helper(obj1
);
20968 if (arg2
== NULL
) SWIG_fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 (arg1
)->SetPath((wxString
const &)*arg2
);
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= SWIG_Py_Void();
20992 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20993 PyObject
*resultobj
= 0;
20994 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20995 wxString
*result
= 0 ;
20998 PyObject
*swig_obj
[1] ;
21000 if (!args
) SWIG_fail
;
21001 swig_obj
[0] = args
;
21002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21003 if (!SWIG_IsOK(res1
)) {
21004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21006 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
21011 result
= (wxString
*) &_result_ref
;
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21020 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21029 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21030 PyObject
*resultobj
= 0;
21031 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21032 PyObject
*result
= 0 ;
21035 PyObject
*swig_obj
[1] ;
21037 if (!args
) SWIG_fail
;
21038 swig_obj
[0] = args
;
21039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21040 if (!SWIG_IsOK(res1
)) {
21041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21043 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= result
;
21057 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
= 0;
21059 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21061 PyObject
*result
= 0 ;
21066 PyObject
* obj0
= 0 ;
21067 PyObject
* obj1
= 0 ;
21068 char * kwnames
[] = {
21069 (char *) "self",(char *) "index", NULL
21072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21074 if (!SWIG_IsOK(res1
)) {
21075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21077 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21078 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21079 if (!SWIG_IsOK(ecode2
)) {
21080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
21082 arg2
= static_cast< long >(val2
);
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= result
;
21096 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21097 PyObject
*resultobj
= 0;
21098 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21099 PyObject
*result
= 0 ;
21102 PyObject
*swig_obj
[1] ;
21104 if (!args
) SWIG_fail
;
21105 swig_obj
[0] = args
;
21106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21107 if (!SWIG_IsOK(res1
)) {
21108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21110 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21113 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 resultobj
= result
;
21124 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
= 0;
21126 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21128 PyObject
*result
= 0 ;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 char * kwnames
[] = {
21136 (char *) "self",(char *) "index", NULL
21139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21141 if (!SWIG_IsOK(res1
)) {
21142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21144 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21145 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21146 if (!SWIG_IsOK(ecode2
)) {
21147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
21149 arg2
= static_cast< long >(val2
);
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= result
;
21163 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
= 0;
21165 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21166 bool arg2
= (bool) false ;
21172 PyObject
* obj0
= 0 ;
21173 PyObject
* obj1
= 0 ;
21174 char * kwnames
[] = {
21175 (char *) "self",(char *) "recursive", NULL
21178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21180 if (!SWIG_IsOK(res1
)) {
21181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21183 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21185 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21186 if (!SWIG_IsOK(ecode2
)) {
21187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21189 arg2
= static_cast< bool >(val2
);
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21204 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
= 0;
21206 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21207 bool arg2
= (bool) false ;
21213 PyObject
* obj0
= 0 ;
21214 PyObject
* obj1
= 0 ;
21215 char * kwnames
[] = {
21216 (char *) "self",(char *) "recursive", NULL
21219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21221 if (!SWIG_IsOK(res1
)) {
21222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21224 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21226 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21227 if (!SWIG_IsOK(ecode2
)) {
21228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21230 arg2
= static_cast< bool >(val2
);
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21245 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
= 0;
21247 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21248 wxString
*arg2
= 0 ;
21252 bool temp2
= false ;
21253 PyObject
* obj0
= 0 ;
21254 PyObject
* obj1
= 0 ;
21255 char * kwnames
[] = {
21256 (char *) "self",(char *) "name", NULL
21259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21261 if (!SWIG_IsOK(res1
)) {
21262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21264 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21266 arg2
= wxString_in_helper(obj1
);
21267 if (arg2
== NULL
) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21293 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
= 0;
21295 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21296 wxString
*arg2
= 0 ;
21300 bool temp2
= false ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 char * kwnames
[] = {
21304 (char *) "self",(char *) "name", NULL
21307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21309 if (!SWIG_IsOK(res1
)) {
21310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21312 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21314 arg2
= wxString_in_helper(obj1
);
21315 if (arg2
== NULL
) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21341 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
= 0;
21343 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21344 wxString
*arg2
= 0 ;
21348 bool temp2
= false ;
21349 PyObject
* obj0
= 0 ;
21350 PyObject
* obj1
= 0 ;
21351 char * kwnames
[] = {
21352 (char *) "self",(char *) "name", NULL
21355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21357 if (!SWIG_IsOK(res1
)) {
21358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21360 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21362 arg2
= wxString_in_helper(obj1
);
21363 if (arg2
== NULL
) SWIG_fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21389 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
= 0;
21391 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21392 wxString
*arg2
= 0 ;
21393 wxConfigBase::EntryType result
;
21396 bool temp2
= false ;
21397 PyObject
* obj0
= 0 ;
21398 PyObject
* obj1
= 0 ;
21399 char * kwnames
[] = {
21400 (char *) "self",(char *) "name", NULL
21403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21405 if (!SWIG_IsOK(res1
)) {
21406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21408 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21410 arg2
= wxString_in_helper(obj1
);
21411 if (arg2
== NULL
) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= SWIG_From_int(static_cast< int >(result
));
21435 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
= 0;
21437 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21438 wxString
*arg2
= 0 ;
21439 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21440 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21444 bool temp2
= false ;
21445 bool temp3
= false ;
21446 PyObject
* obj0
= 0 ;
21447 PyObject
* obj1
= 0 ;
21448 PyObject
* obj2
= 0 ;
21449 char * kwnames
[] = {
21450 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21455 if (!SWIG_IsOK(res1
)) {
21456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21458 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21460 arg2
= wxString_in_helper(obj1
);
21461 if (arg2
== NULL
) SWIG_fail
;
21466 arg3
= wxString_in_helper(obj2
);
21467 if (arg3
== NULL
) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21506 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
= 0;
21508 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21509 wxString
*arg2
= 0 ;
21510 long arg3
= (long) 0 ;
21514 bool temp2
= false ;
21517 PyObject
* obj0
= 0 ;
21518 PyObject
* obj1
= 0 ;
21519 PyObject
* obj2
= 0 ;
21520 char * kwnames
[] = {
21521 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21526 if (!SWIG_IsOK(res1
)) {
21527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21529 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21531 arg2
= wxString_in_helper(obj1
);
21532 if (arg2
== NULL
) SWIG_fail
;
21536 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21537 if (!SWIG_IsOK(ecode3
)) {
21538 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21540 arg3
= static_cast< long >(val3
);
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= SWIG_From_long(static_cast< long >(result
));
21563 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
= 0;
21565 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21566 wxString
*arg2
= 0 ;
21567 double arg3
= (double) 0.0 ;
21571 bool temp2
= false ;
21574 PyObject
* obj0
= 0 ;
21575 PyObject
* obj1
= 0 ;
21576 PyObject
* obj2
= 0 ;
21577 char * kwnames
[] = {
21578 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21583 if (!SWIG_IsOK(res1
)) {
21584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21586 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21588 arg2
= wxString_in_helper(obj1
);
21589 if (arg2
== NULL
) SWIG_fail
;
21593 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21594 if (!SWIG_IsOK(ecode3
)) {
21595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21597 arg3
= static_cast< double >(val3
);
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 resultobj
= SWIG_From_double(static_cast< double >(result
));
21620 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
= 0;
21622 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21623 wxString
*arg2
= 0 ;
21624 bool arg3
= (bool) false ;
21628 bool temp2
= false ;
21631 PyObject
* obj0
= 0 ;
21632 PyObject
* obj1
= 0 ;
21633 PyObject
* obj2
= 0 ;
21634 char * kwnames
[] = {
21635 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21640 if (!SWIG_IsOK(res1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21643 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21645 arg2
= wxString_in_helper(obj1
);
21646 if (arg2
== NULL
) SWIG_fail
;
21650 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21651 if (!SWIG_IsOK(ecode3
)) {
21652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21654 arg3
= static_cast< bool >(val3
);
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21679 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
= 0;
21681 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21682 wxString
*arg2
= 0 ;
21683 wxString
*arg3
= 0 ;
21687 bool temp2
= false ;
21688 bool temp3
= false ;
21689 PyObject
* obj0
= 0 ;
21690 PyObject
* obj1
= 0 ;
21691 PyObject
* obj2
= 0 ;
21692 char * kwnames
[] = {
21693 (char *) "self",(char *) "key",(char *) "value", NULL
21696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21698 if (!SWIG_IsOK(res1
)) {
21699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21701 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21703 arg2
= wxString_in_helper(obj1
);
21704 if (arg2
== NULL
) SWIG_fail
;
21708 arg3
= wxString_in_helper(obj2
);
21709 if (arg3
== NULL
) SWIG_fail
;
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21743 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
= 0;
21745 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21746 wxString
*arg2
= 0 ;
21751 bool temp2
= false ;
21754 PyObject
* obj0
= 0 ;
21755 PyObject
* obj1
= 0 ;
21756 PyObject
* obj2
= 0 ;
21757 char * kwnames
[] = {
21758 (char *) "self",(char *) "key",(char *) "value", NULL
21761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21763 if (!SWIG_IsOK(res1
)) {
21764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21766 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21768 arg2
= wxString_in_helper(obj1
);
21769 if (arg2
== NULL
) SWIG_fail
;
21772 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21773 if (!SWIG_IsOK(ecode3
)) {
21774 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21776 arg3
= static_cast< long >(val3
);
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21800 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21801 PyObject
*resultobj
= 0;
21802 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21803 wxString
*arg2
= 0 ;
21808 bool temp2
= false ;
21811 PyObject
* obj0
= 0 ;
21812 PyObject
* obj1
= 0 ;
21813 PyObject
* obj2
= 0 ;
21814 char * kwnames
[] = {
21815 (char *) "self",(char *) "key",(char *) "value", NULL
21818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21820 if (!SWIG_IsOK(res1
)) {
21821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21823 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21825 arg2
= wxString_in_helper(obj1
);
21826 if (arg2
== NULL
) SWIG_fail
;
21829 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21830 if (!SWIG_IsOK(ecode3
)) {
21831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21833 arg3
= static_cast< double >(val3
);
21835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21836 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21857 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
= 0;
21859 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21860 wxString
*arg2
= 0 ;
21865 bool temp2
= false ;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 PyObject
* obj2
= 0 ;
21871 char * kwnames
[] = {
21872 (char *) "self",(char *) "key",(char *) "value", NULL
21875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21877 if (!SWIG_IsOK(res1
)) {
21878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21880 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21882 arg2
= wxString_in_helper(obj1
);
21883 if (arg2
== NULL
) SWIG_fail
;
21886 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21887 if (!SWIG_IsOK(ecode3
)) {
21888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21890 arg3
= static_cast< bool >(val3
);
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21914 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
= 0;
21916 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21917 bool arg2
= (bool) false ;
21923 PyObject
* obj0
= 0 ;
21924 PyObject
* obj1
= 0 ;
21925 char * kwnames
[] = {
21926 (char *) "self",(char *) "currentOnly", NULL
21929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21931 if (!SWIG_IsOK(res1
)) {
21932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21934 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21936 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21937 if (!SWIG_IsOK(ecode2
)) {
21938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21940 arg2
= static_cast< bool >(val2
);
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= (bool)(arg1
)->Flush(arg2
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21957 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
= 0;
21959 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21960 wxString
*arg2
= 0 ;
21961 wxString
*arg3
= 0 ;
21965 bool temp2
= false ;
21966 bool temp3
= false ;
21967 PyObject
* obj0
= 0 ;
21968 PyObject
* obj1
= 0 ;
21969 PyObject
* obj2
= 0 ;
21970 char * kwnames
[] = {
21971 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21976 if (!SWIG_IsOK(res1
)) {
21977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21979 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21981 arg2
= wxString_in_helper(obj1
);
21982 if (arg2
== NULL
) SWIG_fail
;
21986 arg3
= wxString_in_helper(obj2
);
21987 if (arg3
== NULL
) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22021 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
= 0;
22023 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22024 wxString
*arg2
= 0 ;
22025 wxString
*arg3
= 0 ;
22029 bool temp2
= false ;
22030 bool temp3
= false ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 PyObject
* obj2
= 0 ;
22034 char * kwnames
[] = {
22035 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22040 if (!SWIG_IsOK(res1
)) {
22041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22043 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22045 arg2
= wxString_in_helper(obj1
);
22046 if (arg2
== NULL
) SWIG_fail
;
22050 arg3
= wxString_in_helper(obj2
);
22051 if (arg3
== NULL
) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22085 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
= 0;
22087 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22088 wxString
*arg2
= 0 ;
22089 bool arg3
= (bool) true ;
22093 bool temp2
= false ;
22096 PyObject
* obj0
= 0 ;
22097 PyObject
* obj1
= 0 ;
22098 PyObject
* obj2
= 0 ;
22099 char * kwnames
[] = {
22100 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
22103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22105 if (!SWIG_IsOK(res1
)) {
22106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22108 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22110 arg2
= wxString_in_helper(obj1
);
22111 if (arg2
== NULL
) SWIG_fail
;
22115 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22116 if (!SWIG_IsOK(ecode3
)) {
22117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
22119 arg3
= static_cast< bool >(val3
);
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22144 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
= 0;
22146 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22147 wxString
*arg2
= 0 ;
22151 bool temp2
= false ;
22152 PyObject
* obj0
= 0 ;
22153 PyObject
* obj1
= 0 ;
22154 char * kwnames
[] = {
22155 (char *) "self",(char *) "key", NULL
22158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22160 if (!SWIG_IsOK(res1
)) {
22161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22163 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22165 arg2
= wxString_in_helper(obj1
);
22166 if (arg2
== NULL
) SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22192 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22193 PyObject
*resultobj
= 0;
22194 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22198 PyObject
*swig_obj
[1] ;
22200 if (!args
) SWIG_fail
;
22201 swig_obj
[0] = args
;
22202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22203 if (!SWIG_IsOK(res1
)) {
22204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22206 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22209 result
= (bool)(arg1
)->DeleteAll();
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22222 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
= 0;
22224 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22225 bool arg2
= (bool) true ;
22230 PyObject
* obj0
= 0 ;
22231 PyObject
* obj1
= 0 ;
22232 char * kwnames
[] = {
22233 (char *) "self",(char *) "doIt", NULL
22236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22238 if (!SWIG_IsOK(res1
)) {
22239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22241 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22243 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22244 if (!SWIG_IsOK(ecode2
)) {
22245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22247 arg2
= static_cast< bool >(val2
);
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 (arg1
)->SetExpandEnvVars(arg2
);
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= SWIG_Py_Void();
22262 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22263 PyObject
*resultobj
= 0;
22264 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22268 PyObject
*swig_obj
[1] ;
22270 if (!args
) SWIG_fail
;
22271 swig_obj
[0] = args
;
22272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22273 if (!SWIG_IsOK(res1
)) {
22274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22276 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22280 wxPyEndAllowThreads(__tstate
);
22281 if (PyErr_Occurred()) SWIG_fail
;
22284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22292 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22293 PyObject
*resultobj
= 0;
22294 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22295 bool arg2
= (bool) true ;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 char * kwnames
[] = {
22303 (char *) "self",(char *) "doIt", NULL
22306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22308 if (!SWIG_IsOK(res1
)) {
22309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22311 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22313 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22314 if (!SWIG_IsOK(ecode2
)) {
22315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22317 arg2
= static_cast< bool >(val2
);
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 (arg1
)->SetRecordDefaults(arg2
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= SWIG_Py_Void();
22332 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22333 PyObject
*resultobj
= 0;
22334 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22338 PyObject
*swig_obj
[1] ;
22340 if (!args
) SWIG_fail
;
22341 swig_obj
[0] = args
;
22342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22343 if (!SWIG_IsOK(res1
)) {
22344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22346 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22362 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22363 PyObject
*resultobj
= 0;
22364 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22365 wxString
*arg2
= 0 ;
22369 bool temp2
= false ;
22370 PyObject
* obj0
= 0 ;
22371 PyObject
* obj1
= 0 ;
22372 char * kwnames
[] = {
22373 (char *) "self",(char *) "str", NULL
22376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22378 if (!SWIG_IsOK(res1
)) {
22379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22381 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22383 arg2
= wxString_in_helper(obj1
);
22384 if (arg2
== NULL
) SWIG_fail
;
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22414 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22415 PyObject
*resultobj
= 0;
22416 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22420 PyObject
*swig_obj
[1] ;
22422 if (!args
) SWIG_fail
;
22423 swig_obj
[0] = args
;
22424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22425 if (!SWIG_IsOK(res1
)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22428 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22448 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22449 PyObject
*resultobj
= 0;
22450 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22454 PyObject
*swig_obj
[1] ;
22456 if (!args
) SWIG_fail
;
22457 swig_obj
[0] = args
;
22458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22459 if (!SWIG_IsOK(res1
)) {
22460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22462 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22482 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
= 0;
22484 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22485 wxString
*arg2
= 0 ;
22488 bool temp2
= false ;
22489 PyObject
* obj0
= 0 ;
22490 PyObject
* obj1
= 0 ;
22491 char * kwnames
[] = {
22492 (char *) "self",(char *) "appName", NULL
22495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22497 if (!SWIG_IsOK(res1
)) {
22498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22500 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22502 arg2
= wxString_in_helper(obj1
);
22503 if (arg2
== NULL
) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 (arg1
)->SetAppName((wxString
const &)*arg2
);
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 resultobj
= SWIG_Py_Void();
22527 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
= 0;
22529 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22530 wxString
*arg2
= 0 ;
22533 bool temp2
= false ;
22534 PyObject
* obj0
= 0 ;
22535 PyObject
* obj1
= 0 ;
22536 char * kwnames
[] = {
22537 (char *) "self",(char *) "vendorName", NULL
22540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22542 if (!SWIG_IsOK(res1
)) {
22543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22545 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22547 arg2
= wxString_in_helper(obj1
);
22548 if (arg2
== NULL
) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22557 resultobj
= SWIG_Py_Void();
22572 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
= 0;
22574 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 PyObject
* obj1
= 0 ;
22582 char * kwnames
[] = {
22583 (char *) "self",(char *) "style", NULL
22586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22588 if (!SWIG_IsOK(res1
)) {
22589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22591 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22592 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22593 if (!SWIG_IsOK(ecode2
)) {
22594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22596 arg2
= static_cast< long >(val2
);
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 (arg1
)->SetStyle(arg2
);
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 resultobj
= SWIG_Py_Void();
22610 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22611 PyObject
*resultobj
= 0;
22612 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22616 PyObject
*swig_obj
[1] ;
22618 if (!args
) SWIG_fail
;
22619 swig_obj
[0] = args
;
22620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22621 if (!SWIG_IsOK(res1
)) {
22622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22624 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 resultobj
= SWIG_From_long(static_cast< long >(result
));
22638 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22641 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22642 return SWIG_Py_Void();
22645 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
= 0;
22647 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22648 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22649 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22650 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22651 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22652 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22653 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22654 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22655 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22656 wxConfig
*result
= 0 ;
22657 bool temp1
= false ;
22658 bool temp2
= false ;
22659 bool temp3
= false ;
22660 bool temp4
= false ;
22663 PyObject
* obj0
= 0 ;
22664 PyObject
* obj1
= 0 ;
22665 PyObject
* obj2
= 0 ;
22666 PyObject
* obj3
= 0 ;
22667 PyObject
* obj4
= 0 ;
22668 char * kwnames
[] = {
22669 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22675 arg1
= wxString_in_helper(obj0
);
22676 if (arg1
== NULL
) SWIG_fail
;
22682 arg2
= wxString_in_helper(obj1
);
22683 if (arg2
== NULL
) SWIG_fail
;
22689 arg3
= wxString_in_helper(obj2
);
22690 if (arg3
== NULL
) SWIG_fail
;
22696 arg4
= wxString_in_helper(obj3
);
22697 if (arg4
== NULL
) SWIG_fail
;
22702 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22703 if (!SWIG_IsOK(ecode5
)) {
22704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22706 arg5
= static_cast< long >(val5
);
22709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22710 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22753 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22754 PyObject
*resultobj
= 0;
22755 wxConfig
*arg1
= (wxConfig
*) 0 ;
22758 PyObject
*swig_obj
[1] ;
22760 if (!args
) SWIG_fail
;
22761 swig_obj
[0] = args
;
22762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22763 if (!SWIG_IsOK(res1
)) {
22764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22766 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= SWIG_Py_Void();
22781 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22784 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22785 return SWIG_Py_Void();
22788 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22789 return SWIG_Python_InitShadowInstance(args
);
22792 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
= 0;
22794 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22795 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22796 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22797 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22798 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22799 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22800 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22801 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22802 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22803 wxFileConfig
*result
= 0 ;
22804 bool temp1
= false ;
22805 bool temp2
= false ;
22806 bool temp3
= false ;
22807 bool temp4
= false ;
22810 PyObject
* obj0
= 0 ;
22811 PyObject
* obj1
= 0 ;
22812 PyObject
* obj2
= 0 ;
22813 PyObject
* obj3
= 0 ;
22814 PyObject
* obj4
= 0 ;
22815 char * kwnames
[] = {
22816 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22822 arg1
= wxString_in_helper(obj0
);
22823 if (arg1
== NULL
) SWIG_fail
;
22829 arg2
= wxString_in_helper(obj1
);
22830 if (arg2
== NULL
) SWIG_fail
;
22836 arg3
= wxString_in_helper(obj2
);
22837 if (arg3
== NULL
) SWIG_fail
;
22843 arg4
= wxString_in_helper(obj3
);
22844 if (arg4
== NULL
) SWIG_fail
;
22849 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22850 if (!SWIG_IsOK(ecode5
)) {
22851 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22853 arg5
= static_cast< long >(val5
);
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22900 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22901 PyObject
*resultobj
= 0;
22902 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22905 PyObject
*swig_obj
[1] ;
22907 if (!args
) SWIG_fail
;
22908 swig_obj
[0] = args
;
22909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22910 if (!SWIG_IsOK(res1
)) {
22911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22913 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22921 resultobj
= SWIG_Py_Void();
22928 SWIGINTERN PyObject
*_wrap_FileConfig_GetGlobalFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22929 PyObject
*resultobj
= 0;
22930 wxString
*arg1
= 0 ;
22932 bool temp1
= false ;
22933 PyObject
* obj0
= 0 ;
22934 char * kwnames
[] = {
22935 (char *) "szFile", NULL
22938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileConfig_GetGlobalFileName",kwnames
,&obj0
)) SWIG_fail
;
22940 arg1
= wxString_in_helper(obj0
);
22941 if (arg1
== NULL
) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 result
= wxFileConfig::GetGlobalFileName((wxString
const &)*arg1
);
22947 wxPyEndAllowThreads(__tstate
);
22948 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22971 SWIGINTERN PyObject
*_wrap_FileConfig_GetLocalFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
= 0;
22973 wxString
*arg1
= 0 ;
22974 int arg2
= (int) 0 ;
22976 bool temp1
= false ;
22979 PyObject
* obj0
= 0 ;
22980 PyObject
* obj1
= 0 ;
22981 char * kwnames
[] = {
22982 (char *) "szFile",(char *) "style", NULL
22985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FileConfig_GetLocalFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22987 arg1
= wxString_in_helper(obj0
);
22988 if (arg1
== NULL
) SWIG_fail
;
22992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22993 if (!SWIG_IsOK(ecode2
)) {
22994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileConfig_GetLocalFileName" "', expected argument " "2"" of type '" "int""'");
22996 arg2
= static_cast< int >(val2
);
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 result
= wxFileConfig::GetLocalFileName((wxString
const &)*arg1
,arg2
);
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23025 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23028 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
23029 return SWIG_Py_Void();
23032 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23033 return SWIG_Python_InitShadowInstance(args
);
23036 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
= 0;
23038 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
23039 wxString
*arg2
= 0 ;
23040 wxConfigPathChanger
*result
= 0 ;
23043 bool temp2
= false ;
23044 PyObject
* obj0
= 0 ;
23045 PyObject
* obj1
= 0 ;
23046 char * kwnames
[] = {
23047 (char *) "config",(char *) "entry", NULL
23050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
23052 if (!SWIG_IsOK(res1
)) {
23053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
23055 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
23057 arg2
= wxString_in_helper(obj1
);
23058 if (arg2
== NULL
) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
23082 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23083 PyObject
*resultobj
= 0;
23084 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23087 PyObject
*swig_obj
[1] ;
23089 if (!args
) SWIG_fail
;
23090 swig_obj
[0] = args
;
23091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
23092 if (!SWIG_IsOK(res1
)) {
23093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
23095 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= SWIG_Py_Void();
23110 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23111 PyObject
*resultobj
= 0;
23112 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23113 wxString
*result
= 0 ;
23116 PyObject
*swig_obj
[1] ;
23118 if (!args
) SWIG_fail
;
23119 swig_obj
[0] = args
;
23120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
23121 if (!SWIG_IsOK(res1
)) {
23122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
23124 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
23129 result
= (wxString
*) &_result_ref
;
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23136 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23138 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23147 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23150 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
23151 return SWIG_Py_Void();
23154 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23155 return SWIG_Python_InitShadowInstance(args
);
23158 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
= 0;
23160 wxString
*arg1
= 0 ;
23162 bool temp1
= false ;
23163 PyObject
* obj0
= 0 ;
23164 char * kwnames
[] = {
23165 (char *) "sz", NULL
23168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
23170 arg1
= wxString_in_helper(obj0
);
23171 if (arg1
== NULL
) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= wxExpandEnvVars((wxString
const &)*arg1
);
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23201 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
23202 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
23207 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
23208 PyObject
*pyobj
= 0;
23212 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23214 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23221 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
23222 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
23227 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
23228 PyObject
*pyobj
= 0;
23232 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23234 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23241 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23242 PyObject
*resultobj
= 0;
23243 wxDateTime::Country arg1
;
23246 PyObject
* obj0
= 0 ;
23247 char * kwnames
[] = {
23248 (char *) "country", NULL
23251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
23252 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23253 if (!SWIG_IsOK(ecode1
)) {
23254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23256 arg1
= static_cast< wxDateTime::Country
>(val1
);
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 wxDateTime::SetCountry(arg1
);
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= SWIG_Py_Void();
23270 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23271 PyObject
*resultobj
= 0;
23272 wxDateTime::Country result
;
23274 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_From_int(static_cast< int >(result
));
23288 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
= 0;
23290 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23294 PyObject
* obj0
= 0 ;
23295 char * kwnames
[] = {
23296 (char *) "country", NULL
23299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23301 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23302 if (!SWIG_IsOK(ecode1
)) {
23303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23305 arg1
= static_cast< wxDateTime::Country
>(val1
);
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23322 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
= 0;
23324 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23328 PyObject
* obj0
= 0 ;
23329 char * kwnames
[] = {
23330 (char *) "cal", NULL
23333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23335 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23336 if (!SWIG_IsOK(ecode1
)) {
23337 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23339 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= SWIG_From_int(static_cast< int >(result
));
23354 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
= 0;
23360 PyObject
* obj0
= 0 ;
23361 char * kwnames
[] = {
23362 (char *) "year", NULL
23365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23366 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23367 if (!SWIG_IsOK(ecode1
)) {
23368 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23370 arg1
= static_cast< int >(val1
);
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= SWIG_From_int(static_cast< int >(result
));
23384 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
= 0;
23386 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23387 wxDateTime::Month result
;
23390 PyObject
* obj0
= 0 ;
23391 char * kwnames
[] = {
23392 (char *) "cal", NULL
23395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23397 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23398 if (!SWIG_IsOK(ecode1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23401 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= SWIG_From_int(static_cast< int >(result
));
23416 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
= 0;
23418 int arg1
= (int) wxDateTime::Inv_Year
;
23419 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23425 PyObject
* obj0
= 0 ;
23426 PyObject
* obj1
= 0 ;
23427 char * kwnames
[] = {
23428 (char *) "year",(char *) "cal", NULL
23431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23433 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23434 if (!SWIG_IsOK(ecode1
)) {
23435 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23437 arg1
= static_cast< int >(val1
);
23440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23441 if (!SWIG_IsOK(ecode2
)) {
23442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23444 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23461 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
= 0;
23463 int arg1
= (int) wxDateTime::Inv_Year
;
23467 PyObject
* obj0
= 0 ;
23468 char * kwnames
[] = {
23469 (char *) "year", NULL
23472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23474 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23475 if (!SWIG_IsOK(ecode1
)) {
23476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23478 arg1
= static_cast< int >(val1
);
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (int)wxDateTime::GetCentury(arg1
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_From_int(static_cast< int >(result
));
23493 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
= 0;
23496 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23502 PyObject
* obj0
= 0 ;
23503 PyObject
* obj1
= 0 ;
23504 char * kwnames
[] = {
23505 (char *) "year",(char *) "cal", NULL
23508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23509 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23510 if (!SWIG_IsOK(ecode1
)) {
23511 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23513 arg1
= static_cast< int >(val1
);
23515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23516 if (!SWIG_IsOK(ecode2
)) {
23517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23519 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23523 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= SWIG_From_int(static_cast< int >(result
));
23534 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
= 0;
23536 wxDateTime::Month arg1
;
23537 int arg2
= (int) wxDateTime::Inv_Year
;
23538 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23546 PyObject
* obj0
= 0 ;
23547 PyObject
* obj1
= 0 ;
23548 PyObject
* obj2
= 0 ;
23549 char * kwnames
[] = {
23550 (char *) "month",(char *) "year",(char *) "cal", NULL
23553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23554 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23555 if (!SWIG_IsOK(ecode1
)) {
23556 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23558 arg1
= static_cast< wxDateTime::Month
>(val1
);
23560 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23561 if (!SWIG_IsOK(ecode2
)) {
23562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23564 arg2
= static_cast< int >(val2
);
23567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23568 if (!SWIG_IsOK(ecode3
)) {
23569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23571 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 resultobj
= SWIG_From_int(static_cast< int >(result
));
23586 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
= 0;
23588 wxDateTime::Month arg1
;
23589 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23595 PyObject
* obj0
= 0 ;
23596 PyObject
* obj1
= 0 ;
23597 char * kwnames
[] = {
23598 (char *) "month",(char *) "flags", NULL
23601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23602 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23603 if (!SWIG_IsOK(ecode1
)) {
23604 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23606 arg1
= static_cast< wxDateTime::Month
>(val1
);
23608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23609 if (!SWIG_IsOK(ecode2
)) {
23610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23612 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23633 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
= 0;
23635 wxDateTime::WeekDay arg1
;
23636 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23642 PyObject
* obj0
= 0 ;
23643 PyObject
* obj1
= 0 ;
23644 char * kwnames
[] = {
23645 (char *) "weekday",(char *) "flags", NULL
23648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23649 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23650 if (!SWIG_IsOK(ecode1
)) {
23651 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23653 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23656 if (!SWIG_IsOK(ecode2
)) {
23657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23659 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23671 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23680 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23681 PyObject
*resultobj
= 0;
23682 PyObject
*result
= 0 ;
23684 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= result
;
23698 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
= 0;
23700 int arg1
= (int) wxDateTime::Inv_Year
;
23701 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23707 PyObject
* obj0
= 0 ;
23708 PyObject
* obj1
= 0 ;
23709 char * kwnames
[] = {
23710 (char *) "year",(char *) "country", NULL
23713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23715 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23716 if (!SWIG_IsOK(ecode1
)) {
23717 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23719 arg1
= static_cast< int >(val1
);
23722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23723 if (!SWIG_IsOK(ecode2
)) {
23724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23726 arg2
= static_cast< wxDateTime::Country
>(val2
);
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23743 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
= 0;
23745 int arg1
= (int) wxDateTime::Inv_Year
;
23746 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23752 PyObject
* obj0
= 0 ;
23753 PyObject
* obj1
= 0 ;
23754 char * kwnames
[] = {
23755 (char *) "year",(char *) "country", NULL
23758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23760 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23761 if (!SWIG_IsOK(ecode1
)) {
23762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23764 arg1
= static_cast< int >(val1
);
23767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23768 if (!SWIG_IsOK(ecode2
)) {
23769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23771 arg2
= static_cast< wxDateTime::Country
>(val2
);
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23779 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23786 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
= 0;
23788 int arg1
= (int) wxDateTime::Inv_Year
;
23789 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23795 PyObject
* obj0
= 0 ;
23796 PyObject
* obj1
= 0 ;
23797 char * kwnames
[] = {
23798 (char *) "year",(char *) "country", NULL
23801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23803 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23804 if (!SWIG_IsOK(ecode1
)) {
23805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23807 arg1
= static_cast< int >(val1
);
23810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23811 if (!SWIG_IsOK(ecode2
)) {
23812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23814 arg2
= static_cast< wxDateTime::Country
>(val2
);
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23829 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23830 PyObject
*resultobj
= 0;
23833 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 result
= wxDateTime::Now();
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23847 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23848 PyObject
*resultobj
= 0;
23851 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= wxDateTime::UNow();
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23865 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23866 PyObject
*resultobj
= 0;
23869 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= wxDateTime::Today();
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23883 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23884 PyObject
*resultobj
= 0;
23885 wxDateTime
*result
= 0 ;
23887 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= (wxDateTime
*)new wxDateTime();
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23901 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
= 0;
23904 wxDateTime
*result
= 0 ;
23905 unsigned int val1
;
23907 PyObject
* obj0
= 0 ;
23908 char * kwnames
[] = {
23909 (char *) "timet", NULL
23912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23913 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23914 if (!SWIG_IsOK(ecode1
)) {
23915 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23917 arg1
= static_cast< time_t >(val1
);
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 result
= (wxDateTime
*)new wxDateTime(arg1
);
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23931 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
= 0;
23934 wxDateTime
*result
= 0 ;
23937 PyObject
* obj0
= 0 ;
23938 char * kwnames
[] = {
23939 (char *) "jdn", NULL
23942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23943 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23944 if (!SWIG_IsOK(ecode1
)) {
23945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23947 arg1
= static_cast< double >(val1
);
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= (wxDateTime
*)new wxDateTime(arg1
);
23951 wxPyEndAllowThreads(__tstate
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23961 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23962 PyObject
*resultobj
= 0;
23964 int arg2
= (int) 0 ;
23965 int arg3
= (int) 0 ;
23966 int arg4
= (int) 0 ;
23967 wxDateTime
*result
= 0 ;
23976 PyObject
* obj0
= 0 ;
23977 PyObject
* obj1
= 0 ;
23978 PyObject
* obj2
= 0 ;
23979 PyObject
* obj3
= 0 ;
23980 char * kwnames
[] = {
23981 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23985 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23986 if (!SWIG_IsOK(ecode1
)) {
23987 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23989 arg1
= static_cast< int >(val1
);
23991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23992 if (!SWIG_IsOK(ecode2
)) {
23993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23995 arg2
= static_cast< int >(val2
);
23998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23999 if (!SWIG_IsOK(ecode3
)) {
24000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
24002 arg3
= static_cast< int >(val3
);
24005 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24006 if (!SWIG_IsOK(ecode4
)) {
24007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
24009 arg4
= static_cast< int >(val4
);
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24024 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
= 0;
24027 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24028 int arg3
= (int) wxDateTime::Inv_Year
;
24029 int arg4
= (int) 0 ;
24030 int arg5
= (int) 0 ;
24031 int arg6
= (int) 0 ;
24032 int arg7
= (int) 0 ;
24033 wxDateTime
*result
= 0 ;
24048 PyObject
* obj0
= 0 ;
24049 PyObject
* obj1
= 0 ;
24050 PyObject
* obj2
= 0 ;
24051 PyObject
* obj3
= 0 ;
24052 PyObject
* obj4
= 0 ;
24053 PyObject
* obj5
= 0 ;
24054 PyObject
* obj6
= 0 ;
24055 char * kwnames
[] = {
24056 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24060 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24061 if (!SWIG_IsOK(ecode1
)) {
24062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
24064 arg1
= static_cast< int >(val1
);
24066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24067 if (!SWIG_IsOK(ecode2
)) {
24068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24070 arg2
= static_cast< wxDateTime::Month
>(val2
);
24073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24074 if (!SWIG_IsOK(ecode3
)) {
24075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
24077 arg3
= static_cast< int >(val3
);
24080 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24081 if (!SWIG_IsOK(ecode4
)) {
24082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
24084 arg4
= static_cast< int >(val4
);
24087 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24088 if (!SWIG_IsOK(ecode5
)) {
24089 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
24091 arg5
= static_cast< int >(val5
);
24094 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24095 if (!SWIG_IsOK(ecode6
)) {
24096 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
24098 arg6
= static_cast< int >(val6
);
24101 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24102 if (!SWIG_IsOK(ecode7
)) {
24103 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
24105 arg7
= static_cast< int >(val7
);
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24120 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
= 0;
24122 wxDateTime
*arg1
= 0 ;
24123 wxDateTime
*result
= 0 ;
24126 PyObject
* obj0
= 0 ;
24127 char * kwnames
[] = {
24128 (char *) "date", NULL
24131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
24132 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
24133 if (!SWIG_IsOK(res1
)) {
24134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24139 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24153 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24154 PyObject
*resultobj
= 0;
24155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24158 PyObject
*swig_obj
[1] ;
24160 if (!args
) SWIG_fail
;
24161 swig_obj
[0] = args
;
24162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
24163 if (!SWIG_IsOK(res1
)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24166 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= SWIG_Py_Void();
24181 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24182 PyObject
*resultobj
= 0;
24183 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24184 wxDateTime
*result
= 0 ;
24187 PyObject
*swig_obj
[1] ;
24189 if (!args
) SWIG_fail
;
24190 swig_obj
[0] = args
;
24191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24192 if (!SWIG_IsOK(res1
)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
24195 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
24200 result
= (wxDateTime
*) &_result_ref
;
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24212 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
= 0;
24214 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24216 wxDateTime
*result
= 0 ;
24219 unsigned int val2
;
24221 PyObject
* obj0
= 0 ;
24222 PyObject
* obj1
= 0 ;
24223 char * kwnames
[] = {
24224 (char *) "self",(char *) "timet", NULL
24227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24229 if (!SWIG_IsOK(res1
)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24232 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24233 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
24234 if (!SWIG_IsOK(ecode2
)) {
24235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
24237 arg2
= static_cast< time_t >(val2
);
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24242 result
= (wxDateTime
*) &_result_ref
;
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24254 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24255 PyObject
*resultobj
= 0;
24256 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24258 wxDateTime
*result
= 0 ;
24263 PyObject
* obj0
= 0 ;
24264 PyObject
* obj1
= 0 ;
24265 char * kwnames
[] = {
24266 (char *) "self",(char *) "jdn", NULL
24269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24271 if (!SWIG_IsOK(res1
)) {
24272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24274 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24275 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24276 if (!SWIG_IsOK(ecode2
)) {
24277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24279 arg2
= static_cast< double >(val2
);
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24284 result
= (wxDateTime
*) &_result_ref
;
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24296 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24297 PyObject
*resultobj
= 0;
24298 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24300 int arg3
= (int) 0 ;
24301 int arg4
= (int) 0 ;
24302 int arg5
= (int) 0 ;
24303 wxDateTime
*result
= 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 PyObject
* obj2
= 0 ;
24317 PyObject
* obj3
= 0 ;
24318 PyObject
* obj4
= 0 ;
24319 char * kwnames
[] = {
24320 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24325 if (!SWIG_IsOK(res1
)) {
24326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24328 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24330 if (!SWIG_IsOK(ecode2
)) {
24331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24333 arg2
= static_cast< int >(val2
);
24335 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24336 if (!SWIG_IsOK(ecode3
)) {
24337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24339 arg3
= static_cast< int >(val3
);
24342 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24343 if (!SWIG_IsOK(ecode4
)) {
24344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24346 arg4
= static_cast< int >(val4
);
24349 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24350 if (!SWIG_IsOK(ecode5
)) {
24351 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24353 arg5
= static_cast< int >(val5
);
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24358 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24359 result
= (wxDateTime
*) &_result_ref
;
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24371 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
= 0;
24373 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24375 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24376 int arg4
= (int) wxDateTime::Inv_Year
;
24377 int arg5
= (int) 0 ;
24378 int arg6
= (int) 0 ;
24379 int arg7
= (int) 0 ;
24380 int arg8
= (int) 0 ;
24381 wxDateTime
*result
= 0 ;
24398 PyObject
* obj0
= 0 ;
24399 PyObject
* obj1
= 0 ;
24400 PyObject
* obj2
= 0 ;
24401 PyObject
* obj3
= 0 ;
24402 PyObject
* obj4
= 0 ;
24403 PyObject
* obj5
= 0 ;
24404 PyObject
* obj6
= 0 ;
24405 PyObject
* obj7
= 0 ;
24406 char * kwnames
[] = {
24407 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24415 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24417 if (!SWIG_IsOK(ecode2
)) {
24418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24420 arg2
= static_cast< int >(val2
);
24422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24423 if (!SWIG_IsOK(ecode3
)) {
24424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24426 arg3
= static_cast< wxDateTime::Month
>(val3
);
24429 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24430 if (!SWIG_IsOK(ecode4
)) {
24431 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24433 arg4
= static_cast< int >(val4
);
24436 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24437 if (!SWIG_IsOK(ecode5
)) {
24438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24440 arg5
= static_cast< int >(val5
);
24443 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24444 if (!SWIG_IsOK(ecode6
)) {
24445 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24447 arg6
= static_cast< int >(val6
);
24450 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24451 if (!SWIG_IsOK(ecode7
)) {
24452 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24454 arg7
= static_cast< int >(val7
);
24457 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24458 if (!SWIG_IsOK(ecode8
)) {
24459 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24461 arg8
= static_cast< int >(val8
);
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24467 result
= (wxDateTime
*) &_result_ref
;
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24479 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24480 PyObject
*resultobj
= 0;
24481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24482 wxDateTime
*result
= 0 ;
24485 PyObject
*swig_obj
[1] ;
24487 if (!args
) SWIG_fail
;
24488 swig_obj
[0] = args
;
24489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24490 if (!SWIG_IsOK(res1
)) {
24491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24493 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24498 result
= (wxDateTime
*) &_result_ref
;
24500 wxPyEndAllowThreads(__tstate
);
24501 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24510 SWIGINTERN PyObject
*_wrap_DateTime_GetDateOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24511 PyObject
*resultobj
= 0;
24512 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24516 PyObject
*swig_obj
[1] ;
24518 if (!args
) SWIG_fail
;
24519 swig_obj
[0] = args
;
24520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24521 if (!SWIG_IsOK(res1
)) {
24522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDateOnly" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24524 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 result
= ((wxDateTime
const *)arg1
)->GetDateOnly();
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24538 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
= 0;
24540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24542 wxDateTime
*result
= 0 ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 char * kwnames
[] = {
24550 (char *) "self",(char *) "year", NULL
24553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24555 if (!SWIG_IsOK(res1
)) {
24556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24558 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24560 if (!SWIG_IsOK(ecode2
)) {
24561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24563 arg2
= static_cast< int >(val2
);
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24567 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24568 result
= (wxDateTime
*) &_result_ref
;
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24580 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
= 0;
24582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24583 wxDateTime::Month arg2
;
24584 wxDateTime
*result
= 0 ;
24589 PyObject
* obj0
= 0 ;
24590 PyObject
* obj1
= 0 ;
24591 char * kwnames
[] = {
24592 (char *) "self",(char *) "month", NULL
24595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24597 if (!SWIG_IsOK(res1
)) {
24598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24600 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24602 if (!SWIG_IsOK(ecode2
)) {
24603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24605 arg2
= static_cast< wxDateTime::Month
>(val2
);
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24610 result
= (wxDateTime
*) &_result_ref
;
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24622 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
= 0;
24624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24626 wxDateTime
*result
= 0 ;
24631 PyObject
* obj0
= 0 ;
24632 PyObject
* obj1
= 0 ;
24633 char * kwnames
[] = {
24634 (char *) "self",(char *) "day", NULL
24637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24639 if (!SWIG_IsOK(res1
)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24642 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24644 if (!SWIG_IsOK(ecode2
)) {
24645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24647 arg2
= static_cast< int >(val2
);
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24652 result
= (wxDateTime
*) &_result_ref
;
24654 wxPyEndAllowThreads(__tstate
);
24655 if (PyErr_Occurred()) SWIG_fail
;
24657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24664 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24665 PyObject
*resultobj
= 0;
24666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24668 wxDateTime
*result
= 0 ;
24673 PyObject
* obj0
= 0 ;
24674 PyObject
* obj1
= 0 ;
24675 char * kwnames
[] = {
24676 (char *) "self",(char *) "hour", NULL
24679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24681 if (!SWIG_IsOK(res1
)) {
24682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24684 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24686 if (!SWIG_IsOK(ecode2
)) {
24687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24689 arg2
= static_cast< int >(val2
);
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24694 result
= (wxDateTime
*) &_result_ref
;
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24706 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
= 0;
24708 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24710 wxDateTime
*result
= 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 char * kwnames
[] = {
24718 (char *) "self",(char *) "minute", NULL
24721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24723 if (!SWIG_IsOK(res1
)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24726 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24728 if (!SWIG_IsOK(ecode2
)) {
24729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24731 arg2
= static_cast< int >(val2
);
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24736 result
= (wxDateTime
*) &_result_ref
;
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24748 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
= 0;
24750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24752 wxDateTime
*result
= 0 ;
24757 PyObject
* obj0
= 0 ;
24758 PyObject
* obj1
= 0 ;
24759 char * kwnames
[] = {
24760 (char *) "self",(char *) "second", NULL
24763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24765 if (!SWIG_IsOK(res1
)) {
24766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24768 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24770 if (!SWIG_IsOK(ecode2
)) {
24771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24773 arg2
= static_cast< int >(val2
);
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24778 result
= (wxDateTime
*) &_result_ref
;
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24790 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
= 0;
24792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24794 wxDateTime
*result
= 0 ;
24799 PyObject
* obj0
= 0 ;
24800 PyObject
* obj1
= 0 ;
24801 char * kwnames
[] = {
24802 (char *) "self",(char *) "millisecond", NULL
24805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24807 if (!SWIG_IsOK(res1
)) {
24808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24810 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24812 if (!SWIG_IsOK(ecode2
)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24815 arg2
= static_cast< int >(val2
);
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24820 result
= (wxDateTime
*) &_result_ref
;
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24832 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
= 0;
24834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24835 wxDateTime::WeekDay arg2
;
24836 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24837 wxDateTime
*result
= 0 ;
24844 PyObject
* obj0
= 0 ;
24845 PyObject
* obj1
= 0 ;
24846 PyObject
* obj2
= 0 ;
24847 char * kwnames
[] = {
24848 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24853 if (!SWIG_IsOK(res1
)) {
24854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24856 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24858 if (!SWIG_IsOK(ecode2
)) {
24859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24861 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24864 if (!SWIG_IsOK(ecode3
)) {
24865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24867 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24873 result
= (wxDateTime
*) &_result_ref
;
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24885 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
= 0;
24887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24888 wxDateTime::WeekDay arg2
;
24889 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24897 PyObject
* obj0
= 0 ;
24898 PyObject
* obj1
= 0 ;
24899 PyObject
* obj2
= 0 ;
24900 char * kwnames
[] = {
24901 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24906 if (!SWIG_IsOK(res1
)) {
24907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24909 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24911 if (!SWIG_IsOK(ecode2
)) {
24912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24914 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24917 if (!SWIG_IsOK(ecode3
)) {
24918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24920 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24935 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
= 0;
24937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24938 wxDateTime::WeekDay arg2
;
24939 wxDateTime
*result
= 0 ;
24944 PyObject
* obj0
= 0 ;
24945 PyObject
* obj1
= 0 ;
24946 char * kwnames
[] = {
24947 (char *) "self",(char *) "weekday", NULL
24950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24952 if (!SWIG_IsOK(res1
)) {
24953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24955 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24957 if (!SWIG_IsOK(ecode2
)) {
24958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24960 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24965 result
= (wxDateTime
*) &_result_ref
;
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24977 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
= 0;
24979 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24980 wxDateTime::WeekDay arg2
;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 char * kwnames
[] = {
24989 (char *) "self",(char *) "weekday", NULL
24992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24994 if (!SWIG_IsOK(res1
)) {
24995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24997 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24999 if (!SWIG_IsOK(ecode2
)) {
25000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25002 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (arg1
)->GetNextWeekDay(arg2
);
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25016 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
= 0;
25018 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25019 wxDateTime::WeekDay arg2
;
25020 wxDateTime
*result
= 0 ;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 char * kwnames
[] = {
25028 (char *) "self",(char *) "weekday", NULL
25031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25033 if (!SWIG_IsOK(res1
)) {
25034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25036 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25038 if (!SWIG_IsOK(ecode2
)) {
25039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25041 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
25046 result
= (wxDateTime
*) &_result_ref
;
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25058 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
= 0;
25060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25061 wxDateTime::WeekDay arg2
;
25067 PyObject
* obj0
= 0 ;
25068 PyObject
* obj1
= 0 ;
25069 char * kwnames
[] = {
25070 (char *) "self",(char *) "weekday", NULL
25073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25078 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25080 if (!SWIG_IsOK(ecode2
)) {
25081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25083 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25086 result
= (arg1
)->GetPrevWeekDay(arg2
);
25087 wxPyEndAllowThreads(__tstate
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25097 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
= 0;
25099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25100 wxDateTime::WeekDay arg2
;
25101 int arg3
= (int) 1 ;
25102 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25103 int arg5
= (int) wxDateTime::Inv_Year
;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 PyObject
* obj2
= 0 ;
25118 PyObject
* obj3
= 0 ;
25119 PyObject
* obj4
= 0 ;
25120 char * kwnames
[] = {
25121 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
25124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25126 if (!SWIG_IsOK(res1
)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25129 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25131 if (!SWIG_IsOK(ecode2
)) {
25132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25134 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25137 if (!SWIG_IsOK(ecode3
)) {
25138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
25140 arg3
= static_cast< int >(val3
);
25143 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25144 if (!SWIG_IsOK(ecode4
)) {
25145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
25147 arg4
= static_cast< wxDateTime::Month
>(val4
);
25150 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25151 if (!SWIG_IsOK(ecode5
)) {
25152 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
25154 arg5
= static_cast< int >(val5
);
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25171 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
= 0;
25173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25174 wxDateTime::WeekDay arg2
;
25175 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25176 int arg4
= (int) wxDateTime::Inv_Year
;
25186 PyObject
* obj0
= 0 ;
25187 PyObject
* obj1
= 0 ;
25188 PyObject
* obj2
= 0 ;
25189 PyObject
* obj3
= 0 ;
25190 char * kwnames
[] = {
25191 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25196 if (!SWIG_IsOK(res1
)) {
25197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25199 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25201 if (!SWIG_IsOK(ecode2
)) {
25202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25204 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25207 if (!SWIG_IsOK(ecode3
)) {
25208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25210 arg3
= static_cast< wxDateTime::Month
>(val3
);
25213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25214 if (!SWIG_IsOK(ecode4
)) {
25215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25217 arg4
= static_cast< int >(val4
);
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25234 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
= 0;
25236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25237 wxDateTime::WeekDay arg2
;
25238 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25239 int arg4
= (int) wxDateTime::Inv_Year
;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 PyObject
* obj2
= 0 ;
25252 PyObject
* obj3
= 0 ;
25253 char * kwnames
[] = {
25254 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25259 if (!SWIG_IsOK(res1
)) {
25260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25262 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25264 if (!SWIG_IsOK(ecode2
)) {
25265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25267 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25270 if (!SWIG_IsOK(ecode3
)) {
25271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25273 arg3
= static_cast< wxDateTime::Month
>(val3
);
25276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25277 if (!SWIG_IsOK(ecode4
)) {
25278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25280 arg4
= static_cast< int >(val4
);
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25295 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
= 0;
25299 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25307 PyObject
* obj0
= 0 ;
25308 PyObject
* obj1
= 0 ;
25309 PyObject
* obj2
= 0 ;
25310 char * kwnames
[] = {
25311 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25315 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25316 if (!SWIG_IsOK(ecode1
)) {
25317 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25319 arg1
= static_cast< int >(val1
);
25320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25321 if (!SWIG_IsOK(ecode2
)) {
25322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25324 arg2
= static_cast< int >(val2
);
25326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25327 if (!SWIG_IsOK(ecode3
)) {
25328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25330 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25338 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25345 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25346 PyObject
*resultobj
= 0;
25347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25348 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25349 int arg3
= (int) wxDateTime::Inv_Year
;
25350 wxDateTime
*result
= 0 ;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 PyObject
* obj2
= 0 ;
25360 char * kwnames
[] = {
25361 (char *) "self",(char *) "month",(char *) "year", NULL
25364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25366 if (!SWIG_IsOK(res1
)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25369 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25372 if (!SWIG_IsOK(ecode2
)) {
25373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25375 arg2
= static_cast< wxDateTime::Month
>(val2
);
25378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25379 if (!SWIG_IsOK(ecode3
)) {
25380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25382 arg3
= static_cast< int >(val3
);
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25388 result
= (wxDateTime
*) &_result_ref
;
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25400 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
= 0;
25402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25403 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25404 int arg3
= (int) wxDateTime::Inv_Year
;
25412 PyObject
* obj0
= 0 ;
25413 PyObject
* obj1
= 0 ;
25414 PyObject
* obj2
= 0 ;
25415 char * kwnames
[] = {
25416 (char *) "self",(char *) "month",(char *) "year", NULL
25419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25421 if (!SWIG_IsOK(res1
)) {
25422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25424 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25427 if (!SWIG_IsOK(ecode2
)) {
25428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25430 arg2
= static_cast< wxDateTime::Month
>(val2
);
25433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25434 if (!SWIG_IsOK(ecode3
)) {
25435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25437 arg3
= static_cast< int >(val3
);
25440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25441 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25452 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
= 0;
25454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25456 wxDateTime
*result
= 0 ;
25461 PyObject
* obj0
= 0 ;
25462 PyObject
* obj1
= 0 ;
25463 char * kwnames
[] = {
25464 (char *) "self",(char *) "yday", NULL
25467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25469 if (!SWIG_IsOK(res1
)) {
25470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25472 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25474 if (!SWIG_IsOK(ecode2
)) {
25475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25477 arg2
= static_cast< int >(val2
);
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25482 result
= (wxDateTime
*) &_result_ref
;
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25494 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
= 0;
25496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25503 PyObject
* obj0
= 0 ;
25504 PyObject
* obj1
= 0 ;
25505 char * kwnames
[] = {
25506 (char *) "self",(char *) "yday", NULL
25509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25511 if (!SWIG_IsOK(res1
)) {
25512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25514 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25516 if (!SWIG_IsOK(ecode2
)) {
25517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25519 arg2
= static_cast< int >(val2
);
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 result
= (arg1
)->GetYearDay(arg2
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25533 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25534 PyObject
*resultobj
= 0;
25535 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25539 PyObject
*swig_obj
[1] ;
25541 if (!args
) SWIG_fail
;
25542 swig_obj
[0] = args
;
25543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25544 if (!SWIG_IsOK(res1
)) {
25545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25547 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25550 result
= (double)(arg1
)->GetJulianDayNumber();
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= SWIG_From_double(static_cast< double >(result
));
25561 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25562 PyObject
*resultobj
= 0;
25563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25567 PyObject
*swig_obj
[1] ;
25569 if (!args
) SWIG_fail
;
25570 swig_obj
[0] = args
;
25571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25572 if (!SWIG_IsOK(res1
)) {
25573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25575 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 result
= (double)(arg1
)->GetJDN();
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 resultobj
= SWIG_From_double(static_cast< double >(result
));
25589 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25590 PyObject
*resultobj
= 0;
25591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25595 PyObject
*swig_obj
[1] ;
25597 if (!args
) SWIG_fail
;
25598 swig_obj
[0] = args
;
25599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25600 if (!SWIG_IsOK(res1
)) {
25601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25603 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= SWIG_From_double(static_cast< double >(result
));
25617 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25618 PyObject
*resultobj
= 0;
25619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25623 PyObject
*swig_obj
[1] ;
25625 if (!args
) SWIG_fail
;
25626 swig_obj
[0] = args
;
25627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25628 if (!SWIG_IsOK(res1
)) {
25629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25631 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 result
= (double)(arg1
)->GetMJD();
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 resultobj
= SWIG_From_double(static_cast< double >(result
));
25645 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25646 PyObject
*resultobj
= 0;
25647 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25651 PyObject
*swig_obj
[1] ;
25653 if (!args
) SWIG_fail
;
25654 swig_obj
[0] = args
;
25655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25656 if (!SWIG_IsOK(res1
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25659 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25662 result
= (double)(arg1
)->GetRataDie();
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= SWIG_From_double(static_cast< double >(result
));
25673 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
= 0;
25675 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25676 wxDateTime::TimeZone
*arg2
= 0 ;
25677 bool arg3
= (bool) false ;
25681 bool temp2
= false ;
25684 PyObject
* obj0
= 0 ;
25685 PyObject
* obj1
= 0 ;
25686 PyObject
* obj2
= 0 ;
25687 char * kwnames
[] = {
25688 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25693 if (!SWIG_IsOK(res1
)) {
25694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25696 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25698 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25702 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25703 if (!SWIG_IsOK(ecode3
)) {
25704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25706 arg3
= static_cast< bool >(val3
);
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25716 if (temp2
) delete arg2
;
25721 if (temp2
) delete arg2
;
25727 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
= 0;
25729 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25730 wxDateTime::TimeZone
*arg2
= 0 ;
25731 bool arg3
= (bool) false ;
25732 wxDateTime
*result
= 0 ;
25735 bool temp2
= false ;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 PyObject
* obj2
= 0 ;
25741 char * kwnames
[] = {
25742 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25747 if (!SWIG_IsOK(res1
)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25750 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25752 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25756 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25757 if (!SWIG_IsOK(ecode3
)) {
25758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25760 arg3
= static_cast< bool >(val3
);
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25765 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25766 result
= (wxDateTime
*) &_result_ref
;
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25773 if (temp2
) delete arg2
;
25778 if (temp2
) delete arg2
;
25784 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
= 0;
25786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25787 wxDateTime::TimeZone
*arg2
= 0 ;
25788 bool arg3
= (bool) false ;
25792 bool temp2
= false ;
25795 PyObject
* obj0
= 0 ;
25796 PyObject
* obj1
= 0 ;
25797 PyObject
* obj2
= 0 ;
25798 char * kwnames
[] = {
25799 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25804 if (!SWIG_IsOK(res1
)) {
25805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25807 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25809 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25813 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25814 if (!SWIG_IsOK(ecode3
)) {
25815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25817 arg3
= static_cast< bool >(val3
);
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25827 if (temp2
) delete arg2
;
25832 if (temp2
) delete arg2
;
25838 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
= 0;
25840 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25841 wxDateTime::TimeZone
*arg2
= 0 ;
25842 bool arg3
= (bool) false ;
25843 wxDateTime
*result
= 0 ;
25846 bool temp2
= false ;
25849 PyObject
* obj0
= 0 ;
25850 PyObject
* obj1
= 0 ;
25851 PyObject
* obj2
= 0 ;
25852 char * kwnames
[] = {
25853 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25858 if (!SWIG_IsOK(res1
)) {
25859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25861 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25863 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25867 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25868 if (!SWIG_IsOK(ecode3
)) {
25869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25871 arg3
= static_cast< bool >(val3
);
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25877 result
= (wxDateTime
*) &_result_ref
;
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25884 if (temp2
) delete arg2
;
25889 if (temp2
) delete arg2
;
25895 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
= 0;
25897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25898 bool arg2
= (bool) false ;
25904 PyObject
* obj0
= 0 ;
25905 PyObject
* obj1
= 0 ;
25906 char * kwnames
[] = {
25907 (char *) "self",(char *) "noDST", NULL
25910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25912 if (!SWIG_IsOK(res1
)) {
25913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25915 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25917 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25918 if (!SWIG_IsOK(ecode2
)) {
25919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25921 arg2
= static_cast< bool >(val2
);
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25936 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
= 0;
25938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25939 bool arg2
= (bool) false ;
25940 wxDateTime
*result
= 0 ;
25945 PyObject
* obj0
= 0 ;
25946 PyObject
* obj1
= 0 ;
25947 char * kwnames
[] = {
25948 (char *) "self",(char *) "noDST", NULL
25951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25953 if (!SWIG_IsOK(res1
)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25956 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25958 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25959 if (!SWIG_IsOK(ecode2
)) {
25960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
25962 arg2
= static_cast< bool >(val2
);
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
25968 result
= (wxDateTime
*) &_result_ref
;
25970 wxPyEndAllowThreads(__tstate
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25980 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
= 0;
25982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25983 bool arg2
= (bool) false ;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 char * kwnames
[] = {
25992 (char *) "self",(char *) "noDST", NULL
25995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25997 if (!SWIG_IsOK(res1
)) {
25998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26000 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26002 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26003 if (!SWIG_IsOK(ecode2
)) {
26004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
26006 arg2
= static_cast< bool >(val2
);
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26021 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
= 0;
26023 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26024 bool arg2
= (bool) false ;
26025 wxDateTime
*result
= 0 ;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 char * kwnames
[] = {
26033 (char *) "self",(char *) "noDST", NULL
26036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26038 if (!SWIG_IsOK(res1
)) {
26039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
26041 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26043 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26044 if (!SWIG_IsOK(ecode2
)) {
26045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
26047 arg2
= static_cast< bool >(val2
);
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
26053 result
= (wxDateTime
*) &_result_ref
;
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26065 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
= 0;
26067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26068 bool arg2
= (bool) false ;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 char * kwnames
[] = {
26077 (char *) "self",(char *) "noDST", NULL
26080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26082 if (!SWIG_IsOK(res1
)) {
26083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26085 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26087 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26088 if (!SWIG_IsOK(ecode2
)) {
26089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
26091 arg2
= static_cast< bool >(val2
);
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26106 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
= 0;
26108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26109 bool arg2
= (bool) false ;
26110 wxDateTime
*result
= 0 ;
26115 PyObject
* obj0
= 0 ;
26116 PyObject
* obj1
= 0 ;
26117 char * kwnames
[] = {
26118 (char *) "self",(char *) "noDST", NULL
26121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26123 if (!SWIG_IsOK(res1
)) {
26124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26126 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26128 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26129 if (!SWIG_IsOK(ecode2
)) {
26130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
26132 arg2
= static_cast< bool >(val2
);
26135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
26138 result
= (wxDateTime
*) &_result_ref
;
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26150 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
= 0;
26152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26153 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26159 PyObject
* obj0
= 0 ;
26160 PyObject
* obj1
= 0 ;
26161 char * kwnames
[] = {
26162 (char *) "self",(char *) "country", NULL
26165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26167 if (!SWIG_IsOK(res1
)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26170 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26173 if (!SWIG_IsOK(ecode2
)) {
26174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26176 arg2
= static_cast< wxDateTime::Country
>(val2
);
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 result
= (int)(arg1
)->IsDST(arg2
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= SWIG_From_int(static_cast< int >(result
));
26191 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26192 PyObject
*resultobj
= 0;
26193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26197 PyObject
*swig_obj
[1] ;
26199 if (!args
) SWIG_fail
;
26200 swig_obj
[0] = args
;
26201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26202 if (!SWIG_IsOK(res1
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26205 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26221 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26222 PyObject
*resultobj
= 0;
26223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26227 PyObject
*swig_obj
[1] ;
26229 if (!args
) SWIG_fail
;
26230 swig_obj
[0] = args
;
26231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26232 if (!SWIG_IsOK(res1
)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26235 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26249 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
= 0;
26251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26252 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26253 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26257 bool temp2
= false ;
26258 PyObject
* obj0
= 0 ;
26259 PyObject
* obj1
= 0 ;
26260 char * kwnames
[] = {
26261 (char *) "self",(char *) "tz", NULL
26264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26266 if (!SWIG_IsOK(res1
)) {
26267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26269 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26272 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26279 wxPyEndAllowThreads(__tstate
);
26280 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= SWIG_From_int(static_cast< int >(result
));
26284 if (temp2
) delete arg2
;
26289 if (temp2
) delete arg2
;
26295 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
= 0;
26297 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26298 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26299 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26300 wxDateTime::Month result
;
26303 bool temp2
= false ;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 char * kwnames
[] = {
26307 (char *) "self",(char *) "tz", NULL
26310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26312 if (!SWIG_IsOK(res1
)) {
26313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26315 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26318 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= SWIG_From_int(static_cast< int >(result
));
26330 if (temp2
) delete arg2
;
26335 if (temp2
) delete arg2
;
26341 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
= 0;
26343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26344 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26345 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26349 bool temp2
= false ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 char * kwnames
[] = {
26353 (char *) "self",(char *) "tz", NULL
26356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26358 if (!SWIG_IsOK(res1
)) {
26359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26361 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26364 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= SWIG_From_int(static_cast< int >(result
));
26376 if (temp2
) delete arg2
;
26381 if (temp2
) delete arg2
;
26387 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
= 0;
26389 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26390 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26391 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26392 wxDateTime::WeekDay result
;
26395 bool temp2
= false ;
26396 PyObject
* obj0
= 0 ;
26397 PyObject
* obj1
= 0 ;
26398 char * kwnames
[] = {
26399 (char *) "self",(char *) "tz", NULL
26402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26404 if (!SWIG_IsOK(res1
)) {
26405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26407 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26410 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26417 wxPyEndAllowThreads(__tstate
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= SWIG_From_int(static_cast< int >(result
));
26422 if (temp2
) delete arg2
;
26427 if (temp2
) delete arg2
;
26433 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
= 0;
26435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26436 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26437 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26441 bool temp2
= false ;
26442 PyObject
* obj0
= 0 ;
26443 PyObject
* obj1
= 0 ;
26444 char * kwnames
[] = {
26445 (char *) "self",(char *) "tz", NULL
26448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26450 if (!SWIG_IsOK(res1
)) {
26451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26453 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26456 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26462 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 resultobj
= SWIG_From_int(static_cast< int >(result
));
26468 if (temp2
) delete arg2
;
26473 if (temp2
) delete arg2
;
26479 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
= 0;
26481 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26482 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26483 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26487 bool temp2
= false ;
26488 PyObject
* obj0
= 0 ;
26489 PyObject
* obj1
= 0 ;
26490 char * kwnames
[] = {
26491 (char *) "self",(char *) "tz", NULL
26494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26496 if (!SWIG_IsOK(res1
)) {
26497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26499 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26502 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_From_int(static_cast< int >(result
));
26514 if (temp2
) delete arg2
;
26519 if (temp2
) delete arg2
;
26525 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
= 0;
26527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26528 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26529 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26533 bool temp2
= false ;
26534 PyObject
* obj0
= 0 ;
26535 PyObject
* obj1
= 0 ;
26536 char * kwnames
[] = {
26537 (char *) "self",(char *) "tz", NULL
26540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26542 if (!SWIG_IsOK(res1
)) {
26543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26545 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26548 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= SWIG_From_int(static_cast< int >(result
));
26560 if (temp2
) delete arg2
;
26565 if (temp2
) delete arg2
;
26571 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26572 PyObject
*resultobj
= 0;
26573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26574 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26575 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26579 bool temp2
= false ;
26580 PyObject
* obj0
= 0 ;
26581 PyObject
* obj1
= 0 ;
26582 char * kwnames
[] = {
26583 (char *) "self",(char *) "tz", NULL
26586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26588 if (!SWIG_IsOK(res1
)) {
26589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26591 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26594 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= SWIG_From_int(static_cast< int >(result
));
26606 if (temp2
) delete arg2
;
26611 if (temp2
) delete arg2
;
26617 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26618 PyObject
*resultobj
= 0;
26619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26620 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26621 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26625 bool temp2
= false ;
26626 PyObject
* obj0
= 0 ;
26627 PyObject
* obj1
= 0 ;
26628 char * kwnames
[] = {
26629 (char *) "self",(char *) "tz", NULL
26632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26634 if (!SWIG_IsOK(res1
)) {
26635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26637 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26640 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 resultobj
= SWIG_From_int(static_cast< int >(result
));
26652 if (temp2
) delete arg2
;
26657 if (temp2
) delete arg2
;
26663 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26664 PyObject
*resultobj
= 0;
26665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26666 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26667 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26668 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26674 bool temp3
= false ;
26675 PyObject
* obj0
= 0 ;
26676 PyObject
* obj1
= 0 ;
26677 PyObject
* obj2
= 0 ;
26678 char * kwnames
[] = {
26679 (char *) "self",(char *) "flags",(char *) "tz", NULL
26682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26684 if (!SWIG_IsOK(res1
)) {
26685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26687 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26690 if (!SWIG_IsOK(ecode2
)) {
26691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26693 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26697 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26703 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26707 resultobj
= SWIG_From_int(static_cast< int >(result
));
26709 if (temp3
) delete arg3
;
26714 if (temp3
) delete arg3
;
26720 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26721 PyObject
*resultobj
= 0;
26722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26723 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26724 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26725 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26731 bool temp3
= false ;
26732 PyObject
* obj0
= 0 ;
26733 PyObject
* obj1
= 0 ;
26734 PyObject
* obj2
= 0 ;
26735 char * kwnames
[] = {
26736 (char *) "self",(char *) "flags",(char *) "tz", NULL
26739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26741 if (!SWIG_IsOK(res1
)) {
26742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26744 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26747 if (!SWIG_IsOK(ecode2
)) {
26748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26750 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26754 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26760 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26764 resultobj
= SWIG_From_int(static_cast< int >(result
));
26766 if (temp3
) delete arg3
;
26771 if (temp3
) delete arg3
;
26777 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
= 0;
26779 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26780 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26786 PyObject
* obj0
= 0 ;
26787 PyObject
* obj1
= 0 ;
26788 char * kwnames
[] = {
26789 (char *) "self",(char *) "country", NULL
26792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26794 if (!SWIG_IsOK(res1
)) {
26795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26797 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26800 if (!SWIG_IsOK(ecode2
)) {
26801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26803 arg2
= static_cast< wxDateTime::Country
>(val2
);
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26820 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
= 0;
26822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26823 wxDateTime
*arg2
= 0 ;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 char * kwnames
[] = {
26832 (char *) "self",(char *) "datetime", NULL
26835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26837 if (!SWIG_IsOK(res1
)) {
26838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26840 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26841 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26842 if (!SWIG_IsOK(res2
)) {
26843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26848 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26864 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26865 PyObject
*resultobj
= 0;
26866 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26867 wxDateTime
*arg2
= 0 ;
26873 PyObject
* obj0
= 0 ;
26874 PyObject
* obj1
= 0 ;
26875 char * kwnames
[] = {
26876 (char *) "self",(char *) "datetime", NULL
26879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26881 if (!SWIG_IsOK(res1
)) {
26882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26884 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26886 if (!SWIG_IsOK(res2
)) {
26887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26892 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26908 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
= 0;
26910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26911 wxDateTime
*arg2
= 0 ;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 char * kwnames
[] = {
26920 (char *) "self",(char *) "datetime", NULL
26923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26925 if (!SWIG_IsOK(res1
)) {
26926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26928 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26929 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26930 if (!SWIG_IsOK(res2
)) {
26931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26936 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26939 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26952 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
= 0;
26954 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26955 wxDateTime
*arg2
= 0 ;
26956 wxDateTime
*arg3
= 0 ;
26964 PyObject
* obj0
= 0 ;
26965 PyObject
* obj1
= 0 ;
26966 PyObject
* obj2
= 0 ;
26967 char * kwnames
[] = {
26968 (char *) "self",(char *) "t1",(char *) "t2", NULL
26971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26973 if (!SWIG_IsOK(res1
)) {
26974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26976 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26978 if (!SWIG_IsOK(res2
)) {
26979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26984 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26985 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26986 if (!SWIG_IsOK(res3
)) {
26987 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26992 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27008 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
= 0;
27010 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27011 wxDateTime
*arg2
= 0 ;
27012 wxDateTime
*arg3
= 0 ;
27020 PyObject
* obj0
= 0 ;
27021 PyObject
* obj1
= 0 ;
27022 PyObject
* obj2
= 0 ;
27023 char * kwnames
[] = {
27024 (char *) "self",(char *) "t1",(char *) "t2", NULL
27027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27029 if (!SWIG_IsOK(res1
)) {
27030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27032 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27034 if (!SWIG_IsOK(res2
)) {
27035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27040 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27041 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27042 if (!SWIG_IsOK(res3
)) {
27043 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27048 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27051 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27064 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
= 0;
27066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27067 wxDateTime
*arg2
= 0 ;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 char * kwnames
[] = {
27076 (char *) "self",(char *) "dt", NULL
27079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27081 if (!SWIG_IsOK(res1
)) {
27082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27084 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27085 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27086 if (!SWIG_IsOK(res2
)) {
27087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27090 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27092 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27095 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27108 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27109 PyObject
*resultobj
= 0;
27110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27111 wxDateTime
*arg2
= 0 ;
27117 PyObject
* obj0
= 0 ;
27118 PyObject
* obj1
= 0 ;
27119 char * kwnames
[] = {
27120 (char *) "self",(char *) "dt", NULL
27123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27125 if (!SWIG_IsOK(res1
)) {
27126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27128 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27129 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27130 if (!SWIG_IsOK(res2
)) {
27131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27136 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27152 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
= 0;
27154 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27155 wxDateTime
*arg2
= 0 ;
27156 wxTimeSpan
*arg3
= 0 ;
27164 PyObject
* obj0
= 0 ;
27165 PyObject
* obj1
= 0 ;
27166 PyObject
* obj2
= 0 ;
27167 char * kwnames
[] = {
27168 (char *) "self",(char *) "dt",(char *) "ts", NULL
27171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27173 if (!SWIG_IsOK(res1
)) {
27174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27176 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27178 if (!SWIG_IsOK(res2
)) {
27179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27184 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27185 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27186 if (!SWIG_IsOK(res3
)) {
27187 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27192 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27208 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
= 0;
27210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27211 wxTimeSpan
*arg2
= 0 ;
27212 wxDateTime
*result
= 0 ;
27217 PyObject
* obj0
= 0 ;
27218 PyObject
* obj1
= 0 ;
27219 char * kwnames
[] = {
27220 (char *) "self",(char *) "diff", NULL
27223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27225 if (!SWIG_IsOK(res1
)) {
27226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27228 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27230 if (!SWIG_IsOK(res2
)) {
27231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27236 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27241 result
= (wxDateTime
*) &_result_ref
;
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27253 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
= 0;
27255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27256 wxDateSpan
*arg2
= 0 ;
27257 wxDateTime
*result
= 0 ;
27262 PyObject
* obj0
= 0 ;
27263 PyObject
* obj1
= 0 ;
27264 char * kwnames
[] = {
27265 (char *) "self",(char *) "diff", NULL
27268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27270 if (!SWIG_IsOK(res1
)) {
27271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27273 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27275 if (!SWIG_IsOK(res2
)) {
27276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27281 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27285 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27286 result
= (wxDateTime
*) &_result_ref
;
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27298 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
= 0;
27300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27301 wxTimeSpan
*arg2
= 0 ;
27302 wxDateTime
*result
= 0 ;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj1
= 0 ;
27309 char * kwnames
[] = {
27310 (char *) "self",(char *) "diff", NULL
27313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27315 if (!SWIG_IsOK(res1
)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27318 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27320 if (!SWIG_IsOK(res2
)) {
27321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27326 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27331 result
= (wxDateTime
*) &_result_ref
;
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27343 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
= 0;
27345 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27346 wxDateSpan
*arg2
= 0 ;
27347 wxDateTime
*result
= 0 ;
27352 PyObject
* obj0
= 0 ;
27353 PyObject
* obj1
= 0 ;
27354 char * kwnames
[] = {
27355 (char *) "self",(char *) "diff", NULL
27358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27360 if (!SWIG_IsOK(res1
)) {
27361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27363 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27365 if (!SWIG_IsOK(res2
)) {
27366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27371 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27376 result
= (wxDateTime
*) &_result_ref
;
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27388 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
= 0;
27390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27391 wxDateTime
*arg2
= 0 ;
27397 PyObject
* obj0
= 0 ;
27398 PyObject
* obj1
= 0 ;
27399 char * kwnames
[] = {
27400 (char *) "self",(char *) "dt", NULL
27403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27405 if (!SWIG_IsOK(res1
)) {
27406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27408 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27410 if (!SWIG_IsOK(res2
)) {
27411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27416 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27430 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27431 PyObject
*resultobj
= 0;
27432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27433 wxTimeSpan
*arg2
= 0 ;
27434 wxDateTime
*result
= 0 ;
27440 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27442 if (!SWIG_IsOK(res1
)) {
27443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27445 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27446 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27447 if (!SWIG_IsOK(res2
)) {
27448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27453 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27458 result
= (wxDateTime
*) &_result_ref
;
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27470 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27471 PyObject
*resultobj
= 0;
27472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27473 wxDateSpan
*arg2
= 0 ;
27474 wxDateTime
*result
= 0 ;
27480 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27482 if (!SWIG_IsOK(res1
)) {
27483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27485 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27486 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27487 if (!SWIG_IsOK(res2
)) {
27488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27493 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27498 result
= (wxDateTime
*) &_result_ref
;
27500 wxPyEndAllowThreads(__tstate
);
27501 if (PyErr_Occurred()) SWIG_fail
;
27503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27510 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27514 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27519 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27520 _v
= SWIG_CheckState(res
);
27522 if (!_v
) goto check_1
;
27523 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27528 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27532 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27537 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27538 PyObject
*resultobj
= 0;
27539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27540 wxTimeSpan
*arg2
= 0 ;
27541 wxDateTime
*result
= 0 ;
27547 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27549 if (!SWIG_IsOK(res1
)) {
27550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27552 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27553 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27554 if (!SWIG_IsOK(res2
)) {
27555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27560 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27564 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27565 result
= (wxDateTime
*) &_result_ref
;
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27577 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27578 PyObject
*resultobj
= 0;
27579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27580 wxDateSpan
*arg2
= 0 ;
27581 wxDateTime
*result
= 0 ;
27587 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27589 if (!SWIG_IsOK(res1
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27592 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27593 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27594 if (!SWIG_IsOK(res2
)) {
27595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27600 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27604 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27605 result
= (wxDateTime
*) &_result_ref
;
27607 wxPyEndAllowThreads(__tstate
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27617 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27621 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27626 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27627 _v
= SWIG_CheckState(res
);
27629 if (!_v
) goto check_1
;
27630 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27635 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27639 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27644 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27645 PyObject
*resultobj
= 0;
27646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27647 wxTimeSpan
*arg2
= 0 ;
27654 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27656 if (!SWIG_IsOK(res1
)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27659 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27660 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27661 if (!SWIG_IsOK(res2
)) {
27662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27667 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27670 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27671 wxPyEndAllowThreads(__tstate
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27674 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27681 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27682 PyObject
*resultobj
= 0;
27683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27684 wxDateSpan
*arg2
= 0 ;
27691 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27693 if (!SWIG_IsOK(res1
)) {
27694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27696 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27697 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27698 if (!SWIG_IsOK(res2
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27704 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27707 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27711 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27718 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27722 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27727 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27728 _v
= SWIG_CheckState(res
);
27730 if (!_v
) goto check_1
;
27731 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27736 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27740 Py_INCREF(Py_NotImplemented
);
27741 return Py_NotImplemented
;
27745 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27746 PyObject
*resultobj
= 0;
27747 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27748 wxDateTime
*arg2
= 0 ;
27755 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27757 if (!SWIG_IsOK(res1
)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27760 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27761 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27762 if (!SWIG_IsOK(res2
)) {
27763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27768 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27782 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27783 PyObject
*resultobj
= 0;
27784 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27785 wxTimeSpan
*arg2
= 0 ;
27792 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27794 if (!SWIG_IsOK(res1
)) {
27795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27797 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27798 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27799 if (!SWIG_IsOK(res2
)) {
27800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27805 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27808 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27812 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27819 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27820 PyObject
*resultobj
= 0;
27821 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27822 wxDateSpan
*arg2
= 0 ;
27829 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27831 if (!SWIG_IsOK(res1
)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27834 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27835 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27836 if (!SWIG_IsOK(res2
)) {
27837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27842 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27856 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27860 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27865 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27866 _v
= SWIG_CheckState(res
);
27868 if (!_v
) goto check_1
;
27869 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27876 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27877 _v
= SWIG_CheckState(res
);
27879 if (!_v
) goto check_2
;
27880 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27885 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27889 Py_INCREF(Py_NotImplemented
);
27890 return Py_NotImplemented
;
27894 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27895 PyObject
*resultobj
= 0;
27896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27897 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27903 PyObject
* obj0
= 0 ;
27904 PyObject
* obj1
= 0 ;
27905 char * kwnames
[] = {
27906 (char *) "self",(char *) "other", NULL
27909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27911 if (!SWIG_IsOK(res1
)) {
27912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27914 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27915 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27916 if (!SWIG_IsOK(res2
)) {
27917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27919 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27922 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27935 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
= 0;
27937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27938 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27944 PyObject
* obj0
= 0 ;
27945 PyObject
* obj1
= 0 ;
27946 char * kwnames
[] = {
27947 (char *) "self",(char *) "other", NULL
27950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27952 if (!SWIG_IsOK(res1
)) {
27953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27955 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27957 if (!SWIG_IsOK(res2
)) {
27958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27960 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27976 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
= 0;
27978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27979 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27985 PyObject
* obj0
= 0 ;
27986 PyObject
* obj1
= 0 ;
27987 char * kwnames
[] = {
27988 (char *) "self",(char *) "other", NULL
27991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27993 if (!SWIG_IsOK(res1
)) {
27994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27996 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27997 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27998 if (!SWIG_IsOK(res2
)) {
27999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28001 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28017 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28018 PyObject
*resultobj
= 0;
28019 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28020 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 char * kwnames
[] = {
28029 (char *) "self",(char *) "other", NULL
28032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28034 if (!SWIG_IsOK(res1
)) {
28035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28037 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28038 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28039 if (!SWIG_IsOK(res2
)) {
28040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28042 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28058 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28059 PyObject
*resultobj
= 0;
28060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28061 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28067 PyObject
* obj0
= 0 ;
28068 PyObject
* obj1
= 0 ;
28069 char * kwnames
[] = {
28070 (char *) "self",(char *) "other", NULL
28073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28078 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28079 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28080 if (!SWIG_IsOK(res2
)) {
28081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28083 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28099 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
= 0;
28101 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28102 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28108 PyObject
* obj0
= 0 ;
28109 PyObject
* obj1
= 0 ;
28110 char * kwnames
[] = {
28111 (char *) "self",(char *) "other", NULL
28114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28116 if (!SWIG_IsOK(res1
)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28119 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28121 if (!SWIG_IsOK(res2
)) {
28122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28124 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28140 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
= 0;
28142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28143 wxString
*arg2
= 0 ;
28147 bool temp2
= false ;
28148 PyObject
* obj0
= 0 ;
28149 PyObject
* obj1
= 0 ;
28150 char * kwnames
[] = {
28151 (char *) "self",(char *) "date", NULL
28154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28156 if (!SWIG_IsOK(res1
)) {
28157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
28159 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28161 arg2
= wxString_in_helper(obj1
);
28162 if (arg2
== NULL
) SWIG_fail
;
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28167 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 resultobj
= SWIG_From_int(static_cast< int >(result
));
28186 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28187 PyObject
*resultobj
= 0;
28188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28189 wxString
*arg2
= 0 ;
28190 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28191 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28192 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28193 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28197 bool temp2
= false ;
28198 bool temp3
= false ;
28201 PyObject
* obj0
= 0 ;
28202 PyObject
* obj1
= 0 ;
28203 PyObject
* obj2
= 0 ;
28204 PyObject
* obj3
= 0 ;
28205 char * kwnames
[] = {
28206 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28211 if (!SWIG_IsOK(res1
)) {
28212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28214 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28216 arg2
= wxString_in_helper(obj1
);
28217 if (arg2
== NULL
) SWIG_fail
;
28222 arg3
= wxString_in_helper(obj2
);
28223 if (arg3
== NULL
) SWIG_fail
;
28228 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28229 if (!SWIG_IsOK(res4
)) {
28230 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28235 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28243 resultobj
= SWIG_From_int(static_cast< int >(result
));
28266 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
= 0;
28268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28269 wxString
*arg2
= 0 ;
28273 bool temp2
= false ;
28274 PyObject
* obj0
= 0 ;
28275 PyObject
* obj1
= 0 ;
28276 char * kwnames
[] = {
28277 (char *) "self",(char *) "datetime", NULL
28280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28282 if (!SWIG_IsOK(res1
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28285 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28287 arg2
= wxString_in_helper(obj1
);
28288 if (arg2
== NULL
) SWIG_fail
;
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= SWIG_From_int(static_cast< int >(result
));
28312 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28313 PyObject
*resultobj
= 0;
28314 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28315 wxString
*arg2
= 0 ;
28319 bool temp2
= false ;
28320 PyObject
* obj0
= 0 ;
28321 PyObject
* obj1
= 0 ;
28322 char * kwnames
[] = {
28323 (char *) "self",(char *) "date", NULL
28326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28328 if (!SWIG_IsOK(res1
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28331 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28333 arg2
= wxString_in_helper(obj1
);
28334 if (arg2
== NULL
) SWIG_fail
;
28338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28339 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= SWIG_From_int(static_cast< int >(result
));
28358 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
= 0;
28360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28361 wxString
*arg2
= 0 ;
28365 bool temp2
= false ;
28366 PyObject
* obj0
= 0 ;
28367 PyObject
* obj1
= 0 ;
28368 char * kwnames
[] = {
28369 (char *) "self",(char *) "time", NULL
28372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28374 if (!SWIG_IsOK(res1
)) {
28375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28377 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28379 arg2
= wxString_in_helper(obj1
);
28380 if (arg2
== NULL
) SWIG_fail
;
28384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28385 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28389 resultobj
= SWIG_From_int(static_cast< int >(result
));
28404 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28405 PyObject
*resultobj
= 0;
28406 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28407 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28408 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28409 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28410 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28414 bool temp2
= false ;
28415 bool temp3
= false ;
28416 PyObject
* obj0
= 0 ;
28417 PyObject
* obj1
= 0 ;
28418 PyObject
* obj2
= 0 ;
28419 char * kwnames
[] = {
28420 (char *) "self",(char *) "format",(char *) "tz", NULL
28423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28425 if (!SWIG_IsOK(res1
)) {
28426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28428 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28431 arg2
= wxString_in_helper(obj1
);
28432 if (arg2
== NULL
) SWIG_fail
;
28438 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28444 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28460 if (temp3
) delete arg3
;
28469 if (temp3
) delete arg3
;
28475 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28476 PyObject
*resultobj
= 0;
28477 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28481 PyObject
*swig_obj
[1] ;
28483 if (!args
) SWIG_fail
;
28484 swig_obj
[0] = args
;
28485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28486 if (!SWIG_IsOK(res1
)) {
28487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28489 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28493 wxPyEndAllowThreads(__tstate
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28509 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28510 PyObject
*resultobj
= 0;
28511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28515 PyObject
*swig_obj
[1] ;
28517 if (!args
) SWIG_fail
;
28518 swig_obj
[0] = args
;
28519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28520 if (!SWIG_IsOK(res1
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28523 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28526 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28543 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28544 PyObject
*resultobj
= 0;
28545 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28549 PyObject
*swig_obj
[1] ;
28551 if (!args
) SWIG_fail
;
28552 swig_obj
[0] = args
;
28553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28554 if (!SWIG_IsOK(res1
)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28557 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28561 wxPyEndAllowThreads(__tstate
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28577 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28578 PyObject
*resultobj
= 0;
28579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28583 PyObject
*swig_obj
[1] ;
28585 if (!args
) SWIG_fail
;
28586 swig_obj
[0] = args
;
28587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28588 if (!SWIG_IsOK(res1
)) {
28589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28591 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28595 wxPyEndAllowThreads(__tstate
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28611 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28613 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28614 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28615 return SWIG_Py_Void();
28618 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28619 return SWIG_Python_InitShadowInstance(args
);
28622 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28623 PyObject
*resultobj
= 0;
28628 PyObject
* obj0
= 0 ;
28629 char * kwnames
[] = {
28630 (char *) "ms", NULL
28633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28634 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28635 if (!SWIG_IsOK(ecode1
)) {
28636 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28638 arg1
= static_cast< long >(val1
);
28640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28641 result
= wxTimeSpan::Milliseconds(arg1
);
28642 wxPyEndAllowThreads(__tstate
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28645 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28652 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28653 PyObject
*resultobj
= 0;
28656 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 result
= wxTimeSpan::Millisecond();
28660 wxPyEndAllowThreads(__tstate
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28670 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
= 0;
28676 PyObject
* obj0
= 0 ;
28677 char * kwnames
[] = {
28678 (char *) "sec", NULL
28681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28682 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28683 if (!SWIG_IsOK(ecode1
)) {
28684 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28686 arg1
= static_cast< long >(val1
);
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= wxTimeSpan::Seconds(arg1
);
28690 wxPyEndAllowThreads(__tstate
);
28691 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28700 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28701 PyObject
*resultobj
= 0;
28704 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 result
= wxTimeSpan::Second();
28708 wxPyEndAllowThreads(__tstate
);
28709 if (PyErr_Occurred()) SWIG_fail
;
28711 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28718 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
= 0;
28724 PyObject
* obj0
= 0 ;
28725 char * kwnames
[] = {
28726 (char *) "min", NULL
28729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28730 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28731 if (!SWIG_IsOK(ecode1
)) {
28732 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28734 arg1
= static_cast< long >(val1
);
28736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28737 result
= wxTimeSpan::Minutes(arg1
);
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28741 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28748 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28749 PyObject
*resultobj
= 0;
28752 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 result
= wxTimeSpan::Minute();
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28766 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
= 0;
28772 PyObject
* obj0
= 0 ;
28773 char * kwnames
[] = {
28774 (char *) "hours", NULL
28777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28778 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28779 if (!SWIG_IsOK(ecode1
)) {
28780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28782 arg1
= static_cast< long >(val1
);
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= wxTimeSpan::Hours(arg1
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28796 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28797 PyObject
*resultobj
= 0;
28800 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 result
= wxTimeSpan::Hour();
28804 wxPyEndAllowThreads(__tstate
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28807 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28814 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28815 PyObject
*resultobj
= 0;
28820 PyObject
* obj0
= 0 ;
28821 char * kwnames
[] = {
28822 (char *) "days", NULL
28825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28826 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28827 if (!SWIG_IsOK(ecode1
)) {
28828 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28830 arg1
= static_cast< long >(val1
);
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 result
= wxTimeSpan::Days(arg1
);
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28837 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28844 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28845 PyObject
*resultobj
= 0;
28848 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= wxTimeSpan::Day();
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28862 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28863 PyObject
*resultobj
= 0;
28868 PyObject
* obj0
= 0 ;
28869 char * kwnames
[] = {
28870 (char *) "days", NULL
28873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28874 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28875 if (!SWIG_IsOK(ecode1
)) {
28876 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28878 arg1
= static_cast< long >(val1
);
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 result
= wxTimeSpan::Weeks(arg1
);
28882 wxPyEndAllowThreads(__tstate
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28885 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28892 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28893 PyObject
*resultobj
= 0;
28896 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 result
= wxTimeSpan::Week();
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28910 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
= 0;
28912 long arg1
= (long) 0 ;
28913 long arg2
= (long) 0 ;
28914 long arg3
= (long) 0 ;
28915 long arg4
= (long) 0 ;
28916 wxTimeSpan
*result
= 0 ;
28925 PyObject
* obj0
= 0 ;
28926 PyObject
* obj1
= 0 ;
28927 PyObject
* obj2
= 0 ;
28928 PyObject
* obj3
= 0 ;
28929 char * kwnames
[] = {
28930 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
28933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28935 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28936 if (!SWIG_IsOK(ecode1
)) {
28937 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
28939 arg1
= static_cast< long >(val1
);
28942 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28943 if (!SWIG_IsOK(ecode2
)) {
28944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
28946 arg2
= static_cast< long >(val2
);
28949 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28950 if (!SWIG_IsOK(ecode3
)) {
28951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
28953 arg3
= static_cast< long >(val3
);
28956 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28957 if (!SWIG_IsOK(ecode4
)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
28960 arg4
= static_cast< long >(val4
);
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
28975 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28976 PyObject
*resultobj
= 0;
28977 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28980 PyObject
*swig_obj
[1] ;
28982 if (!args
) SWIG_fail
;
28983 swig_obj
[0] = args
;
28984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28985 if (!SWIG_IsOK(res1
)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28988 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28996 resultobj
= SWIG_Py_Void();
29003 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29004 PyObject
*resultobj
= 0;
29005 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29006 wxTimeSpan
*arg2
= 0 ;
29007 wxTimeSpan
*result
= 0 ;
29012 PyObject
* obj0
= 0 ;
29013 PyObject
* obj1
= 0 ;
29014 char * kwnames
[] = {
29015 (char *) "self",(char *) "diff", NULL
29018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29020 if (!SWIG_IsOK(res1
)) {
29021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29023 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29025 if (!SWIG_IsOK(res2
)) {
29026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29031 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
29036 result
= (wxTimeSpan
*) &_result_ref
;
29038 wxPyEndAllowThreads(__tstate
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29048 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
= 0;
29050 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29051 wxTimeSpan
*arg2
= 0 ;
29052 wxTimeSpan
*result
= 0 ;
29057 PyObject
* obj0
= 0 ;
29058 PyObject
* obj1
= 0 ;
29059 char * kwnames
[] = {
29060 (char *) "self",(char *) "diff", NULL
29063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29065 if (!SWIG_IsOK(res1
)) {
29066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29068 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29070 if (!SWIG_IsOK(res2
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29076 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
29081 result
= (wxTimeSpan
*) &_result_ref
;
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29093 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
= 0;
29095 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29097 wxTimeSpan
*result
= 0 ;
29102 PyObject
* obj0
= 0 ;
29103 PyObject
* obj1
= 0 ;
29104 char * kwnames
[] = {
29105 (char *) "self",(char *) "n", NULL
29108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29110 if (!SWIG_IsOK(res1
)) {
29111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29113 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29115 if (!SWIG_IsOK(ecode2
)) {
29116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29118 arg2
= static_cast< int >(val2
);
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29122 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29123 result
= (wxTimeSpan
*) &_result_ref
;
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29135 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29136 PyObject
*resultobj
= 0;
29137 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29138 wxTimeSpan
*result
= 0 ;
29141 PyObject
*swig_obj
[1] ;
29143 if (!args
) SWIG_fail
;
29144 swig_obj
[0] = args
;
29145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29146 if (!SWIG_IsOK(res1
)) {
29147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29149 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
29154 result
= (wxTimeSpan
*) &_result_ref
;
29156 wxPyEndAllowThreads(__tstate
);
29157 if (PyErr_Occurred()) SWIG_fail
;
29159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29166 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29167 PyObject
*resultobj
= 0;
29168 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29172 PyObject
*swig_obj
[1] ;
29174 if (!args
) SWIG_fail
;
29175 swig_obj
[0] = args
;
29176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29177 if (!SWIG_IsOK(res1
)) {
29178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29180 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29194 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
= 0;
29196 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29197 wxTimeSpan
*arg2
= 0 ;
29198 wxTimeSpan
*result
= 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char * kwnames
[] = {
29206 (char *) "self",(char *) "diff", NULL
29209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29214 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29216 if (!SWIG_IsOK(res2
)) {
29217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29222 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29227 result
= (wxTimeSpan
*) &_result_ref
;
29229 wxPyEndAllowThreads(__tstate
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29239 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
= 0;
29241 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29242 wxTimeSpan
*arg2
= 0 ;
29243 wxTimeSpan
*result
= 0 ;
29248 PyObject
* obj0
= 0 ;
29249 PyObject
* obj1
= 0 ;
29250 char * kwnames
[] = {
29251 (char *) "self",(char *) "diff", NULL
29254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29256 if (!SWIG_IsOK(res1
)) {
29257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29259 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29261 if (!SWIG_IsOK(res2
)) {
29262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29267 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29272 result
= (wxTimeSpan
*) &_result_ref
;
29274 wxPyEndAllowThreads(__tstate
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29284 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29285 PyObject
*resultobj
= 0;
29286 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29288 wxTimeSpan
*result
= 0 ;
29293 PyObject
* obj0
= 0 ;
29294 PyObject
* obj1
= 0 ;
29295 char * kwnames
[] = {
29296 (char *) "self",(char *) "n", NULL
29299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29301 if (!SWIG_IsOK(res1
)) {
29302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29304 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29306 if (!SWIG_IsOK(ecode2
)) {
29307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29309 arg2
= static_cast< int >(val2
);
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29314 result
= (wxTimeSpan
*) &_result_ref
;
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29326 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29327 PyObject
*resultobj
= 0;
29328 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29329 wxTimeSpan
*result
= 0 ;
29332 PyObject
*swig_obj
[1] ;
29334 if (!args
) SWIG_fail
;
29335 swig_obj
[0] = args
;
29336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29337 if (!SWIG_IsOK(res1
)) {
29338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29340 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29345 result
= (wxTimeSpan
*) &_result_ref
;
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29357 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
= 0;
29359 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29360 wxTimeSpan
*arg2
= 0 ;
29366 PyObject
* obj0
= 0 ;
29367 PyObject
* obj1
= 0 ;
29368 char * kwnames
[] = {
29369 (char *) "self",(char *) "other", NULL
29372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29374 if (!SWIG_IsOK(res1
)) {
29375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29377 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29379 if (!SWIG_IsOK(res2
)) {
29380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29385 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29388 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29389 wxPyEndAllowThreads(__tstate
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29392 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29399 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29400 PyObject
*resultobj
= 0;
29401 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29402 wxTimeSpan
*arg2
= 0 ;
29408 PyObject
* obj0
= 0 ;
29409 PyObject
* obj1
= 0 ;
29410 char * kwnames
[] = {
29411 (char *) "self",(char *) "other", NULL
29414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29416 if (!SWIG_IsOK(res1
)) {
29417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29419 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29420 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29421 if (!SWIG_IsOK(res2
)) {
29422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29427 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29434 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29441 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29442 PyObject
*resultobj
= 0;
29443 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29450 PyObject
* obj0
= 0 ;
29451 PyObject
* obj1
= 0 ;
29452 char * kwnames
[] = {
29453 (char *) "self",(char *) "n", NULL
29456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29458 if (!SWIG_IsOK(res1
)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29461 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29463 if (!SWIG_IsOK(ecode2
)) {
29464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29466 arg2
= static_cast< int >(val2
);
29468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29469 result
= wxTimeSpan___mul__(arg1
,arg2
);
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29480 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29481 PyObject
*resultobj
= 0;
29482 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29489 PyObject
* obj0
= 0 ;
29490 PyObject
* obj1
= 0 ;
29491 char * kwnames
[] = {
29492 (char *) "self",(char *) "n", NULL
29495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29497 if (!SWIG_IsOK(res1
)) {
29498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29500 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29502 if (!SWIG_IsOK(ecode2
)) {
29503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29505 arg2
= static_cast< int >(val2
);
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29509 wxPyEndAllowThreads(__tstate
);
29510 if (PyErr_Occurred()) SWIG_fail
;
29512 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29519 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29520 PyObject
*resultobj
= 0;
29521 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29522 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29528 PyObject
* obj0
= 0 ;
29529 PyObject
* obj1
= 0 ;
29530 char * kwnames
[] = {
29531 (char *) "self",(char *) "other", NULL
29534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29536 if (!SWIG_IsOK(res1
)) {
29537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29539 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29541 if (!SWIG_IsOK(res2
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29544 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29547 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29560 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29561 PyObject
*resultobj
= 0;
29562 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29563 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29569 PyObject
* obj0
= 0 ;
29570 PyObject
* obj1
= 0 ;
29571 char * kwnames
[] = {
29572 (char *) "self",(char *) "other", NULL
29575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29577 if (!SWIG_IsOK(res1
)) {
29578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29580 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29582 if (!SWIG_IsOK(res2
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29585 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29601 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29602 PyObject
*resultobj
= 0;
29603 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29604 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29610 PyObject
* obj0
= 0 ;
29611 PyObject
* obj1
= 0 ;
29612 char * kwnames
[] = {
29613 (char *) "self",(char *) "other", NULL
29616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29621 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29623 if (!SWIG_IsOK(res2
)) {
29624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29626 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29629 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29630 wxPyEndAllowThreads(__tstate
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29642 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29643 PyObject
*resultobj
= 0;
29644 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29645 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29651 PyObject
* obj0
= 0 ;
29652 PyObject
* obj1
= 0 ;
29653 char * kwnames
[] = {
29654 (char *) "self",(char *) "other", NULL
29657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29659 if (!SWIG_IsOK(res1
)) {
29660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29662 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29664 if (!SWIG_IsOK(res2
)) {
29665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29667 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29670 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29683 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29684 PyObject
*resultobj
= 0;
29685 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29686 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29692 PyObject
* obj0
= 0 ;
29693 PyObject
* obj1
= 0 ;
29694 char * kwnames
[] = {
29695 (char *) "self",(char *) "other", NULL
29698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29700 if (!SWIG_IsOK(res1
)) {
29701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29703 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29704 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29705 if (!SWIG_IsOK(res2
)) {
29706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29708 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29724 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
= 0;
29726 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29727 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29733 PyObject
* obj0
= 0 ;
29734 PyObject
* obj1
= 0 ;
29735 char * kwnames
[] = {
29736 (char *) "self",(char *) "other", NULL
29739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29741 if (!SWIG_IsOK(res1
)) {
29742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29744 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29745 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29746 if (!SWIG_IsOK(res2
)) {
29747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29749 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29765 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29766 PyObject
*resultobj
= 0;
29767 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29771 PyObject
*swig_obj
[1] ;
29773 if (!args
) SWIG_fail
;
29774 swig_obj
[0] = args
;
29775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29776 if (!SWIG_IsOK(res1
)) {
29777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29779 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29783 wxPyEndAllowThreads(__tstate
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29795 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29796 PyObject
*resultobj
= 0;
29797 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29801 PyObject
*swig_obj
[1] ;
29803 if (!args
) SWIG_fail
;
29804 swig_obj
[0] = args
;
29805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29806 if (!SWIG_IsOK(res1
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29809 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29825 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29826 PyObject
*resultobj
= 0;
29827 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29831 PyObject
*swig_obj
[1] ;
29833 if (!args
) SWIG_fail
;
29834 swig_obj
[0] = args
;
29835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29836 if (!SWIG_IsOK(res1
)) {
29837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29839 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29855 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29856 PyObject
*resultobj
= 0;
29857 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29858 wxTimeSpan
*arg2
= 0 ;
29864 PyObject
* obj0
= 0 ;
29865 PyObject
* obj1
= 0 ;
29866 char * kwnames
[] = {
29867 (char *) "self",(char *) "ts", NULL
29870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29872 if (!SWIG_IsOK(res1
)) {
29873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29875 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29877 if (!SWIG_IsOK(res2
)) {
29878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29883 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29886 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29887 wxPyEndAllowThreads(__tstate
);
29888 if (PyErr_Occurred()) SWIG_fail
;
29891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29899 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
= 0;
29901 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29902 wxTimeSpan
*arg2
= 0 ;
29908 PyObject
* obj0
= 0 ;
29909 PyObject
* obj1
= 0 ;
29910 char * kwnames
[] = {
29911 (char *) "self",(char *) "ts", NULL
29914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29916 if (!SWIG_IsOK(res1
)) {
29917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29919 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29921 if (!SWIG_IsOK(res2
)) {
29922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29927 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29930 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29931 wxPyEndAllowThreads(__tstate
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29943 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
= 0;
29945 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29946 wxTimeSpan
*arg2
= 0 ;
29952 PyObject
* obj0
= 0 ;
29953 PyObject
* obj1
= 0 ;
29954 char * kwnames
[] = {
29955 (char *) "self",(char *) "t", NULL
29958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29960 if (!SWIG_IsOK(res1
)) {
29961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29963 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29965 if (!SWIG_IsOK(res2
)) {
29966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29971 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29974 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
29975 wxPyEndAllowThreads(__tstate
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29987 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29988 PyObject
*resultobj
= 0;
29989 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29993 PyObject
*swig_obj
[1] ;
29995 if (!args
) SWIG_fail
;
29996 swig_obj
[0] = args
;
29997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29998 if (!SWIG_IsOK(res1
)) {
29999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30001 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
30005 wxPyEndAllowThreads(__tstate
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30008 resultobj
= SWIG_From_int(static_cast< int >(result
));
30015 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30016 PyObject
*resultobj
= 0;
30017 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30021 PyObject
*swig_obj
[1] ;
30023 if (!args
) SWIG_fail
;
30024 swig_obj
[0] = args
;
30025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30026 if (!SWIG_IsOK(res1
)) {
30027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30029 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30032 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
30033 wxPyEndAllowThreads(__tstate
);
30034 if (PyErr_Occurred()) SWIG_fail
;
30036 resultobj
= SWIG_From_int(static_cast< int >(result
));
30043 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30044 PyObject
*resultobj
= 0;
30045 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30049 PyObject
*swig_obj
[1] ;
30051 if (!args
) SWIG_fail
;
30052 swig_obj
[0] = args
;
30053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30054 if (!SWIG_IsOK(res1
)) {
30055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30057 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30060 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
30061 wxPyEndAllowThreads(__tstate
);
30062 if (PyErr_Occurred()) SWIG_fail
;
30064 resultobj
= SWIG_From_int(static_cast< int >(result
));
30071 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30072 PyObject
*resultobj
= 0;
30073 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30077 PyObject
*swig_obj
[1] ;
30079 if (!args
) SWIG_fail
;
30080 swig_obj
[0] = args
;
30081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30082 if (!SWIG_IsOK(res1
)) {
30083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30085 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30088 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
30089 wxPyEndAllowThreads(__tstate
);
30090 if (PyErr_Occurred()) SWIG_fail
;
30092 resultobj
= SWIG_From_int(static_cast< int >(result
));
30099 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30100 PyObject
*resultobj
= 0;
30101 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30105 PyObject
*swig_obj
[1] ;
30107 if (!args
) SWIG_fail
;
30108 swig_obj
[0] = args
;
30109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30110 if (!SWIG_IsOK(res1
)) {
30111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30113 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
30117 wxPyEndAllowThreads(__tstate
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30121 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30122 hi
= PyLong_FromLong( (&result
)->GetHi() );
30123 lo
= PyLong_FromLong( (&result
)->GetLo() );
30124 shifter
= PyLong_FromLong(32);
30125 shifted
= PyNumber_Lshift(hi
, shifter
);
30126 resultobj
= PyNumber_Or(shifted
, lo
);
30129 Py_DECREF(shifter
);
30130 Py_DECREF(shifted
);
30138 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30139 PyObject
*resultobj
= 0;
30140 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30144 PyObject
*swig_obj
[1] ;
30146 if (!args
) SWIG_fail
;
30147 swig_obj
[0] = args
;
30148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30149 if (!SWIG_IsOK(res1
)) {
30150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30152 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30155 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
30156 wxPyEndAllowThreads(__tstate
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30160 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30161 hi
= PyLong_FromLong( (&result
)->GetHi() );
30162 lo
= PyLong_FromLong( (&result
)->GetLo() );
30163 shifter
= PyLong_FromLong(32);
30164 shifted
= PyNumber_Lshift(hi
, shifter
);
30165 resultobj
= PyNumber_Or(shifted
, lo
);
30168 Py_DECREF(shifter
);
30169 Py_DECREF(shifted
);
30177 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30178 PyObject
*resultobj
= 0;
30179 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30180 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30181 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30185 bool temp2
= false ;
30186 PyObject
* obj0
= 0 ;
30187 PyObject
* obj1
= 0 ;
30188 char * kwnames
[] = {
30189 (char *) "self",(char *) "format", NULL
30192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30194 if (!SWIG_IsOK(res1
)) {
30195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30197 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30200 arg2
= wxString_in_helper(obj1
);
30201 if (arg2
== NULL
) SWIG_fail
;
30206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30207 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30208 wxPyEndAllowThreads(__tstate
);
30209 if (PyErr_Occurred()) SWIG_fail
;
30213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30232 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30235 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30236 return SWIG_Py_Void();
30239 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30240 return SWIG_Python_InitShadowInstance(args
);
30243 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30244 PyObject
*resultobj
= 0;
30245 int arg1
= (int) 0 ;
30246 int arg2
= (int) 0 ;
30247 int arg3
= (int) 0 ;
30248 int arg4
= (int) 0 ;
30249 wxDateSpan
*result
= 0 ;
30258 PyObject
* obj0
= 0 ;
30259 PyObject
* obj1
= 0 ;
30260 PyObject
* obj2
= 0 ;
30261 PyObject
* obj3
= 0 ;
30262 char * kwnames
[] = {
30263 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30268 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30269 if (!SWIG_IsOK(ecode1
)) {
30270 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30272 arg1
= static_cast< int >(val1
);
30275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30276 if (!SWIG_IsOK(ecode2
)) {
30277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30279 arg2
= static_cast< int >(val2
);
30282 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30283 if (!SWIG_IsOK(ecode3
)) {
30284 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30286 arg3
= static_cast< int >(val3
);
30289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30290 if (!SWIG_IsOK(ecode4
)) {
30291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30293 arg4
= static_cast< int >(val4
);
30296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30297 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30298 wxPyEndAllowThreads(__tstate
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30308 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30309 PyObject
*resultobj
= 0;
30310 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30313 PyObject
*swig_obj
[1] ;
30315 if (!args
) SWIG_fail
;
30316 swig_obj
[0] = args
;
30317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30318 if (!SWIG_IsOK(res1
)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30321 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30329 resultobj
= SWIG_Py_Void();
30336 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30337 PyObject
*resultobj
= 0;
30342 PyObject
* obj0
= 0 ;
30343 char * kwnames
[] = {
30344 (char *) "days", NULL
30347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30349 if (!SWIG_IsOK(ecode1
)) {
30350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30352 arg1
= static_cast< int >(val1
);
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 result
= wxDateSpan::Days(arg1
);
30356 wxPyEndAllowThreads(__tstate
);
30357 if (PyErr_Occurred()) SWIG_fail
;
30359 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30366 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30367 PyObject
*resultobj
= 0;
30370 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30373 result
= wxDateSpan::Day();
30374 wxPyEndAllowThreads(__tstate
);
30375 if (PyErr_Occurred()) SWIG_fail
;
30377 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30384 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30385 PyObject
*resultobj
= 0;
30390 PyObject
* obj0
= 0 ;
30391 char * kwnames
[] = {
30392 (char *) "weeks", NULL
30395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30396 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30397 if (!SWIG_IsOK(ecode1
)) {
30398 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30400 arg1
= static_cast< int >(val1
);
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 result
= wxDateSpan::Weeks(arg1
);
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30414 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30415 PyObject
*resultobj
= 0;
30418 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30421 result
= wxDateSpan::Week();
30422 wxPyEndAllowThreads(__tstate
);
30423 if (PyErr_Occurred()) SWIG_fail
;
30425 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30432 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
= 0;
30438 PyObject
* obj0
= 0 ;
30439 char * kwnames
[] = {
30440 (char *) "mon", NULL
30443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30444 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30445 if (!SWIG_IsOK(ecode1
)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30448 arg1
= static_cast< int >(val1
);
30450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30451 result
= wxDateSpan::Months(arg1
);
30452 wxPyEndAllowThreads(__tstate
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30455 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30462 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30463 PyObject
*resultobj
= 0;
30466 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30469 result
= wxDateSpan::Month();
30470 wxPyEndAllowThreads(__tstate
);
30471 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30480 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30481 PyObject
*resultobj
= 0;
30486 PyObject
* obj0
= 0 ;
30487 char * kwnames
[] = {
30488 (char *) "years", NULL
30491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30492 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30493 if (!SWIG_IsOK(ecode1
)) {
30494 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30496 arg1
= static_cast< int >(val1
);
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= wxDateSpan::Years(arg1
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30510 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30511 PyObject
*resultobj
= 0;
30514 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30517 result
= wxDateSpan::Year();
30518 wxPyEndAllowThreads(__tstate
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30528 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
= 0;
30530 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30532 wxDateSpan
*result
= 0 ;
30537 PyObject
* obj0
= 0 ;
30538 PyObject
* obj1
= 0 ;
30539 char * kwnames
[] = {
30540 (char *) "self",(char *) "n", NULL
30543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30545 if (!SWIG_IsOK(res1
)) {
30546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30548 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30550 if (!SWIG_IsOK(ecode2
)) {
30551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30553 arg2
= static_cast< int >(val2
);
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30557 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30558 result
= (wxDateSpan
*) &_result_ref
;
30560 wxPyEndAllowThreads(__tstate
);
30561 if (PyErr_Occurred()) SWIG_fail
;
30563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30570 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30571 PyObject
*resultobj
= 0;
30572 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30574 wxDateSpan
*result
= 0 ;
30579 PyObject
* obj0
= 0 ;
30580 PyObject
* obj1
= 0 ;
30581 char * kwnames
[] = {
30582 (char *) "self",(char *) "n", NULL
30585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30587 if (!SWIG_IsOK(res1
)) {
30588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30590 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30592 if (!SWIG_IsOK(ecode2
)) {
30593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30595 arg2
= static_cast< int >(val2
);
30597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30600 result
= (wxDateSpan
*) &_result_ref
;
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30612 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30613 PyObject
*resultobj
= 0;
30614 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30616 wxDateSpan
*result
= 0 ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 char * kwnames
[] = {
30624 (char *) "self",(char *) "n", NULL
30627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30629 if (!SWIG_IsOK(res1
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30632 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30634 if (!SWIG_IsOK(ecode2
)) {
30635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30637 arg2
= static_cast< int >(val2
);
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30642 result
= (wxDateSpan
*) &_result_ref
;
30644 wxPyEndAllowThreads(__tstate
);
30645 if (PyErr_Occurred()) SWIG_fail
;
30647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30654 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30655 PyObject
*resultobj
= 0;
30656 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30658 wxDateSpan
*result
= 0 ;
30663 PyObject
* obj0
= 0 ;
30664 PyObject
* obj1
= 0 ;
30665 char * kwnames
[] = {
30666 (char *) "self",(char *) "n", NULL
30669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30671 if (!SWIG_IsOK(res1
)) {
30672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30674 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30676 if (!SWIG_IsOK(ecode2
)) {
30677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30679 arg2
= static_cast< int >(val2
);
30681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30683 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30684 result
= (wxDateSpan
*) &_result_ref
;
30686 wxPyEndAllowThreads(__tstate
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30696 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30697 PyObject
*resultobj
= 0;
30698 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30702 PyObject
*swig_obj
[1] ;
30704 if (!args
) SWIG_fail
;
30705 swig_obj
[0] = args
;
30706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30707 if (!SWIG_IsOK(res1
)) {
30708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30710 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30714 wxPyEndAllowThreads(__tstate
);
30715 if (PyErr_Occurred()) SWIG_fail
;
30717 resultobj
= SWIG_From_int(static_cast< int >(result
));
30724 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30725 PyObject
*resultobj
= 0;
30726 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30730 PyObject
*swig_obj
[1] ;
30732 if (!args
) SWIG_fail
;
30733 swig_obj
[0] = args
;
30734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30735 if (!SWIG_IsOK(res1
)) {
30736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30738 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30741 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30742 wxPyEndAllowThreads(__tstate
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30745 resultobj
= SWIG_From_int(static_cast< int >(result
));
30752 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30753 PyObject
*resultobj
= 0;
30754 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30758 PyObject
*swig_obj
[1] ;
30760 if (!args
) SWIG_fail
;
30761 swig_obj
[0] = args
;
30762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30763 if (!SWIG_IsOK(res1
)) {
30764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30766 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30769 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30770 wxPyEndAllowThreads(__tstate
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30773 resultobj
= SWIG_From_int(static_cast< int >(result
));
30780 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30781 PyObject
*resultobj
= 0;
30782 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30786 PyObject
*swig_obj
[1] ;
30788 if (!args
) SWIG_fail
;
30789 swig_obj
[0] = args
;
30790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30791 if (!SWIG_IsOK(res1
)) {
30792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30794 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30797 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30798 wxPyEndAllowThreads(__tstate
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30801 resultobj
= SWIG_From_int(static_cast< int >(result
));
30808 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30809 PyObject
*resultobj
= 0;
30810 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30814 PyObject
*swig_obj
[1] ;
30816 if (!args
) SWIG_fail
;
30817 swig_obj
[0] = args
;
30818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30819 if (!SWIG_IsOK(res1
)) {
30820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30822 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30826 wxPyEndAllowThreads(__tstate
);
30827 if (PyErr_Occurred()) SWIG_fail
;
30829 resultobj
= SWIG_From_int(static_cast< int >(result
));
30836 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30837 PyObject
*resultobj
= 0;
30838 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30839 wxDateSpan
*arg2
= 0 ;
30840 wxDateSpan
*result
= 0 ;
30845 PyObject
* obj0
= 0 ;
30846 PyObject
* obj1
= 0 ;
30847 char * kwnames
[] = {
30848 (char *) "self",(char *) "other", NULL
30851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30853 if (!SWIG_IsOK(res1
)) {
30854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30856 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30858 if (!SWIG_IsOK(res2
)) {
30859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30864 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30869 result
= (wxDateSpan
*) &_result_ref
;
30871 wxPyEndAllowThreads(__tstate
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30881 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30882 PyObject
*resultobj
= 0;
30883 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30884 wxDateSpan
*arg2
= 0 ;
30885 wxDateSpan
*result
= 0 ;
30890 PyObject
* obj0
= 0 ;
30891 PyObject
* obj1
= 0 ;
30892 char * kwnames
[] = {
30893 (char *) "self",(char *) "other", NULL
30896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30898 if (!SWIG_IsOK(res1
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30901 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30903 if (!SWIG_IsOK(res2
)) {
30904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30909 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30913 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30914 result
= (wxDateSpan
*) &_result_ref
;
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30926 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30927 PyObject
*resultobj
= 0;
30928 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30929 wxDateSpan
*result
= 0 ;
30932 PyObject
*swig_obj
[1] ;
30934 if (!args
) SWIG_fail
;
30935 swig_obj
[0] = args
;
30936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30937 if (!SWIG_IsOK(res1
)) {
30938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30940 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 wxDateSpan
&_result_ref
= (arg1
)->Neg();
30945 result
= (wxDateSpan
*) &_result_ref
;
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30957 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30958 PyObject
*resultobj
= 0;
30959 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30961 wxDateSpan
*result
= 0 ;
30966 PyObject
* obj0
= 0 ;
30967 PyObject
* obj1
= 0 ;
30968 char * kwnames
[] = {
30969 (char *) "self",(char *) "factor", NULL
30972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30974 if (!SWIG_IsOK(res1
)) {
30975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30977 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30979 if (!SWIG_IsOK(ecode2
)) {
30980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
30982 arg2
= static_cast< int >(val2
);
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
30987 result
= (wxDateSpan
*) &_result_ref
;
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30999 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
= 0;
31001 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31002 wxDateSpan
*arg2
= 0 ;
31003 wxDateSpan
*result
= 0 ;
31008 PyObject
* obj0
= 0 ;
31009 PyObject
* obj1
= 0 ;
31010 char * kwnames
[] = {
31011 (char *) "self",(char *) "other", NULL
31014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31016 if (!SWIG_IsOK(res1
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31019 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31020 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31021 if (!SWIG_IsOK(res2
)) {
31022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31027 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31031 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
31032 result
= (wxDateSpan
*) &_result_ref
;
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31044 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31045 PyObject
*resultobj
= 0;
31046 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31047 wxDateSpan
*arg2
= 0 ;
31048 wxDateSpan
*result
= 0 ;
31053 PyObject
* obj0
= 0 ;
31054 PyObject
* obj1
= 0 ;
31055 char * kwnames
[] = {
31056 (char *) "self",(char *) "other", NULL
31059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31061 if (!SWIG_IsOK(res1
)) {
31062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31064 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31066 if (!SWIG_IsOK(res2
)) {
31067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31072 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31076 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
31077 result
= (wxDateSpan
*) &_result_ref
;
31079 wxPyEndAllowThreads(__tstate
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31089 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31090 PyObject
*resultobj
= 0;
31091 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31092 wxDateSpan
*result
= 0 ;
31095 PyObject
*swig_obj
[1] ;
31097 if (!args
) SWIG_fail
;
31098 swig_obj
[0] = args
;
31099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31100 if (!SWIG_IsOK(res1
)) {
31101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31103 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31107 wxDateSpan
&_result_ref
= (arg1
)->operator -();
31108 result
= (wxDateSpan
*) &_result_ref
;
31110 wxPyEndAllowThreads(__tstate
);
31111 if (PyErr_Occurred()) SWIG_fail
;
31113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31120 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31121 PyObject
*resultobj
= 0;
31122 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31124 wxDateSpan
*result
= 0 ;
31129 PyObject
* obj0
= 0 ;
31130 PyObject
* obj1
= 0 ;
31131 char * kwnames
[] = {
31132 (char *) "self",(char *) "factor", NULL
31135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31137 if (!SWIG_IsOK(res1
)) {
31138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31140 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31142 if (!SWIG_IsOK(ecode2
)) {
31143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
31145 arg2
= static_cast< int >(val2
);
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31149 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
31150 result
= (wxDateSpan
*) &_result_ref
;
31152 wxPyEndAllowThreads(__tstate
);
31153 if (PyErr_Occurred()) SWIG_fail
;
31155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31162 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31163 PyObject
*resultobj
= 0;
31164 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31165 wxDateSpan
*arg2
= 0 ;
31171 PyObject
* obj0
= 0 ;
31172 PyObject
* obj1
= 0 ;
31173 char * kwnames
[] = {
31174 (char *) "self",(char *) "other", NULL
31177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31179 if (!SWIG_IsOK(res1
)) {
31180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31182 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31183 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31184 if (!SWIG_IsOK(res2
)) {
31185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31190 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31194 wxPyEndAllowThreads(__tstate
);
31195 if (PyErr_Occurred()) SWIG_fail
;
31197 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31204 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31205 PyObject
*resultobj
= 0;
31206 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31207 wxDateSpan
*arg2
= 0 ;
31213 PyObject
* obj0
= 0 ;
31214 PyObject
* obj1
= 0 ;
31215 char * kwnames
[] = {
31216 (char *) "self",(char *) "other", NULL
31219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31221 if (!SWIG_IsOK(res1
)) {
31222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31224 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31226 if (!SWIG_IsOK(res2
)) {
31227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31232 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31246 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
= 0;
31248 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31255 PyObject
* obj0
= 0 ;
31256 PyObject
* obj1
= 0 ;
31257 char * kwnames
[] = {
31258 (char *) "self",(char *) "n", NULL
31261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31263 if (!SWIG_IsOK(res1
)) {
31264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31266 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31268 if (!SWIG_IsOK(ecode2
)) {
31269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31271 arg2
= static_cast< int >(val2
);
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 result
= wxDateSpan___mul__(arg1
,arg2
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31278 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31285 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
= 0;
31287 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31294 PyObject
* obj0
= 0 ;
31295 PyObject
* obj1
= 0 ;
31296 char * kwnames
[] = {
31297 (char *) "self",(char *) "n", NULL
31300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31302 if (!SWIG_IsOK(res1
)) {
31303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31305 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31307 if (!SWIG_IsOK(ecode2
)) {
31308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31310 arg2
= static_cast< int >(val2
);
31312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31313 result
= wxDateSpan___rmul__(arg1
,arg2
);
31314 wxPyEndAllowThreads(__tstate
);
31315 if (PyErr_Occurred()) SWIG_fail
;
31317 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31324 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31325 PyObject
*resultobj
= 0;
31326 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31327 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31333 PyObject
* obj0
= 0 ;
31334 PyObject
* obj1
= 0 ;
31335 char * kwnames
[] = {
31336 (char *) "self",(char *) "other", NULL
31339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31341 if (!SWIG_IsOK(res1
)) {
31342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31344 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31346 if (!SWIG_IsOK(res2
)) {
31347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31349 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31352 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31353 wxPyEndAllowThreads(__tstate
);
31354 if (PyErr_Occurred()) SWIG_fail
;
31357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31365 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31366 PyObject
*resultobj
= 0;
31367 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31368 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31374 PyObject
* obj0
= 0 ;
31375 PyObject
* obj1
= 0 ;
31376 char * kwnames
[] = {
31377 (char *) "self",(char *) "other", NULL
31380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31382 if (!SWIG_IsOK(res1
)) {
31383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31385 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31387 if (!SWIG_IsOK(res2
)) {
31388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31390 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31393 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31406 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31409 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31410 return SWIG_Py_Void();
31413 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31414 return SWIG_Python_InitShadowInstance(args
);
31417 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31418 PyObject
*resultobj
= 0;
31421 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31424 result
= (long)wxGetLocalTime();
31425 wxPyEndAllowThreads(__tstate
);
31426 if (PyErr_Occurred()) SWIG_fail
;
31428 resultobj
= SWIG_From_long(static_cast< long >(result
));
31435 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31436 PyObject
*resultobj
= 0;
31439 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31442 result
= (long)wxGetUTCTime();
31443 wxPyEndAllowThreads(__tstate
);
31444 if (PyErr_Occurred()) SWIG_fail
;
31446 resultobj
= SWIG_From_long(static_cast< long >(result
));
31453 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31454 PyObject
*resultobj
= 0;
31457 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 result
= (long)wxGetCurrentTime();
31461 wxPyEndAllowThreads(__tstate
);
31462 if (PyErr_Occurred()) SWIG_fail
;
31464 resultobj
= SWIG_From_long(static_cast< long >(result
));
31471 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31472 PyObject
*resultobj
= 0;
31475 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31478 result
= wxGetLocalTimeMillis();
31479 wxPyEndAllowThreads(__tstate
);
31480 if (PyErr_Occurred()) SWIG_fail
;
31483 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31484 hi
= PyLong_FromLong( (&result
)->GetHi() );
31485 lo
= PyLong_FromLong( (&result
)->GetLo() );
31486 shifter
= PyLong_FromLong(32);
31487 shifted
= PyNumber_Lshift(hi
, shifter
);
31488 resultobj
= PyNumber_Or(shifted
, lo
);
31491 Py_DECREF(shifter
);
31492 Py_DECREF(shifted
);
31500 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31501 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31506 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31507 PyObject
*pyobj
= 0;
31509 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31514 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31515 PyObject
*resultobj
= 0;
31516 wxDataFormatId arg1
;
31517 wxDataFormat
*result
= 0 ;
31520 PyObject
* obj0
= 0 ;
31521 char * kwnames
[] = {
31522 (char *) "type", NULL
31525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31526 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31527 if (!SWIG_IsOK(ecode1
)) {
31528 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31530 arg1
= static_cast< wxDataFormatId
>(val1
);
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31544 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31545 PyObject
*resultobj
= 0;
31546 wxString
*arg1
= 0 ;
31547 wxDataFormat
*result
= 0 ;
31548 bool temp1
= false ;
31549 PyObject
* obj0
= 0 ;
31550 char * kwnames
[] = {
31551 (char *) "format", NULL
31554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31556 arg1
= wxString_in_helper(obj0
);
31557 if (arg1
== NULL
) SWIG_fail
;
31561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31562 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31563 wxPyEndAllowThreads(__tstate
);
31564 if (PyErr_Occurred()) SWIG_fail
;
31566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31581 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31582 PyObject
*resultobj
= 0;
31583 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31586 PyObject
*swig_obj
[1] ;
31588 if (!args
) SWIG_fail
;
31589 swig_obj
[0] = args
;
31590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31591 if (!SWIG_IsOK(res1
)) {
31592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31594 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31599 wxPyEndAllowThreads(__tstate
);
31600 if (PyErr_Occurred()) SWIG_fail
;
31602 resultobj
= SWIG_Py_Void();
31609 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31610 PyObject
*resultobj
= 0;
31611 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31612 wxDataFormatId arg2
;
31619 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31621 if (!SWIG_IsOK(res1
)) {
31622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31624 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31625 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31626 if (!SWIG_IsOK(ecode2
)) {
31627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31629 arg2
= static_cast< wxDataFormatId
>(val2
);
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31645 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31646 PyObject
*resultobj
= 0;
31647 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31648 wxDataFormatId arg2
;
31655 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31657 if (!SWIG_IsOK(res1
)) {
31658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31660 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31661 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31662 if (!SWIG_IsOK(ecode2
)) {
31663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31665 arg2
= static_cast< wxDataFormatId
>(val2
);
31667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31668 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31681 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31682 PyObject
*resultobj
= 0;
31683 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31684 wxDataFormat
*arg2
= 0 ;
31691 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31693 if (!SWIG_IsOK(res1
)) {
31694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31696 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31697 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31698 if (!SWIG_IsOK(res2
)) {
31699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31704 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31720 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31724 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31729 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31730 _v
= SWIG_CheckState(res
);
31732 if (!_v
) goto check_1
;
31733 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31738 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31742 Py_INCREF(Py_NotImplemented
);
31743 return Py_NotImplemented
;
31747 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31748 PyObject
*resultobj
= 0;
31749 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31750 wxDataFormat
*arg2
= 0 ;
31757 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31759 if (!SWIG_IsOK(res1
)) {
31760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31762 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31763 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31764 if (!SWIG_IsOK(res2
)) {
31765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31770 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31773 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31774 wxPyEndAllowThreads(__tstate
);
31775 if (PyErr_Occurred()) SWIG_fail
;
31778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31786 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31790 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31795 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31796 _v
= SWIG_CheckState(res
);
31798 if (!_v
) goto check_1
;
31799 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31804 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31808 Py_INCREF(Py_NotImplemented
);
31809 return Py_NotImplemented
;
31813 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31814 PyObject
*resultobj
= 0;
31815 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31816 wxDataFormatId arg2
;
31821 PyObject
* obj0
= 0 ;
31822 PyObject
* obj1
= 0 ;
31823 char * kwnames
[] = {
31824 (char *) "self",(char *) "format", NULL
31827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31829 if (!SWIG_IsOK(res1
)) {
31830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31832 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31834 if (!SWIG_IsOK(ecode2
)) {
31835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31837 arg2
= static_cast< wxDataFormatId
>(val2
);
31839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31840 (arg1
)->SetType(arg2
);
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_Py_Void();
31851 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31852 PyObject
*resultobj
= 0;
31853 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31854 wxDataFormatId result
;
31857 PyObject
*swig_obj
[1] ;
31859 if (!args
) SWIG_fail
;
31860 swig_obj
[0] = args
;
31861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31862 if (!SWIG_IsOK(res1
)) {
31863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31865 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31868 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31869 wxPyEndAllowThreads(__tstate
);
31870 if (PyErr_Occurred()) SWIG_fail
;
31872 resultobj
= SWIG_From_int(static_cast< int >(result
));
31879 SWIGINTERN PyObject
*_wrap_DataFormat__GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31880 PyObject
*resultobj
= 0;
31881 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31885 PyObject
*swig_obj
[1] ;
31887 if (!args
) SWIG_fail
;
31888 swig_obj
[0] = args
;
31889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31890 if (!SWIG_IsOK(res1
)) {
31891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat__GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31893 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31896 result
= ((wxDataFormat
const *)arg1
)->GetId();
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31913 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
= 0;
31915 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31916 wxString
*arg2
= 0 ;
31919 bool temp2
= false ;
31920 PyObject
* obj0
= 0 ;
31921 PyObject
* obj1
= 0 ;
31922 char * kwnames
[] = {
31923 (char *) "self",(char *) "format", NULL
31926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31928 if (!SWIG_IsOK(res1
)) {
31929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31931 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31933 arg2
= wxString_in_helper(obj1
);
31934 if (arg2
== NULL
) SWIG_fail
;
31938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31939 (arg1
)->SetId((wxString
const &)*arg2
);
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31943 resultobj
= SWIG_Py_Void();
31958 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31961 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
31962 return SWIG_Py_Void();
31965 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31966 return SWIG_Python_InitShadowInstance(args
);
31969 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
31970 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
31975 SWIGINTERN PyObject
*FormatInvalid_get(void) {
31976 PyObject
*pyobj
= 0;
31978 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
31983 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31984 PyObject
*resultobj
= 0;
31985 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31988 PyObject
*swig_obj
[1] ;
31990 if (!args
) SWIG_fail
;
31991 swig_obj
[0] = args
;
31992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
31993 if (!SWIG_IsOK(res1
)) {
31994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
31996 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32004 resultobj
= SWIG_Py_Void();
32011 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32012 PyObject
*resultobj
= 0;
32013 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32014 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32015 SwigValueWrapper
<wxDataFormat
> result
;
32020 PyObject
* obj0
= 0 ;
32021 PyObject
* obj1
= 0 ;
32022 char * kwnames
[] = {
32023 (char *) "self",(char *) "dir", NULL
32026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32028 if (!SWIG_IsOK(res1
)) {
32029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32031 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32034 if (!SWIG_IsOK(ecode2
)) {
32035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32037 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32041 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32045 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32052 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
= 0;
32054 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32055 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32061 PyObject
* obj0
= 0 ;
32062 PyObject
* obj1
= 0 ;
32063 char * kwnames
[] = {
32064 (char *) "self",(char *) "dir", NULL
32067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32069 if (!SWIG_IsOK(res1
)) {
32070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32072 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32075 if (!SWIG_IsOK(ecode2
)) {
32076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32078 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32082 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
32083 wxPyEndAllowThreads(__tstate
);
32084 if (PyErr_Occurred()) SWIG_fail
;
32086 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32093 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32094 PyObject
*resultobj
= 0;
32095 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32096 wxDataFormat
*arg2
= 0 ;
32097 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
32105 PyObject
* obj0
= 0 ;
32106 PyObject
* obj1
= 0 ;
32107 PyObject
* obj2
= 0 ;
32108 char * kwnames
[] = {
32109 (char *) "self",(char *) "format",(char *) "dir", NULL
32112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32114 if (!SWIG_IsOK(res1
)) {
32115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32117 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32119 if (!SWIG_IsOK(res2
)) {
32120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32125 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32128 if (!SWIG_IsOK(ecode3
)) {
32129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
32131 arg3
= static_cast< wxDataObject::Direction
>(val3
);
32134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32135 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32148 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32149 PyObject
*resultobj
= 0;
32150 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32151 wxDataFormat
*arg2
= 0 ;
32157 PyObject
* obj0
= 0 ;
32158 PyObject
* obj1
= 0 ;
32159 char * kwnames
[] = {
32160 (char *) "self",(char *) "format", NULL
32163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32165 if (!SWIG_IsOK(res1
)) {
32166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32168 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32170 if (!SWIG_IsOK(res2
)) {
32171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32176 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32179 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32180 wxPyEndAllowThreads(__tstate
);
32181 if (PyErr_Occurred()) SWIG_fail
;
32183 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32190 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32191 PyObject
*resultobj
= 0;
32192 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32193 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32194 PyObject
*result
= 0 ;
32199 PyObject
* obj0
= 0 ;
32200 PyObject
* obj1
= 0 ;
32201 char * kwnames
[] = {
32202 (char *) "self",(char *) "dir", NULL
32205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32207 if (!SWIG_IsOK(res1
)) {
32208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32210 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32213 if (!SWIG_IsOK(ecode2
)) {
32214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32216 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32220 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32221 wxPyEndAllowThreads(__tstate
);
32222 if (PyErr_Occurred()) SWIG_fail
;
32224 resultobj
= result
;
32231 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32232 PyObject
*resultobj
= 0;
32233 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32234 wxDataFormat
*arg2
= 0 ;
32235 PyObject
*result
= 0 ;
32240 PyObject
* obj0
= 0 ;
32241 PyObject
* obj1
= 0 ;
32242 char * kwnames
[] = {
32243 (char *) "self",(char *) "format", NULL
32246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32248 if (!SWIG_IsOK(res1
)) {
32249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32251 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32252 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32253 if (!SWIG_IsOK(res2
)) {
32254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32257 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32259 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32262 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32263 wxPyEndAllowThreads(__tstate
);
32264 if (PyErr_Occurred()) SWIG_fail
;
32266 resultobj
= result
;
32273 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32274 PyObject
*resultobj
= 0;
32275 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32276 wxDataFormat
*arg2
= 0 ;
32277 PyObject
*arg3
= (PyObject
*) 0 ;
32283 PyObject
* obj0
= 0 ;
32284 PyObject
* obj1
= 0 ;
32285 PyObject
* obj2
= 0 ;
32286 char * kwnames
[] = {
32287 (char *) "self",(char *) "format",(char *) "data", NULL
32290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32292 if (!SWIG_IsOK(res1
)) {
32293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32295 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32297 if (!SWIG_IsOK(res2
)) {
32298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32303 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32307 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32308 wxPyEndAllowThreads(__tstate
);
32309 if (PyErr_Occurred()) SWIG_fail
;
32312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32320 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32323 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32324 return SWIG_Py_Void();
32327 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
= 0;
32329 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32330 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32331 wxDataObjectSimple
*result
= 0 ;
32334 PyObject
* obj0
= 0 ;
32335 char * kwnames
[] = {
32336 (char *) "format", NULL
32339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32341 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32342 if (!SWIG_IsOK(res1
)) {
32343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32348 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32352 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32353 wxPyEndAllowThreads(__tstate
);
32354 if (PyErr_Occurred()) SWIG_fail
;
32356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32363 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32364 PyObject
*resultobj
= 0;
32365 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32366 wxDataFormat
*result
= 0 ;
32369 PyObject
*swig_obj
[1] ;
32371 if (!args
) SWIG_fail
;
32372 swig_obj
[0] = args
;
32373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32374 if (!SWIG_IsOK(res1
)) {
32375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32377 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32381 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32382 result
= (wxDataFormat
*) &_result_ref
;
32384 wxPyEndAllowThreads(__tstate
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32394 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32395 PyObject
*resultobj
= 0;
32396 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32397 wxDataFormat
*arg2
= 0 ;
32402 PyObject
* obj0
= 0 ;
32403 PyObject
* obj1
= 0 ;
32404 char * kwnames
[] = {
32405 (char *) "self",(char *) "format", NULL
32408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32410 if (!SWIG_IsOK(res1
)) {
32411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32413 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32414 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32415 if (!SWIG_IsOK(res2
)) {
32416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32421 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= SWIG_Py_Void();
32435 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32436 PyObject
*resultobj
= 0;
32437 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32441 PyObject
*swig_obj
[1] ;
32443 if (!args
) SWIG_fail
;
32444 swig_obj
[0] = args
;
32445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32446 if (!SWIG_IsOK(res1
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32449 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32452 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32463 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32464 PyObject
*resultobj
= 0;
32465 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32466 PyObject
*result
= 0 ;
32469 PyObject
*swig_obj
[1] ;
32471 if (!args
) SWIG_fail
;
32472 swig_obj
[0] = args
;
32473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32474 if (!SWIG_IsOK(res1
)) {
32475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32477 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32480 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32484 resultobj
= result
;
32491 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32492 PyObject
*resultobj
= 0;
32493 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32494 PyObject
*arg2
= (PyObject
*) 0 ;
32498 PyObject
* obj0
= 0 ;
32499 PyObject
* obj1
= 0 ;
32500 char * kwnames
[] = {
32501 (char *) "self",(char *) "data", NULL
32504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32506 if (!SWIG_IsOK(res1
)) {
32507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32509 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32513 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32514 wxPyEndAllowThreads(__tstate
);
32515 if (PyErr_Occurred()) SWIG_fail
;
32518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32526 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32529 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32530 return SWIG_Py_Void();
32533 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32534 return SWIG_Python_InitShadowInstance(args
);
32537 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32538 PyObject
*resultobj
= 0;
32539 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32540 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32541 wxPyDataObjectSimple
*result
= 0 ;
32544 PyObject
* obj0
= 0 ;
32545 char * kwnames
[] = {
32546 (char *) "format", NULL
32549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32551 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32552 if (!SWIG_IsOK(res1
)) {
32553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32558 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32563 wxPyEndAllowThreads(__tstate
);
32564 if (PyErr_Occurred()) SWIG_fail
;
32566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32573 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32574 PyObject
*resultobj
= 0;
32575 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32576 PyObject
*arg2
= (PyObject
*) 0 ;
32577 PyObject
*arg3
= (PyObject
*) 0 ;
32580 PyObject
* obj0
= 0 ;
32581 PyObject
* obj1
= 0 ;
32582 PyObject
* obj2
= 0 ;
32583 char * kwnames
[] = {
32584 (char *) "self",(char *) "self",(char *) "_class", NULL
32587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32589 if (!SWIG_IsOK(res1
)) {
32590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32592 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32597 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32598 wxPyEndAllowThreads(__tstate
);
32599 if (PyErr_Occurred()) SWIG_fail
;
32601 resultobj
= SWIG_Py_Void();
32608 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32611 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32612 return SWIG_Py_Void();
32615 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32616 return SWIG_Python_InitShadowInstance(args
);
32619 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32620 PyObject
*resultobj
= 0;
32621 wxDataObjectComposite
*result
= 0 ;
32623 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32637 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32638 PyObject
*resultobj
= 0;
32639 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32640 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32641 bool arg3
= (bool) false ;
32647 PyObject
* obj0
= 0 ;
32648 PyObject
* obj1
= 0 ;
32649 PyObject
* obj2
= 0 ;
32650 char * kwnames
[] = {
32651 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32656 if (!SWIG_IsOK(res1
)) {
32657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32659 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32660 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32661 if (!SWIG_IsOK(res2
)) {
32662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32665 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32666 if (!SWIG_IsOK(ecode3
)) {
32667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32669 arg3
= static_cast< bool >(val3
);
32672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32673 (arg1
)->Add(arg2
,arg3
);
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32677 resultobj
= SWIG_Py_Void();
32684 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32685 PyObject
*resultobj
= 0;
32686 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32687 SwigValueWrapper
<wxDataFormat
> result
;
32690 PyObject
*swig_obj
[1] ;
32692 if (!args
) SWIG_fail
;
32693 swig_obj
[0] = args
;
32694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32695 if (!SWIG_IsOK(res1
)) {
32696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32698 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32701 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32702 wxPyEndAllowThreads(__tstate
);
32703 if (PyErr_Occurred()) SWIG_fail
;
32705 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32712 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32715 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32716 return SWIG_Py_Void();
32719 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32720 return SWIG_Python_InitShadowInstance(args
);
32723 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32724 PyObject
*resultobj
= 0;
32725 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32726 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32727 wxTextDataObject
*result
= 0 ;
32728 bool temp1
= false ;
32729 PyObject
* obj0
= 0 ;
32730 char * kwnames
[] = {
32731 (char *) "text", NULL
32734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32737 arg1
= wxString_in_helper(obj0
);
32738 if (arg1
== NULL
) SWIG_fail
;
32743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32744 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32745 wxPyEndAllowThreads(__tstate
);
32746 if (PyErr_Occurred()) SWIG_fail
;
32748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32763 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32764 PyObject
*resultobj
= 0;
32765 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32769 PyObject
*swig_obj
[1] ;
32771 if (!args
) SWIG_fail
;
32772 swig_obj
[0] = args
;
32773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32774 if (!SWIG_IsOK(res1
)) {
32775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32777 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32780 result
= (size_t)(arg1
)->GetTextLength();
32781 wxPyEndAllowThreads(__tstate
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32784 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32791 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32792 PyObject
*resultobj
= 0;
32793 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32797 PyObject
*swig_obj
[1] ;
32799 if (!args
) SWIG_fail
;
32800 swig_obj
[0] = args
;
32801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32802 if (!SWIG_IsOK(res1
)) {
32803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32805 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 result
= (arg1
)->GetText();
32809 wxPyEndAllowThreads(__tstate
);
32810 if (PyErr_Occurred()) SWIG_fail
;
32814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32825 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32826 PyObject
*resultobj
= 0;
32827 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32828 wxString
*arg2
= 0 ;
32831 bool temp2
= false ;
32832 PyObject
* obj0
= 0 ;
32833 PyObject
* obj1
= 0 ;
32834 char * kwnames
[] = {
32835 (char *) "self",(char *) "text", NULL
32838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32840 if (!SWIG_IsOK(res1
)) {
32841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32843 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32845 arg2
= wxString_in_helper(obj1
);
32846 if (arg2
== NULL
) SWIG_fail
;
32850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32851 (arg1
)->SetText((wxString
const &)*arg2
);
32852 wxPyEndAllowThreads(__tstate
);
32853 if (PyErr_Occurred()) SWIG_fail
;
32855 resultobj
= SWIG_Py_Void();
32870 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32873 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32874 return SWIG_Py_Void();
32877 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32878 return SWIG_Python_InitShadowInstance(args
);
32881 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32882 PyObject
*resultobj
= 0;
32883 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32884 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32885 wxPyTextDataObject
*result
= 0 ;
32886 bool temp1
= false ;
32887 PyObject
* obj0
= 0 ;
32888 char * kwnames
[] = {
32889 (char *) "text", NULL
32892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32895 arg1
= wxString_in_helper(obj0
);
32896 if (arg1
== NULL
) SWIG_fail
;
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32921 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32922 PyObject
*resultobj
= 0;
32923 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32924 PyObject
*arg2
= (PyObject
*) 0 ;
32925 PyObject
*arg3
= (PyObject
*) 0 ;
32928 PyObject
* obj0
= 0 ;
32929 PyObject
* obj1
= 0 ;
32930 PyObject
* obj2
= 0 ;
32931 char * kwnames
[] = {
32932 (char *) "self",(char *) "self",(char *) "_class", NULL
32935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
32937 if (!SWIG_IsOK(res1
)) {
32938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
32940 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32945 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32946 wxPyEndAllowThreads(__tstate
);
32947 if (PyErr_Occurred()) SWIG_fail
;
32949 resultobj
= SWIG_Py_Void();
32956 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32958 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32959 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
32960 return SWIG_Py_Void();
32963 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32964 return SWIG_Python_InitShadowInstance(args
);
32967 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32968 PyObject
*resultobj
= 0;
32969 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32970 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32971 wxBitmapDataObject
*result
= 0 ;
32974 PyObject
* obj0
= 0 ;
32975 char * kwnames
[] = {
32976 (char *) "bitmap", NULL
32979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32981 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32982 if (!SWIG_IsOK(res1
)) {
32983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32988 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32992 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
32993 wxPyEndAllowThreads(__tstate
);
32994 if (PyErr_Occurred()) SWIG_fail
;
32996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33003 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33004 PyObject
*resultobj
= 0;
33005 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33009 PyObject
*swig_obj
[1] ;
33011 if (!args
) SWIG_fail
;
33012 swig_obj
[0] = args
;
33013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33014 if (!SWIG_IsOK(res1
)) {
33015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
33017 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33020 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
33021 wxPyEndAllowThreads(__tstate
);
33022 if (PyErr_Occurred()) SWIG_fail
;
33024 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
33031 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33032 PyObject
*resultobj
= 0;
33033 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33034 wxBitmap
*arg2
= 0 ;
33039 PyObject
* obj0
= 0 ;
33040 PyObject
* obj1
= 0 ;
33041 char * kwnames
[] = {
33042 (char *) "self",(char *) "bitmap", NULL
33045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33047 if (!SWIG_IsOK(res1
)) {
33048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
33050 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33052 if (!SWIG_IsOK(res2
)) {
33053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33058 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33061 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33065 resultobj
= SWIG_Py_Void();
33072 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33075 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
33076 return SWIG_Py_Void();
33079 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33080 return SWIG_Python_InitShadowInstance(args
);
33083 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33084 PyObject
*resultobj
= 0;
33085 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33086 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33087 wxPyBitmapDataObject
*result
= 0 ;
33090 PyObject
* obj0
= 0 ;
33091 char * kwnames
[] = {
33092 (char *) "bitmap", NULL
33095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33097 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33098 if (!SWIG_IsOK(res1
)) {
33099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33104 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
33109 wxPyEndAllowThreads(__tstate
);
33110 if (PyErr_Occurred()) SWIG_fail
;
33112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33119 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33120 PyObject
*resultobj
= 0;
33121 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
33122 PyObject
*arg2
= (PyObject
*) 0 ;
33123 PyObject
*arg3
= (PyObject
*) 0 ;
33126 PyObject
* obj0
= 0 ;
33127 PyObject
* obj1
= 0 ;
33128 PyObject
* obj2
= 0 ;
33129 char * kwnames
[] = {
33130 (char *) "self",(char *) "self",(char *) "_class", NULL
33133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
33135 if (!SWIG_IsOK(res1
)) {
33136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
33138 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
33142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33143 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33144 wxPyEndAllowThreads(__tstate
);
33145 if (PyErr_Occurred()) SWIG_fail
;
33147 resultobj
= SWIG_Py_Void();
33154 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33156 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33157 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
33158 return SWIG_Py_Void();
33161 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33162 return SWIG_Python_InitShadowInstance(args
);
33165 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33166 PyObject
*resultobj
= 0;
33167 wxFileDataObject
*result
= 0 ;
33169 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33172 result
= (wxFileDataObject
*)new wxFileDataObject();
33173 wxPyEndAllowThreads(__tstate
);
33174 if (PyErr_Occurred()) SWIG_fail
;
33176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33183 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33184 PyObject
*resultobj
= 0;
33185 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33186 wxArrayString
*result
= 0 ;
33189 PyObject
*swig_obj
[1] ;
33191 if (!args
) SWIG_fail
;
33192 swig_obj
[0] = args
;
33193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33194 if (!SWIG_IsOK(res1
)) {
33195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33197 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33201 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33202 result
= (wxArrayString
*) &_result_ref
;
33204 wxPyEndAllowThreads(__tstate
);
33205 if (PyErr_Occurred()) SWIG_fail
;
33208 resultobj
= wxArrayString2PyList_helper(*result
);
33216 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33217 PyObject
*resultobj
= 0;
33218 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33219 wxString
*arg2
= 0 ;
33222 bool temp2
= false ;
33223 PyObject
* obj0
= 0 ;
33224 PyObject
* obj1
= 0 ;
33225 char * kwnames
[] = {
33226 (char *) "self",(char *) "filename", NULL
33229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33231 if (!SWIG_IsOK(res1
)) {
33232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33234 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33236 arg2
= wxString_in_helper(obj1
);
33237 if (arg2
== NULL
) SWIG_fail
;
33241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33242 (arg1
)->AddFile((wxString
const &)*arg2
);
33243 wxPyEndAllowThreads(__tstate
);
33244 if (PyErr_Occurred()) SWIG_fail
;
33246 resultobj
= SWIG_Py_Void();
33261 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33263 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33264 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33265 return SWIG_Py_Void();
33268 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33269 return SWIG_Python_InitShadowInstance(args
);
33272 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33273 PyObject
*resultobj
= 0;
33274 wxDataFormat
*arg1
= 0 ;
33275 wxCustomDataObject
*result
= 0 ;
33279 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33281 if (!SWIG_IsOK(res1
)) {
33282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33287 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33290 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33291 wxPyEndAllowThreads(__tstate
);
33292 if (PyErr_Occurred()) SWIG_fail
;
33294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33301 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33302 PyObject
*resultobj
= 0;
33303 wxString
*arg1
= 0 ;
33304 wxCustomDataObject
*result
= 0 ;
33305 bool temp1
= false ;
33307 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33309 arg1
= wxString_in_helper(swig_obj
[0]);
33310 if (arg1
== NULL
) SWIG_fail
;
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33334 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33335 PyObject
*resultobj
= 0;
33336 wxCustomDataObject
*result
= 0 ;
33338 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33341 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33342 wxPyEndAllowThreads(__tstate
);
33343 if (PyErr_Occurred()) SWIG_fail
;
33345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33352 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33356 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33359 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33365 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33368 if (!_v
) goto check_2
;
33369 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33374 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33378 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33383 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33384 PyObject
*resultobj
= 0;
33385 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33386 PyObject
*arg2
= (PyObject
*) 0 ;
33390 PyObject
* obj0
= 0 ;
33391 PyObject
* obj1
= 0 ;
33392 char * kwnames
[] = {
33393 (char *) "self",(char *) "data", NULL
33396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33398 if (!SWIG_IsOK(res1
)) {
33399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33401 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33405 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33406 wxPyEndAllowThreads(__tstate
);
33407 if (PyErr_Occurred()) SWIG_fail
;
33410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33418 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33419 PyObject
*resultobj
= 0;
33420 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33424 PyObject
*swig_obj
[1] ;
33426 if (!args
) SWIG_fail
;
33427 swig_obj
[0] = args
;
33428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33429 if (!SWIG_IsOK(res1
)) {
33430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33432 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33435 result
= (size_t)(arg1
)->GetSize();
33436 wxPyEndAllowThreads(__tstate
);
33437 if (PyErr_Occurred()) SWIG_fail
;
33439 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33446 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33447 PyObject
*resultobj
= 0;
33448 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33449 PyObject
*result
= 0 ;
33452 PyObject
*swig_obj
[1] ;
33454 if (!args
) SWIG_fail
;
33455 swig_obj
[0] = args
;
33456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33457 if (!SWIG_IsOK(res1
)) {
33458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33460 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33463 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33464 wxPyEndAllowThreads(__tstate
);
33465 if (PyErr_Occurred()) SWIG_fail
;
33467 resultobj
= result
;
33474 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33477 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33478 return SWIG_Py_Void();
33481 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33482 return SWIG_Python_InitShadowInstance(args
);
33485 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33486 PyObject
*resultobj
= 0;
33487 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33488 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33489 wxURLDataObject
*result
= 0 ;
33490 bool temp1
= false ;
33491 PyObject
* obj0
= 0 ;
33492 char * kwnames
[] = {
33493 (char *) "url", NULL
33496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33499 arg1
= wxString_in_helper(obj0
);
33500 if (arg1
== NULL
) SWIG_fail
;
33505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33506 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33507 wxPyEndAllowThreads(__tstate
);
33508 if (PyErr_Occurred()) SWIG_fail
;
33510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33525 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33526 PyObject
*resultobj
= 0;
33527 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33531 PyObject
*swig_obj
[1] ;
33533 if (!args
) SWIG_fail
;
33534 swig_obj
[0] = args
;
33535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33536 if (!SWIG_IsOK(res1
)) {
33537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33539 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33542 result
= (arg1
)->GetURL();
33543 wxPyEndAllowThreads(__tstate
);
33544 if (PyErr_Occurred()) SWIG_fail
;
33548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33559 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33560 PyObject
*resultobj
= 0;
33561 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33562 wxString
*arg2
= 0 ;
33565 bool temp2
= false ;
33566 PyObject
* obj0
= 0 ;
33567 PyObject
* obj1
= 0 ;
33568 char * kwnames
[] = {
33569 (char *) "self",(char *) "url", NULL
33572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33574 if (!SWIG_IsOK(res1
)) {
33575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33577 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33579 arg2
= wxString_in_helper(obj1
);
33580 if (arg2
== NULL
) SWIG_fail
;
33584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33585 (arg1
)->SetURL((wxString
const &)*arg2
);
33586 wxPyEndAllowThreads(__tstate
);
33587 if (PyErr_Occurred()) SWIG_fail
;
33589 resultobj
= SWIG_Py_Void();
33604 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33606 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33607 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33608 return SWIG_Py_Void();
33611 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33612 return SWIG_Python_InitShadowInstance(args
);
33615 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33616 PyObject
*resultobj
= 0;
33617 wxMetafileDataObject
*result
= 0 ;
33619 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33622 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33623 wxPyEndAllowThreads(__tstate
);
33624 if (PyErr_Occurred()) SWIG_fail
;
33626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33633 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33636 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33637 return SWIG_Py_Void();
33640 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33641 return SWIG_Python_InitShadowInstance(args
);
33644 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33645 PyObject
*resultobj
= 0;
33646 wxDragResult arg1
;
33650 PyObject
* obj0
= 0 ;
33651 char * kwnames
[] = {
33652 (char *) "res", NULL
33655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33656 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33657 if (!SWIG_IsOK(ecode1
)) {
33658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33660 arg1
= static_cast< wxDragResult
>(val1
);
33662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33663 result
= (bool)wxIsDragResultOk(arg1
);
33664 wxPyEndAllowThreads(__tstate
);
33665 if (PyErr_Occurred()) SWIG_fail
;
33668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33676 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33677 PyObject
*resultobj
= 0;
33678 wxWindow
*arg1
= (wxWindow
*) 0 ;
33679 wxIcon
const &arg2_defvalue
= wxNullIcon
;
33680 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
33681 wxIcon
const &arg3_defvalue
= wxNullIcon
;
33682 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
33683 wxIcon
const &arg4_defvalue
= wxNullIcon
;
33684 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
33685 wxPyDropSource
*result
= 0 ;
33694 PyObject
* obj0
= 0 ;
33695 PyObject
* obj1
= 0 ;
33696 PyObject
* obj2
= 0 ;
33697 PyObject
* obj3
= 0 ;
33698 char * kwnames
[] = {
33699 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33704 if (!SWIG_IsOK(res1
)) {
33705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33707 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33710 if (!SWIG_IsOK(res2
)) {
33711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33716 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33719 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
33720 if (!SWIG_IsOK(res3
)) {
33721 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33726 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
33729 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
33730 if (!SWIG_IsOK(res4
)) {
33731 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33736 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
33739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33740 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
33741 wxPyEndAllowThreads(__tstate
);
33742 if (PyErr_Occurred()) SWIG_fail
;
33744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33751 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33752 PyObject
*resultobj
= 0;
33753 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33754 PyObject
*arg2
= (PyObject
*) 0 ;
33755 PyObject
*arg3
= (PyObject
*) 0 ;
33756 int arg4
= (int) 0 ;
33761 PyObject
* obj0
= 0 ;
33762 PyObject
* obj1
= 0 ;
33763 PyObject
* obj2
= 0 ;
33764 PyObject
* obj3
= 0 ;
33765 char * kwnames
[] = {
33766 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33771 if (!SWIG_IsOK(res1
)) {
33772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33774 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33779 if (!SWIG_IsOK(ecode4
)) {
33780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33782 arg4
= static_cast< int >(val4
);
33785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33786 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33787 wxPyEndAllowThreads(__tstate
);
33788 if (PyErr_Occurred()) SWIG_fail
;
33790 resultobj
= SWIG_Py_Void();
33797 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33798 PyObject
*resultobj
= 0;
33799 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33802 PyObject
*swig_obj
[1] ;
33804 if (!args
) SWIG_fail
;
33805 swig_obj
[0] = args
;
33806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33807 if (!SWIG_IsOK(res1
)) {
33808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33810 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33818 resultobj
= SWIG_Py_Void();
33825 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33826 PyObject
*resultobj
= 0;
33827 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33828 wxDataObject
*arg2
= 0 ;
33833 PyObject
* obj0
= 0 ;
33834 PyObject
* obj1
= 0 ;
33835 char * kwnames
[] = {
33836 (char *) "self",(char *) "data", NULL
33839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33841 if (!SWIG_IsOK(res1
)) {
33842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33844 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33846 if (!SWIG_IsOK(res2
)) {
33847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33852 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33855 (arg1
)->SetData(*arg2
);
33856 wxPyEndAllowThreads(__tstate
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33859 resultobj
= SWIG_Py_Void();
33866 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33867 PyObject
*resultobj
= 0;
33868 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33869 wxDataObject
*result
= 0 ;
33872 PyObject
*swig_obj
[1] ;
33874 if (!args
) SWIG_fail
;
33875 swig_obj
[0] = args
;
33876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33877 if (!SWIG_IsOK(res1
)) {
33878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33880 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33883 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33884 wxPyEndAllowThreads(__tstate
);
33885 if (PyErr_Occurred()) SWIG_fail
;
33887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33894 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33895 PyObject
*resultobj
= 0;
33896 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33897 wxDragResult arg2
;
33898 wxCursor
*arg3
= 0 ;
33905 PyObject
* obj0
= 0 ;
33906 PyObject
* obj1
= 0 ;
33907 PyObject
* obj2
= 0 ;
33908 char * kwnames
[] = {
33909 (char *) "self",(char *) "res",(char *) "cursor", NULL
33912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33914 if (!SWIG_IsOK(res1
)) {
33915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33917 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33919 if (!SWIG_IsOK(ecode2
)) {
33920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
33922 arg2
= static_cast< wxDragResult
>(val2
);
33923 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33924 if (!SWIG_IsOK(res3
)) {
33925 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33930 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
33934 wxPyEndAllowThreads(__tstate
);
33935 if (PyErr_Occurred()) SWIG_fail
;
33937 resultobj
= SWIG_Py_Void();
33944 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33945 PyObject
*resultobj
= 0;
33946 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33947 int arg2
= (int) wxDrag_CopyOnly
;
33948 wxDragResult result
;
33953 PyObject
* obj0
= 0 ;
33954 PyObject
* obj1
= 0 ;
33955 char * kwnames
[] = {
33956 (char *) "self",(char *) "flags", NULL
33959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33961 if (!SWIG_IsOK(res1
)) {
33962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33964 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33967 if (!SWIG_IsOK(ecode2
)) {
33968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
33970 arg2
= static_cast< int >(val2
);
33973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33974 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
33975 wxPyEndAllowThreads(__tstate
);
33976 if (PyErr_Occurred()) SWIG_fail
;
33978 resultobj
= SWIG_From_int(static_cast< int >(result
));
33985 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33986 PyObject
*resultobj
= 0;
33987 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33988 wxDragResult arg2
;
33994 PyObject
* obj0
= 0 ;
33995 PyObject
* obj1
= 0 ;
33996 char * kwnames
[] = {
33997 (char *) "self",(char *) "effect", NULL
34000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34002 if (!SWIG_IsOK(res1
)) {
34003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34005 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34007 if (!SWIG_IsOK(ecode2
)) {
34008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
34010 arg2
= static_cast< wxDragResult
>(val2
);
34012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34013 result
= (bool)(arg1
)->GiveFeedback(arg2
);
34014 wxPyEndAllowThreads(__tstate
);
34015 if (PyErr_Occurred()) SWIG_fail
;
34018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34026 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34029 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
34030 return SWIG_Py_Void();
34033 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34034 return SWIG_Python_InitShadowInstance(args
);
34037 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34038 PyObject
*resultobj
= 0;
34039 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
34040 wxPyDropTarget
*result
= 0 ;
34042 PyObject
* obj0
= 0 ;
34043 char * kwnames
[] = {
34044 (char *) "dataObject", NULL
34047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
34049 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34050 if (!SWIG_IsOK(res1
)) {
34051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
34055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34056 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
34057 wxPyEndAllowThreads(__tstate
);
34058 if (PyErr_Occurred()) SWIG_fail
;
34060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
34067 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34068 PyObject
*resultobj
= 0;
34069 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34070 PyObject
*arg2
= (PyObject
*) 0 ;
34071 PyObject
*arg3
= (PyObject
*) 0 ;
34074 PyObject
* obj0
= 0 ;
34075 PyObject
* obj1
= 0 ;
34076 PyObject
* obj2
= 0 ;
34077 char * kwnames
[] = {
34078 (char *) "self",(char *) "self",(char *) "_class", NULL
34081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34083 if (!SWIG_IsOK(res1
)) {
34084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34086 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34091 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34092 wxPyEndAllowThreads(__tstate
);
34093 if (PyErr_Occurred()) SWIG_fail
;
34095 resultobj
= SWIG_Py_Void();
34102 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34103 PyObject
*resultobj
= 0;
34104 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34107 PyObject
*swig_obj
[1] ;
34109 if (!args
) SWIG_fail
;
34110 swig_obj
[0] = args
;
34111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
34112 if (!SWIG_IsOK(res1
)) {
34113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34115 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34120 wxPyEndAllowThreads(__tstate
);
34121 if (PyErr_Occurred()) SWIG_fail
;
34123 resultobj
= SWIG_Py_Void();
34130 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34131 PyObject
*resultobj
= 0;
34132 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34133 wxDataObject
*result
= 0 ;
34136 PyObject
*swig_obj
[1] ;
34138 if (!args
) SWIG_fail
;
34139 swig_obj
[0] = args
;
34140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34141 if (!SWIG_IsOK(res1
)) {
34142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34144 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34147 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34148 wxPyEndAllowThreads(__tstate
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34158 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34159 PyObject
*resultobj
= 0;
34160 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34161 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34165 PyObject
* obj0
= 0 ;
34166 PyObject
* obj1
= 0 ;
34167 char * kwnames
[] = {
34168 (char *) "self",(char *) "dataObject", NULL
34171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34173 if (!SWIG_IsOK(res1
)) {
34174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34176 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34177 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34178 if (!SWIG_IsOK(res2
)) {
34179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34183 (arg1
)->SetDataObject(arg2
);
34184 wxPyEndAllowThreads(__tstate
);
34185 if (PyErr_Occurred()) SWIG_fail
;
34187 resultobj
= SWIG_Py_Void();
34194 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34195 PyObject
*resultobj
= 0;
34196 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34199 wxDragResult arg4
;
34200 wxDragResult result
;
34209 PyObject
* obj0
= 0 ;
34210 PyObject
* obj1
= 0 ;
34211 PyObject
* obj2
= 0 ;
34212 PyObject
* obj3
= 0 ;
34213 char * kwnames
[] = {
34214 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34219 if (!SWIG_IsOK(res1
)) {
34220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34222 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34224 if (!SWIG_IsOK(ecode2
)) {
34225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34227 arg2
= static_cast< int >(val2
);
34228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34229 if (!SWIG_IsOK(ecode3
)) {
34230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34232 arg3
= static_cast< int >(val3
);
34233 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34234 if (!SWIG_IsOK(ecode4
)) {
34235 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34237 arg4
= static_cast< wxDragResult
>(val4
);
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34240 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34241 wxPyEndAllowThreads(__tstate
);
34242 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= SWIG_From_int(static_cast< int >(result
));
34251 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34252 PyObject
*resultobj
= 0;
34253 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34256 wxDragResult arg4
;
34257 wxDragResult result
;
34266 PyObject
* obj0
= 0 ;
34267 PyObject
* obj1
= 0 ;
34268 PyObject
* obj2
= 0 ;
34269 PyObject
* obj3
= 0 ;
34270 char * kwnames
[] = {
34271 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34276 if (!SWIG_IsOK(res1
)) {
34277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34279 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34281 if (!SWIG_IsOK(ecode2
)) {
34282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34284 arg2
= static_cast< int >(val2
);
34285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34286 if (!SWIG_IsOK(ecode3
)) {
34287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34289 arg3
= static_cast< int >(val3
);
34290 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34291 if (!SWIG_IsOK(ecode4
)) {
34292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34294 arg4
= static_cast< wxDragResult
>(val4
);
34296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34297 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34298 wxPyEndAllowThreads(__tstate
);
34299 if (PyErr_Occurred()) SWIG_fail
;
34301 resultobj
= SWIG_From_int(static_cast< int >(result
));
34308 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34309 PyObject
*resultobj
= 0;
34310 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34313 PyObject
*swig_obj
[1] ;
34315 if (!args
) SWIG_fail
;
34316 swig_obj
[0] = args
;
34317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34318 if (!SWIG_IsOK(res1
)) {
34319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34321 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 wxPyEndAllowThreads(__tstate
);
34326 if (PyErr_Occurred()) SWIG_fail
;
34328 resultobj
= SWIG_Py_Void();
34335 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34336 PyObject
*resultobj
= 0;
34337 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34347 PyObject
* obj0
= 0 ;
34348 PyObject
* obj1
= 0 ;
34349 PyObject
* obj2
= 0 ;
34350 char * kwnames
[] = {
34351 (char *) "self",(char *) "x",(char *) "y", NULL
34354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34356 if (!SWIG_IsOK(res1
)) {
34357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34359 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34361 if (!SWIG_IsOK(ecode2
)) {
34362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34364 arg2
= static_cast< int >(val2
);
34365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34366 if (!SWIG_IsOK(ecode3
)) {
34367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34369 arg3
= static_cast< int >(val3
);
34371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34372 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34385 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34386 PyObject
*resultobj
= 0;
34387 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34391 PyObject
*swig_obj
[1] ;
34393 if (!args
) SWIG_fail
;
34394 swig_obj
[0] = args
;
34395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34396 if (!SWIG_IsOK(res1
)) {
34397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34399 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34402 result
= (bool)(arg1
)->GetData();
34403 wxPyEndAllowThreads(__tstate
);
34404 if (PyErr_Occurred()) SWIG_fail
;
34407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34415 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34416 PyObject
*resultobj
= 0;
34417 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34418 wxDragResult arg2
;
34423 PyObject
* obj0
= 0 ;
34424 PyObject
* obj1
= 0 ;
34425 char * kwnames
[] = {
34426 (char *) "self",(char *) "action", NULL
34429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34431 if (!SWIG_IsOK(res1
)) {
34432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34434 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34436 if (!SWIG_IsOK(ecode2
)) {
34437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34439 arg2
= static_cast< wxDragResult
>(val2
);
34441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34442 (arg1
)->SetDefaultAction(arg2
);
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34446 resultobj
= SWIG_Py_Void();
34453 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34454 PyObject
*resultobj
= 0;
34455 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34456 wxDragResult result
;
34459 PyObject
*swig_obj
[1] ;
34461 if (!args
) SWIG_fail
;
34462 swig_obj
[0] = args
;
34463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34464 if (!SWIG_IsOK(res1
)) {
34465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34467 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34470 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34471 wxPyEndAllowThreads(__tstate
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34474 resultobj
= SWIG_From_int(static_cast< int >(result
));
34481 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34484 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34485 return SWIG_Py_Void();
34488 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34489 return SWIG_Python_InitShadowInstance(args
);
34492 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34493 PyObject
*resultobj
= 0;
34494 wxPyTextDropTarget
*result
= 0 ;
34496 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34499 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34500 wxPyEndAllowThreads(__tstate
);
34501 if (PyErr_Occurred()) SWIG_fail
;
34503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34510 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34511 PyObject
*resultobj
= 0;
34512 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34513 PyObject
*arg2
= (PyObject
*) 0 ;
34514 PyObject
*arg3
= (PyObject
*) 0 ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 PyObject
* obj2
= 0 ;
34520 char * kwnames
[] = {
34521 (char *) "self",(char *) "self",(char *) "_class", NULL
34524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34526 if (!SWIG_IsOK(res1
)) {
34527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34529 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34534 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34535 wxPyEndAllowThreads(__tstate
);
34536 if (PyErr_Occurred()) SWIG_fail
;
34538 resultobj
= SWIG_Py_Void();
34545 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34546 PyObject
*resultobj
= 0;
34547 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34550 wxString
*arg4
= 0 ;
34558 bool temp4
= false ;
34559 PyObject
* obj0
= 0 ;
34560 PyObject
* obj1
= 0 ;
34561 PyObject
* obj2
= 0 ;
34562 PyObject
* obj3
= 0 ;
34563 char * kwnames
[] = {
34564 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34569 if (!SWIG_IsOK(res1
)) {
34570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34572 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34574 if (!SWIG_IsOK(ecode2
)) {
34575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34577 arg2
= static_cast< int >(val2
);
34578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34579 if (!SWIG_IsOK(ecode3
)) {
34580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34582 arg3
= static_cast< int >(val3
);
34584 arg4
= wxString_in_helper(obj3
);
34585 if (arg4
== NULL
) SWIG_fail
;
34589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34590 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34591 wxPyEndAllowThreads(__tstate
);
34592 if (PyErr_Occurred()) SWIG_fail
;
34595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34611 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34612 PyObject
*resultobj
= 0;
34613 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34616 wxDragResult arg4
;
34617 wxDragResult result
;
34626 PyObject
* obj0
= 0 ;
34627 PyObject
* obj1
= 0 ;
34628 PyObject
* obj2
= 0 ;
34629 PyObject
* obj3
= 0 ;
34630 char * kwnames
[] = {
34631 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34636 if (!SWIG_IsOK(res1
)) {
34637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34639 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34641 if (!SWIG_IsOK(ecode2
)) {
34642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34644 arg2
= static_cast< int >(val2
);
34645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34646 if (!SWIG_IsOK(ecode3
)) {
34647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34649 arg3
= static_cast< int >(val3
);
34650 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34651 if (!SWIG_IsOK(ecode4
)) {
34652 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34654 arg4
= static_cast< wxDragResult
>(val4
);
34656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34657 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34658 wxPyEndAllowThreads(__tstate
);
34659 if (PyErr_Occurred()) SWIG_fail
;
34661 resultobj
= SWIG_From_int(static_cast< int >(result
));
34668 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34669 PyObject
*resultobj
= 0;
34670 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34673 wxDragResult arg4
;
34674 wxDragResult result
;
34683 PyObject
* obj0
= 0 ;
34684 PyObject
* obj1
= 0 ;
34685 PyObject
* obj2
= 0 ;
34686 PyObject
* obj3
= 0 ;
34687 char * kwnames
[] = {
34688 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34693 if (!SWIG_IsOK(res1
)) {
34694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34696 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34698 if (!SWIG_IsOK(ecode2
)) {
34699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34701 arg2
= static_cast< int >(val2
);
34702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34703 if (!SWIG_IsOK(ecode3
)) {
34704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34706 arg3
= static_cast< int >(val3
);
34707 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34708 if (!SWIG_IsOK(ecode4
)) {
34709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34711 arg4
= static_cast< wxDragResult
>(val4
);
34713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34714 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34715 wxPyEndAllowThreads(__tstate
);
34716 if (PyErr_Occurred()) SWIG_fail
;
34718 resultobj
= SWIG_From_int(static_cast< int >(result
));
34725 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34726 PyObject
*resultobj
= 0;
34727 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34730 PyObject
*swig_obj
[1] ;
34732 if (!args
) SWIG_fail
;
34733 swig_obj
[0] = args
;
34734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34735 if (!SWIG_IsOK(res1
)) {
34736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34738 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 wxPyEndAllowThreads(__tstate
);
34743 if (PyErr_Occurred()) SWIG_fail
;
34745 resultobj
= SWIG_Py_Void();
34752 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34753 PyObject
*resultobj
= 0;
34754 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34764 PyObject
* obj0
= 0 ;
34765 PyObject
* obj1
= 0 ;
34766 PyObject
* obj2
= 0 ;
34767 char * kwnames
[] = {
34768 (char *) "self",(char *) "x",(char *) "y", NULL
34771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34773 if (!SWIG_IsOK(res1
)) {
34774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34776 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34778 if (!SWIG_IsOK(ecode2
)) {
34779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34781 arg2
= static_cast< int >(val2
);
34782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34783 if (!SWIG_IsOK(ecode3
)) {
34784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34786 arg3
= static_cast< int >(val3
);
34788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34789 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34790 wxPyEndAllowThreads(__tstate
);
34791 if (PyErr_Occurred()) SWIG_fail
;
34794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34802 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34803 PyObject
*resultobj
= 0;
34804 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34807 wxDragResult arg4
;
34808 wxDragResult result
;
34817 PyObject
* obj0
= 0 ;
34818 PyObject
* obj1
= 0 ;
34819 PyObject
* obj2
= 0 ;
34820 PyObject
* obj3
= 0 ;
34821 char * kwnames
[] = {
34822 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34827 if (!SWIG_IsOK(res1
)) {
34828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34830 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34832 if (!SWIG_IsOK(ecode2
)) {
34833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34835 arg2
= static_cast< int >(val2
);
34836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34837 if (!SWIG_IsOK(ecode3
)) {
34838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34840 arg3
= static_cast< int >(val3
);
34841 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34842 if (!SWIG_IsOK(ecode4
)) {
34843 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34845 arg4
= static_cast< wxDragResult
>(val4
);
34847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34848 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34849 wxPyEndAllowThreads(__tstate
);
34850 if (PyErr_Occurred()) SWIG_fail
;
34852 resultobj
= SWIG_From_int(static_cast< int >(result
));
34859 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34862 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34863 return SWIG_Py_Void();
34866 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34867 return SWIG_Python_InitShadowInstance(args
);
34870 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34871 PyObject
*resultobj
= 0;
34872 wxPyFileDropTarget
*result
= 0 ;
34874 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34877 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34878 wxPyEndAllowThreads(__tstate
);
34879 if (PyErr_Occurred()) SWIG_fail
;
34881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34888 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34889 PyObject
*resultobj
= 0;
34890 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34891 PyObject
*arg2
= (PyObject
*) 0 ;
34892 PyObject
*arg3
= (PyObject
*) 0 ;
34895 PyObject
* obj0
= 0 ;
34896 PyObject
* obj1
= 0 ;
34897 PyObject
* obj2
= 0 ;
34898 char * kwnames
[] = {
34899 (char *) "self",(char *) "self",(char *) "_class", NULL
34902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34904 if (!SWIG_IsOK(res1
)) {
34905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34907 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34912 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34913 wxPyEndAllowThreads(__tstate
);
34914 if (PyErr_Occurred()) SWIG_fail
;
34916 resultobj
= SWIG_Py_Void();
34923 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34924 PyObject
*resultobj
= 0;
34925 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34928 wxArrayString
*arg4
= 0 ;
34936 bool temp4
= false ;
34937 PyObject
* obj0
= 0 ;
34938 PyObject
* obj1
= 0 ;
34939 PyObject
* obj2
= 0 ;
34940 PyObject
* obj3
= 0 ;
34941 char * kwnames
[] = {
34942 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
34945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34947 if (!SWIG_IsOK(res1
)) {
34948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34950 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34952 if (!SWIG_IsOK(ecode2
)) {
34953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
34955 arg2
= static_cast< int >(val2
);
34956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34957 if (!SWIG_IsOK(ecode3
)) {
34958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
34960 arg3
= static_cast< int >(val3
);
34962 if (! PySequence_Check(obj3
)) {
34963 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34966 arg4
= new wxArrayString
;
34968 int i
, len
=PySequence_Length(obj3
);
34969 for (i
=0; i
<len
; i
++) {
34970 PyObject
* item
= PySequence_GetItem(obj3
, i
);
34971 wxString
* s
= wxString_in_helper(item
);
34972 if (PyErr_Occurred()) SWIG_fail
;
34979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34980 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
34981 wxPyEndAllowThreads(__tstate
);
34982 if (PyErr_Occurred()) SWIG_fail
;
34985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34988 if (temp4
) delete arg4
;
34993 if (temp4
) delete arg4
;
34999 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35000 PyObject
*resultobj
= 0;
35001 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35004 wxDragResult arg4
;
35005 wxDragResult result
;
35014 PyObject
* obj0
= 0 ;
35015 PyObject
* obj1
= 0 ;
35016 PyObject
* obj2
= 0 ;
35017 PyObject
* obj3
= 0 ;
35018 char * kwnames
[] = {
35019 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35024 if (!SWIG_IsOK(res1
)) {
35025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35027 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35029 if (!SWIG_IsOK(ecode2
)) {
35030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
35032 arg2
= static_cast< int >(val2
);
35033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35034 if (!SWIG_IsOK(ecode3
)) {
35035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
35037 arg3
= static_cast< int >(val3
);
35038 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35039 if (!SWIG_IsOK(ecode4
)) {
35040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
35042 arg4
= static_cast< wxDragResult
>(val4
);
35044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35045 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
35046 wxPyEndAllowThreads(__tstate
);
35047 if (PyErr_Occurred()) SWIG_fail
;
35049 resultobj
= SWIG_From_int(static_cast< int >(result
));
35056 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35057 PyObject
*resultobj
= 0;
35058 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35061 wxDragResult arg4
;
35062 wxDragResult result
;
35071 PyObject
* obj0
= 0 ;
35072 PyObject
* obj1
= 0 ;
35073 PyObject
* obj2
= 0 ;
35074 PyObject
* obj3
= 0 ;
35075 char * kwnames
[] = {
35076 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35081 if (!SWIG_IsOK(res1
)) {
35082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35084 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35086 if (!SWIG_IsOK(ecode2
)) {
35087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
35089 arg2
= static_cast< int >(val2
);
35090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35091 if (!SWIG_IsOK(ecode3
)) {
35092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
35094 arg3
= static_cast< int >(val3
);
35095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35096 if (!SWIG_IsOK(ecode4
)) {
35097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
35099 arg4
= static_cast< wxDragResult
>(val4
);
35101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35102 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
35103 wxPyEndAllowThreads(__tstate
);
35104 if (PyErr_Occurred()) SWIG_fail
;
35106 resultobj
= SWIG_From_int(static_cast< int >(result
));
35113 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35114 PyObject
*resultobj
= 0;
35115 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35118 PyObject
*swig_obj
[1] ;
35120 if (!args
) SWIG_fail
;
35121 swig_obj
[0] = args
;
35122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35123 if (!SWIG_IsOK(res1
)) {
35124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35126 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35130 wxPyEndAllowThreads(__tstate
);
35131 if (PyErr_Occurred()) SWIG_fail
;
35133 resultobj
= SWIG_Py_Void();
35140 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35141 PyObject
*resultobj
= 0;
35142 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35152 PyObject
* obj0
= 0 ;
35153 PyObject
* obj1
= 0 ;
35154 PyObject
* obj2
= 0 ;
35155 char * kwnames
[] = {
35156 (char *) "self",(char *) "x",(char *) "y", NULL
35159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35161 if (!SWIG_IsOK(res1
)) {
35162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35164 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35166 if (!SWIG_IsOK(ecode2
)) {
35167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35169 arg2
= static_cast< int >(val2
);
35170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35171 if (!SWIG_IsOK(ecode3
)) {
35172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35174 arg3
= static_cast< int >(val3
);
35176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35177 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35178 wxPyEndAllowThreads(__tstate
);
35179 if (PyErr_Occurred()) SWIG_fail
;
35182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35190 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35191 PyObject
*resultobj
= 0;
35192 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35195 wxDragResult arg4
;
35196 wxDragResult result
;
35205 PyObject
* obj0
= 0 ;
35206 PyObject
* obj1
= 0 ;
35207 PyObject
* obj2
= 0 ;
35208 PyObject
* obj3
= 0 ;
35209 char * kwnames
[] = {
35210 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35215 if (!SWIG_IsOK(res1
)) {
35216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35218 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35220 if (!SWIG_IsOK(ecode2
)) {
35221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35223 arg2
= static_cast< int >(val2
);
35224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35225 if (!SWIG_IsOK(ecode3
)) {
35226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35228 arg3
= static_cast< int >(val3
);
35229 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35230 if (!SWIG_IsOK(ecode4
)) {
35231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35233 arg4
= static_cast< wxDragResult
>(val4
);
35235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35236 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35237 wxPyEndAllowThreads(__tstate
);
35238 if (PyErr_Occurred()) SWIG_fail
;
35240 resultobj
= SWIG_From_int(static_cast< int >(result
));
35247 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35251 return SWIG_Py_Void();
35254 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35255 return SWIG_Python_InitShadowInstance(args
);
35258 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35259 PyObject
*resultobj
= 0;
35260 wxClipboard
*result
= 0 ;
35262 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35265 result
= (wxClipboard
*)new wxClipboard();
35266 wxPyEndAllowThreads(__tstate
);
35267 if (PyErr_Occurred()) SWIG_fail
;
35269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35276 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35277 PyObject
*resultobj
= 0;
35278 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35281 PyObject
*swig_obj
[1] ;
35283 if (!args
) SWIG_fail
;
35284 swig_obj
[0] = args
;
35285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35286 if (!SWIG_IsOK(res1
)) {
35287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35289 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35294 wxPyEndAllowThreads(__tstate
);
35295 if (PyErr_Occurred()) SWIG_fail
;
35297 resultobj
= SWIG_Py_Void();
35304 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35305 PyObject
*resultobj
= 0;
35306 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35310 PyObject
*swig_obj
[1] ;
35312 if (!args
) SWIG_fail
;
35313 swig_obj
[0] = args
;
35314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35315 if (!SWIG_IsOK(res1
)) {
35316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35318 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35321 result
= (bool)(arg1
)->Open();
35322 wxPyEndAllowThreads(__tstate
);
35323 if (PyErr_Occurred()) SWIG_fail
;
35326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35334 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35335 PyObject
*resultobj
= 0;
35336 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35339 PyObject
*swig_obj
[1] ;
35341 if (!args
) SWIG_fail
;
35342 swig_obj
[0] = args
;
35343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35344 if (!SWIG_IsOK(res1
)) {
35345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35347 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35351 wxPyEndAllowThreads(__tstate
);
35352 if (PyErr_Occurred()) SWIG_fail
;
35354 resultobj
= SWIG_Py_Void();
35361 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35362 PyObject
*resultobj
= 0;
35363 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35367 PyObject
*swig_obj
[1] ;
35369 if (!args
) SWIG_fail
;
35370 swig_obj
[0] = args
;
35371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35372 if (!SWIG_IsOK(res1
)) {
35373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35375 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35378 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35379 wxPyEndAllowThreads(__tstate
);
35380 if (PyErr_Occurred()) SWIG_fail
;
35383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35391 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35392 PyObject
*resultobj
= 0;
35393 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35394 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35399 PyObject
* obj0
= 0 ;
35400 PyObject
* obj1
= 0 ;
35401 char * kwnames
[] = {
35402 (char *) "self",(char *) "data", NULL
35405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35407 if (!SWIG_IsOK(res1
)) {
35408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35410 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35411 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35412 if (!SWIG_IsOK(res2
)) {
35413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35417 result
= (bool)(arg1
)->AddData(arg2
);
35418 wxPyEndAllowThreads(__tstate
);
35419 if (PyErr_Occurred()) SWIG_fail
;
35422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35430 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35431 PyObject
*resultobj
= 0;
35432 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35433 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35438 PyObject
* obj0
= 0 ;
35439 PyObject
* obj1
= 0 ;
35440 char * kwnames
[] = {
35441 (char *) "self",(char *) "data", NULL
35444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35446 if (!SWIG_IsOK(res1
)) {
35447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35449 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35450 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35451 if (!SWIG_IsOK(res2
)) {
35452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35456 result
= (bool)(arg1
)->SetData(arg2
);
35457 wxPyEndAllowThreads(__tstate
);
35458 if (PyErr_Occurred()) SWIG_fail
;
35461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35469 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35470 PyObject
*resultobj
= 0;
35471 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35472 wxDataFormat
*arg2
= 0 ;
35478 PyObject
* obj0
= 0 ;
35479 PyObject
* obj1
= 0 ;
35480 char * kwnames
[] = {
35481 (char *) "self",(char *) "format", NULL
35484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35486 if (!SWIG_IsOK(res1
)) {
35487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35489 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35491 if (!SWIG_IsOK(res2
)) {
35492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35497 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35500 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35501 wxPyEndAllowThreads(__tstate
);
35502 if (PyErr_Occurred()) SWIG_fail
;
35505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35513 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35514 PyObject
*resultobj
= 0;
35515 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35516 wxDataObject
*arg2
= 0 ;
35522 PyObject
* obj0
= 0 ;
35523 PyObject
* obj1
= 0 ;
35524 char * kwnames
[] = {
35525 (char *) "self",(char *) "data", NULL
35528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35530 if (!SWIG_IsOK(res1
)) {
35531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35533 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35535 if (!SWIG_IsOK(res2
)) {
35536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35541 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35544 result
= (bool)(arg1
)->GetData(*arg2
);
35545 wxPyEndAllowThreads(__tstate
);
35546 if (PyErr_Occurred()) SWIG_fail
;
35549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35557 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35558 PyObject
*resultobj
= 0;
35559 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35562 PyObject
*swig_obj
[1] ;
35564 if (!args
) SWIG_fail
;
35565 swig_obj
[0] = args
;
35566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35567 if (!SWIG_IsOK(res1
)) {
35568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35570 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35574 wxPyEndAllowThreads(__tstate
);
35575 if (PyErr_Occurred()) SWIG_fail
;
35577 resultobj
= SWIG_Py_Void();
35584 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35585 PyObject
*resultobj
= 0;
35586 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35590 PyObject
*swig_obj
[1] ;
35592 if (!args
) SWIG_fail
;
35593 swig_obj
[0] = args
;
35594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35595 if (!SWIG_IsOK(res1
)) {
35596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35598 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35601 result
= (bool)(arg1
)->Flush();
35602 wxPyEndAllowThreads(__tstate
);
35603 if (PyErr_Occurred()) SWIG_fail
;
35606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35614 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35615 PyObject
*resultobj
= 0;
35616 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35617 bool arg2
= (bool) true ;
35622 PyObject
* obj0
= 0 ;
35623 PyObject
* obj1
= 0 ;
35624 char * kwnames
[] = {
35625 (char *) "self",(char *) "primary", NULL
35628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35630 if (!SWIG_IsOK(res1
)) {
35631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35633 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35635 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35636 if (!SWIG_IsOK(ecode2
)) {
35637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35639 arg2
= static_cast< bool >(val2
);
35642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35643 (arg1
)->UsePrimarySelection(arg2
);
35644 wxPyEndAllowThreads(__tstate
);
35645 if (PyErr_Occurred()) SWIG_fail
;
35647 resultobj
= SWIG_Py_Void();
35654 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35655 PyObject
*resultobj
= 0;
35656 wxClipboard
*result
= 0 ;
35658 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35661 result
= (wxClipboard
*)wxClipboard::Get();
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35672 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35675 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35676 return SWIG_Py_Void();
35679 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35680 return SWIG_Python_InitShadowInstance(args
);
35683 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35684 PyObject
*resultobj
= 0;
35685 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35686 wxClipboardLocker
*result
= 0 ;
35689 PyObject
* obj0
= 0 ;
35690 char * kwnames
[] = {
35691 (char *) "clipboard", NULL
35694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35697 if (!SWIG_IsOK(res1
)) {
35698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35700 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35704 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35705 wxPyEndAllowThreads(__tstate
);
35706 if (PyErr_Occurred()) SWIG_fail
;
35708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35715 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35716 PyObject
*resultobj
= 0;
35717 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35720 PyObject
*swig_obj
[1] ;
35722 if (!args
) SWIG_fail
;
35723 swig_obj
[0] = args
;
35724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35725 if (!SWIG_IsOK(res1
)) {
35726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35728 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35733 wxPyEndAllowThreads(__tstate
);
35734 if (PyErr_Occurred()) SWIG_fail
;
35736 resultobj
= SWIG_Py_Void();
35743 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35744 PyObject
*resultobj
= 0;
35745 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35749 PyObject
*swig_obj
[1] ;
35751 if (!args
) SWIG_fail
;
35752 swig_obj
[0] = args
;
35753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35754 if (!SWIG_IsOK(res1
)) {
35755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35757 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35760 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35761 wxPyEndAllowThreads(__tstate
);
35762 if (PyErr_Occurred()) SWIG_fail
;
35765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35773 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35776 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35777 return SWIG_Py_Void();
35780 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35781 return SWIG_Python_InitShadowInstance(args
);
35784 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35785 PyObject
*resultobj
= 0;
35786 int arg1
= (int) 0 ;
35787 int arg2
= (int) 0 ;
35788 int arg3
= (int) 0 ;
35789 int arg4
= (int) 0 ;
35790 wxVideoMode
*result
= 0 ;
35799 PyObject
* obj0
= 0 ;
35800 PyObject
* obj1
= 0 ;
35801 PyObject
* obj2
= 0 ;
35802 PyObject
* obj3
= 0 ;
35803 char * kwnames
[] = {
35804 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35809 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35810 if (!SWIG_IsOK(ecode1
)) {
35811 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35813 arg1
= static_cast< int >(val1
);
35816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35817 if (!SWIG_IsOK(ecode2
)) {
35818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35820 arg2
= static_cast< int >(val2
);
35823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35824 if (!SWIG_IsOK(ecode3
)) {
35825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35827 arg3
= static_cast< int >(val3
);
35830 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35831 if (!SWIG_IsOK(ecode4
)) {
35832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35834 arg4
= static_cast< int >(val4
);
35837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35838 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35839 wxPyEndAllowThreads(__tstate
);
35840 if (PyErr_Occurred()) SWIG_fail
;
35842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35849 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35850 PyObject
*resultobj
= 0;
35851 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35854 PyObject
*swig_obj
[1] ;
35856 if (!args
) SWIG_fail
;
35857 swig_obj
[0] = args
;
35858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35859 if (!SWIG_IsOK(res1
)) {
35860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35862 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35867 wxPyEndAllowThreads(__tstate
);
35868 if (PyErr_Occurred()) SWIG_fail
;
35870 resultobj
= SWIG_Py_Void();
35877 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35878 PyObject
*resultobj
= 0;
35879 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35880 wxVideoMode
*arg2
= 0 ;
35886 PyObject
* obj0
= 0 ;
35887 PyObject
* obj1
= 0 ;
35888 char * kwnames
[] = {
35889 (char *) "self",(char *) "other", NULL
35892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35894 if (!SWIG_IsOK(res1
)) {
35895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35897 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35898 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35899 if (!SWIG_IsOK(res2
)) {
35900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35903 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35905 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35908 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35909 wxPyEndAllowThreads(__tstate
);
35910 if (PyErr_Occurred()) SWIG_fail
;
35913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35921 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35922 PyObject
*resultobj
= 0;
35923 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35927 PyObject
*swig_obj
[1] ;
35929 if (!args
) SWIG_fail
;
35930 swig_obj
[0] = args
;
35931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35932 if (!SWIG_IsOK(res1
)) {
35933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35935 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35938 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
35939 wxPyEndAllowThreads(__tstate
);
35940 if (PyErr_Occurred()) SWIG_fail
;
35942 resultobj
= SWIG_From_int(static_cast< int >(result
));
35949 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35950 PyObject
*resultobj
= 0;
35951 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35955 PyObject
*swig_obj
[1] ;
35957 if (!args
) SWIG_fail
;
35958 swig_obj
[0] = args
;
35959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35960 if (!SWIG_IsOK(res1
)) {
35961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35963 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35966 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
35967 wxPyEndAllowThreads(__tstate
);
35968 if (PyErr_Occurred()) SWIG_fail
;
35970 resultobj
= SWIG_From_int(static_cast< int >(result
));
35977 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35978 PyObject
*resultobj
= 0;
35979 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35983 PyObject
*swig_obj
[1] ;
35985 if (!args
) SWIG_fail
;
35986 swig_obj
[0] = args
;
35987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35988 if (!SWIG_IsOK(res1
)) {
35989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35991 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35994 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
35995 wxPyEndAllowThreads(__tstate
);
35996 if (PyErr_Occurred()) SWIG_fail
;
35998 resultobj
= SWIG_From_int(static_cast< int >(result
));
36005 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36006 PyObject
*resultobj
= 0;
36007 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36011 PyObject
*swig_obj
[1] ;
36013 if (!args
) SWIG_fail
;
36014 swig_obj
[0] = args
;
36015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36016 if (!SWIG_IsOK(res1
)) {
36017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36019 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36022 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
36023 wxPyEndAllowThreads(__tstate
);
36024 if (PyErr_Occurred()) SWIG_fail
;
36027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36035 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36036 PyObject
*resultobj
= 0;
36037 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36038 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36044 PyObject
* obj0
= 0 ;
36045 PyObject
* obj1
= 0 ;
36046 char * kwnames
[] = {
36047 (char *) "self",(char *) "other", NULL
36050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36052 if (!SWIG_IsOK(res1
)) {
36053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36055 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36056 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36057 if (!SWIG_IsOK(res2
)) {
36058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36060 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36063 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
36064 wxPyEndAllowThreads(__tstate
);
36065 if (PyErr_Occurred()) SWIG_fail
;
36068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36076 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36077 PyObject
*resultobj
= 0;
36078 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36079 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36085 PyObject
* obj0
= 0 ;
36086 PyObject
* obj1
= 0 ;
36087 char * kwnames
[] = {
36088 (char *) "self",(char *) "other", NULL
36091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36093 if (!SWIG_IsOK(res1
)) {
36094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36096 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36098 if (!SWIG_IsOK(res2
)) {
36099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36101 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36104 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
36105 wxPyEndAllowThreads(__tstate
);
36106 if (PyErr_Occurred()) SWIG_fail
;
36109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36117 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36118 PyObject
*resultobj
= 0;
36119 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36125 PyObject
*swig_obj
[2] ;
36127 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
36128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36129 if (!SWIG_IsOK(res1
)) {
36130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36132 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36133 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36134 if (!SWIG_IsOK(ecode2
)) {
36135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
36137 arg2
= static_cast< int >(val2
);
36138 if (arg1
) (arg1
)->w
= arg2
;
36140 resultobj
= SWIG_Py_Void();
36147 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36148 PyObject
*resultobj
= 0;
36149 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36153 PyObject
*swig_obj
[1] ;
36155 if (!args
) SWIG_fail
;
36156 swig_obj
[0] = args
;
36157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36158 if (!SWIG_IsOK(res1
)) {
36159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36161 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36162 result
= (int) ((arg1
)->w
);
36163 resultobj
= SWIG_From_int(static_cast< int >(result
));
36170 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36171 PyObject
*resultobj
= 0;
36172 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36178 PyObject
*swig_obj
[2] ;
36180 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36182 if (!SWIG_IsOK(res1
)) {
36183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36185 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36186 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36187 if (!SWIG_IsOK(ecode2
)) {
36188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36190 arg2
= static_cast< int >(val2
);
36191 if (arg1
) (arg1
)->h
= arg2
;
36193 resultobj
= SWIG_Py_Void();
36200 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36201 PyObject
*resultobj
= 0;
36202 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36206 PyObject
*swig_obj
[1] ;
36208 if (!args
) SWIG_fail
;
36209 swig_obj
[0] = args
;
36210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36211 if (!SWIG_IsOK(res1
)) {
36212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36214 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36215 result
= (int) ((arg1
)->h
);
36216 resultobj
= SWIG_From_int(static_cast< int >(result
));
36223 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36224 PyObject
*resultobj
= 0;
36225 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36231 PyObject
*swig_obj
[2] ;
36233 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36235 if (!SWIG_IsOK(res1
)) {
36236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36238 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36239 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36240 if (!SWIG_IsOK(ecode2
)) {
36241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36243 arg2
= static_cast< int >(val2
);
36244 if (arg1
) (arg1
)->bpp
= arg2
;
36246 resultobj
= SWIG_Py_Void();
36253 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36254 PyObject
*resultobj
= 0;
36255 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36259 PyObject
*swig_obj
[1] ;
36261 if (!args
) SWIG_fail
;
36262 swig_obj
[0] = args
;
36263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36264 if (!SWIG_IsOK(res1
)) {
36265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36267 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36268 result
= (int) ((arg1
)->bpp
);
36269 resultobj
= SWIG_From_int(static_cast< int >(result
));
36276 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36277 PyObject
*resultobj
= 0;
36278 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36284 PyObject
*swig_obj
[2] ;
36286 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36288 if (!SWIG_IsOK(res1
)) {
36289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36291 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36292 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36293 if (!SWIG_IsOK(ecode2
)) {
36294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36296 arg2
= static_cast< int >(val2
);
36297 if (arg1
) (arg1
)->refresh
= arg2
;
36299 resultobj
= SWIG_Py_Void();
36306 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36307 PyObject
*resultobj
= 0;
36308 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36312 PyObject
*swig_obj
[1] ;
36314 if (!args
) SWIG_fail
;
36315 swig_obj
[0] = args
;
36316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36317 if (!SWIG_IsOK(res1
)) {
36318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36320 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36321 result
= (int) ((arg1
)->refresh
);
36322 resultobj
= SWIG_From_int(static_cast< int >(result
));
36329 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36332 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36333 return SWIG_Py_Void();
36336 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36337 return SWIG_Python_InitShadowInstance(args
);
36340 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36341 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36346 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36347 PyObject
*pyobj
= 0;
36349 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36354 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36355 PyObject
*resultobj
= 0;
36356 unsigned int arg1
= (unsigned int) 0 ;
36357 wxDisplay
*result
= 0 ;
36358 unsigned int val1
;
36360 PyObject
* obj0
= 0 ;
36361 char * kwnames
[] = {
36362 (char *) "index", NULL
36365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36367 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
36368 if (!SWIG_IsOK(ecode1
)) {
36369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "unsigned int""'");
36371 arg1
= static_cast< unsigned int >(val1
);
36374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36375 result
= (wxDisplay
*)new wxDisplay(arg1
);
36376 wxPyEndAllowThreads(__tstate
);
36377 if (PyErr_Occurred()) SWIG_fail
;
36379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36386 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36387 PyObject
*resultobj
= 0;
36388 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36391 PyObject
*swig_obj
[1] ;
36393 if (!args
) SWIG_fail
;
36394 swig_obj
[0] = args
;
36395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36396 if (!SWIG_IsOK(res1
)) {
36397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36399 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36404 wxPyEndAllowThreads(__tstate
);
36405 if (PyErr_Occurred()) SWIG_fail
;
36407 resultobj
= SWIG_Py_Void();
36414 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36415 PyObject
*resultobj
= 0;
36416 unsigned int result
;
36418 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36421 result
= (unsigned int)wxDisplay::GetCount();
36422 wxPyEndAllowThreads(__tstate
);
36423 if (PyErr_Occurred()) SWIG_fail
;
36425 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
36432 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36433 PyObject
*resultobj
= 0;
36434 wxPoint
*arg1
= 0 ;
36437 PyObject
* obj0
= 0 ;
36438 char * kwnames
[] = {
36439 (char *) "pt", NULL
36442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36445 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36449 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36450 wxPyEndAllowThreads(__tstate
);
36451 if (PyErr_Occurred()) SWIG_fail
;
36453 resultobj
= SWIG_From_int(static_cast< int >(result
));
36460 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36461 PyObject
*resultobj
= 0;
36462 wxWindow
*arg1
= (wxWindow
*) 0 ;
36466 PyObject
* obj0
= 0 ;
36467 char * kwnames
[] = {
36468 (char *) "window", NULL
36471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36473 if (!SWIG_IsOK(res1
)) {
36474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow const *""'");
36476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36479 result
= (int)wxDisplay::GetFromWindow((wxWindow
const *)arg1
);
36480 wxPyEndAllowThreads(__tstate
);
36481 if (PyErr_Occurred()) SWIG_fail
;
36483 resultobj
= SWIG_From_int(static_cast< int >(result
));
36490 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36491 PyObject
*resultobj
= 0;
36492 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36496 PyObject
*swig_obj
[1] ;
36498 if (!args
) SWIG_fail
;
36499 swig_obj
[0] = args
;
36500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36501 if (!SWIG_IsOK(res1
)) {
36502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36504 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36508 wxPyEndAllowThreads(__tstate
);
36509 if (PyErr_Occurred()) SWIG_fail
;
36512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36520 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36521 PyObject
*resultobj
= 0;
36522 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36526 PyObject
*swig_obj
[1] ;
36528 if (!args
) SWIG_fail
;
36529 swig_obj
[0] = args
;
36530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36531 if (!SWIG_IsOK(res1
)) {
36532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36534 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36537 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36538 wxPyEndAllowThreads(__tstate
);
36539 if (PyErr_Occurred()) SWIG_fail
;
36541 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36548 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36549 PyObject
*resultobj
= 0;
36550 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36554 PyObject
*swig_obj
[1] ;
36556 if (!args
) SWIG_fail
;
36557 swig_obj
[0] = args
;
36558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36559 if (!SWIG_IsOK(res1
)) {
36560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36562 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36565 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36566 wxPyEndAllowThreads(__tstate
);
36567 if (PyErr_Occurred()) SWIG_fail
;
36569 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36576 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36577 PyObject
*resultobj
= 0;
36578 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36582 PyObject
*swig_obj
[1] ;
36584 if (!args
) SWIG_fail
;
36585 swig_obj
[0] = args
;
36586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36587 if (!SWIG_IsOK(res1
)) {
36588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36590 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36593 result
= ((wxDisplay
const *)arg1
)->GetName();
36594 wxPyEndAllowThreads(__tstate
);
36595 if (PyErr_Occurred()) SWIG_fail
;
36599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36610 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36611 PyObject
*resultobj
= 0;
36612 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36616 PyObject
*swig_obj
[1] ;
36618 if (!args
) SWIG_fail
;
36619 swig_obj
[0] = args
;
36620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36621 if (!SWIG_IsOK(res1
)) {
36622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36624 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36627 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36628 wxPyEndAllowThreads(__tstate
);
36629 if (PyErr_Occurred()) SWIG_fail
;
36632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36640 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36641 PyObject
*resultobj
= 0;
36642 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36643 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36644 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36645 PyObject
*result
= 0 ;
36650 PyObject
* obj0
= 0 ;
36651 PyObject
* obj1
= 0 ;
36652 char * kwnames
[] = {
36653 (char *) "self",(char *) "mode", NULL
36656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36658 if (!SWIG_IsOK(res1
)) {
36659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36661 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36664 if (!SWIG_IsOK(res2
)) {
36665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36670 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36674 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36675 wxPyEndAllowThreads(__tstate
);
36676 if (PyErr_Occurred()) SWIG_fail
;
36678 resultobj
= result
;
36685 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36686 PyObject
*resultobj
= 0;
36687 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36688 wxVideoMode result
;
36691 PyObject
*swig_obj
[1] ;
36693 if (!args
) SWIG_fail
;
36694 swig_obj
[0] = args
;
36695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36696 if (!SWIG_IsOK(res1
)) {
36697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36699 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36702 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36706 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36713 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36714 PyObject
*resultobj
= 0;
36715 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36716 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36717 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36723 PyObject
* obj0
= 0 ;
36724 PyObject
* obj1
= 0 ;
36725 char * kwnames
[] = {
36726 (char *) "self",(char *) "mode", NULL
36729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36731 if (!SWIG_IsOK(res1
)) {
36732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36734 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36737 if (!SWIG_IsOK(res2
)) {
36738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36743 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36747 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36748 wxPyEndAllowThreads(__tstate
);
36749 if (PyErr_Occurred()) SWIG_fail
;
36752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36760 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36761 PyObject
*resultobj
= 0;
36762 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36765 PyObject
*swig_obj
[1] ;
36767 if (!args
) SWIG_fail
;
36768 swig_obj
[0] = args
;
36769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36770 if (!SWIG_IsOK(res1
)) {
36771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36773 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36776 wxDisplay_ResetMode(arg1
);
36777 wxPyEndAllowThreads(__tstate
);
36778 if (PyErr_Occurred()) SWIG_fail
;
36780 resultobj
= SWIG_Py_Void();
36787 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36790 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36791 return SWIG_Py_Void();
36794 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36795 return SWIG_Python_InitShadowInstance(args
);
36798 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36799 PyObject
*resultobj
= 0;
36800 wxStandardPaths
*result
= 0 ;
36802 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36805 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36806 wxPyEndAllowThreads(__tstate
);
36807 if (PyErr_Occurred()) SWIG_fail
;
36809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36816 SWIGINTERN PyObject
*_wrap_StandardPaths_GetExecutablePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36817 PyObject
*resultobj
= 0;
36818 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36822 PyObject
*swig_obj
[1] ;
36824 if (!args
) SWIG_fail
;
36825 swig_obj
[0] = args
;
36826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36827 if (!SWIG_IsOK(res1
)) {
36828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetExecutablePath" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36830 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36833 result
= ((wxStandardPaths
const *)arg1
)->GetExecutablePath();
36834 wxPyEndAllowThreads(__tstate
);
36835 if (PyErr_Occurred()) SWIG_fail
;
36839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36850 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36851 PyObject
*resultobj
= 0;
36852 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36856 PyObject
*swig_obj
[1] ;
36858 if (!args
) SWIG_fail
;
36859 swig_obj
[0] = args
;
36860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36861 if (!SWIG_IsOK(res1
)) {
36862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36864 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36867 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36868 wxPyEndAllowThreads(__tstate
);
36869 if (PyErr_Occurred()) SWIG_fail
;
36873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36884 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36885 PyObject
*resultobj
= 0;
36886 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36890 PyObject
*swig_obj
[1] ;
36892 if (!args
) SWIG_fail
;
36893 swig_obj
[0] = args
;
36894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36895 if (!SWIG_IsOK(res1
)) {
36896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36898 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36901 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36902 wxPyEndAllowThreads(__tstate
);
36903 if (PyErr_Occurred()) SWIG_fail
;
36907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36918 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36919 PyObject
*resultobj
= 0;
36920 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36924 PyObject
*swig_obj
[1] ;
36926 if (!args
) SWIG_fail
;
36927 swig_obj
[0] = args
;
36928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36929 if (!SWIG_IsOK(res1
)) {
36930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36932 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36935 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
36936 wxPyEndAllowThreads(__tstate
);
36937 if (PyErr_Occurred()) SWIG_fail
;
36941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36952 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36953 PyObject
*resultobj
= 0;
36954 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36958 PyObject
*swig_obj
[1] ;
36960 if (!args
) SWIG_fail
;
36961 swig_obj
[0] = args
;
36962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36963 if (!SWIG_IsOK(res1
)) {
36964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36966 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36969 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
36970 wxPyEndAllowThreads(__tstate
);
36971 if (PyErr_Occurred()) SWIG_fail
;
36975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36986 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36987 PyObject
*resultobj
= 0;
36988 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36992 PyObject
*swig_obj
[1] ;
36994 if (!args
) SWIG_fail
;
36995 swig_obj
[0] = args
;
36996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36997 if (!SWIG_IsOK(res1
)) {
36998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37000 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37003 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
37004 wxPyEndAllowThreads(__tstate
);
37005 if (PyErr_Occurred()) SWIG_fail
;
37009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37020 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37021 PyObject
*resultobj
= 0;
37022 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37026 PyObject
*swig_obj
[1] ;
37028 if (!args
) SWIG_fail
;
37029 swig_obj
[0] = args
;
37030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37031 if (!SWIG_IsOK(res1
)) {
37032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37034 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37037 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
37038 wxPyEndAllowThreads(__tstate
);
37039 if (PyErr_Occurred()) SWIG_fail
;
37043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37054 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37055 PyObject
*resultobj
= 0;
37056 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37060 PyObject
*swig_obj
[1] ;
37062 if (!args
) SWIG_fail
;
37063 swig_obj
[0] = args
;
37064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37065 if (!SWIG_IsOK(res1
)) {
37066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37068 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37071 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
37072 wxPyEndAllowThreads(__tstate
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37088 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37089 PyObject
*resultobj
= 0;
37090 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37094 PyObject
*swig_obj
[1] ;
37096 if (!args
) SWIG_fail
;
37097 swig_obj
[0] = args
;
37098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37099 if (!SWIG_IsOK(res1
)) {
37100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37102 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37105 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
37106 wxPyEndAllowThreads(__tstate
);
37107 if (PyErr_Occurred()) SWIG_fail
;
37111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37122 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37123 PyObject
*resultobj
= 0;
37124 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37125 wxString
*arg2
= 0 ;
37126 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
37130 bool temp2
= false ;
37133 PyObject
* obj0
= 0 ;
37134 PyObject
* obj1
= 0 ;
37135 PyObject
* obj2
= 0 ;
37136 char * kwnames
[] = {
37137 (char *) "self",(char *) "lang",(char *) "category", NULL
37140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37142 if (!SWIG_IsOK(res1
)) {
37143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37145 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37147 arg2
= wxString_in_helper(obj1
);
37148 if (arg2
== NULL
) SWIG_fail
;
37152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37153 if (!SWIG_IsOK(ecode3
)) {
37154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
37156 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
37159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37160 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
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());
37185 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37186 PyObject
*resultobj
= 0;
37187 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37191 PyObject
*swig_obj
[1] ;
37193 if (!args
) SWIG_fail
;
37194 swig_obj
[0] = args
;
37195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37196 if (!SWIG_IsOK(res1
)) {
37197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37199 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37202 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37203 wxPyEndAllowThreads(__tstate
);
37204 if (PyErr_Occurred()) SWIG_fail
;
37208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37219 SWIGINTERN PyObject
*_wrap_StandardPaths_GetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37220 PyObject
*resultobj
= 0;
37221 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37225 PyObject
*swig_obj
[1] ;
37227 if (!args
) SWIG_fail
;
37228 swig_obj
[0] = args
;
37229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37230 if (!SWIG_IsOK(res1
)) {
37231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetTempDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37233 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37236 result
= ((wxStandardPaths
const *)arg1
)->GetTempDir();
37237 wxPyEndAllowThreads(__tstate
);
37238 if (PyErr_Occurred()) SWIG_fail
;
37242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37253 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37254 PyObject
*resultobj
= 0;
37255 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37256 wxString
*arg2
= 0 ;
37259 bool temp2
= false ;
37260 PyObject
* obj0
= 0 ;
37261 PyObject
* obj1
= 0 ;
37262 char * kwnames
[] = {
37263 (char *) "self",(char *) "prefix", NULL
37266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37268 if (!SWIG_IsOK(res1
)) {
37269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37271 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37273 arg2
= wxString_in_helper(obj1
);
37274 if (arg2
== NULL
) SWIG_fail
;
37278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37279 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
37280 wxPyEndAllowThreads(__tstate
);
37281 if (PyErr_Occurred()) SWIG_fail
;
37283 resultobj
= SWIG_Py_Void();
37298 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37299 PyObject
*resultobj
= 0;
37300 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37304 PyObject
*swig_obj
[1] ;
37306 if (!args
) SWIG_fail
;
37307 swig_obj
[0] = args
;
37308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37309 if (!SWIG_IsOK(res1
)) {
37310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37312 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37315 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
37316 wxPyEndAllowThreads(__tstate
);
37317 if (PyErr_Occurred()) SWIG_fail
;
37321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37332 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37335 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37336 return SWIG_Py_Void();
37339 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37340 PyObject
*resultobj
= 0;
37342 wxPowerEvent
*result
= 0 ;
37345 PyObject
* obj0
= 0 ;
37346 char * kwnames
[] = {
37347 (char *) "evtType", NULL
37350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37352 if (!SWIG_IsOK(ecode1
)) {
37353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37355 arg1
= static_cast< wxEventType
>(val1
);
37357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37358 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37359 wxPyEndAllowThreads(__tstate
);
37360 if (PyErr_Occurred()) SWIG_fail
;
37362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37369 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37370 PyObject
*resultobj
= 0;
37371 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37374 PyObject
*swig_obj
[1] ;
37376 if (!args
) SWIG_fail
;
37377 swig_obj
[0] = args
;
37378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37379 if (!SWIG_IsOK(res1
)) {
37380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37382 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37386 wxPyEndAllowThreads(__tstate
);
37387 if (PyErr_Occurred()) SWIG_fail
;
37389 resultobj
= SWIG_Py_Void();
37396 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37397 PyObject
*resultobj
= 0;
37398 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37402 PyObject
*swig_obj
[1] ;
37404 if (!args
) SWIG_fail
;
37405 swig_obj
[0] = args
;
37406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37407 if (!SWIG_IsOK(res1
)) {
37408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37410 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37413 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37414 wxPyEndAllowThreads(__tstate
);
37415 if (PyErr_Occurred()) SWIG_fail
;
37418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37426 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37428 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37429 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37430 return SWIG_Py_Void();
37433 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37434 return SWIG_Python_InitShadowInstance(args
);
37437 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37438 PyObject
*resultobj
= 0;
37439 wxPowerType result
;
37441 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37444 result
= (wxPowerType
)wxGetPowerType();
37445 wxPyEndAllowThreads(__tstate
);
37446 if (PyErr_Occurred()) SWIG_fail
;
37448 resultobj
= SWIG_From_int(static_cast< int >(result
));
37455 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37456 PyObject
*resultobj
= 0;
37457 wxBatteryState result
;
37459 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37462 result
= (wxBatteryState
)wxGetBatteryState();
37463 wxPyEndAllowThreads(__tstate
);
37464 if (PyErr_Occurred()) SWIG_fail
;
37466 resultobj
= SWIG_From_int(static_cast< int >(result
));
37473 SWIGINTERN PyObject
*_wrap_new_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37474 PyObject
*resultobj
= 0;
37475 wxAboutDialogInfo
*result
= 0 ;
37477 if (!SWIG_Python_UnpackTuple(args
,"new_AboutDialogInfo",0,0,0)) SWIG_fail
;
37479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37480 result
= (wxAboutDialogInfo
*)new wxAboutDialogInfo();
37481 wxPyEndAllowThreads(__tstate
);
37482 if (PyErr_Occurred()) SWIG_fail
;
37484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_NEW
| 0 );
37491 SWIGINTERN PyObject
*_wrap_delete_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37492 PyObject
*resultobj
= 0;
37493 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37496 PyObject
*swig_obj
[1] ;
37498 if (!args
) SWIG_fail
;
37499 swig_obj
[0] = args
;
37500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_DISOWN
| 0 );
37501 if (!SWIG_IsOK(res1
)) {
37502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AboutDialogInfo" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37504 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37509 wxPyEndAllowThreads(__tstate
);
37510 if (PyErr_Occurred()) SWIG_fail
;
37512 resultobj
= SWIG_Py_Void();
37519 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37520 PyObject
*resultobj
= 0;
37521 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37522 wxString
*arg2
= 0 ;
37525 bool temp2
= false ;
37526 PyObject
* obj0
= 0 ;
37527 PyObject
* obj1
= 0 ;
37528 char * kwnames
[] = {
37529 (char *) "self",(char *) "name", NULL
37532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37534 if (!SWIG_IsOK(res1
)) {
37535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37537 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37539 arg2
= wxString_in_helper(obj1
);
37540 if (arg2
== NULL
) SWIG_fail
;
37544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37545 (arg1
)->SetName((wxString
const &)*arg2
);
37546 wxPyEndAllowThreads(__tstate
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37549 resultobj
= SWIG_Py_Void();
37564 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37565 PyObject
*resultobj
= 0;
37566 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37570 PyObject
*swig_obj
[1] ;
37572 if (!args
) SWIG_fail
;
37573 swig_obj
[0] = args
;
37574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37575 if (!SWIG_IsOK(res1
)) {
37576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37578 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 result
= ((wxAboutDialogInfo
const *)arg1
)->GetName();
37582 wxPyEndAllowThreads(__tstate
);
37583 if (PyErr_Occurred()) SWIG_fail
;
37587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37598 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37599 PyObject
*resultobj
= 0;
37600 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37601 wxString
*arg2
= 0 ;
37604 bool temp2
= false ;
37605 PyObject
* obj0
= 0 ;
37606 PyObject
* obj1
= 0 ;
37607 char * kwnames
[] = {
37608 (char *) "self",(char *) "version", NULL
37611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37613 if (!SWIG_IsOK(res1
)) {
37614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37616 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37618 arg2
= wxString_in_helper(obj1
);
37619 if (arg2
== NULL
) SWIG_fail
;
37623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37624 (arg1
)->SetVersion((wxString
const &)*arg2
);
37625 wxPyEndAllowThreads(__tstate
);
37626 if (PyErr_Occurred()) SWIG_fail
;
37628 resultobj
= SWIG_Py_Void();
37643 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37644 PyObject
*resultobj
= 0;
37645 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37649 PyObject
*swig_obj
[1] ;
37651 if (!args
) SWIG_fail
;
37652 swig_obj
[0] = args
;
37653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37654 if (!SWIG_IsOK(res1
)) {
37655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37657 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37660 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasVersion();
37661 wxPyEndAllowThreads(__tstate
);
37662 if (PyErr_Occurred()) SWIG_fail
;
37665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37673 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37674 PyObject
*resultobj
= 0;
37675 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37679 PyObject
*swig_obj
[1] ;
37681 if (!args
) SWIG_fail
;
37682 swig_obj
[0] = args
;
37683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37684 if (!SWIG_IsOK(res1
)) {
37685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37687 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37690 result
= ((wxAboutDialogInfo
const *)arg1
)->GetVersion();
37691 wxPyEndAllowThreads(__tstate
);
37692 if (PyErr_Occurred()) SWIG_fail
;
37696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37707 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37708 PyObject
*resultobj
= 0;
37709 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37710 wxString
*arg2
= 0 ;
37713 bool temp2
= false ;
37714 PyObject
* obj0
= 0 ;
37715 PyObject
* obj1
= 0 ;
37716 char * kwnames
[] = {
37717 (char *) "self",(char *) "desc", NULL
37720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDescription",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37722 if (!SWIG_IsOK(res1
)) {
37723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37725 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37727 arg2
= wxString_in_helper(obj1
);
37728 if (arg2
== NULL
) SWIG_fail
;
37732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37733 (arg1
)->SetDescription((wxString
const &)*arg2
);
37734 wxPyEndAllowThreads(__tstate
);
37735 if (PyErr_Occurred()) SWIG_fail
;
37737 resultobj
= SWIG_Py_Void();
37752 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37753 PyObject
*resultobj
= 0;
37754 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37758 PyObject
*swig_obj
[1] ;
37760 if (!args
) SWIG_fail
;
37761 swig_obj
[0] = args
;
37762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37763 if (!SWIG_IsOK(res1
)) {
37764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37766 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37769 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDescription();
37770 wxPyEndAllowThreads(__tstate
);
37771 if (PyErr_Occurred()) SWIG_fail
;
37774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37782 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37783 PyObject
*resultobj
= 0;
37784 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37788 PyObject
*swig_obj
[1] ;
37790 if (!args
) SWIG_fail
;
37791 swig_obj
[0] = args
;
37792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37793 if (!SWIG_IsOK(res1
)) {
37794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37796 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37799 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescription();
37800 wxPyEndAllowThreads(__tstate
);
37801 if (PyErr_Occurred()) SWIG_fail
;
37805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37816 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37817 PyObject
*resultobj
= 0;
37818 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37819 wxString
*arg2
= 0 ;
37822 bool temp2
= false ;
37823 PyObject
* obj0
= 0 ;
37824 PyObject
* obj1
= 0 ;
37825 char * kwnames
[] = {
37826 (char *) "self",(char *) "copyright", NULL
37829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetCopyright",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37831 if (!SWIG_IsOK(res1
)) {
37832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37834 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37836 arg2
= wxString_in_helper(obj1
);
37837 if (arg2
== NULL
) SWIG_fail
;
37841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37842 (arg1
)->SetCopyright((wxString
const &)*arg2
);
37843 wxPyEndAllowThreads(__tstate
);
37844 if (PyErr_Occurred()) SWIG_fail
;
37846 resultobj
= SWIG_Py_Void();
37861 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37862 PyObject
*resultobj
= 0;
37863 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37867 PyObject
*swig_obj
[1] ;
37869 if (!args
) SWIG_fail
;
37870 swig_obj
[0] = args
;
37871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37872 if (!SWIG_IsOK(res1
)) {
37873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37875 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37878 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasCopyright();
37879 wxPyEndAllowThreads(__tstate
);
37880 if (PyErr_Occurred()) SWIG_fail
;
37883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37891 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37892 PyObject
*resultobj
= 0;
37893 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37897 PyObject
*swig_obj
[1] ;
37899 if (!args
) SWIG_fail
;
37900 swig_obj
[0] = args
;
37901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37902 if (!SWIG_IsOK(res1
)) {
37903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37905 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37908 result
= ((wxAboutDialogInfo
const *)arg1
)->GetCopyright();
37909 wxPyEndAllowThreads(__tstate
);
37910 if (PyErr_Occurred()) SWIG_fail
;
37914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37925 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37926 PyObject
*resultobj
= 0;
37927 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37928 wxString
*arg2
= 0 ;
37931 bool temp2
= false ;
37932 PyObject
* obj0
= 0 ;
37933 PyObject
* obj1
= 0 ;
37934 char * kwnames
[] = {
37935 (char *) "self",(char *) "licence", NULL
37938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicence",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37940 if (!SWIG_IsOK(res1
)) {
37941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37943 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37945 arg2
= wxString_in_helper(obj1
);
37946 if (arg2
== NULL
) SWIG_fail
;
37950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37951 (arg1
)->SetLicence((wxString
const &)*arg2
);
37952 wxPyEndAllowThreads(__tstate
);
37953 if (PyErr_Occurred()) SWIG_fail
;
37955 resultobj
= SWIG_Py_Void();
37970 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicense(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37971 PyObject
*resultobj
= 0;
37972 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37973 wxString
*arg2
= 0 ;
37976 bool temp2
= false ;
37977 PyObject
* obj0
= 0 ;
37978 PyObject
* obj1
= 0 ;
37979 char * kwnames
[] = {
37980 (char *) "self",(char *) "licence", NULL
37983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicense",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37985 if (!SWIG_IsOK(res1
)) {
37986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicense" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37988 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37990 arg2
= wxString_in_helper(obj1
);
37991 if (arg2
== NULL
) SWIG_fail
;
37995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37996 (arg1
)->SetLicense((wxString
const &)*arg2
);
37997 wxPyEndAllowThreads(__tstate
);
37998 if (PyErr_Occurred()) SWIG_fail
;
38000 resultobj
= SWIG_Py_Void();
38015 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38016 PyObject
*resultobj
= 0;
38017 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38021 PyObject
*swig_obj
[1] ;
38023 if (!args
) SWIG_fail
;
38024 swig_obj
[0] = args
;
38025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38026 if (!SWIG_IsOK(res1
)) {
38027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38029 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38032 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasLicence();
38033 wxPyEndAllowThreads(__tstate
);
38034 if (PyErr_Occurred()) SWIG_fail
;
38037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38045 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38046 PyObject
*resultobj
= 0;
38047 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38051 PyObject
*swig_obj
[1] ;
38053 if (!args
) SWIG_fail
;
38054 swig_obj
[0] = args
;
38055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38056 if (!SWIG_IsOK(res1
)) {
38057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38059 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38062 result
= ((wxAboutDialogInfo
const *)arg1
)->GetLicence();
38063 wxPyEndAllowThreads(__tstate
);
38064 if (PyErr_Occurred()) SWIG_fail
;
38068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38079 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38080 PyObject
*resultobj
= 0;
38081 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38087 PyObject
* obj0
= 0 ;
38088 PyObject
* obj1
= 0 ;
38089 char * kwnames
[] = {
38090 (char *) "self",(char *) "icon", NULL
38093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38095 if (!SWIG_IsOK(res1
)) {
38096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38098 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38100 if (!SWIG_IsOK(res2
)) {
38101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38106 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38109 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
38110 wxPyEndAllowThreads(__tstate
);
38111 if (PyErr_Occurred()) SWIG_fail
;
38113 resultobj
= SWIG_Py_Void();
38120 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38121 PyObject
*resultobj
= 0;
38122 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38126 PyObject
*swig_obj
[1] ;
38128 if (!args
) SWIG_fail
;
38129 swig_obj
[0] = args
;
38130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38131 if (!SWIG_IsOK(res1
)) {
38132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38134 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38137 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasIcon();
38138 wxPyEndAllowThreads(__tstate
);
38139 if (PyErr_Occurred()) SWIG_fail
;
38142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38150 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38151 PyObject
*resultobj
= 0;
38152 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38156 PyObject
*swig_obj
[1] ;
38158 if (!args
) SWIG_fail
;
38159 swig_obj
[0] = args
;
38160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38161 if (!SWIG_IsOK(res1
)) {
38162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38164 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38167 result
= ((wxAboutDialogInfo
const *)arg1
)->GetIcon();
38168 wxPyEndAllowThreads(__tstate
);
38169 if (PyErr_Occurred()) SWIG_fail
;
38171 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
38178 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__SetWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38179 PyObject
*resultobj
= 0;
38180 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38181 wxString
*arg2
= 0 ;
38182 wxString
const &arg3_defvalue
= wxEmptyString
;
38183 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
38186 bool temp2
= false ;
38187 bool temp3
= false ;
38188 PyObject
* obj0
= 0 ;
38189 PyObject
* obj1
= 0 ;
38190 PyObject
* obj2
= 0 ;
38191 char * kwnames
[] = {
38192 (char *) "self",(char *) "url",(char *) "desc", NULL
38195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AboutDialogInfo__SetWebSite",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38197 if (!SWIG_IsOK(res1
)) {
38198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__SetWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38200 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38202 arg2
= wxString_in_helper(obj1
);
38203 if (arg2
== NULL
) SWIG_fail
;
38208 arg3
= wxString_in_helper(obj2
);
38209 if (arg3
== NULL
) SWIG_fail
;
38214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38215 (arg1
)->SetWebSite((wxString
const &)*arg2
,(wxString
const &)*arg3
);
38216 wxPyEndAllowThreads(__tstate
);
38217 if (PyErr_Occurred()) SWIG_fail
;
38219 resultobj
= SWIG_Py_Void();
38242 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38243 PyObject
*resultobj
= 0;
38244 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38248 PyObject
*swig_obj
[1] ;
38250 if (!args
) SWIG_fail
;
38251 swig_obj
[0] = args
;
38252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38253 if (!SWIG_IsOK(res1
)) {
38254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteURL" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38256 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38259 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteURL();
38260 wxPyEndAllowThreads(__tstate
);
38261 if (PyErr_Occurred()) SWIG_fail
;
38265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38276 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38277 PyObject
*resultobj
= 0;
38278 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38282 PyObject
*swig_obj
[1] ;
38284 if (!args
) SWIG_fail
;
38285 swig_obj
[0] = args
;
38286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38287 if (!SWIG_IsOK(res1
)) {
38288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38290 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38293 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteDescription();
38294 wxPyEndAllowThreads(__tstate
);
38295 if (PyErr_Occurred()) SWIG_fail
;
38299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38310 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38311 PyObject
*resultobj
= 0;
38312 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38316 PyObject
*swig_obj
[1] ;
38318 if (!args
) SWIG_fail
;
38319 swig_obj
[0] = args
;
38320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38321 if (!SWIG_IsOK(res1
)) {
38322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38324 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38327 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasWebSite();
38328 wxPyEndAllowThreads(__tstate
);
38329 if (PyErr_Occurred()) SWIG_fail
;
38332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38340 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38341 PyObject
*resultobj
= 0;
38342 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38343 wxArrayString
*arg2
= 0 ;
38346 bool temp2
= false ;
38347 PyObject
* obj0
= 0 ;
38348 PyObject
* obj1
= 0 ;
38349 char * kwnames
[] = {
38350 (char *) "self",(char *) "developers", NULL
38353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDevelopers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38355 if (!SWIG_IsOK(res1
)) {
38356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38358 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38360 if (! PySequence_Check(obj1
)) {
38361 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38364 arg2
= new wxArrayString
;
38366 int i
, len
=PySequence_Length(obj1
);
38367 for (i
=0; i
<len
; i
++) {
38368 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38369 wxString
* s
= wxString_in_helper(item
);
38370 if (PyErr_Occurred()) SWIG_fail
;
38377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38378 (arg1
)->SetDevelopers((wxArrayString
const &)*arg2
);
38379 wxPyEndAllowThreads(__tstate
);
38380 if (PyErr_Occurred()) SWIG_fail
;
38382 resultobj
= SWIG_Py_Void();
38384 if (temp2
) delete arg2
;
38389 if (temp2
) delete arg2
;
38395 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDeveloper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38396 PyObject
*resultobj
= 0;
38397 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38398 wxString
*arg2
= 0 ;
38401 bool temp2
= false ;
38402 PyObject
* obj0
= 0 ;
38403 PyObject
* obj1
= 0 ;
38404 char * kwnames
[] = {
38405 (char *) "self",(char *) "developer", NULL
38408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDeveloper",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_AddDeveloper" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38413 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38415 arg2
= wxString_in_helper(obj1
);
38416 if (arg2
== NULL
) SWIG_fail
;
38420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38421 (arg1
)->AddDeveloper((wxString
const &)*arg2
);
38422 wxPyEndAllowThreads(__tstate
);
38423 if (PyErr_Occurred()) SWIG_fail
;
38425 resultobj
= SWIG_Py_Void();
38440 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38441 PyObject
*resultobj
= 0;
38442 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38446 PyObject
*swig_obj
[1] ;
38448 if (!args
) SWIG_fail
;
38449 swig_obj
[0] = args
;
38450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38451 if (!SWIG_IsOK(res1
)) {
38452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38454 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38457 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDevelopers();
38458 wxPyEndAllowThreads(__tstate
);
38459 if (PyErr_Occurred()) SWIG_fail
;
38462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38470 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38471 PyObject
*resultobj
= 0;
38472 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38473 wxArrayString
*result
= 0 ;
38476 PyObject
*swig_obj
[1] ;
38478 if (!args
) SWIG_fail
;
38479 swig_obj
[0] = args
;
38480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38481 if (!SWIG_IsOK(res1
)) {
38482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38484 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38488 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDevelopers();
38489 result
= (wxArrayString
*) &_result_ref
;
38491 wxPyEndAllowThreads(__tstate
);
38492 if (PyErr_Occurred()) SWIG_fail
;
38495 resultobj
= wxArrayString2PyList_helper(*result
);
38503 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38504 PyObject
*resultobj
= 0;
38505 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38506 wxArrayString
*arg2
= 0 ;
38509 bool temp2
= false ;
38510 PyObject
* obj0
= 0 ;
38511 PyObject
* obj1
= 0 ;
38512 char * kwnames
[] = {
38513 (char *) "self",(char *) "docwriters", NULL
38516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDocWriters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38518 if (!SWIG_IsOK(res1
)) {
38519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38521 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38523 if (! PySequence_Check(obj1
)) {
38524 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38527 arg2
= new wxArrayString
;
38529 int i
, len
=PySequence_Length(obj1
);
38530 for (i
=0; i
<len
; i
++) {
38531 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38532 wxString
* s
= wxString_in_helper(item
);
38533 if (PyErr_Occurred()) SWIG_fail
;
38540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38541 (arg1
)->SetDocWriters((wxArrayString
const &)*arg2
);
38542 wxPyEndAllowThreads(__tstate
);
38543 if (PyErr_Occurred()) SWIG_fail
;
38545 resultobj
= SWIG_Py_Void();
38547 if (temp2
) delete arg2
;
38552 if (temp2
) delete arg2
;
38558 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDocWriter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38559 PyObject
*resultobj
= 0;
38560 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38561 wxString
*arg2
= 0 ;
38564 bool temp2
= false ;
38565 PyObject
* obj0
= 0 ;
38566 PyObject
* obj1
= 0 ;
38567 char * kwnames
[] = {
38568 (char *) "self",(char *) "docwriter", NULL
38571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDocWriter",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_AddDocWriter" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38576 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38578 arg2
= wxString_in_helper(obj1
);
38579 if (arg2
== NULL
) SWIG_fail
;
38583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38584 (arg1
)->AddDocWriter((wxString
const &)*arg2
);
38585 wxPyEndAllowThreads(__tstate
);
38586 if (PyErr_Occurred()) SWIG_fail
;
38588 resultobj
= SWIG_Py_Void();
38603 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38604 PyObject
*resultobj
= 0;
38605 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38609 PyObject
*swig_obj
[1] ;
38611 if (!args
) SWIG_fail
;
38612 swig_obj
[0] = args
;
38613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38614 if (!SWIG_IsOK(res1
)) {
38615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38617 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38620 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDocWriters();
38621 wxPyEndAllowThreads(__tstate
);
38622 if (PyErr_Occurred()) SWIG_fail
;
38625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38633 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38634 PyObject
*resultobj
= 0;
38635 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38636 wxArrayString
*result
= 0 ;
38639 PyObject
*swig_obj
[1] ;
38641 if (!args
) SWIG_fail
;
38642 swig_obj
[0] = args
;
38643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38644 if (!SWIG_IsOK(res1
)) {
38645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38647 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38651 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDocWriters();
38652 result
= (wxArrayString
*) &_result_ref
;
38654 wxPyEndAllowThreads(__tstate
);
38655 if (PyErr_Occurred()) SWIG_fail
;
38658 resultobj
= wxArrayString2PyList_helper(*result
);
38666 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38667 PyObject
*resultobj
= 0;
38668 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38669 wxArrayString
*arg2
= 0 ;
38672 bool temp2
= false ;
38673 PyObject
* obj0
= 0 ;
38674 PyObject
* obj1
= 0 ;
38675 char * kwnames
[] = {
38676 (char *) "self",(char *) "artists", NULL
38679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetArtists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38681 if (!SWIG_IsOK(res1
)) {
38682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38684 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38686 if (! PySequence_Check(obj1
)) {
38687 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38690 arg2
= new wxArrayString
;
38692 int i
, len
=PySequence_Length(obj1
);
38693 for (i
=0; i
<len
; i
++) {
38694 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38695 wxString
* s
= wxString_in_helper(item
);
38696 if (PyErr_Occurred()) SWIG_fail
;
38703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38704 (arg1
)->SetArtists((wxArrayString
const &)*arg2
);
38705 wxPyEndAllowThreads(__tstate
);
38706 if (PyErr_Occurred()) SWIG_fail
;
38708 resultobj
= SWIG_Py_Void();
38710 if (temp2
) delete arg2
;
38715 if (temp2
) delete arg2
;
38721 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddArtist(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38722 PyObject
*resultobj
= 0;
38723 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38724 wxString
*arg2
= 0 ;
38727 bool temp2
= false ;
38728 PyObject
* obj0
= 0 ;
38729 PyObject
* obj1
= 0 ;
38730 char * kwnames
[] = {
38731 (char *) "self",(char *) "artist", NULL
38734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddArtist",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_AddArtist" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38739 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38741 arg2
= wxString_in_helper(obj1
);
38742 if (arg2
== NULL
) SWIG_fail
;
38746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38747 (arg1
)->AddArtist((wxString
const &)*arg2
);
38748 wxPyEndAllowThreads(__tstate
);
38749 if (PyErr_Occurred()) SWIG_fail
;
38751 resultobj
= SWIG_Py_Void();
38766 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38767 PyObject
*resultobj
= 0;
38768 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38772 PyObject
*swig_obj
[1] ;
38774 if (!args
) SWIG_fail
;
38775 swig_obj
[0] = args
;
38776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38777 if (!SWIG_IsOK(res1
)) {
38778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38780 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38783 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasArtists();
38784 wxPyEndAllowThreads(__tstate
);
38785 if (PyErr_Occurred()) SWIG_fail
;
38788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38796 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38797 PyObject
*resultobj
= 0;
38798 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38799 wxArrayString
*result
= 0 ;
38802 PyObject
*swig_obj
[1] ;
38804 if (!args
) SWIG_fail
;
38805 swig_obj
[0] = args
;
38806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38807 if (!SWIG_IsOK(res1
)) {
38808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38810 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38814 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetArtists();
38815 result
= (wxArrayString
*) &_result_ref
;
38817 wxPyEndAllowThreads(__tstate
);
38818 if (PyErr_Occurred()) SWIG_fail
;
38821 resultobj
= wxArrayString2PyList_helper(*result
);
38829 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38830 PyObject
*resultobj
= 0;
38831 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38832 wxArrayString
*arg2
= 0 ;
38835 bool temp2
= false ;
38836 PyObject
* obj0
= 0 ;
38837 PyObject
* obj1
= 0 ;
38838 char * kwnames
[] = {
38839 (char *) "self",(char *) "translators", NULL
38842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetTranslators",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38844 if (!SWIG_IsOK(res1
)) {
38845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38847 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38849 if (! PySequence_Check(obj1
)) {
38850 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38853 arg2
= new wxArrayString
;
38855 int i
, len
=PySequence_Length(obj1
);
38856 for (i
=0; i
<len
; i
++) {
38857 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38858 wxString
* s
= wxString_in_helper(item
);
38859 if (PyErr_Occurred()) SWIG_fail
;
38866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38867 (arg1
)->SetTranslators((wxArrayString
const &)*arg2
);
38868 wxPyEndAllowThreads(__tstate
);
38869 if (PyErr_Occurred()) SWIG_fail
;
38871 resultobj
= SWIG_Py_Void();
38873 if (temp2
) delete arg2
;
38878 if (temp2
) delete arg2
;
38884 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddTranslator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38885 PyObject
*resultobj
= 0;
38886 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38887 wxString
*arg2
= 0 ;
38890 bool temp2
= false ;
38891 PyObject
* obj0
= 0 ;
38892 PyObject
* obj1
= 0 ;
38893 char * kwnames
[] = {
38894 (char *) "self",(char *) "translator", NULL
38897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddTranslator",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_AddTranslator" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38902 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38904 arg2
= wxString_in_helper(obj1
);
38905 if (arg2
== NULL
) SWIG_fail
;
38909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38910 (arg1
)->AddTranslator((wxString
const &)*arg2
);
38911 wxPyEndAllowThreads(__tstate
);
38912 if (PyErr_Occurred()) SWIG_fail
;
38914 resultobj
= SWIG_Py_Void();
38929 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38930 PyObject
*resultobj
= 0;
38931 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38935 PyObject
*swig_obj
[1] ;
38937 if (!args
) SWIG_fail
;
38938 swig_obj
[0] = args
;
38939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38940 if (!SWIG_IsOK(res1
)) {
38941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38943 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38946 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasTranslators();
38947 wxPyEndAllowThreads(__tstate
);
38948 if (PyErr_Occurred()) SWIG_fail
;
38951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38959 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38960 PyObject
*resultobj
= 0;
38961 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38962 wxArrayString
*result
= 0 ;
38965 PyObject
*swig_obj
[1] ;
38967 if (!args
) SWIG_fail
;
38968 swig_obj
[0] = args
;
38969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38970 if (!SWIG_IsOK(res1
)) {
38971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38973 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38977 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetTranslators();
38978 result
= (wxArrayString
*) &_result_ref
;
38980 wxPyEndAllowThreads(__tstate
);
38981 if (PyErr_Occurred()) SWIG_fail
;
38984 resultobj
= wxArrayString2PyList_helper(*result
);
38992 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_IsSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38993 PyObject
*resultobj
= 0;
38994 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38998 PyObject
*swig_obj
[1] ;
39000 if (!args
) SWIG_fail
;
39001 swig_obj
[0] = args
;
39002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39003 if (!SWIG_IsOK(res1
)) {
39004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_IsSimple" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39006 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39009 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->IsSimple();
39010 wxPyEndAllowThreads(__tstate
);
39011 if (PyErr_Occurred()) SWIG_fail
;
39014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39022 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescriptionAndCredits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39023 PyObject
*resultobj
= 0;
39024 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39028 PyObject
*swig_obj
[1] ;
39030 if (!args
) SWIG_fail
;
39031 swig_obj
[0] = args
;
39032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39033 if (!SWIG_IsOK(res1
)) {
39034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescriptionAndCredits" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39036 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39039 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescriptionAndCredits();
39040 wxPyEndAllowThreads(__tstate
);
39041 if (PyErr_Occurred()) SWIG_fail
;
39045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39056 SWIGINTERN PyObject
*AboutDialogInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39059 SWIG_TypeNewClientData(SWIGTYPE_p_wxAboutDialogInfo
, SWIG_NewClientData(obj
));
39060 return SWIG_Py_Void();
39063 SWIGINTERN PyObject
*AboutDialogInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39064 return SWIG_Python_InitShadowInstance(args
);
39067 SWIGINTERN PyObject
*_wrap_AboutBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39068 PyObject
*resultobj
= 0;
39069 wxAboutDialogInfo
*arg1
= 0 ;
39072 PyObject
* obj0
= 0 ;
39073 char * kwnames
[] = {
39074 (char *) "info", NULL
39077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AboutBox",kwnames
,&obj0
)) SWIG_fail
;
39078 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0);
39079 if (!SWIG_IsOK(res1
)) {
39080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39085 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39088 wxAboutBox((wxAboutDialogInfo
const &)*arg1
);
39089 wxPyEndAllowThreads(__tstate
);
39090 if (PyErr_Occurred()) SWIG_fail
;
39092 resultobj
= SWIG_Py_Void();
39099 static PyMethodDef SwigMethods
[] = {
39100 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
39105 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
39107 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
39108 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
39115 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
39116 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
39117 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
39119 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
39124 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
39125 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
39126 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
39127 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
39129 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
39130 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
39131 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
39132 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
39133 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
39140 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
39141 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
39142 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
39143 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
39144 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
39145 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
39147 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
39148 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
39159 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
39160 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
39161 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
39162 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
39163 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
39164 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
39165 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
39166 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
39167 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
39169 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
39171 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
39172 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
39173 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
39179 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
39180 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
39181 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
39182 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
39183 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
39184 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
39185 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
39186 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
39187 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
39188 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
39189 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
39190 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
39200 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
39201 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
39202 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
39203 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
39204 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
39205 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
39206 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
39207 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
39208 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
39209 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
39210 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
39212 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
39214 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
39215 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
39218 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
39219 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
39221 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
39222 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
39223 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
39224 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
39225 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
39226 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
39227 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
39228 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
39229 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
39235 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
39236 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
39238 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
39239 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
39241 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
39242 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
39243 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
39245 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
39246 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
39247 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
39249 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
39250 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
39251 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
39252 { (char *)"delete_StopWatch", (PyCFunction
)_wrap_delete_StopWatch
, METH_O
, NULL
},
39253 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
39255 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
39256 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
39257 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
39258 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
39259 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
39261 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
39264 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
39269 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
39272 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
39273 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
39274 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
39276 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
39277 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
39279 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
39280 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
39281 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
39282 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
39285 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
39286 { (char *)"PlatformInformation_CheckOSVersion", (PyCFunction
) _wrap_PlatformInformation_CheckOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
39288 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
39289 { (char *)"PlatformInformation_CheckToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_CheckToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
39291 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
39292 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
39293 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
39294 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
39295 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
39296 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
39297 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
39298 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
39299 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
39300 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
39301 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
39308 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
39309 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
39310 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
39312 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
39313 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
39314 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
39316 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
39319 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
39320 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
39324 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
39327 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
39329 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
39330 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
39331 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
39332 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
39333 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
39334 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
39335 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
39336 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
39338 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
39339 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
39340 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
39341 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
39342 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
39344 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
39345 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
39346 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
39347 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
39348 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
39351 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
39352 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
39353 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
39355 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
39356 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39359 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
39361 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
39365 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
39366 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
39368 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
39369 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
39371 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
39372 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
39373 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
39374 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
39375 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
39376 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
39377 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
39378 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
39379 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
39381 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
39382 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
39383 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
39384 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
39385 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
39388 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
39389 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
39390 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
39392 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
39393 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
39397 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
39398 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
39399 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
39400 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
39401 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
39402 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
39403 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
39404 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
39405 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
39418 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
39420 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
39421 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
39422 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
39423 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
39424 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
39426 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
39427 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"delete_Process", (PyCFunction
)_wrap_delete_Process
, METH_O
, NULL
},
39432 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"Process_GetPid", (PyCFunction
)_wrap_Process_GetPid
, METH_O
, NULL
},
39434 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
39436 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
39437 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
39438 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
39439 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
39440 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
39441 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
39442 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
39443 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
39444 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
39445 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
39446 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
39447 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
39449 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
39450 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
39451 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
39452 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
39453 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
39454 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
39455 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
39456 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
39460 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
39461 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
39462 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
39463 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
39464 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
39465 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
39466 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
39467 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
39468 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
39469 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
39471 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
39472 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
39473 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
39474 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
39475 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
39476 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
39477 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
39478 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
39479 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
39480 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
39481 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
39482 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
39483 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
39484 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
39485 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
39486 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
39487 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
39488 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
39489 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
39490 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
39491 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
39492 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
39493 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
39494 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
39495 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
39496 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
39497 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
39498 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
39499 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
39500 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
39502 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
39503 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
39504 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
39506 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
39507 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
39508 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
39509 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
39510 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
39516 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
39517 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
39518 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
39522 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
39523 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
39526 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
39529 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
39532 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
39533 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
39534 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
39537 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
39538 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
39541 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
39542 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
39543 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
39544 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
39545 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
39546 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
39547 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
39548 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
39549 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
39550 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
39551 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
39553 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
39554 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
39555 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
39556 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
39557 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
39558 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
39559 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
39565 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
39567 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
39568 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
39570 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
39572 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
39577 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
39581 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
39582 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
39583 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
39584 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
39585 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"ArtProvider_Push", (PyCFunction
) _wrap_ArtProvider_Push
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"ArtProvider_Insert", (PyCFunction
) _wrap_ArtProvider_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"ArtProvider_Pop", (PyCFunction
)_wrap_ArtProvider_Pop
, METH_NOARGS
, NULL
},
39589 { (char *)"ArtProvider_Delete", (PyCFunction
) _wrap_ArtProvider_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
39594 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
39595 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
39596 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
39597 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
39600 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39601 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
39603 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
39604 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
39606 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
39627 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
39629 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
39631 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
39633 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
39634 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
39638 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
39639 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
39641 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
39642 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
39643 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
39645 { (char *)"FileConfig_GetGlobalFileName", (PyCFunction
) _wrap_FileConfig_GetGlobalFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"FileConfig_GetLocalFileName", (PyCFunction
) _wrap_FileConfig_GetLocalFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
39648 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
39649 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
39651 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
39652 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
39653 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
39654 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
39657 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
39668 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
39672 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
39673 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
39674 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
39675 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
39681 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
39682 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
39687 { (char *)"DateTime_GetDateOnly", (PyCFunction
)_wrap_DateTime_GetDateOnly
, METH_O
, NULL
},
39688 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
39710 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
39711 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
39712 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
39713 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
39714 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
39726 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
39727 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
39753 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
39754 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
39755 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
39756 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
39769 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
39770 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
39771 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
39772 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
39773 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
39774 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
39776 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
39778 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
39780 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
39782 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
39784 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
39786 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
39788 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
39792 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
39793 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
39797 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
39808 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
39809 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
39810 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
39814 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
39815 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
39816 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
39817 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
39818 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
39819 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
39821 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
39822 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
39824 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
39826 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
39828 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
39830 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
39832 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
39837 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
39838 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
39839 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
39840 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
39841 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
39844 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
39848 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
39856 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
39857 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
39858 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
39859 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
39860 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
39861 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
39864 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
39865 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
39866 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
39868 { (char *)"DataFormat__GetId", (PyCFunction
)_wrap_DataFormat__GetId
, METH_O
, NULL
},
39869 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
39871 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
39872 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
39873 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
39881 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
39883 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
39885 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
39886 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39888 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39889 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
39892 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
39893 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
39894 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
39896 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
39897 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
39898 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
39900 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
39901 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
39903 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
39904 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
39907 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
39908 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
39910 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39912 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39913 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
39916 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
39917 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
39918 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
39919 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
39921 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
39922 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
39923 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
39925 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
39926 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
39927 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
39928 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
39930 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
39932 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
39933 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
39934 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
39935 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
39936 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
39940 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
39942 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
39946 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
39947 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39948 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
39950 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
39951 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39953 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
39955 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39956 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
39957 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
39959 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
39960 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
39961 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
39962 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39963 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
39967 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
39970 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
39971 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
39972 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
39977 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39978 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
39980 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
39981 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
39982 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
39983 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
39984 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
39985 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
39986 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39988 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
39991 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
39992 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
39994 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
39995 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
39996 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
39998 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
39999 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
40000 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
40001 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
40003 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40004 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
40005 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
40006 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
40007 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
40008 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
40011 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
40012 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
40013 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
40014 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
40015 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
40016 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
40017 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
40018 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
40019 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
40020 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
40022 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
40023 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40024 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40025 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
40026 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
40027 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
40028 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
40029 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
40030 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
40032 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
40034 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
40035 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
40036 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
40037 { (char *)"StandardPaths_GetExecutablePath", (PyCFunction
)_wrap_StandardPaths_GetExecutablePath
, METH_O
, NULL
},
40038 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
40039 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
40040 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
40041 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
40042 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
40043 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
40044 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
40045 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
40046 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
40048 { (char *)"StandardPaths_GetTempDir", (PyCFunction
)_wrap_StandardPaths_GetTempDir
, METH_O
, NULL
},
40049 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
40051 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
40052 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
40054 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
40055 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
40056 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
40057 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
40058 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
40059 { (char *)"new_AboutDialogInfo", (PyCFunction
)_wrap_new_AboutDialogInfo
, METH_NOARGS
, NULL
},
40060 { (char *)"delete_AboutDialogInfo", (PyCFunction
)_wrap_delete_AboutDialogInfo
, METH_O
, NULL
},
40061 { (char *)"AboutDialogInfo_SetName", (PyCFunction
) _wrap_AboutDialogInfo_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40062 { (char *)"AboutDialogInfo_GetName", (PyCFunction
)_wrap_AboutDialogInfo_GetName
, METH_O
, NULL
},
40063 { (char *)"AboutDialogInfo_SetVersion", (PyCFunction
) _wrap_AboutDialogInfo_SetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"AboutDialogInfo_HasVersion", (PyCFunction
)_wrap_AboutDialogInfo_HasVersion
, METH_O
, NULL
},
40065 { (char *)"AboutDialogInfo_GetVersion", (PyCFunction
)_wrap_AboutDialogInfo_GetVersion
, METH_O
, NULL
},
40066 { (char *)"AboutDialogInfo_SetDescription", (PyCFunction
) _wrap_AboutDialogInfo_SetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"AboutDialogInfo_HasDescription", (PyCFunction
)_wrap_AboutDialogInfo_HasDescription
, METH_O
, NULL
},
40068 { (char *)"AboutDialogInfo_GetDescription", (PyCFunction
)_wrap_AboutDialogInfo_GetDescription
, METH_O
, NULL
},
40069 { (char *)"AboutDialogInfo_SetCopyright", (PyCFunction
) _wrap_AboutDialogInfo_SetCopyright
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"AboutDialogInfo_HasCopyright", (PyCFunction
)_wrap_AboutDialogInfo_HasCopyright
, METH_O
, NULL
},
40071 { (char *)"AboutDialogInfo_GetCopyright", (PyCFunction
)_wrap_AboutDialogInfo_GetCopyright
, METH_O
, NULL
},
40072 { (char *)"AboutDialogInfo_SetLicence", (PyCFunction
) _wrap_AboutDialogInfo_SetLicence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40073 { (char *)"AboutDialogInfo_SetLicense", (PyCFunction
) _wrap_AboutDialogInfo_SetLicense
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40074 { (char *)"AboutDialogInfo_HasLicence", (PyCFunction
)_wrap_AboutDialogInfo_HasLicence
, METH_O
, NULL
},
40075 { (char *)"AboutDialogInfo_GetLicence", (PyCFunction
)_wrap_AboutDialogInfo_GetLicence
, METH_O
, NULL
},
40076 { (char *)"AboutDialogInfo_SetIcon", (PyCFunction
) _wrap_AboutDialogInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40077 { (char *)"AboutDialogInfo_HasIcon", (PyCFunction
)_wrap_AboutDialogInfo_HasIcon
, METH_O
, NULL
},
40078 { (char *)"AboutDialogInfo_GetIcon", (PyCFunction
)_wrap_AboutDialogInfo_GetIcon
, METH_O
, NULL
},
40079 { (char *)"AboutDialogInfo__SetWebSite", (PyCFunction
) _wrap_AboutDialogInfo__SetWebSite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"AboutDialogInfo__GetWebSiteURL", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteURL
, METH_O
, NULL
},
40081 { (char *)"AboutDialogInfo__GetWebSiteDescription", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteDescription
, METH_O
, NULL
},
40082 { (char *)"AboutDialogInfo_HasWebSite", (PyCFunction
)_wrap_AboutDialogInfo_HasWebSite
, METH_O
, NULL
},
40083 { (char *)"AboutDialogInfo_SetDevelopers", (PyCFunction
) _wrap_AboutDialogInfo_SetDevelopers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40084 { (char *)"AboutDialogInfo_AddDeveloper", (PyCFunction
) _wrap_AboutDialogInfo_AddDeveloper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"AboutDialogInfo_HasDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_HasDevelopers
, METH_O
, NULL
},
40086 { (char *)"AboutDialogInfo_GetDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_GetDevelopers
, METH_O
, NULL
},
40087 { (char *)"AboutDialogInfo_SetDocWriters", (PyCFunction
) _wrap_AboutDialogInfo_SetDocWriters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"AboutDialogInfo_AddDocWriter", (PyCFunction
) _wrap_AboutDialogInfo_AddDocWriter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"AboutDialogInfo_HasDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_HasDocWriters
, METH_O
, NULL
},
40090 { (char *)"AboutDialogInfo_GetDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_GetDocWriters
, METH_O
, NULL
},
40091 { (char *)"AboutDialogInfo_SetArtists", (PyCFunction
) _wrap_AboutDialogInfo_SetArtists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"AboutDialogInfo_AddArtist", (PyCFunction
) _wrap_AboutDialogInfo_AddArtist
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"AboutDialogInfo_HasArtists", (PyCFunction
)_wrap_AboutDialogInfo_HasArtists
, METH_O
, NULL
},
40094 { (char *)"AboutDialogInfo_GetArtists", (PyCFunction
)_wrap_AboutDialogInfo_GetArtists
, METH_O
, NULL
},
40095 { (char *)"AboutDialogInfo_SetTranslators", (PyCFunction
) _wrap_AboutDialogInfo_SetTranslators
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"AboutDialogInfo_AddTranslator", (PyCFunction
) _wrap_AboutDialogInfo_AddTranslator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"AboutDialogInfo_HasTranslators", (PyCFunction
)_wrap_AboutDialogInfo_HasTranslators
, METH_O
, NULL
},
40098 { (char *)"AboutDialogInfo_GetTranslators", (PyCFunction
)_wrap_AboutDialogInfo_GetTranslators
, METH_O
, NULL
},
40099 { (char *)"AboutDialogInfo_IsSimple", (PyCFunction
)_wrap_AboutDialogInfo_IsSimple
, METH_O
, NULL
},
40100 { (char *)"AboutDialogInfo_GetDescriptionAndCredits", (PyCFunction
)_wrap_AboutDialogInfo_GetDescriptionAndCredits
, METH_O
, NULL
},
40101 { (char *)"AboutDialogInfo_swigregister", AboutDialogInfo_swigregister
, METH_VARARGS
, NULL
},
40102 { (char *)"AboutDialogInfo_swiginit", AboutDialogInfo_swiginit
, METH_VARARGS
, NULL
},
40103 { (char *)"AboutBox", (PyCFunction
) _wrap_AboutBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40104 { NULL
, NULL
, 0, NULL
}
40108 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40110 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40111 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40113 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40114 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40116 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40117 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40119 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40120 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40122 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40123 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40125 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40126 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40128 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
40129 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
40131 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
40132 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
40134 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40135 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40137 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40138 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40140 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40141 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40143 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
40144 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40146 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40147 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40149 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
40150 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
40152 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40153 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40155 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40156 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40158 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40159 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40161 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40162 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40164 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40165 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40167 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40168 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40170 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40171 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40173 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40174 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40176 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
40177 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
40179 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40180 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40182 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40183 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40185 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
40186 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40188 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40189 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40191 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40192 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40194 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40195 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40197 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40198 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40200 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40201 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40203 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40204 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40206 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40207 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40209 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40210 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40212 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
40213 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
40215 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40216 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40218 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40219 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40221 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40222 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40224 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40225 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40227 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40228 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40230 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40231 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40233 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40234 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40236 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
40237 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
40239 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
40240 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
40242 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
40243 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40245 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
40246 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40248 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
40249 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
40251 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
40252 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40254 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
40255 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
40257 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
40258 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40260 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
40261 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40263 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
40264 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40266 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
40267 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40269 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
40270 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40272 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
40273 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40275 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
40276 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
40278 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
40279 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40281 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
40282 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40284 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40285 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40287 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40288 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40290 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40291 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40293 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40294 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40296 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40297 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40299 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
40300 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40302 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40303 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40305 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40306 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40308 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40309 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40311 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40314 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40315 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40317 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
40318 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
40320 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40321 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40323 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40324 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40326 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40327 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40329 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
40330 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
40332 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40333 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40335 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
40336 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
40338 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
40339 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
40341 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40342 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40344 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
40345 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
40347 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40348 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40350 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40351 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40353 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40356 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40357 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40359 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40360 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40362 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40363 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40365 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40366 return (void *)((wxObject
*) ((wxSizer
*) x
));
40368 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40369 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40371 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
40372 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
40374 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40377 static void *_p_wxEventTo_p_wxObject(void *x
) {
40378 return (void *)((wxObject
*) ((wxEvent
*) x
));
40380 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40381 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40383 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40384 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40386 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40387 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40389 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40390 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40392 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40393 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40395 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40396 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40398 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40399 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40401 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40402 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40404 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40405 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40407 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40408 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40410 static void *_p_wxControlTo_p_wxObject(void *x
) {
40411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40413 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40414 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40416 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
40417 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
40419 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
40420 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
40422 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40423 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40425 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
40426 return (void *)((wxObject
*) ((wxClipboard
*) x
));
40428 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40429 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40431 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40432 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40434 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40435 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40437 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40438 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40440 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
40441 return (void *)((wxObject
*) ((wxToolTip
*) x
));
40443 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40444 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40446 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40449 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40450 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40452 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40453 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40455 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40456 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40458 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40459 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40461 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40462 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40464 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40465 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40467 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40468 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40470 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40471 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40473 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40476 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40479 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40480 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40482 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40485 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40488 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40489 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40491 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40492 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40494 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40495 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40497 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40500 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40501 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40503 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40504 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40506 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40507 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40509 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40510 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40512 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40513 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40515 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40516 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40518 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40519 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40521 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40522 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40524 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40525 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40527 static void *_p_wxImageTo_p_wxObject(void *x
) {
40528 return (void *)((wxObject
*) ((wxImage
*) x
));
40530 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40531 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40533 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
40534 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
40536 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
40537 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
40539 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40540 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40542 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40543 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40545 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40546 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40548 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40549 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40551 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40552 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40554 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40557 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
40558 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
40560 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40561 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40563 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40564 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40566 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40567 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40569 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40570 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40572 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40573 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40575 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40576 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40578 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40579 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40581 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
40582 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
40584 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40585 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40587 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40588 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40590 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40591 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40593 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40594 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40596 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40597 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40599 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
40600 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
40602 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40605 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40608 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40609 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40611 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
40612 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
40614 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
40615 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
40617 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
40618 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
40620 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
40621 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
40623 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
40624 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
40626 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
40627 return (void *)((wxLog
*) ((wxLogChain
*) x
));
40629 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
40630 return (void *)((wxLog
*) ((wxLogGui
*) x
));
40632 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
40633 return (void *)((wxLog
*) ((wxPyLog
*) x
));
40635 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40636 return (void *)((wxWindow
*) ((wxControl
*) x
));
40638 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40639 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40641 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40642 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40644 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
40645 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
40647 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
40648 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
40650 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40651 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};
40652 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40653 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40654 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40655 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
40656 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40657 static swig_type_info _swigt__p_wxAboutDialogInfo
= {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0};
40658 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
40659 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40660 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
40661 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
40662 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
40663 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
40664 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40665 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
40666 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
40667 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40668 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
40669 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
40670 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
40671 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40672 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
40673 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40674 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
40675 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
40676 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
40677 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
40678 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
40679 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
40680 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
40681 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
40682 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40683 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
40684 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40685 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40686 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40687 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40688 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40689 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40690 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40691 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40692 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40693 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40694 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40695 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40696 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40697 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40698 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40699 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40700 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40701 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40702 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40703 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40704 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40705 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40706 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40707 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40708 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40709 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40710 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40711 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40712 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40713 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40714 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40715 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40716 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40717 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40718 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40719 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40720 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40721 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40722 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
40723 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40724 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40725 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40726 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40727 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40728 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40729 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40730 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
40731 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
40732 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
40733 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
40734 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
40735 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40736 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
40737 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40738 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
40739 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
40740 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
40741 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
40742 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
40743 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
40744 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
40745 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
40746 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
40747 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
40748 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
40749 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
40750 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
40751 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
40752 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
40753 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
40754 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40755 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40756 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40757 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40758 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40759 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40760 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40761 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40762 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40763 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40764 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40765 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40766 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40767 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40768 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40769 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40770 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40771 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40772 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40773 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40774 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40775 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40776 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40777 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40778 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40779 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40780 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40781 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40782 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40783 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40784 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
40785 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40786 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
40787 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40788 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
40789 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40790 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
40791 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
40792 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
40793 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
40794 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
40795 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
40796 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
40797 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
40798 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
40799 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
40800 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
40801 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
40802 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
40803 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
40804 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40805 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
40806 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40807 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
40808 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
40809 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
40810 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40811 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
40812 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
40813 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
40814 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
40815 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
40816 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
40817 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
40818 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
40819 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
40820 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
40821 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
40822 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
40823 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40824 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
40826 static swig_type_info
*swig_type_initial
[] = {
40828 &_swigt__p_form_ops_t
,
40830 &_swigt__p_unsigned_char
,
40831 &_swigt__p_unsigned_int
,
40832 &_swigt__p_unsigned_long
,
40834 &_swigt__p_wxANIHandler
,
40835 &_swigt__p_wxAboutDialogInfo
,
40836 &_swigt__p_wxAcceleratorTable
,
40837 &_swigt__p_wxActivateEvent
,
40838 &_swigt__p_wxArrayString
,
40839 &_swigt__p_wxBMPHandler
,
40840 &_swigt__p_wxBitmap
,
40841 &_swigt__p_wxBitmapDataObject
,
40842 &_swigt__p_wxBoxSizer
,
40843 &_swigt__p_wxBusyCursor
,
40844 &_swigt__p_wxBusyInfo
,
40845 &_swigt__p_wxCURHandler
,
40846 &_swigt__p_wxCaret
,
40848 &_swigt__p_wxChildFocusEvent
,
40849 &_swigt__p_wxClipboard
,
40850 &_swigt__p_wxClipboardLocker
,
40851 &_swigt__p_wxClipboardTextEvent
,
40852 &_swigt__p_wxCloseEvent
,
40853 &_swigt__p_wxColour
,
40854 &_swigt__p_wxCommandEvent
,
40855 &_swigt__p_wxConfig
,
40856 &_swigt__p_wxConfigBase
,
40857 &_swigt__p_wxConfigPathChanger
,
40858 &_swigt__p_wxContextMenuEvent
,
40859 &_swigt__p_wxControl
,
40860 &_swigt__p_wxControlWithItems
,
40861 &_swigt__p_wxCursor
,
40862 &_swigt__p_wxCustomDataObject
,
40864 &_swigt__p_wxDataFormat
,
40865 &_swigt__p_wxDataObject
,
40866 &_swigt__p_wxDataObjectComposite
,
40867 &_swigt__p_wxDataObjectSimple
,
40868 &_swigt__p_wxDateEvent
,
40869 &_swigt__p_wxDateSpan
,
40870 &_swigt__p_wxDateTime
,
40871 &_swigt__p_wxDateTime__TimeZone
,
40872 &_swigt__p_wxDisplay
,
40873 &_swigt__p_wxDisplayChangedEvent
,
40874 &_swigt__p_wxDropFilesEvent
,
40875 &_swigt__p_wxDuplexMode
,
40876 &_swigt__p_wxEraseEvent
,
40877 &_swigt__p_wxEvent
,
40878 &_swigt__p_wxEventBlocker
,
40879 &_swigt__p_wxEvtHandler
,
40880 &_swigt__p_wxFSFile
,
40881 &_swigt__p_wxFileConfig
,
40882 &_swigt__p_wxFileDataObject
,
40883 &_swigt__p_wxFileHistory
,
40884 &_swigt__p_wxFileSystem
,
40885 &_swigt__p_wxFileType
,
40886 &_swigt__p_wxFileTypeInfo
,
40887 &_swigt__p_wxFlexGridSizer
,
40888 &_swigt__p_wxFocusEvent
,
40890 &_swigt__p_wxFrame
,
40891 &_swigt__p_wxGBSizerItem
,
40892 &_swigt__p_wxGIFHandler
,
40893 &_swigt__p_wxGridBagSizer
,
40894 &_swigt__p_wxGridSizer
,
40895 &_swigt__p_wxICOHandler
,
40897 &_swigt__p_wxIconizeEvent
,
40898 &_swigt__p_wxIdleEvent
,
40899 &_swigt__p_wxImage
,
40900 &_swigt__p_wxImageHandler
,
40901 &_swigt__p_wxIndividualLayoutConstraint
,
40902 &_swigt__p_wxInitDialogEvent
,
40903 &_swigt__p_wxJPEGHandler
,
40904 &_swigt__p_wxJoystick
,
40905 &_swigt__p_wxJoystickEvent
,
40906 &_swigt__p_wxKeyEvent
,
40907 &_swigt__p_wxKillError
,
40908 &_swigt__p_wxLayoutConstraints
,
40910 &_swigt__p_wxLogBuffer
,
40911 &_swigt__p_wxLogChain
,
40912 &_swigt__p_wxLogGui
,
40913 &_swigt__p_wxLogNull
,
40914 &_swigt__p_wxLogStderr
,
40915 &_swigt__p_wxLogTextCtrl
,
40916 &_swigt__p_wxLogWindow
,
40917 &_swigt__p_wxMaximizeEvent
,
40919 &_swigt__p_wxMenuBar
,
40920 &_swigt__p_wxMenuEvent
,
40921 &_swigt__p_wxMenuItem
,
40922 &_swigt__p_wxMetafileDataObject
,
40923 &_swigt__p_wxMimeTypesManager
,
40924 &_swigt__p_wxMouseCaptureChangedEvent
,
40925 &_swigt__p_wxMouseCaptureLostEvent
,
40926 &_swigt__p_wxMouseEvent
,
40927 &_swigt__p_wxMouseState
,
40928 &_swigt__p_wxMoveEvent
,
40929 &_swigt__p_wxMutexGuiLocker
,
40930 &_swigt__p_wxNavigationKeyEvent
,
40931 &_swigt__p_wxNcPaintEvent
,
40932 &_swigt__p_wxNotifyEvent
,
40933 &_swigt__p_wxObject
,
40934 &_swigt__p_wxOutputStream
,
40935 &_swigt__p_wxPCXHandler
,
40936 &_swigt__p_wxPNGHandler
,
40937 &_swigt__p_wxPNMHandler
,
40938 &_swigt__p_wxPaintEvent
,
40939 &_swigt__p_wxPaletteChangedEvent
,
40940 &_swigt__p_wxPaperSize
,
40941 &_swigt__p_wxPlatformInfo
,
40942 &_swigt__p_wxPoint
,
40943 &_swigt__p_wxPowerEvent
,
40944 &_swigt__p_wxProcessEvent
,
40945 &_swigt__p_wxPyApp
,
40946 &_swigt__p_wxPyArtProvider
,
40947 &_swigt__p_wxPyBitmapDataObject
,
40948 &_swigt__p_wxPyCommandEvent
,
40949 &_swigt__p_wxPyDataObjectSimple
,
40950 &_swigt__p_wxPyDropSource
,
40951 &_swigt__p_wxPyDropTarget
,
40952 &_swigt__p_wxPyEvent
,
40953 &_swigt__p_wxPyFileDropTarget
,
40954 &_swigt__p_wxPyImageHandler
,
40955 &_swigt__p_wxPyLog
,
40956 &_swigt__p_wxPyProcess
,
40957 &_swigt__p_wxPySizer
,
40958 &_swigt__p_wxPyTextDataObject
,
40959 &_swigt__p_wxPyTextDropTarget
,
40960 &_swigt__p_wxPyTimer
,
40961 &_swigt__p_wxPyTipProvider
,
40962 &_swigt__p_wxPyValidator
,
40963 &_swigt__p_wxQueryNewPaletteEvent
,
40965 &_swigt__p_wxScrollEvent
,
40966 &_swigt__p_wxScrollWinEvent
,
40967 &_swigt__p_wxSetCursorEvent
,
40968 &_swigt__p_wxShowEvent
,
40969 &_swigt__p_wxSingleInstanceChecker
,
40971 &_swigt__p_wxSizeEvent
,
40972 &_swigt__p_wxSizer
,
40973 &_swigt__p_wxSizerItem
,
40974 &_swigt__p_wxSound
,
40975 &_swigt__p_wxStandardPaths
,
40976 &_swigt__p_wxStaticBoxSizer
,
40977 &_swigt__p_wxStdDialogButtonSizer
,
40978 &_swigt__p_wxStopWatch
,
40979 &_swigt__p_wxString
,
40980 &_swigt__p_wxSysColourChangedEvent
,
40981 &_swigt__p_wxSystemOptions
,
40982 &_swigt__p_wxSystemSettings
,
40983 &_swigt__p_wxTGAHandler
,
40984 &_swigt__p_wxTIFFHandler
,
40985 &_swigt__p_wxTextCtrl
,
40986 &_swigt__p_wxTextDataObject
,
40987 &_swigt__p_wxTimeSpan
,
40988 &_swigt__p_wxTimer
,
40989 &_swigt__p_wxTimerEvent
,
40990 &_swigt__p_wxTimerRunner
,
40991 &_swigt__p_wxTipProvider
,
40992 &_swigt__p_wxToolTip
,
40993 &_swigt__p_wxURLDataObject
,
40994 &_swigt__p_wxUpdateUIEvent
,
40995 &_swigt__p_wxValidator
,
40996 &_swigt__p_wxVideoMode
,
40997 &_swigt__p_wxWindow
,
40998 &_swigt__p_wxWindowCreateEvent
,
40999 &_swigt__p_wxWindowDestroyEvent
,
41000 &_swigt__p_wxWindowDisabler
,
41001 &_swigt__p_wxXPMHandler
,
41004 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41005 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41006 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41007 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41008 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41009 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41010 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41011 static swig_cast_info _swigc__p_wxAboutDialogInfo
[] = { {&_swigt__p_wxAboutDialogInfo
, 0, 0, 0},{0, 0, 0, 0}};
41012 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
41013 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41014 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}};
41015 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
41016 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
41017 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
41018 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41019 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
41020 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
41021 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41022 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
41023 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}};
41024 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
41025 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41026 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41027 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
41028 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
41029 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}};
41030 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
41031 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}};
41032 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
41033 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
41034 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
41035 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
41036 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41037 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41038 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41039 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41040 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41041 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41042 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41043 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41044 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41045 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41046 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41047 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41048 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41049 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41050 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41051 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41052 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41053 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41054 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41055 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41056 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41057 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41058 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41059 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41060 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41061 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41062 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41063 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41064 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41065 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41066 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41067 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41068 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41069 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41070 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41071 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41072 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41073 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41074 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41075 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}};
41076 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41077 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41078 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41079 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41080 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41081 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41082 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
41083 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
41084 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
41085 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41086 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
41087 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
41088 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
41089 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41090 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
41091 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41092 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
41093 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
41094 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
41095 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}};
41096 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
41097 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
41098 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
41099 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
41100 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
41101 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41102 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
41103 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41104 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41105 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
41106 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
41107 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
41108 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41109 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41110 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41111 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41112 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41113 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41114 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41115 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41116 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41117 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41118 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41119 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41120 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41121 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41122 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41123 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41124 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41125 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41126 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41127 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41128 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41129 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41130 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41131 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41132 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41133 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41134 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41135 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41136 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41137 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41138 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41139 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileHistory
, _p_wxFileHistoryTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPowerEvent
, _p_wxPowerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboard
, _p_wxClipboardTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolTip
, _p_wxToolTipTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSystemOptions
, _p_wxSystemOptionsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBusyInfo
, _p_wxBusyInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
41140 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
41141 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41142 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
41143 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41144 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41145 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
41146 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
41147 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
41150 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}};
41151 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41152 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
41153 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
41154 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41155 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41156 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
41157 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
41158 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41159 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
41160 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41161 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
41162 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
41163 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
41164 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41165 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
41166 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
41167 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41168 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}};
41169 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
41171 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41172 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
41173 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}};
41174 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
41175 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
41177 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}};
41178 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info
*swig_cast_initial
[] = {
41182 _swigc__p_form_ops_t
,
41184 _swigc__p_unsigned_char
,
41185 _swigc__p_unsigned_int
,
41186 _swigc__p_unsigned_long
,
41188 _swigc__p_wxANIHandler
,
41189 _swigc__p_wxAboutDialogInfo
,
41190 _swigc__p_wxAcceleratorTable
,
41191 _swigc__p_wxActivateEvent
,
41192 _swigc__p_wxArrayString
,
41193 _swigc__p_wxBMPHandler
,
41194 _swigc__p_wxBitmap
,
41195 _swigc__p_wxBitmapDataObject
,
41196 _swigc__p_wxBoxSizer
,
41197 _swigc__p_wxBusyCursor
,
41198 _swigc__p_wxBusyInfo
,
41199 _swigc__p_wxCURHandler
,
41202 _swigc__p_wxChildFocusEvent
,
41203 _swigc__p_wxClipboard
,
41204 _swigc__p_wxClipboardLocker
,
41205 _swigc__p_wxClipboardTextEvent
,
41206 _swigc__p_wxCloseEvent
,
41207 _swigc__p_wxColour
,
41208 _swigc__p_wxCommandEvent
,
41209 _swigc__p_wxConfig
,
41210 _swigc__p_wxConfigBase
,
41211 _swigc__p_wxConfigPathChanger
,
41212 _swigc__p_wxContextMenuEvent
,
41213 _swigc__p_wxControl
,
41214 _swigc__p_wxControlWithItems
,
41215 _swigc__p_wxCursor
,
41216 _swigc__p_wxCustomDataObject
,
41218 _swigc__p_wxDataFormat
,
41219 _swigc__p_wxDataObject
,
41220 _swigc__p_wxDataObjectComposite
,
41221 _swigc__p_wxDataObjectSimple
,
41222 _swigc__p_wxDateEvent
,
41223 _swigc__p_wxDateSpan
,
41224 _swigc__p_wxDateTime
,
41225 _swigc__p_wxDateTime__TimeZone
,
41226 _swigc__p_wxDisplay
,
41227 _swigc__p_wxDisplayChangedEvent
,
41228 _swigc__p_wxDropFilesEvent
,
41229 _swigc__p_wxDuplexMode
,
41230 _swigc__p_wxEraseEvent
,
41232 _swigc__p_wxEventBlocker
,
41233 _swigc__p_wxEvtHandler
,
41234 _swigc__p_wxFSFile
,
41235 _swigc__p_wxFileConfig
,
41236 _swigc__p_wxFileDataObject
,
41237 _swigc__p_wxFileHistory
,
41238 _swigc__p_wxFileSystem
,
41239 _swigc__p_wxFileType
,
41240 _swigc__p_wxFileTypeInfo
,
41241 _swigc__p_wxFlexGridSizer
,
41242 _swigc__p_wxFocusEvent
,
41245 _swigc__p_wxGBSizerItem
,
41246 _swigc__p_wxGIFHandler
,
41247 _swigc__p_wxGridBagSizer
,
41248 _swigc__p_wxGridSizer
,
41249 _swigc__p_wxICOHandler
,
41251 _swigc__p_wxIconizeEvent
,
41252 _swigc__p_wxIdleEvent
,
41254 _swigc__p_wxImageHandler
,
41255 _swigc__p_wxIndividualLayoutConstraint
,
41256 _swigc__p_wxInitDialogEvent
,
41257 _swigc__p_wxJPEGHandler
,
41258 _swigc__p_wxJoystick
,
41259 _swigc__p_wxJoystickEvent
,
41260 _swigc__p_wxKeyEvent
,
41261 _swigc__p_wxKillError
,
41262 _swigc__p_wxLayoutConstraints
,
41264 _swigc__p_wxLogBuffer
,
41265 _swigc__p_wxLogChain
,
41266 _swigc__p_wxLogGui
,
41267 _swigc__p_wxLogNull
,
41268 _swigc__p_wxLogStderr
,
41269 _swigc__p_wxLogTextCtrl
,
41270 _swigc__p_wxLogWindow
,
41271 _swigc__p_wxMaximizeEvent
,
41273 _swigc__p_wxMenuBar
,
41274 _swigc__p_wxMenuEvent
,
41275 _swigc__p_wxMenuItem
,
41276 _swigc__p_wxMetafileDataObject
,
41277 _swigc__p_wxMimeTypesManager
,
41278 _swigc__p_wxMouseCaptureChangedEvent
,
41279 _swigc__p_wxMouseCaptureLostEvent
,
41280 _swigc__p_wxMouseEvent
,
41281 _swigc__p_wxMouseState
,
41282 _swigc__p_wxMoveEvent
,
41283 _swigc__p_wxMutexGuiLocker
,
41284 _swigc__p_wxNavigationKeyEvent
,
41285 _swigc__p_wxNcPaintEvent
,
41286 _swigc__p_wxNotifyEvent
,
41287 _swigc__p_wxObject
,
41288 _swigc__p_wxOutputStream
,
41289 _swigc__p_wxPCXHandler
,
41290 _swigc__p_wxPNGHandler
,
41291 _swigc__p_wxPNMHandler
,
41292 _swigc__p_wxPaintEvent
,
41293 _swigc__p_wxPaletteChangedEvent
,
41294 _swigc__p_wxPaperSize
,
41295 _swigc__p_wxPlatformInfo
,
41297 _swigc__p_wxPowerEvent
,
41298 _swigc__p_wxProcessEvent
,
41300 _swigc__p_wxPyArtProvider
,
41301 _swigc__p_wxPyBitmapDataObject
,
41302 _swigc__p_wxPyCommandEvent
,
41303 _swigc__p_wxPyDataObjectSimple
,
41304 _swigc__p_wxPyDropSource
,
41305 _swigc__p_wxPyDropTarget
,
41306 _swigc__p_wxPyEvent
,
41307 _swigc__p_wxPyFileDropTarget
,
41308 _swigc__p_wxPyImageHandler
,
41310 _swigc__p_wxPyProcess
,
41311 _swigc__p_wxPySizer
,
41312 _swigc__p_wxPyTextDataObject
,
41313 _swigc__p_wxPyTextDropTarget
,
41314 _swigc__p_wxPyTimer
,
41315 _swigc__p_wxPyTipProvider
,
41316 _swigc__p_wxPyValidator
,
41317 _swigc__p_wxQueryNewPaletteEvent
,
41319 _swigc__p_wxScrollEvent
,
41320 _swigc__p_wxScrollWinEvent
,
41321 _swigc__p_wxSetCursorEvent
,
41322 _swigc__p_wxShowEvent
,
41323 _swigc__p_wxSingleInstanceChecker
,
41325 _swigc__p_wxSizeEvent
,
41327 _swigc__p_wxSizerItem
,
41329 _swigc__p_wxStandardPaths
,
41330 _swigc__p_wxStaticBoxSizer
,
41331 _swigc__p_wxStdDialogButtonSizer
,
41332 _swigc__p_wxStopWatch
,
41333 _swigc__p_wxString
,
41334 _swigc__p_wxSysColourChangedEvent
,
41335 _swigc__p_wxSystemOptions
,
41336 _swigc__p_wxSystemSettings
,
41337 _swigc__p_wxTGAHandler
,
41338 _swigc__p_wxTIFFHandler
,
41339 _swigc__p_wxTextCtrl
,
41340 _swigc__p_wxTextDataObject
,
41341 _swigc__p_wxTimeSpan
,
41343 _swigc__p_wxTimerEvent
,
41344 _swigc__p_wxTimerRunner
,
41345 _swigc__p_wxTipProvider
,
41346 _swigc__p_wxToolTip
,
41347 _swigc__p_wxURLDataObject
,
41348 _swigc__p_wxUpdateUIEvent
,
41349 _swigc__p_wxValidator
,
41350 _swigc__p_wxVideoMode
,
41351 _swigc__p_wxWindow
,
41352 _swigc__p_wxWindowCreateEvent
,
41353 _swigc__p_wxWindowDestroyEvent
,
41354 _swigc__p_wxWindowDisabler
,
41355 _swigc__p_wxXPMHandler
,
41359 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41361 static swig_const_info swig_const_table
[] = {
41362 {0, 0, 0, 0.0, 0, 0}};
41367 /* -----------------------------------------------------------------------------
41368 * Type initialization:
41369 * This problem is tough by the requirement that no dynamic
41370 * memory is used. Also, since swig_type_info structures store pointers to
41371 * swig_cast_info structures and swig_cast_info structures store pointers back
41372 * to swig_type_info structures, we need some lookup code at initialization.
41373 * The idea is that swig generates all the structures that are needed.
41374 * The runtime then collects these partially filled structures.
41375 * The SWIG_InitializeModule function takes these initial arrays out of
41376 * swig_module, and does all the lookup, filling in the swig_module.types
41377 * array with the correct data and linking the correct swig_cast_info
41378 * structures together.
41380 * The generated swig_type_info structures are assigned staticly to an initial
41381 * array. We just loop though that array, and handle each type individually.
41382 * First we lookup if this type has been already loaded, and if so, use the
41383 * loaded structure instead of the generated one. Then we have to fill in the
41384 * cast linked list. The cast data is initially stored in something like a
41385 * two-dimensional array. Each row corresponds to a type (there are the same
41386 * number of rows as there are in the swig_type_initial array). Each entry in
41387 * a column is one of the swig_cast_info structures for that type.
41388 * The cast_initial array is actually an array of arrays, because each row has
41389 * a variable number of columns. So to actually build the cast linked list,
41390 * we find the array of casts associated with the type, and loop through it
41391 * adding the casts to the list. The one last trick we need to do is making
41392 * sure the type pointer in the swig_cast_info struct is correct.
41394 * First off, we lookup the cast->type name to see if it is already loaded.
41395 * There are three cases to handle:
41396 * 1) If the cast->type has already been loaded AND the type we are adding
41397 * casting info to has not been loaded (it is in this module), THEN we
41398 * replace the cast->type pointer with the type pointer that has already
41400 * 2) If BOTH types (the one we are adding casting info to, and the
41401 * cast->type) are loaded, THEN the cast info has already been loaded by
41402 * the previous module so we just ignore it.
41403 * 3) Finally, if cast->type has not already been loaded, then we add that
41404 * swig_cast_info to the linked list (because the cast->type) pointer will
41406 * ----------------------------------------------------------------------------- */
41416 #define SWIGRUNTIME_DEBUG
41420 SWIG_InitializeModule(void *clientdata
) {
41422 swig_module_info
*module_head
;
41423 static int init_run
= 0;
41425 clientdata
= clientdata
;
41427 if (init_run
) return;
41430 /* Initialize the swig_module */
41431 swig_module
.type_initial
= swig_type_initial
;
41432 swig_module
.cast_initial
= swig_cast_initial
;
41434 /* Try and load any already created modules */
41435 module_head
= SWIG_GetModule(clientdata
);
41437 swig_module
.next
= module_head
->next
;
41438 module_head
->next
= &swig_module
;
41440 /* This is the first module loaded */
41441 swig_module
.next
= &swig_module
;
41442 SWIG_SetModule(clientdata
, &swig_module
);
41445 /* Now work on filling in swig_module.types */
41446 #ifdef SWIGRUNTIME_DEBUG
41447 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41449 for (i
= 0; i
< swig_module
.size
; ++i
) {
41450 swig_type_info
*type
= 0;
41451 swig_type_info
*ret
;
41452 swig_cast_info
*cast
;
41454 #ifdef SWIGRUNTIME_DEBUG
41455 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41458 /* if there is another module already loaded */
41459 if (swig_module
.next
!= &swig_module
) {
41460 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41463 /* Overwrite clientdata field */
41464 #ifdef SWIGRUNTIME_DEBUG
41465 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41467 if (swig_module
.type_initial
[i
]->clientdata
) {
41468 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41469 #ifdef SWIGRUNTIME_DEBUG
41470 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41474 type
= swig_module
.type_initial
[i
];
41477 /* Insert casting types */
41478 cast
= swig_module
.cast_initial
[i
];
41479 while (cast
->type
) {
41480 /* Don't need to add information already in the list */
41482 #ifdef SWIGRUNTIME_DEBUG
41483 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41485 if (swig_module
.next
!= &swig_module
) {
41486 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41487 #ifdef SWIGRUNTIME_DEBUG
41488 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41492 if (type
== swig_module
.type_initial
[i
]) {
41493 #ifdef SWIGRUNTIME_DEBUG
41494 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41499 /* Check for casting already in the list */
41500 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41501 #ifdef SWIGRUNTIME_DEBUG
41502 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41504 if (!ocast
) ret
= 0;
41509 #ifdef SWIGRUNTIME_DEBUG
41510 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41513 type
->cast
->prev
= cast
;
41514 cast
->next
= type
->cast
;
41520 /* Set entry in modules->types array equal to the type */
41521 swig_module
.types
[i
] = type
;
41523 swig_module
.types
[i
] = 0;
41525 #ifdef SWIGRUNTIME_DEBUG
41526 printf("**** SWIG_InitializeModule: Cast List ******\n");
41527 for (i
= 0; i
< swig_module
.size
; ++i
) {
41529 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41530 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41531 while (cast
->type
) {
41532 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41536 printf("---- Total casts: %d\n",j
);
41538 printf("**** SWIG_InitializeModule: Cast List ******\n");
41542 /* This function will propagate the clientdata field of type to
41543 * any new swig_type_info structures that have been added into the list
41544 * of equivalent types. It is like calling
41545 * SWIG_TypeClientData(type, clientdata) a second time.
41548 SWIG_PropagateClientData(void) {
41550 swig_cast_info
*equiv
;
41551 static int init_run
= 0;
41553 if (init_run
) return;
41556 for (i
= 0; i
< swig_module
.size
; i
++) {
41557 if (swig_module
.types
[i
]->clientdata
) {
41558 equiv
= swig_module
.types
[i
]->cast
;
41560 if (!equiv
->converter
) {
41561 if (equiv
->type
&& !equiv
->type
->clientdata
)
41562 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41564 equiv
= equiv
->next
;
41584 /* Python-specific SWIG API */
41585 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41586 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41587 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41589 /* -----------------------------------------------------------------------------
41590 * global variable support code.
41591 * ----------------------------------------------------------------------------- */
41593 typedef struct swig_globalvar
{
41594 char *name
; /* Name of global variable */
41595 PyObject
*(*get_attr
)(void); /* Return the current value */
41596 int (*set_attr
)(PyObject
*); /* Set the value */
41597 struct swig_globalvar
*next
;
41600 typedef struct swig_varlinkobject
{
41602 swig_globalvar
*vars
;
41603 } swig_varlinkobject
;
41605 SWIGINTERN PyObject
*
41606 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41607 return PyString_FromString("<Swig global variables>");
41610 SWIGINTERN PyObject
*
41611 swig_varlink_str(swig_varlinkobject
*v
) {
41612 PyObject
*str
= PyString_FromString("(");
41613 swig_globalvar
*var
;
41614 for (var
= v
->vars
; var
; var
=var
->next
) {
41615 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41616 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41618 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41623 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41624 PyObject
*str
= swig_varlink_str(v
);
41625 fprintf(fp
,"Swig global variables ");
41626 fprintf(fp
,"%s\n", PyString_AsString(str
));
41632 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41633 swig_globalvar
*var
= v
->vars
;
41635 swig_globalvar
*n
= var
->next
;
41642 SWIGINTERN PyObject
*
41643 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41644 PyObject
*res
= NULL
;
41645 swig_globalvar
*var
= v
->vars
;
41647 if (strcmp(var
->name
,n
) == 0) {
41648 res
= (*var
->get_attr
)();
41653 if (res
== NULL
&& !PyErr_Occurred()) {
41654 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41660 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41662 swig_globalvar
*var
= v
->vars
;
41664 if (strcmp(var
->name
,n
) == 0) {
41665 res
= (*var
->set_attr
)(p
);
41670 if (res
== 1 && !PyErr_Occurred()) {
41671 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41676 SWIGINTERN PyTypeObject
*
41677 swig_varlink_type(void) {
41678 static char varlink__doc__
[] = "Swig var link object";
41679 static PyTypeObject varlink_type
;
41680 static int type_init
= 0;
41682 const PyTypeObject tmp
41684 PyObject_HEAD_INIT(NULL
)
41685 0, /* Number of items in variable part (ob_size) */
41686 (char *)"swigvarlink", /* Type name (tp_name) */
41687 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41688 0, /* Itemsize (tp_itemsize) */
41689 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41690 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41691 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41692 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41693 0, /* tp_compare */
41694 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41695 0, /* tp_as_number */
41696 0, /* tp_as_sequence */
41697 0, /* tp_as_mapping */
41700 (reprfunc
)swig_varlink_str
, /* tp_str */
41701 0, /* tp_getattro */
41702 0, /* tp_setattro */
41703 0, /* tp_as_buffer */
41705 varlink__doc__
, /* tp_doc */
41706 0, /* tp_traverse */
41708 0, /* tp_richcompare */
41709 0, /* tp_weaklistoffset */
41710 #if PY_VERSION_HEX >= 0x02020000
41711 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41713 #if PY_VERSION_HEX >= 0x02030000
41716 #ifdef COUNT_ALLOCS
41717 0,0,0,0 /* tp_alloc -> tp_next */
41720 varlink_type
= tmp
;
41721 varlink_type
.ob_type
= &PyType_Type
;
41724 return &varlink_type
;
41727 /* Create a variable linking object for use later */
41728 SWIGINTERN PyObject
*
41729 SWIG_Python_newvarlink(void) {
41730 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41734 return ((PyObject
*) result
);
41738 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41739 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41740 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41742 size_t size
= strlen(name
)+1;
41743 gv
->name
= (char *)malloc(size
);
41745 strncpy(gv
->name
,name
,size
);
41746 gv
->get_attr
= get_attr
;
41747 gv
->set_attr
= set_attr
;
41748 gv
->next
= v
->vars
;
41754 SWIGINTERN PyObject
*
41756 static PyObject
*_SWIG_globals
= 0;
41757 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41758 return _SWIG_globals
;
41761 /* -----------------------------------------------------------------------------
41762 * constants/methods manipulation
41763 * ----------------------------------------------------------------------------- */
41765 /* Install Constants */
41767 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41770 for (i
= 0; constants
[i
].type
; ++i
) {
41771 switch(constants
[i
].type
) {
41772 case SWIG_PY_POINTER
:
41773 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41775 case SWIG_PY_BINARY
:
41776 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41783 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41789 /* -----------------------------------------------------------------------------*/
41790 /* Fix SwigMethods to carry the callback ptrs when needed */
41791 /* -----------------------------------------------------------------------------*/
41794 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41795 swig_const_info
*const_table
,
41796 swig_type_info
**types
,
41797 swig_type_info
**types_initial
) {
41799 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41800 const char *c
= methods
[i
].ml_doc
;
41801 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41803 swig_const_info
*ci
= 0;
41804 const char *name
= c
+ 10;
41805 for (j
= 0; const_table
[j
].type
; ++j
) {
41806 if (strncmp(const_table
[j
].name
, name
,
41807 strlen(const_table
[j
].name
)) == 0) {
41808 ci
= &(const_table
[j
]);
41813 size_t shift
= (ci
->ptype
) - types
;
41814 swig_type_info
*ty
= types_initial
[shift
];
41815 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41816 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41817 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41820 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41822 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41824 strncpy(buff
, "swig_ptr: ", 10);
41826 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41827 methods
[i
].ml_doc
= ndoc
;
41839 /* -----------------------------------------------------------------------------*
41840 * Partial Init method
41841 * -----------------------------------------------------------------------------*/
41846 SWIGEXPORT
void SWIG_init(void) {
41849 /* Fix SwigMethods to carry the callback ptrs when needed */
41850 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41852 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41853 d
= PyModule_GetDict(m
);
41855 SWIG_InitializeModule(0);
41856 SWIG_InstallConstants(d
,swig_const_table
);
41859 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
41860 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
41861 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
41862 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
41863 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
41864 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
41865 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
41866 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
41867 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
41868 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
41869 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
41870 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
41871 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
41872 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
41873 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
41874 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
41875 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
41876 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
41877 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
41878 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
41879 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
41880 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
41881 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
41882 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
41883 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
41884 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
41885 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
41886 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
41887 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
41888 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
41889 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
41890 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
41891 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
41892 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
41893 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
41894 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
41895 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
41896 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
41897 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
41898 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
41899 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
41900 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
41901 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
41902 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
41903 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
41904 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
41905 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
41906 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
41907 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
41908 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
41909 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
41910 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
41911 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
41912 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
41913 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
41914 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
41915 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
41916 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
41917 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
41918 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
41919 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
41920 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
41921 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
41922 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
41923 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
41924 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
41925 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
41926 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
41927 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
41928 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
41929 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
41930 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
41931 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
41932 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
41933 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
41934 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
41935 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
41936 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
41937 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
41938 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
41939 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
41940 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
41941 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
41942 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
41943 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
41944 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
41945 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
41946 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
41947 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
41948 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
41949 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
41950 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
41951 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41952 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
41953 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
41954 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
41955 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
41956 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
41957 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
41958 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
41959 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
41960 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
41961 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
41962 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
41963 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
41964 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
41965 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
41966 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
41967 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
41968 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
41969 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
41970 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
41971 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
41972 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
41973 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
41974 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
41975 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
41976 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
41977 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
41978 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
41979 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
41980 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
41981 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
41982 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
41983 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
41984 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
41985 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
41986 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
41987 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
41988 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
41989 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
41990 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
41991 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
41992 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
41993 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
41994 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
41995 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
41996 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
41997 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
41998 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
41999 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
42000 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
42001 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
42002 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
42003 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
42004 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
42005 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
42006 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
42008 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
42010 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
42011 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
42012 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
42013 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
42014 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
42015 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
42016 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
42017 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
42018 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
42019 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
42020 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
42021 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
42022 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
42023 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
42024 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
42025 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
42026 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
42027 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
42028 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
42029 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
42030 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
42031 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
42032 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
42033 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
42034 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
42035 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
42036 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
42037 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
42038 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
42039 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
42040 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
42041 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
42042 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
42043 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
42044 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
42045 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
42046 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
42047 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
42048 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
42049 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
42050 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
42051 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
42052 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
42053 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
42054 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
42055 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
42056 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
42057 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
42058 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
42059 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
42060 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
42061 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
42062 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
42064 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
42066 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
42067 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
42068 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
42069 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
42070 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
42071 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
42072 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
42073 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
42074 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
42075 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
42076 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
42077 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
42078 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
42079 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
42080 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
42081 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
42082 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
42083 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
42084 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
42085 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
42086 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
42087 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
42088 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
42089 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
42090 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
42091 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
42092 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
42093 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
42094 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
42095 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
42096 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
42097 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
42098 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
42099 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
42100 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
42101 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
42102 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
42103 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
42104 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
42105 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
42106 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
42107 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
42108 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
42109 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
42110 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
42111 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
42112 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
42113 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
42114 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
42115 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
42116 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
42117 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
42118 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
42119 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
42120 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
42121 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
42122 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
42123 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
42124 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
42125 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
42126 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
42127 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
42128 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
42129 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
42130 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
42131 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
42132 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
42133 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
42134 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
42135 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
42136 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
42137 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
42138 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
42139 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
42140 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
42141 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
42143 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
42145 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
42146 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
42147 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
42148 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
42149 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
42150 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
42151 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
42152 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
42153 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
42154 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
42155 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
42156 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
42157 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
42158 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
42159 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
42160 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
42161 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
42162 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
42163 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
42164 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
42165 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
42166 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
42167 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
42168 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
42169 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
42170 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
42171 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
42172 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
42173 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
42174 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
42175 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
42176 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
42177 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
42178 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
42179 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
42180 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
42181 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
42182 SWIG_Python_SetConstant(d
, "DateTime_GMT13",SWIG_From_int(static_cast< int >(wxDateTime::GMT13
)));
42183 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
42184 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
42185 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
42186 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
42187 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
42188 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
42189 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
42190 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
42191 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
42192 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
42193 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
42194 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
42195 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
42196 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
42197 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
42198 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
42199 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
42200 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
42201 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
42202 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
42203 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
42204 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
42205 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
42206 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
42207 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
42208 SWIG_Python_SetConstant(d
, "DateTime_NZST",SWIG_From_int(static_cast< int >(wxDateTime::NZST
)));
42209 SWIG_Python_SetConstant(d
, "DateTime_NZDT",SWIG_From_int(static_cast< int >(wxDateTime::NZDT
)));
42210 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
42211 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
42212 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
42213 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
42214 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
42215 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
42216 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
42217 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
42218 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
42219 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
42220 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
42221 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
42222 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
42223 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
42224 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
42225 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
42226 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
42227 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
42228 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
42229 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
42230 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
42231 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
42232 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
42233 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
42234 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
42235 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
42236 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
42237 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
42238 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
42239 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
42240 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
42241 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
42242 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
42243 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
42244 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
42245 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
42246 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
42247 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
42248 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
42249 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
42250 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
42251 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
42252 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
42253 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
42254 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
42255 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
42256 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
42257 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
42258 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
42259 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
42260 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
42261 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
42262 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
42263 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
42264 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
42265 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
42266 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
42267 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
42268 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
42269 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
42270 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
42271 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
42272 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
42273 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
42274 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
42275 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
42276 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
42277 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
42278 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
42279 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
42280 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
42281 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
42282 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
42283 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
42284 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
42285 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
42286 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
42287 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
42288 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
42289 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
42290 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
42291 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
42292 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
42293 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
42294 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
42295 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
42296 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
42297 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
42298 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
42299 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
42300 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
42301 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
42302 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
42303 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
42304 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
42305 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
42306 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
42307 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
42308 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
42309 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
42310 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
42311 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
42312 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
42313 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
42314 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
42315 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
42316 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
42317 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
42318 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
42319 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
42320 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
42321 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
42322 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
42323 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
42324 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
42325 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
42326 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
42327 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
42328 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
42329 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
42330 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
42331 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
42332 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
42333 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
42334 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
42335 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
42336 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
42337 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
42338 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
42339 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
42340 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
42341 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
42342 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
42343 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
42344 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
42345 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
42346 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
42347 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
42349 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
42350 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
42351 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
42352 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
42354 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
42355 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
42356 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
42357 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
42358 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
42359 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
42360 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
42361 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
42362 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
42363 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
42364 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
42365 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
42366 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
42367 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
42368 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
42369 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));