1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_void swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAboutDialogInfo swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBitmapDataObject swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBusyCursor swig_types[16]
2483 #define SWIGTYPE_p_wxBusyInfo swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCaret swig_types[19]
2486 #define SWIGTYPE_p_wxChar swig_types[20]
2487 #define SWIGTYPE_p_wxChildFocusEvent swig_types[21]
2488 #define SWIGTYPE_p_wxClipboard swig_types[22]
2489 #define SWIGTYPE_p_wxClipboardLocker swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColour swig_types[26]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[27]
2494 #define SWIGTYPE_p_wxConfig swig_types[28]
2495 #define SWIGTYPE_p_wxConfigBase swig_types[29]
2496 #define SWIGTYPE_p_wxConfigPathChanger swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxCustomDataObject swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDataFormat swig_types[37]
2504 #define SWIGTYPE_p_wxDataObject swig_types[38]
2505 #define SWIGTYPE_p_wxDataObjectComposite swig_types[39]
2506 #define SWIGTYPE_p_wxDataObjectSimple swig_types[40]
2507 #define SWIGTYPE_p_wxDateEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDateSpan swig_types[42]
2509 #define SWIGTYPE_p_wxDateTime swig_types[43]
2510 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[44]
2511 #define SWIGTYPE_p_wxDisplay swig_types[45]
2512 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDuplexMode swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEventBlocker swig_types[51]
2518 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2519 #define SWIGTYPE_p_wxFSFile swig_types[53]
2520 #define SWIGTYPE_p_wxFileConfig swig_types[54]
2521 #define SWIGTYPE_p_wxFileDataObject swig_types[55]
2522 #define SWIGTYPE_p_wxFileHistory swig_types[56]
2523 #define SWIGTYPE_p_wxFileSystem swig_types[57]
2524 #define SWIGTYPE_p_wxFileType swig_types[58]
2525 #define SWIGTYPE_p_wxFileTypeInfo swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFrame swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGridBagSizer swig_types[66]
2533 #define SWIGTYPE_p_wxGridSizer swig_types[67]
2534 #define SWIGTYPE_p_wxICOHandler swig_types[68]
2535 #define SWIGTYPE_p_wxIcon swig_types[69]
2536 #define SWIGTYPE_p_wxIconizeEvent swig_types[70]
2537 #define SWIGTYPE_p_wxIdleEvent swig_types[71]
2538 #define SWIGTYPE_p_wxImage swig_types[72]
2539 #define SWIGTYPE_p_wxImageHandler swig_types[73]
2540 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74]
2541 #define SWIGTYPE_p_wxInitDialogEvent swig_types[75]
2542 #define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2543 #define SWIGTYPE_p_wxJoystick swig_types[77]
2544 #define SWIGTYPE_p_wxJoystickEvent swig_types[78]
2545 #define SWIGTYPE_p_wxKeyEvent swig_types[79]
2546 #define SWIGTYPE_p_wxKillError swig_types[80]
2547 #define SWIGTYPE_p_wxLayoutConstraints swig_types[81]
2548 #define SWIGTYPE_p_wxLog swig_types[82]
2549 #define SWIGTYPE_p_wxLogBuffer swig_types[83]
2550 #define SWIGTYPE_p_wxLogChain swig_types[84]
2551 #define SWIGTYPE_p_wxLogGui swig_types[85]
2552 #define SWIGTYPE_p_wxLogNull swig_types[86]
2553 #define SWIGTYPE_p_wxLogStderr swig_types[87]
2554 #define SWIGTYPE_p_wxLogTextCtrl swig_types[88]
2555 #define SWIGTYPE_p_wxLogWindow swig_types[89]
2556 #define SWIGTYPE_p_wxMaximizeEvent swig_types[90]
2557 #define SWIGTYPE_p_wxMenu swig_types[91]
2558 #define SWIGTYPE_p_wxMenuBar swig_types[92]
2559 #define SWIGTYPE_p_wxMenuEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMenuItem swig_types[94]
2561 #define SWIGTYPE_p_wxMetafile swig_types[95]
2562 #define SWIGTYPE_p_wxMetafileDataObject swig_types[96]
2563 #define SWIGTYPE_p_wxMimeTypesManager swig_types[97]
2564 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[98]
2565 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMouseEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseState swig_types[101]
2568 #define SWIGTYPE_p_wxMoveEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[103]
2570 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNcPaintEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxObject swig_types[107]
2574 #define SWIGTYPE_p_wxOutputStream swig_types[108]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPaintEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPaperSize swig_types[114]
2581 #define SWIGTYPE_p_wxPlatformInfo swig_types[115]
2582 #define SWIGTYPE_p_wxPoint swig_types[116]
2583 #define SWIGTYPE_p_wxPowerEvent swig_types[117]
2584 #define SWIGTYPE_p_wxProcessEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyArtProvider swig_types[120]
2587 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[121]
2588 #define SWIGTYPE_p_wxPyCommandEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[123]
2590 #define SWIGTYPE_p_wxPyDropSource swig_types[124]
2591 #define SWIGTYPE_p_wxPyDropTarget swig_types[125]
2592 #define SWIGTYPE_p_wxPyEvent swig_types[126]
2593 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[127]
2594 #define SWIGTYPE_p_wxPyImageHandler swig_types[128]
2595 #define SWIGTYPE_p_wxPyLog swig_types[129]
2596 #define SWIGTYPE_p_wxPyProcess swig_types[130]
2597 #define SWIGTYPE_p_wxPySizer swig_types[131]
2598 #define SWIGTYPE_p_wxPyTextDataObject swig_types[132]
2599 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[133]
2600 #define SWIGTYPE_p_wxPyTimer swig_types[134]
2601 #define SWIGTYPE_p_wxPyTipProvider swig_types[135]
2602 #define SWIGTYPE_p_wxPyValidator swig_types[136]
2603 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[137]
2604 #define SWIGTYPE_p_wxRect swig_types[138]
2605 #define SWIGTYPE_p_wxScrollEvent swig_types[139]
2606 #define SWIGTYPE_p_wxScrollWinEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSetCursorEvent swig_types[141]
2608 #define SWIGTYPE_p_wxShowEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[143]
2610 #define SWIGTYPE_p_wxSize swig_types[144]
2611 #define SWIGTYPE_p_wxSizeEvent swig_types[145]
2612 #define SWIGTYPE_p_wxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxSizerItem swig_types[147]
2614 #define SWIGTYPE_p_wxSound swig_types[148]
2615 #define SWIGTYPE_p_wxStandardPaths swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStopWatch swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxSystemOptions swig_types[155]
2622 #define SWIGTYPE_p_wxSystemSettings swig_types[156]
2623 #define SWIGTYPE_p_wxTGAHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTIFFHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextDataObject swig_types[160]
2627 #define SWIGTYPE_p_wxTimeSpan swig_types[161]
2628 #define SWIGTYPE_p_wxTimer swig_types[162]
2629 #define SWIGTYPE_p_wxTimerEvent swig_types[163]
2630 #define SWIGTYPE_p_wxTimerRunner swig_types[164]
2631 #define SWIGTYPE_p_wxTipProvider swig_types[165]
2632 #define SWIGTYPE_p_wxToolTip swig_types[166]
2633 #define SWIGTYPE_p_wxURLDataObject swig_types[167]
2634 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[168]
2635 #define SWIGTYPE_p_wxValidator swig_types[169]
2636 #define SWIGTYPE_p_wxVideoMode swig_types[170]
2637 #define SWIGTYPE_p_wxWindow swig_types[171]
2638 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2639 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2640 #define SWIGTYPE_p_wxWindowDisabler swig_types[174]
2641 #define SWIGTYPE_p_wxXPMHandler swig_types[175]
2642 static swig_type_info
*swig_types
[177];
2643 static swig_module_info swig_module
= {swig_types
, 176, 0, 0, 0, 0};
2644 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2645 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2647 /* -------- TYPES TABLE (END) -------- */
2649 #if (PY_VERSION_HEX <= 0x02000000)
2650 # if !defined(SWIG_PYTHON_CLASSIC)
2651 # error "This python version requires to use swig with the '-classic' option"
2654 #if (PY_VERSION_HEX <= 0x02020000)
2655 # error "This python version requires to use swig with the '-nomodern' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodernargs' option"
2661 # error "This python version requires to use swig with the '-nofastunpack' option"
2664 /*-----------------------------------------------
2665 @(target):= _misc_.so
2666 ------------------------------------------------*/
2667 #define SWIG_init init_misc_
2669 #define SWIG_name "_misc_"
2671 #define SWIGVERSION 0x010329
2674 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2675 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2678 #include <stdexcept>
2682 class PyObject_ptr
{
2687 PyObject_ptr() :_obj(0)
2691 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2696 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2698 if (initial_ref
) Py_XINCREF(_obj
);
2701 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2703 Py_XINCREF(item
._obj
);
2714 operator PyObject
*() const
2719 PyObject
*operator->() const
2728 struct PyObject_var
: PyObject_ptr
{
2729 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2731 PyObject_var
& operator = (PyObject
* obj
)
2741 #include "wx/wxPython/wxPython.h"
2742 #include "wx/wxPython/pyclasses.h"
2743 #include "wx/wxPython/pyistream.h"
2745 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 #define SWIG_From_long PyInt_FromLong
2752 SWIGINTERNINLINE PyObject
*
2753 SWIG_From_int (int value
)
2755 return SWIG_From_long (value
);
2761 # define LLONG_MIN LONG_LONG_MIN
2764 # define LLONG_MAX LONG_LONG_MAX
2767 # define ULLONG_MAX ULONG_LONG_MAX
2772 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2774 if (PyNumber_Check(obj
)) {
2775 if (val
) *val
= PyInt_AsLong(obj
);
2778 return SWIG_TypeError
;
2783 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2786 int res
= SWIG_AsVal_long (obj
, &v
);
2787 if (SWIG_IsOK(res
)) {
2788 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2789 return SWIG_OverflowError
;
2791 if (val
) *val
= static_cast< int >(v
);
2797 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2799 #include <wx/stockitem.h>
2801 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2802 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2803 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2806 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2808 if (obj
== Py_True
) {
2809 if (val
) *val
= true;
2811 } else if (obj
== Py_False
) {
2812 if (val
) *val
= false;
2816 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2817 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2824 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2827 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2828 return SWIG_TypeError
;
2831 *val
= (unsigned long)v
;
2836 SWIGINTERNINLINE PyObject
*
2837 SWIG_From_unsigned_SS_long (unsigned long value
)
2839 return (value
> LONG_MAX
) ?
2840 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2844 void* wxGetXDisplay()
2847 return wxGetDisplay();
2854 wxWindow
* FindWindowAtPointer() {
2856 return wxFindWindowAtPointer(unused
);
2860 bool wxThread_IsMain() {
2861 #ifdef WXP_WITH_THREAD
2862 return wxThread::IsMain();
2868 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2872 #include <wx/snglinst.h>
2876 #include <wx/msw/private.h>
2877 #include <wx/dynload.h>
2882 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2893 // This one only partially works. Appears to be an undocumented
2894 // "standard" convention that not all widgets adhear to. For
2895 // example, for some widgets backgrounds or non-client areas may
2897 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2902 // This one works much better, nearly all widgets and their
2903 // children are captured correctly[**]. Prior to the big
2904 // background erase changes that Vadim did in 2004-2005 this
2905 // method failed badly on XP with Themes activated, most native
2906 // widgets draw only partially, if at all. Without themes it
2907 // worked just like on Win2k. After those changes this method
2910 // ** For example the radio buttons in a wxRadioBox are not its
2911 // children by default, but you can capture it via the panel
2912 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2913 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2914 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2915 PRF_ERASEBKGND
| PRF_OWNED
);
2921 // This one is only defined in the latest SDK and is only
2922 // available on XP. MSDN says it is similar to sending WM_PRINT
2923 // so I expect that it will work similar to the above. Since it
2924 // is avaialble only on XP, it can't be compiled like this and
2925 // will have to be loaded dynamically.
2926 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2931 // Use PrintWindow if available, or fallback to WM_PRINT
2932 // otherwise. Unfortunately using PrintWindow is even worse than
2933 // WM_PRINT. For most native widgets nothing is drawn to the dc
2934 // at all, with or without Themes.
2935 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2936 static bool s_triedToLoad
= false;
2937 static PrintWindow_t pfnPrintWindow
= NULL
;
2938 if ( !s_triedToLoad
)
2941 s_triedToLoad
= true;
2942 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2943 if ( dllUser32
.IsLoaded() )
2945 wxLogNull nolog
; // Don't report errors here
2946 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2951 //printf("Using PrintWindow\n");
2952 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2956 //printf("Using WM_PRINT\n");
2957 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2958 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2959 PRF_ERASEBKGND
| PRF_OWNED
);
2970 #include <wx/tipdlg.h>
2973 SWIGINTERNINLINE PyObject
*
2974 SWIG_From_size_t (size_t value
)
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2980 class wxPyTipProvider
: public wxTipProvider
{
2982 wxPyTipProvider(size_t currentTip
)
2983 : wxTipProvider(currentTip
) {}
2985 DEC_PYCALLBACK_STRING__pure(GetTip
);
2986 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2990 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2991 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2994 SWIGINTERNINLINE
int
2995 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2998 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2999 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3004 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3006 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3008 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3009 : wxTimer(owner
, id
)
3015 wxPyTimer::~wxPyTimer()
3017 // printf("-=* ~wxPyTimer\n");
3022 SWIGINTERN swig_type_info
*
3023 SWIG_pchar_descriptor()
3025 static int init
= 0;
3026 static swig_type_info
* info
= 0;
3028 info
= SWIG_TypeQuery("_p_char");
3035 SWIGINTERNINLINE PyObject
*
3036 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3039 if (size
> INT_MAX
) {
3040 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3041 return pchar_descriptor
?
3042 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3044 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3047 return SWIG_Py_Void();
3052 SWIGINTERNINLINE PyObject
*
3053 SWIG_FromCharPtr(const char *cptr
)
3055 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3060 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3063 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3064 if (SWIG_IsOK(res
)) {
3065 if ((v
> UINT_MAX
)) {
3066 return SWIG_OverflowError
;
3068 if (val
) *val
= static_cast< unsigned int >(v
);
3074 SWIGINTERN wxString
wxLog_TimeStamp(){
3076 wxLog::TimeStamp(&msg
);
3079 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3080 // Make some wrappers that double any % signs so they are 'escaped'
3081 void wxPyLogFatalError(const wxString
& msg
)
3084 m
.Replace(wxT("%"), wxT("%%"));
3088 void wxPyLogError(const wxString
& msg
)
3091 m
.Replace(wxT("%"), wxT("%%"));
3095 void wxPyLogWarning(const wxString
& msg
)
3098 m
.Replace(wxT("%"), wxT("%%"));
3102 void wxPyLogMessage(const wxString
& msg
)
3105 m
.Replace(wxT("%"), wxT("%%"));
3109 void wxPyLogInfo(const wxString
& msg
)
3112 m
.Replace(wxT("%"), wxT("%%"));
3116 void wxPyLogDebug(const wxString
& msg
)
3119 m
.Replace(wxT("%"), wxT("%%"));
3123 void wxPyLogVerbose(const wxString
& msg
)
3126 m
.Replace(wxT("%"), wxT("%%"));
3130 void wxPyLogStatus(const wxString
& msg
)
3133 m
.Replace(wxT("%"), wxT("%%"));
3137 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3140 m
.Replace(wxT("%"), wxT("%%"));
3141 wxLogStatus(pFrame
, m
);
3144 void wxPyLogSysError(const wxString
& msg
)
3147 m
.Replace(wxT("%"), wxT("%%"));
3151 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3154 m
.Replace(wxT("%"), wxT("%%"));
3155 wxLogGeneric(level
, m
);
3158 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3161 m
.Replace(wxT("%"), wxT("%%"));
3162 wxLogTrace(mask
, m
);
3165 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3168 m
.Replace(wxT("%"), wxT("%%"));
3169 wxLogTrace(mask
, m
);
3174 // A wxLog class that can be derived from in wxPython
3175 class wxPyLog
: public wxLog
{
3177 wxPyLog() : wxLog() {}
3179 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3181 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3182 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3183 PyObject
* s
= wx2PyString(szString
);
3184 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3187 wxPyEndBlockThreads(blocked
);
3189 wxLog::DoLog(level
, szString
, t
);
3192 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3194 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3195 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3196 PyObject
* s
= wx2PyString(szString
);
3197 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3200 wxPyEndBlockThreads(blocked
);
3202 wxLog::DoLogString(szString
, t
);
3205 DEC_PYCALLBACK_VOID_(Flush
);
3208 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3213 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3216 #include <wx/joystick.h>
3219 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3220 // A C++ stub class for wxJoystick for platforms that don't have it.
3221 class wxJoystick
: public wxObject
{
3223 wxJoystick(int joystick
= wxJOYSTICK1
) {
3224 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3225 PyErr_SetString(PyExc_NotImplementedError
,
3226 "wxJoystick is not available on this platform.");
3227 wxPyEndBlockThreads(blocked
);
3229 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3230 int GetZPosition() { return -1; }
3231 int GetButtonState() { return -1; }
3232 int GetPOVPosition() { return -1; }
3233 int GetPOVCTSPosition() { return -1; }
3234 int GetRudderPosition() { return -1; }
3235 int GetUPosition() { return -1; }
3236 int GetVPosition() { return -1; }
3237 int GetMovementThreshold() { return -1; }
3238 void SetMovementThreshold(int threshold
) {}
3240 bool IsOk(void) { return false; }
3241 int GetNumberJoysticks() { return -1; }
3242 int GetManufacturerId() { return -1; }
3243 int GetProductId() { return -1; }
3244 wxString
GetProductName() { return wxEmptyString
; }
3245 int GetXMin() { return -1; }
3246 int GetYMin() { return -1; }
3247 int GetZMin() { return -1; }
3248 int GetXMax() { return -1; }
3249 int GetYMax() { return -1; }
3250 int GetZMax() { return -1; }
3251 int GetNumberButtons() { return -1; }
3252 int GetNumberAxes() { return -1; }
3253 int GetMaxButtons() { return -1; }
3254 int GetMaxAxes() { return -1; }
3255 int GetPollingMin() { return -1; }
3256 int GetPollingMax() { return -1; }
3257 int GetRudderMin() { return -1; }
3258 int GetRudderMax() { return -1; }
3259 int GetUMin() { return -1; }
3260 int GetUMax() { return -1; }
3261 int GetVMin() { return -1; }
3262 int GetVMax() { return -1; }
3264 bool HasRudder() { return false; }
3265 bool HasZ() { return false; }
3266 bool HasU() { return false; }
3267 bool HasV() { return false; }
3268 bool HasPOV() { return false; }
3269 bool HasPOV4Dir() { return false; }
3270 bool HasPOVCTS() { return false; }
3272 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3273 bool ReleaseCapture() { return false; }
3278 #include <wx/sound.h>
3282 // A C++ stub class for wxWave for platforms that don't have it.
3283 class wxSound
: public wxObject
3287 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3288 PyErr_SetString(PyExc_NotImplementedError
,
3289 "wxSound is not available on this platform.");
3290 wxPyEndBlockThreads(blocked
);
3292 wxSound(const wxString
&/*, bool*/) {
3293 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3294 PyErr_SetString(PyExc_NotImplementedError
,
3295 "wxSound is not available on this platform.");
3296 wxPyEndBlockThreads(blocked
);
3298 wxSound(int, const wxByte
*) {
3299 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3300 PyErr_SetString(PyExc_NotImplementedError
,
3301 "wxSound is not available on this platform.");
3302 wxPyEndBlockThreads(blocked
);
3307 bool Create(const wxString
&/*, bool*/) { return false; }
3308 bool Create(int, const wxByte
*) { return false; };
3309 bool IsOk() { return false; };
3310 bool Play(unsigned) const { return false; }
3311 static bool Play(const wxString
&, unsigned) { return false; }
3312 static void Stop() {}
3317 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3318 if (fileName
.Length() == 0)
3321 return new wxSound(fileName
);
3323 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3324 unsigned char* buffer
; int size
;
3325 wxSound
*sound
= NULL
;
3327 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3328 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3330 sound
= new wxSound(size
, buffer
);
3332 wxPyEndBlockThreads(blocked
);
3335 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3337 unsigned char* buffer
;
3341 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3342 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3344 rv
= self
->Create(size
, buffer
);
3346 wxPyEndBlockThreads(blocked
);
3349 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3350 PyErr_SetString(PyExc_NotImplementedError
,
3351 "Create from data is not available on this platform.");
3352 wxPyEndBlockThreads(blocked
);
3357 #include <wx/mimetype.h>
3359 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3361 if (self
->GetMimeType(&str
))
3362 return wx2PyString(str
);
3366 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3368 if (self
->GetMimeTypes(arr
))
3369 return wxArrayString2PyList_helper(arr
);
3373 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3375 if (self
->GetExtensions(arr
))
3376 return wxArrayString2PyList_helper(arr
);
3380 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3382 if (self
->GetIcon(&loc
))
3383 return new wxIcon(loc
);
3387 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3389 if (self
->GetIcon(&loc
)) {
3390 wxString iconFile
= loc
.GetFileName();
3395 // Make a tuple and put the values in it
3396 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3397 PyObject
* tuple
= PyTuple_New(3);
3398 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3399 wxT("wxIcon"), true));
3400 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3401 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3402 wxPyEndBlockThreads(blocked
);
3408 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3410 if (self
->GetDescription(&str
))
3411 return wx2PyString(str
);
3415 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3417 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3418 return wx2PyString(str
);
3422 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3424 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3425 return wx2PyString(str
);
3429 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3430 wxArrayString verbs
;
3431 wxArrayString commands
;
3432 if (self
->GetAllCommands(&verbs
, &commands
,
3433 wxFileType::MessageParameters(filename
, mimetype
))) {
3434 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3435 PyObject
* tuple
= PyTuple_New(2);
3436 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3437 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3438 wxPyEndBlockThreads(blocked
);
3444 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3445 return wxFileType::ExpandCommand(command
,
3446 wxFileType::MessageParameters(filename
, mimetype
));
3448 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3450 self
->EnumAllFileTypes(arr
);
3451 return wxArrayString2PyList_helper(arr
);
3454 #include <wx/artprov.h>
3456 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3457 static const wxString
wxPyART_MENU(wxART_MENU
);
3458 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3459 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3460 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3461 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3462 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3463 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3464 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3465 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3466 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3467 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3468 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3469 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3470 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3471 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3472 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3473 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3474 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3475 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3476 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3477 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3478 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3479 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3480 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3481 static const wxString
wxPyART_HELP(wxART_HELP
);
3482 static const wxString
wxPyART_TIP(wxART_TIP
);
3483 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3484 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3485 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3486 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3487 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3488 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3489 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3490 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3491 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3492 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3493 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3494 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3495 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3496 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3497 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3498 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3499 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3500 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3501 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3502 static const wxString
wxPyART_COPY(wxART_COPY
);
3503 static const wxString
wxPyART_CUT(wxART_CUT
);
3504 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3505 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3506 static const wxString
wxPyART_NEW(wxART_NEW
);
3507 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3508 static const wxString
wxPyART_REDO(wxART_REDO
);
3509 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3510 static const wxString
wxPyART_FIND(wxART_FIND
);
3511 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3512 // Python aware wxArtProvider
3513 class wxPyArtProvider
: public wxArtProvider
{
3516 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3517 const wxArtClient
& client
,
3518 const wxSize
& size
) {
3519 wxBitmap rval
= wxNullBitmap
;
3520 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3521 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3522 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3526 s1
= wx2PyString(id
);
3527 s2
= wx2PyString(client
);
3528 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3533 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3538 wxPyEndBlockThreads(blocked
);
3545 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3549 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3550 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3551 PyObject
* ret
= PyTuple_New(3);
3553 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3554 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3555 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3557 wxPyEndBlockThreads(blocked
);
3561 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3566 cont
= self
->GetFirstGroup(value
, index
);
3567 return __EnumerationHelper(cont
, value
, index
);
3569 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3573 cont
= self
->GetNextGroup(value
, index
);
3574 return __EnumerationHelper(cont
, value
, index
);
3576 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3581 cont
= self
->GetFirstEntry(value
, index
);
3582 return __EnumerationHelper(cont
, value
, index
);
3584 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3588 cont
= self
->GetNextEntry(value
, index
);
3589 return __EnumerationHelper(cont
, value
, index
);
3591 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3593 self
->Read(key
, &rv
, defaultVal
);
3598 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3600 if (PyNumber_Check(obj
)) {
3601 if (val
) *val
= PyFloat_AsDouble(obj
);
3604 return SWIG_TypeError
;
3607 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3609 self
->Read(key
, &rv
, defaultVal
);
3613 #define SWIG_From_double PyFloat_FromDouble
3615 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3617 self
->Read(key
, &rv
, defaultVal
);
3621 #include <wx/datetime.h>
3623 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3624 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3626 #define LOCAL_TZ wxDateTime::Local
3628 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3631 wxDateTime::GetAmPmStrings(&am
, &pm
);
3632 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3633 PyObject
* tup
= PyTuple_New(2);
3634 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3635 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3636 wxPyEndBlockThreads(blocked
);
3640 SWIGINTERNINLINE PyObject
*
3641 SWIG_From_unsigned_SS_int (unsigned int value
)
3643 return SWIG_From_unsigned_SS_long (value
);
3646 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3647 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3648 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3649 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3650 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3651 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3652 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3653 return (*self
< *other
);
3655 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3656 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3657 return (*self
<= *other
);
3659 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3660 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3661 return (*self
> *other
);
3663 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3664 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3665 return (*self
>= *other
);
3667 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3668 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3669 return (*self
== *other
);
3671 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3672 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3673 return (*self
!= *other
);
3675 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3677 const wxChar
* _date
= date
;
3678 rv
= self
->ParseRfc822Date(_date
);
3679 if (rv
== NULL
) return -1;
3682 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3684 const wxChar
* _date
= date
;
3685 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3686 if (rv
== NULL
) return -1;
3689 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3691 const wxChar
* _datetime
= datetime
;
3692 rv
= self
->ParseDateTime(_datetime
);
3693 if (rv
== NULL
) return -1;
3694 return rv
- _datetime
;
3696 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3698 const wxChar
* _date
= date
;
3699 rv
= self
->ParseDate(_date
);
3700 if (rv
== NULL
) return -1;
3703 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3705 const wxChar
* _time
= time
;
3706 rv
= self
->ParseTime(_time
);
3707 if (rv
== NULL
) return -1;
3710 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3711 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3712 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3713 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3714 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3715 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3716 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3717 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3718 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3719 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3720 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3721 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3722 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3723 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3724 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3725 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3727 #include <wx/dataobj.h>
3729 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3730 size_t count
= self
->GetFormatCount(dir
);
3731 wxDataFormat
* formats
= new wxDataFormat
[count
];
3732 self
->GetAllFormats(formats
, dir
);
3734 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3735 PyObject
* list
= PyList_New(count
);
3736 for (size_t i
=0; i
<count
; i
++) {
3737 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3738 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3739 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3741 wxPyEndBlockThreads(blocked
);
3745 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3746 PyObject
* rval
= NULL
;
3747 size_t size
= self
->GetDataSize(format
);
3748 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3750 char* buf
= new char[size
];
3751 if (self
->GetDataHere(format
, buf
))
3752 rval
= PyString_FromStringAndSize(buf
, size
);
3759 wxPyEndBlockThreads(blocked
);
3762 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3764 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3765 if (PyString_Check(data
)) {
3766 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3769 // raise a TypeError if not a string
3770 PyErr_SetString(PyExc_TypeError
, "String expected.");
3773 wxPyEndBlockThreads(blocked
);
3776 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3777 PyObject
* rval
= NULL
;
3778 size_t size
= self
->GetDataSize();
3779 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3781 char* buf
= new char[size
];
3782 if (self
->GetDataHere(buf
))
3783 rval
= PyString_FromStringAndSize(buf
, size
);
3790 wxPyEndBlockThreads(blocked
);
3793 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3795 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3796 if (PyString_Check(data
)) {
3797 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3800 // raise a TypeError if not a string
3801 PyErr_SetString(PyExc_TypeError
, "String expected.");
3804 wxPyEndBlockThreads(blocked
);
3807 // Create a new class for wxPython to use
3808 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3810 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3811 : wxDataObjectSimple(format
) {}
3813 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3814 bool GetDataHere(void *buf
) const;
3815 bool SetData(size_t len
, const void *buf
);
3819 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3821 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3822 // We need to get the data for this object and write it to buf. I think
3823 // the best way to do this for wxPython is to have the Python method
3824 // return either a string or None and then act appropriately with the
3828 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3829 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3831 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3833 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3835 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3839 wxPyEndBlockThreads(blocked
);
3843 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3844 // For this one we simply need to make a string from buf and len
3845 // and send it to the Python method.
3847 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3848 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3849 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3850 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3853 wxPyEndBlockThreads(blocked
);
3857 // Create a new class for wxPython to use
3858 class wxPyTextDataObject
: public wxTextDataObject
{
3860 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3861 : wxTextDataObject(text
) {}
3863 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3864 DEC_PYCALLBACK_STRING__const(GetText
);
3865 DEC_PYCALLBACK__STRING(SetText
);
3869 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3870 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3871 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3874 // Create a new class for wxPython to use
3875 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3877 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3878 : wxBitmapDataObject(bitmap
) {}
3880 wxBitmap
GetBitmap() const;
3881 void SetBitmap(const wxBitmap
& bitmap
);
3885 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3886 wxBitmap
* rval
= &wxNullBitmap
;
3887 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3888 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3891 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3893 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3898 wxPyEndBlockThreads(blocked
);
3902 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3903 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3904 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3905 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3906 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3909 wxPyEndBlockThreads(blocked
);
3912 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3913 return new wxCustomDataObject(wxDataFormat(formatName
));
3915 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3917 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3918 if (PyString_Check(data
)) {
3919 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3922 // raise a TypeError if not a string
3923 PyErr_SetString(PyExc_TypeError
, "String expected.");
3926 wxPyEndBlockThreads(blocked
);
3929 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3931 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3932 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3933 wxPyEndBlockThreads(blocked
);
3937 #include <wx/metafile.h>
3940 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3943 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3944 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3945 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3946 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3947 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3950 class wxPyTextDropTarget
: public wxTextDropTarget
{
3952 wxPyTextDropTarget() {}
3954 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3956 DEC_PYCALLBACK__(OnLeave
);
3957 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3958 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3959 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3960 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3965 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3966 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3967 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3968 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3969 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3970 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3974 class wxPyFileDropTarget
: public wxFileDropTarget
{
3976 wxPyFileDropTarget() {}
3978 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3980 DEC_PYCALLBACK__(OnLeave
);
3981 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3982 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3983 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3984 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3989 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3990 const wxArrayString
& filenames
) {
3992 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3993 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3994 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3995 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3998 wxPyEndBlockThreads(blocked
);
4004 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4005 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4006 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4007 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4008 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4013 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4015 #include <wx/display.h>
4016 #include <wx/vidmode.h>
4018 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4019 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4022 const wxVideoMode wxDefaultVideoMode
;
4025 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4027 PyObject
* pyList
= NULL
;
4028 wxArrayVideoModes arr
= self
->GetModes(mode
);
4029 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4030 pyList
= PyList_New(0);
4031 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4033 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4034 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4035 PyList_Append(pyList
, pyObj
);
4038 wxPyEndBlockThreads(blocked
);
4041 wxPyRaiseNotImplemented();
4045 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4047 return self
->GetCurrentMode();
4049 wxPyRaiseNotImplemented();
4050 return wxDefaultVideoMode
;
4053 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4055 return self
->ChangeMode(mode
);
4057 wxPyRaiseNotImplemented();
4061 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4065 wxPyRaiseNotImplemented();
4069 #include <wx/stdpaths.h>
4071 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4072 return (wxStandardPaths
*) &wxStandardPaths::Get();
4074 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4075 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4077 #ifndef wxHAS_POWER_EVENTS
4078 // Dummy class and other definitions for platforms that don't have them
4080 // See wxPython_int.h for wxPowerEvent
4083 wxEVT_POWER_SUSPENDING
,
4084 wxEVT_POWER_SUSPENDED
,
4085 wxEVT_POWER_SUSPEND_CANCEL
,
4089 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4090 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4095 #include <wx/aboutdlg.h>
4100 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
= 0;
4102 wxSystemColour arg1
;
4106 PyObject
* obj0
= 0 ;
4107 char * kwnames
[] = {
4108 (char *) "index", NULL
4111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4112 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4113 if (!SWIG_IsOK(ecode1
)) {
4114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4116 arg1
= static_cast< wxSystemColour
>(val1
);
4118 if (!wxPyCheckForApp()) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= wxSystemSettings::GetColour(arg1
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4131 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
= 0;
4137 PyObject
* obj0
= 0 ;
4138 char * kwnames
[] = {
4139 (char *) "index", NULL
4142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4144 if (!SWIG_IsOK(ecode1
)) {
4145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4147 arg1
= static_cast< wxSystemFont
>(val1
);
4149 if (!wxPyCheckForApp()) SWIG_fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 result
= wxSystemSettings::GetFont(arg1
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4162 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
= 0;
4164 wxSystemMetric arg1
;
4165 wxWindow
*arg2
= (wxWindow
*) NULL
;
4171 PyObject
* obj0
= 0 ;
4172 PyObject
* obj1
= 0 ;
4173 char * kwnames
[] = {
4174 (char *) "index",(char *) "win", NULL
4177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4178 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4179 if (!SWIG_IsOK(ecode1
)) {
4180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4182 arg1
= static_cast< wxSystemMetric
>(val1
);
4184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4185 if (!SWIG_IsOK(res2
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4188 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4191 if (!wxPyCheckForApp()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= SWIG_From_int(static_cast< int >(result
));
4204 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
= 0;
4206 wxSystemFeature arg1
;
4210 PyObject
* obj0
= 0 ;
4211 char * kwnames
[] = {
4212 (char *) "index", NULL
4215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4216 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4217 if (!SWIG_IsOK(ecode1
)) {
4218 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4220 arg1
= static_cast< wxSystemFeature
>(val1
);
4222 if (!wxPyCheckForApp()) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4237 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4238 PyObject
*resultobj
= 0;
4239 wxSystemScreenType result
;
4241 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4243 if (!wxPyCheckForApp()) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= SWIG_From_int(static_cast< int >(result
));
4256 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
*resultobj
= 0;
4258 wxSystemScreenType arg1
;
4261 PyObject
* obj0
= 0 ;
4262 char * kwnames
[] = {
4263 (char *) "screen", NULL
4266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4267 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4268 if (!SWIG_IsOK(ecode1
)) {
4269 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4271 arg1
= static_cast< wxSystemScreenType
>(val1
);
4273 if (!wxPyCheckForApp()) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 wxSystemSettings::SetScreenType(arg1
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4279 resultobj
= SWIG_Py_Void();
4286 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4289 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4290 return SWIG_Py_Void();
4293 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4294 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4299 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4300 PyObject
*pyobj
= 0;
4304 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4306 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4313 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4314 PyObject
*resultobj
= 0;
4315 wxSystemOptions
*result
= 0 ;
4317 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= (wxSystemOptions
*)new wxSystemOptions();
4321 wxPyEndAllowThreads(__tstate
);
4322 if (PyErr_Occurred()) SWIG_fail
;
4324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4331 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4332 PyObject
*resultobj
= 0;
4333 wxString
*arg1
= 0 ;
4334 wxString
*arg2
= 0 ;
4335 bool temp1
= false ;
4336 bool temp2
= false ;
4337 PyObject
* obj0
= 0 ;
4338 PyObject
* obj1
= 0 ;
4339 char * kwnames
[] = {
4340 (char *) "name",(char *) "value", NULL
4343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4345 arg1
= wxString_in_helper(obj0
);
4346 if (arg1
== NULL
) SWIG_fail
;
4350 arg2
= wxString_in_helper(obj1
);
4351 if (arg2
== NULL
) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= SWIG_Py_Void();
4383 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
= 0;
4385 wxString
*arg1
= 0 ;
4387 bool temp1
= false ;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4392 char * kwnames
[] = {
4393 (char *) "name",(char *) "value", NULL
4396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4398 arg1
= wxString_in_helper(obj0
);
4399 if (arg1
== NULL
) SWIG_fail
;
4402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4403 if (!SWIG_IsOK(ecode2
)) {
4404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4406 arg2
= static_cast< int >(val2
);
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_Py_Void();
4428 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
= 0;
4430 wxString
*arg1
= 0 ;
4432 bool temp1
= false ;
4433 PyObject
* obj0
= 0 ;
4434 char * kwnames
[] = {
4435 (char *) "name", NULL
4438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4440 arg1
= wxString_in_helper(obj0
);
4441 if (arg1
== NULL
) SWIG_fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4471 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
= 0;
4473 wxString
*arg1
= 0 ;
4475 bool temp1
= false ;
4476 PyObject
* obj0
= 0 ;
4477 char * kwnames
[] = {
4478 (char *) "name", NULL
4481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4483 arg1
= wxString_in_helper(obj0
);
4484 if (arg1
== NULL
) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= SWIG_From_int(static_cast< int >(result
));
4508 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
= 0;
4510 wxString
*arg1
= 0 ;
4512 bool temp1
= false ;
4513 PyObject
* obj0
= 0 ;
4514 char * kwnames
[] = {
4515 (char *) "name", NULL
4518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4520 arg1
= wxString_in_helper(obj0
);
4521 if (arg1
== NULL
) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4547 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
= 0;
4549 wxString
*arg1
= 0 ;
4551 bool temp1
= false ;
4552 PyObject
* obj0
= 0 ;
4553 char * kwnames
[] = {
4554 (char *) "name", NULL
4557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4559 arg1
= wxString_in_helper(obj0
);
4560 if (arg1
== NULL
) SWIG_fail
;
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4586 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4589 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4590 return SWIG_Py_Void();
4593 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4594 return SWIG_Python_InitShadowInstance(args
);
4597 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4598 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4603 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4604 PyObject
*pyobj
= 0;
4608 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4610 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4617 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4618 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4623 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4624 PyObject
*pyobj
= 0;
4628 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4630 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4637 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4638 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4643 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4644 PyObject
*pyobj
= 0;
4648 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4650 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4657 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4658 PyObject
*resultobj
= 0;
4661 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (long)wxNewId();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 resultobj
= SWIG_From_long(static_cast< long >(result
));
4675 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
= 0;
4680 PyObject
* obj0
= 0 ;
4681 char * kwnames
[] = {
4685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4686 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4687 if (!SWIG_IsOK(ecode1
)) {
4688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4690 arg1
= static_cast< long >(val1
);
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_Py_Void();
4704 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4705 PyObject
*resultobj
= 0;
4708 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (long)wxGetCurrentId();
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_From_long(static_cast< long >(result
));
4722 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
= 0;
4728 PyObject
* obj0
= 0 ;
4729 char * kwnames
[] = {
4733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4734 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4735 if (!SWIG_IsOK(ecode1
)) {
4736 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4738 arg1
= static_cast< int >(val1
);
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (bool)wxIsStockID(arg1
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4754 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
= 0;
4757 wxString
*arg2
= 0 ;
4761 bool temp2
= false ;
4762 PyObject
* obj0
= 0 ;
4763 PyObject
* obj1
= 0 ;
4764 char * kwnames
[] = {
4765 (char *) "id",(char *) "label", NULL
4768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4769 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4770 if (!SWIG_IsOK(ecode1
)) {
4771 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4773 arg1
= static_cast< int >(val1
);
4775 arg2
= wxString_in_helper(obj1
);
4776 if (arg2
== NULL
) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4802 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
= 0;
4805 long arg2
= (long) wxSTOCK_WITH_MNEMONIC
;
4811 PyObject
* obj0
= 0 ;
4812 PyObject
* obj1
= 0 ;
4813 char * kwnames
[] = {
4814 (char *) "id",(char *) "flags", NULL
4817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4818 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4819 if (!SWIG_IsOK(ecode1
)) {
4820 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4822 arg1
= static_cast< int >(val1
);
4824 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4825 if (!SWIG_IsOK(ecode2
)) {
4826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "long""'");
4828 arg2
= static_cast< long >(val2
);
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 result
= wxGetStockLabel(arg1
,arg2
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4849 SWIGINTERN PyObject
*_wrap_GetStockHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
= 0;
4852 wxStockHelpStringClient arg2
= (wxStockHelpStringClient
) wxSTOCK_MENU
;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4860 char * kwnames
[] = {
4861 (char *) "id",(char *) "client", NULL
4864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:GetStockHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4865 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4866 if (!SWIG_IsOK(ecode1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockHelpString" "', expected argument " "1"" of type '" "int""'");
4869 arg1
= static_cast< int >(val1
);
4871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4872 if (!SWIG_IsOK(ecode2
)) {
4873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockHelpString" "', expected argument " "2"" of type '" "wxStockHelpStringClient""'");
4875 arg2
= static_cast< wxStockHelpStringClient
>(val2
);
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= wxGetStockHelpString(arg1
,arg2
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4896 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4897 PyObject
*resultobj
= 0;
4899 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4901 if (!wxPyCheckForApp()) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= SWIG_Py_Void();
4914 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4915 PyObject
*resultobj
= 0;
4917 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4919 if (!wxPyCheckForApp()) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= SWIG_Py_Void();
4932 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
= 0;
4934 bool arg1
= (bool) true ;
4938 PyObject
* obj0
= 0 ;
4939 char * kwnames
[] = {
4940 (char *) "resetTimer", NULL
4943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4945 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4946 if (!SWIG_IsOK(ecode1
)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4949 arg1
= static_cast< bool >(val1
);
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 result
= (long)wxGetElapsedTime(arg1
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_From_long(static_cast< long >(result
));
4964 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4965 PyObject
*resultobj
= 0;
4968 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 result
= (bool)wxIsBusy();
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4984 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4985 PyObject
*resultobj
= 0;
4988 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5008 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
= 0;
5010 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5011 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5013 bool temp1
= false ;
5014 PyObject
* obj0
= 0 ;
5015 char * kwnames
[] = {
5016 (char *) "command", NULL
5019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
5022 arg1
= wxString_in_helper(obj0
);
5023 if (arg1
== NULL
) SWIG_fail
;
5028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 result
= (bool)wxShell((wxString
const &)*arg1
);
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5050 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5051 PyObject
*resultobj
= 0;
5053 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= SWIG_Py_Void();
5067 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5068 PyObject
*resultobj
= 0;
5069 int *arg1
= (int *) 0 ;
5070 int *arg2
= (int *) 0 ;
5073 int res1
= SWIG_TMPOBJ
;
5075 int res2
= SWIG_TMPOBJ
;
5079 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (int)wxGetOsVersion(arg1
,arg2
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= SWIG_From_int(static_cast< int >(result
));
5087 if (SWIG_IsTmpObj(res1
)) {
5088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5090 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5093 if (SWIG_IsTmpObj(res2
)) {
5094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5096 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5105 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5106 PyObject
*resultobj
= 0;
5109 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 result
= wxGetOsDescription();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5129 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5130 PyObject
*resultobj
= 0;
5133 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (bool)wxIsPlatformLittleEndian();
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5149 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5150 PyObject
*resultobj
= 0;
5153 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 result
= (bool)wxIsPlatform64Bit();
5157 wxPyEndAllowThreads(__tstate
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5169 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5170 PyObject
*resultobj
= 0;
5171 wxMemorySize result
;
5173 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 result
= wxGetFreeMemory();
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5182 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5184 resultobj
= PyInt_FromLong(result
);
5193 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
= 0;
5195 wxShutdownFlags arg1
;
5199 PyObject
* obj0
= 0 ;
5200 char * kwnames
[] = {
5201 (char *) "wFlags", NULL
5204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5205 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5206 if (!SWIG_IsOK(ecode1
)) {
5207 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5209 arg1
= static_cast< wxShutdownFlags
>(val1
);
5211 if (!wxPyCheckForApp()) SWIG_fail
;
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 result
= (bool)wxShutdown(arg1
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5226 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
= 0;
5231 PyObject
* obj0
= 0 ;
5232 char * kwnames
[] = {
5233 (char *) "secs", NULL
5236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5238 if (!SWIG_IsOK(ecode1
)) {
5239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5241 arg1
= static_cast< int >(val1
);
5243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 resultobj
= SWIG_Py_Void();
5255 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
= 0;
5257 unsigned long arg1
;
5258 unsigned long val1
;
5260 PyObject
* obj0
= 0 ;
5261 char * kwnames
[] = {
5262 (char *) "milliseconds", NULL
5265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5266 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5267 if (!SWIG_IsOK(ecode1
)) {
5268 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5270 arg1
= static_cast< unsigned long >(val1
);
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= SWIG_Py_Void();
5284 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
= 0;
5286 unsigned long arg1
;
5287 unsigned long val1
;
5289 PyObject
* obj0
= 0 ;
5290 char * kwnames
[] = {
5291 (char *) "microseconds", NULL
5294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5295 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5296 if (!SWIG_IsOK(ecode1
)) {
5297 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5299 arg1
= static_cast< unsigned long >(val1
);
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= SWIG_Py_Void();
5313 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
= 0;
5318 PyObject
* obj0
= 0 ;
5319 char * kwnames
[] = {
5320 (char *) "enable", NULL
5323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5324 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5325 if (!SWIG_IsOK(ecode1
)) {
5326 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5328 arg1
= static_cast< bool >(val1
);
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 wxEnableTopLevelWindows(arg1
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= SWIG_Py_Void();
5342 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
= 0;
5344 wxString
*arg1
= 0 ;
5346 bool temp1
= false ;
5347 PyObject
* obj0
= 0 ;
5348 char * kwnames
[] = {
5352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5354 arg1
= wxString_in_helper(obj0
);
5355 if (arg1
== NULL
) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5366 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5368 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5385 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5386 PyObject
*resultobj
= 0;
5389 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= wxGetEmailAddress();
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5409 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5410 PyObject
*resultobj
= 0;
5413 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 result
= wxGetHostName();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5433 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5434 PyObject
*resultobj
= 0;
5437 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= wxGetFullHostName();
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) SWIG_fail
;
5446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5457 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5458 PyObject
*resultobj
= 0;
5461 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= wxGetUserId();
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5481 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5482 PyObject
*resultobj
= 0;
5485 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= wxGetUserName();
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5505 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5506 PyObject
*resultobj
= 0;
5509 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= wxGetHomeDir();
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5529 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
= 0;
5531 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5532 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5534 bool temp1
= false ;
5535 PyObject
* obj0
= 0 ;
5536 char * kwnames
[] = {
5537 (char *) "user", NULL
5540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5543 arg1
= wxString_in_helper(obj0
);
5544 if (arg1
== NULL
) SWIG_fail
;
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 result
= wxGetUserHome((wxString
const &)*arg1
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5575 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5576 PyObject
*resultobj
= 0;
5577 unsigned long result
;
5579 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (unsigned long)wxGetProcessId();
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5593 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5594 PyObject
*resultobj
= 0;
5596 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= SWIG_Py_Void();
5610 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
= 0;
5612 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5613 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5614 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5615 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5616 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5617 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5618 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5619 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5620 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5621 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5622 int arg6
= (int) 0 ;
5623 wxWindow
*arg7
= (wxWindow
*) NULL
;
5624 int arg8
= (int) -1 ;
5625 int arg9
= (int) -1 ;
5627 bool temp1
= false ;
5628 bool temp2
= false ;
5629 bool temp3
= false ;
5630 bool temp4
= false ;
5631 bool temp5
= false ;
5640 PyObject
* obj0
= 0 ;
5641 PyObject
* obj1
= 0 ;
5642 PyObject
* obj2
= 0 ;
5643 PyObject
* obj3
= 0 ;
5644 PyObject
* obj4
= 0 ;
5645 PyObject
* obj5
= 0 ;
5646 PyObject
* obj6
= 0 ;
5647 PyObject
* obj7
= 0 ;
5648 PyObject
* obj8
= 0 ;
5649 char * kwnames
[] = {
5650 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5656 arg1
= wxString_in_helper(obj0
);
5657 if (arg1
== NULL
) SWIG_fail
;
5663 arg2
= wxString_in_helper(obj1
);
5664 if (arg2
== NULL
) SWIG_fail
;
5670 arg3
= wxString_in_helper(obj2
);
5671 if (arg3
== NULL
) SWIG_fail
;
5677 arg4
= wxString_in_helper(obj3
);
5678 if (arg4
== NULL
) SWIG_fail
;
5684 arg5
= wxString_in_helper(obj4
);
5685 if (arg5
== NULL
) SWIG_fail
;
5690 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5691 if (!SWIG_IsOK(ecode6
)) {
5692 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5694 arg6
= static_cast< int >(val6
);
5697 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5698 if (!SWIG_IsOK(res7
)) {
5699 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5701 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5704 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5705 if (!SWIG_IsOK(ecode8
)) {
5706 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5708 arg8
= static_cast< int >(val8
);
5711 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5712 if (!SWIG_IsOK(ecode9
)) {
5713 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5715 arg9
= static_cast< int >(val9
);
5718 if (!wxPyCheckForApp()) SWIG_fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5777 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
= 0;
5779 wxString
*arg1
= 0 ;
5780 wxString
*arg2
= 0 ;
5781 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5782 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5783 wxWindow
*arg4
= (wxWindow
*) NULL
;
5785 bool temp1
= false ;
5786 bool temp2
= false ;
5787 bool temp3
= false ;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5792 PyObject
* obj2
= 0 ;
5793 PyObject
* obj3
= 0 ;
5794 char * kwnames
[] = {
5795 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5800 arg1
= wxString_in_helper(obj0
);
5801 if (arg1
== NULL
) SWIG_fail
;
5805 arg2
= wxString_in_helper(obj1
);
5806 if (arg2
== NULL
) SWIG_fail
;
5811 arg3
= wxString_in_helper(obj2
);
5812 if (arg3
== NULL
) SWIG_fail
;
5817 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5818 if (!SWIG_IsOK(res4
)) {
5819 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5821 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5824 if (!wxPyCheckForApp()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5867 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
= 0;
5869 wxString
*arg1
= 0 ;
5870 wxString
*arg2
= 0 ;
5871 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5872 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5873 wxWindow
*arg4
= (wxWindow
*) NULL
;
5875 bool temp1
= false ;
5876 bool temp2
= false ;
5877 bool temp3
= false ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5882 PyObject
* obj2
= 0 ;
5883 PyObject
* obj3
= 0 ;
5884 char * kwnames
[] = {
5885 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5890 arg1
= wxString_in_helper(obj0
);
5891 if (arg1
== NULL
) SWIG_fail
;
5895 arg2
= wxString_in_helper(obj1
);
5896 if (arg2
== NULL
) SWIG_fail
;
5901 arg3
= wxString_in_helper(obj2
);
5902 if (arg3
== NULL
) SWIG_fail
;
5907 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5908 if (!SWIG_IsOK(res4
)) {
5909 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5911 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5914 if (!wxPyCheckForApp()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5957 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
*resultobj
= 0;
5959 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5960 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5961 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5962 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5963 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5964 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5965 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5966 wxWindow
*arg5
= (wxWindow
*) NULL
;
5968 bool temp1
= false ;
5969 bool temp2
= false ;
5975 PyObject
* obj0
= 0 ;
5976 PyObject
* obj1
= 0 ;
5977 PyObject
* obj2
= 0 ;
5978 PyObject
* obj3
= 0 ;
5979 PyObject
* obj4
= 0 ;
5980 char * kwnames
[] = {
5981 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5987 arg1
= wxString_in_helper(obj0
);
5988 if (arg1
== NULL
) SWIG_fail
;
5994 arg2
= wxString_in_helper(obj1
);
5995 if (arg2
== NULL
) SWIG_fail
;
6000 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6001 if (!SWIG_IsOK(ecode3
)) {
6002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
6004 arg3
= static_cast< long >(val3
);
6009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6013 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6014 if (!SWIG_IsOK(res5
)) {
6015 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
6017 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6020 if (!wxPyCheckForApp()) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6055 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
*resultobj
= 0;
6057 wxString
*arg1
= 0 ;
6058 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6059 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6060 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6061 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6062 wxWindow
*arg4
= (wxWindow
*) NULL
;
6063 int arg5
= (int) -1 ;
6064 int arg6
= (int) -1 ;
6065 bool arg7
= (bool) true ;
6067 bool temp1
= false ;
6068 bool temp2
= false ;
6069 bool temp3
= false ;
6078 PyObject
* obj0
= 0 ;
6079 PyObject
* obj1
= 0 ;
6080 PyObject
* obj2
= 0 ;
6081 PyObject
* obj3
= 0 ;
6082 PyObject
* obj4
= 0 ;
6083 PyObject
* obj5
= 0 ;
6084 PyObject
* obj6
= 0 ;
6085 char * kwnames
[] = {
6086 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6091 arg1
= wxString_in_helper(obj0
);
6092 if (arg1
== NULL
) SWIG_fail
;
6097 arg2
= wxString_in_helper(obj1
);
6098 if (arg2
== NULL
) SWIG_fail
;
6104 arg3
= wxString_in_helper(obj2
);
6105 if (arg3
== NULL
) SWIG_fail
;
6110 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6111 if (!SWIG_IsOK(res4
)) {
6112 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6114 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6117 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6118 if (!SWIG_IsOK(ecode5
)) {
6119 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6121 arg5
= static_cast< int >(val5
);
6124 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6125 if (!SWIG_IsOK(ecode6
)) {
6126 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6128 arg6
= static_cast< int >(val6
);
6131 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6132 if (!SWIG_IsOK(ecode7
)) {
6133 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6135 arg7
= static_cast< bool >(val7
);
6138 if (!wxPyCheckForApp()) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6181 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
= 0;
6183 wxString
*arg1
= 0 ;
6184 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6185 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6186 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6187 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6188 wxWindow
*arg4
= (wxWindow
*) NULL
;
6190 bool temp1
= false ;
6191 bool temp2
= false ;
6192 bool temp3
= false ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6197 PyObject
* obj2
= 0 ;
6198 PyObject
* obj3
= 0 ;
6199 char * kwnames
[] = {
6200 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6205 arg1
= wxString_in_helper(obj0
);
6206 if (arg1
== NULL
) SWIG_fail
;
6211 arg2
= wxString_in_helper(obj1
);
6212 if (arg2
== NULL
) SWIG_fail
;
6218 arg3
= wxString_in_helper(obj2
);
6219 if (arg3
== NULL
) SWIG_fail
;
6224 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6225 if (!SWIG_IsOK(res4
)) {
6226 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6228 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6231 if (!wxPyCheckForApp()) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6274 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
= 0;
6276 wxString
*arg1
= 0 ;
6277 wxString
*arg2
= 0 ;
6279 wxString
*arg4
= (wxString
*) 0 ;
6280 wxWindow
*arg5
= (wxWindow
*) NULL
;
6281 int arg6
= (int) -1 ;
6282 int arg7
= (int) -1 ;
6283 bool arg8
= (bool) true ;
6284 int arg9
= (int) 150 ;
6285 int arg10
= (int) 200 ;
6287 bool temp1
= false ;
6288 bool temp2
= false ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6303 PyObject
* obj2
= 0 ;
6304 PyObject
* obj3
= 0 ;
6305 PyObject
* obj4
= 0 ;
6306 PyObject
* obj5
= 0 ;
6307 PyObject
* obj6
= 0 ;
6308 PyObject
* obj7
= 0 ;
6309 PyObject
* obj8
= 0 ;
6310 char * kwnames
[] = {
6311 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6316 arg1
= wxString_in_helper(obj0
);
6317 if (arg1
== NULL
) SWIG_fail
;
6321 arg2
= wxString_in_helper(obj1
);
6322 if (arg2
== NULL
) SWIG_fail
;
6326 arg3
= PyList_Size(obj2
);
6327 arg4
= wxString_LIST_helper(obj2
);
6328 if (arg4
== NULL
) SWIG_fail
;
6331 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6332 if (!SWIG_IsOK(res5
)) {
6333 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6335 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6338 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6339 if (!SWIG_IsOK(ecode6
)) {
6340 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6342 arg6
= static_cast< int >(val6
);
6345 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6346 if (!SWIG_IsOK(ecode7
)) {
6347 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6349 arg7
= static_cast< int >(val7
);
6352 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6353 if (!SWIG_IsOK(ecode8
)) {
6354 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6356 arg8
= static_cast< bool >(val8
);
6359 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6360 if (!SWIG_IsOK(ecode9
)) {
6361 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6363 arg9
= static_cast< int >(val9
);
6366 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6367 if (!SWIG_IsOK(ecode10
)) {
6368 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6370 arg10
= static_cast< int >(val10
);
6373 if (!wxPyCheckForApp()) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6395 if (arg4
) delete [] arg4
;
6408 if (arg4
) delete [] arg4
;
6414 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
= 0;
6416 wxString
*arg1
= 0 ;
6417 wxString
*arg2
= 0 ;
6419 wxString
*arg4
= (wxString
*) 0 ;
6420 wxWindow
*arg5
= (wxWindow
*) NULL
;
6421 int arg6
= (int) -1 ;
6422 int arg7
= (int) -1 ;
6423 bool arg8
= (bool) true ;
6424 int arg9
= (int) 150 ;
6425 int arg10
= (int) 200 ;
6427 bool temp1
= false ;
6428 bool temp2
= false ;
6441 PyObject
* obj0
= 0 ;
6442 PyObject
* obj1
= 0 ;
6443 PyObject
* obj2
= 0 ;
6444 PyObject
* obj3
= 0 ;
6445 PyObject
* obj4
= 0 ;
6446 PyObject
* obj5
= 0 ;
6447 PyObject
* obj6
= 0 ;
6448 PyObject
* obj7
= 0 ;
6449 PyObject
* obj8
= 0 ;
6450 char * kwnames
[] = {
6451 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6456 arg1
= wxString_in_helper(obj0
);
6457 if (arg1
== NULL
) SWIG_fail
;
6461 arg2
= wxString_in_helper(obj1
);
6462 if (arg2
== NULL
) SWIG_fail
;
6466 arg3
= PyList_Size(obj2
);
6467 arg4
= wxString_LIST_helper(obj2
);
6468 if (arg4
== NULL
) SWIG_fail
;
6471 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6472 if (!SWIG_IsOK(res5
)) {
6473 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6475 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6478 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6479 if (!SWIG_IsOK(ecode6
)) {
6480 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6482 arg6
= static_cast< int >(val6
);
6485 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6486 if (!SWIG_IsOK(ecode7
)) {
6487 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6489 arg7
= static_cast< int >(val7
);
6492 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6493 if (!SWIG_IsOK(ecode8
)) {
6494 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6496 arg8
= static_cast< bool >(val8
);
6499 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6500 if (!SWIG_IsOK(ecode9
)) {
6501 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6503 arg9
= static_cast< int >(val9
);
6506 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6507 if (!SWIG_IsOK(ecode10
)) {
6508 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6510 arg10
= static_cast< int >(val10
);
6513 if (!wxPyCheckForApp()) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= SWIG_From_int(static_cast< int >(result
));
6529 if (arg4
) delete [] arg4
;
6542 if (arg4
) delete [] arg4
;
6548 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
= 0;
6550 wxString
*arg1
= 0 ;
6551 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6552 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6553 int arg3
= (int) wxOK
|wxCENTRE
;
6554 wxWindow
*arg4
= (wxWindow
*) NULL
;
6555 int arg5
= (int) -1 ;
6556 int arg6
= (int) -1 ;
6558 bool temp1
= false ;
6559 bool temp2
= false ;
6568 PyObject
* obj0
= 0 ;
6569 PyObject
* obj1
= 0 ;
6570 PyObject
* obj2
= 0 ;
6571 PyObject
* obj3
= 0 ;
6572 PyObject
* obj4
= 0 ;
6573 PyObject
* obj5
= 0 ;
6574 char * kwnames
[] = {
6575 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6580 arg1
= wxString_in_helper(obj0
);
6581 if (arg1
== NULL
) SWIG_fail
;
6586 arg2
= wxString_in_helper(obj1
);
6587 if (arg2
== NULL
) SWIG_fail
;
6592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6593 if (!SWIG_IsOK(ecode3
)) {
6594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6596 arg3
= static_cast< int >(val3
);
6599 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6600 if (!SWIG_IsOK(res4
)) {
6601 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6603 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6606 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6607 if (!SWIG_IsOK(ecode5
)) {
6608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6610 arg5
= static_cast< int >(val5
);
6613 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6614 if (!SWIG_IsOK(ecode6
)) {
6615 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6617 arg6
= static_cast< int >(val6
);
6620 if (!wxPyCheckForApp()) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_From_int(static_cast< int >(result
));
6649 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
= 0;
6651 wxString
*arg1
= 0 ;
6652 wxString
*arg2
= 0 ;
6653 wxString
*arg3
= 0 ;
6655 long arg5
= (long) 0 ;
6656 long arg6
= (long) 100 ;
6657 wxWindow
*arg7
= (wxWindow
*) NULL
;
6658 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6659 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6661 bool temp1
= false ;
6662 bool temp2
= false ;
6663 bool temp3
= false ;
6673 PyObject
* obj0
= 0 ;
6674 PyObject
* obj1
= 0 ;
6675 PyObject
* obj2
= 0 ;
6676 PyObject
* obj3
= 0 ;
6677 PyObject
* obj4
= 0 ;
6678 PyObject
* obj5
= 0 ;
6679 PyObject
* obj6
= 0 ;
6680 PyObject
* obj7
= 0 ;
6681 char * kwnames
[] = {
6682 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6687 arg1
= wxString_in_helper(obj0
);
6688 if (arg1
== NULL
) SWIG_fail
;
6692 arg2
= wxString_in_helper(obj1
);
6693 if (arg2
== NULL
) SWIG_fail
;
6697 arg3
= wxString_in_helper(obj2
);
6698 if (arg3
== NULL
) SWIG_fail
;
6701 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6702 if (!SWIG_IsOK(ecode4
)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6705 arg4
= static_cast< long >(val4
);
6707 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6708 if (!SWIG_IsOK(ecode5
)) {
6709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6711 arg5
= static_cast< long >(val5
);
6714 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6715 if (!SWIG_IsOK(ecode6
)) {
6716 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6718 arg6
= static_cast< long >(val6
);
6721 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6722 if (!SWIG_IsOK(res7
)) {
6723 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6725 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6730 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6734 if (!wxPyCheckForApp()) SWIG_fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_From_long(static_cast< long >(result
));
6771 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6772 PyObject
*resultobj
= 0;
6775 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6777 if (!wxPyCheckForApp()) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= (bool)wxColourDisplay();
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6792 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6793 PyObject
*resultobj
= 0;
6796 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6798 if (!wxPyCheckForApp()) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 result
= (int)wxDisplayDepth();
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= SWIG_From_int(static_cast< int >(result
));
6811 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6812 PyObject
*resultobj
= 0;
6815 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6817 if (!wxPyCheckForApp()) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 result
= (int)wxGetDisplayDepth();
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= SWIG_From_int(static_cast< int >(result
));
6830 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6831 PyObject
*resultobj
= 0;
6832 int *arg1
= (int *) 0 ;
6833 int *arg2
= (int *) 0 ;
6835 int res1
= SWIG_TMPOBJ
;
6837 int res2
= SWIG_TMPOBJ
;
6841 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6843 if (!wxPyCheckForApp()) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 wxDisplaySize(arg1
,arg2
);
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6849 resultobj
= SWIG_Py_Void();
6850 if (SWIG_IsTmpObj(res1
)) {
6851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6853 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6856 if (SWIG_IsTmpObj(res2
)) {
6857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6859 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6868 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6869 PyObject
*resultobj
= 0;
6872 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6874 if (!wxPyCheckForApp()) SWIG_fail
;
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 result
= wxGetDisplaySize();
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6887 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6888 PyObject
*resultobj
= 0;
6889 int *arg1
= (int *) 0 ;
6890 int *arg2
= (int *) 0 ;
6892 int res1
= SWIG_TMPOBJ
;
6894 int res2
= SWIG_TMPOBJ
;
6898 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6900 if (!wxPyCheckForApp()) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 wxDisplaySizeMM(arg1
,arg2
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= SWIG_Py_Void();
6907 if (SWIG_IsTmpObj(res1
)) {
6908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6910 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6913 if (SWIG_IsTmpObj(res2
)) {
6914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6916 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6925 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6926 PyObject
*resultobj
= 0;
6929 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6931 if (!wxPyCheckForApp()) SWIG_fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 result
= wxGetDisplaySizeMM();
6934 wxPyEndAllowThreads(__tstate
);
6935 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6944 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6945 PyObject
*resultobj
= 0;
6946 int *arg1
= (int *) 0 ;
6947 int *arg2
= (int *) 0 ;
6948 int *arg3
= (int *) 0 ;
6949 int *arg4
= (int *) 0 ;
6951 int res1
= SWIG_TMPOBJ
;
6953 int res2
= SWIG_TMPOBJ
;
6955 int res3
= SWIG_TMPOBJ
;
6957 int res4
= SWIG_TMPOBJ
;
6963 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6965 if (!wxPyCheckForApp()) SWIG_fail
;
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_Py_Void();
6972 if (SWIG_IsTmpObj(res1
)) {
6973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6975 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6978 if (SWIG_IsTmpObj(res2
)) {
6979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6981 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6984 if (SWIG_IsTmpObj(res3
)) {
6985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6987 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6990 if (SWIG_IsTmpObj(res4
)) {
6991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6993 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
7002 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7003 PyObject
*resultobj
= 0;
7006 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
7008 if (!wxPyCheckForApp()) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 result
= wxGetClientDisplayRect();
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7021 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
= 0;
7023 wxCursor
*arg1
= 0 ;
7026 PyObject
* obj0
= 0 ;
7027 char * kwnames
[] = {
7028 (char *) "cursor", NULL
7031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
7039 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7041 if (!wxPyCheckForApp()) SWIG_fail
;
7042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_Py_Void();
7054 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7055 PyObject
*resultobj
= 0;
7058 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7060 if (!wxPyCheckForApp()) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 result
= (void *)wxGetXDisplay();
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7073 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
= 0;
7075 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7078 PyObject
* obj0
= 0 ;
7079 char * kwnames
[] = {
7080 (char *) "cursor", NULL
7083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7086 if (!SWIG_IsOK(res1
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7089 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7092 if (!wxPyCheckForApp()) SWIG_fail
;
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 wxBeginBusyCursor(arg1
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_Py_Void();
7105 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7106 PyObject
*resultobj
= 0;
7109 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7111 if (!wxPyCheckForApp()) SWIG_fail
;
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= wxGetMousePosition();
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7124 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7125 PyObject
*resultobj
= 0;
7126 wxWindow
*result
= 0 ;
7128 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7130 if (!wxPyCheckForApp()) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 result
= (wxWindow
*)FindWindowAtPointer();
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= wxPyMake_wxObject(result
, 0);
7145 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7146 PyObject
*resultobj
= 0;
7147 wxWindow
*result
= 0 ;
7149 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7151 if (!wxPyCheckForApp()) SWIG_fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 result
= (wxWindow
*)wxGetActiveWindow();
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7158 resultobj
= wxPyMake_wxObject(result
, 0);
7166 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
= 0;
7169 wxWindow
*result
= 0 ;
7171 PyObject
* obj0
= 0 ;
7172 char * kwnames
[] = {
7176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7179 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7182 if (!wxPyCheckForApp()) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= wxPyMake_wxObject(result
, 0);
7197 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
= 0;
7200 wxWindow
*result
= 0 ;
7202 PyObject
* obj0
= 0 ;
7203 char * kwnames
[] = {
7207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7210 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7213 if (!wxPyCheckForApp()) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7220 resultobj
= wxPyMake_wxObject(result
, 0);
7228 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
= 0;
7230 wxWindow
*arg1
= (wxWindow
*) 0 ;
7231 wxWindow
*result
= 0 ;
7234 PyObject
* obj0
= 0 ;
7235 char * kwnames
[] = {
7236 (char *) "win", NULL
7239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7241 if (!SWIG_IsOK(res1
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7244 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7246 if (!wxPyCheckForApp()) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= wxPyMake_wxObject(result
, 0);
7261 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
= 0;
7263 wxString
*arg1
= 0 ;
7265 bool temp1
= false ;
7266 PyObject
* obj0
= 0 ;
7267 char * kwnames
[] = {
7268 (char *) "url", NULL
7271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7273 arg1
= wxString_in_helper(obj0
);
7274 if (arg1
== NULL
) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7280 wxPyEndAllowThreads(__tstate
);
7281 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7300 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7301 PyObject
*resultobj
= 0;
7306 PyObject
* obj0
= 0 ;
7307 char * kwnames
[] = {
7308 (char *) "key", NULL
7311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7312 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7313 if (!SWIG_IsOK(ecode1
)) {
7314 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7316 arg1
= static_cast< wxKeyCode
>(val1
);
7318 if (!wxPyCheckForApp()) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= (bool)wxGetKeyState(arg1
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7333 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7334 PyObject
*resultobj
= 0;
7335 wxMouseState
*result
= 0 ;
7337 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= (wxMouseState
*)new wxMouseState();
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7351 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7352 PyObject
*resultobj
= 0;
7353 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7356 PyObject
*swig_obj
[1] ;
7358 if (!args
) SWIG_fail
;
7360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7361 if (!SWIG_IsOK(res1
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7364 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= SWIG_Py_Void();
7379 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7380 PyObject
*resultobj
= 0;
7381 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7385 PyObject
*swig_obj
[1] ;
7387 if (!args
) SWIG_fail
;
7389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7390 if (!SWIG_IsOK(res1
)) {
7391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7393 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= (int)(arg1
)->GetX();
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 resultobj
= SWIG_From_int(static_cast< int >(result
));
7407 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7408 PyObject
*resultobj
= 0;
7409 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7413 PyObject
*swig_obj
[1] ;
7415 if (!args
) SWIG_fail
;
7417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7418 if (!SWIG_IsOK(res1
)) {
7419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7421 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 result
= (int)(arg1
)->GetY();
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= SWIG_From_int(static_cast< int >(result
));
7435 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7436 PyObject
*resultobj
= 0;
7437 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7441 PyObject
*swig_obj
[1] ;
7443 if (!args
) SWIG_fail
;
7445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7446 if (!SWIG_IsOK(res1
)) {
7447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7449 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 result
= (bool)(arg1
)->LeftDown();
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7465 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7466 PyObject
*resultobj
= 0;
7467 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7471 PyObject
*swig_obj
[1] ;
7473 if (!args
) SWIG_fail
;
7475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7476 if (!SWIG_IsOK(res1
)) {
7477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7479 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= (bool)(arg1
)->MiddleDown();
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7495 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7496 PyObject
*resultobj
= 0;
7497 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7501 PyObject
*swig_obj
[1] ;
7503 if (!args
) SWIG_fail
;
7505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7506 if (!SWIG_IsOK(res1
)) {
7507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7509 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (bool)(arg1
)->RightDown();
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7525 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7526 PyObject
*resultobj
= 0;
7527 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7531 PyObject
*swig_obj
[1] ;
7533 if (!args
) SWIG_fail
;
7535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7536 if (!SWIG_IsOK(res1
)) {
7537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7539 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (bool)(arg1
)->ControlDown();
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7555 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7556 PyObject
*resultobj
= 0;
7557 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7561 PyObject
*swig_obj
[1] ;
7563 if (!args
) SWIG_fail
;
7565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7566 if (!SWIG_IsOK(res1
)) {
7567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7569 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (bool)(arg1
)->ShiftDown();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7585 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7586 PyObject
*resultobj
= 0;
7587 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7591 PyObject
*swig_obj
[1] ;
7593 if (!args
) SWIG_fail
;
7595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7596 if (!SWIG_IsOK(res1
)) {
7597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7599 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (bool)(arg1
)->AltDown();
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7615 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7616 PyObject
*resultobj
= 0;
7617 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7621 PyObject
*swig_obj
[1] ;
7623 if (!args
) SWIG_fail
;
7625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7626 if (!SWIG_IsOK(res1
)) {
7627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7629 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7632 result
= (bool)(arg1
)->MetaDown();
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7645 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7646 PyObject
*resultobj
= 0;
7647 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7651 PyObject
*swig_obj
[1] ;
7653 if (!args
) SWIG_fail
;
7655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7656 if (!SWIG_IsOK(res1
)) {
7657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7659 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 result
= (bool)(arg1
)->CmdDown();
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7675 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
= 0;
7677 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7683 PyObject
* obj0
= 0 ;
7684 PyObject
* obj1
= 0 ;
7685 char * kwnames
[] = {
7686 (char *) "self",(char *) "x", NULL
7689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7691 if (!SWIG_IsOK(res1
)) {
7692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7694 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7696 if (!SWIG_IsOK(ecode2
)) {
7697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7699 arg2
= static_cast< int >(val2
);
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= SWIG_Py_Void();
7713 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
= 0;
7715 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7722 PyObject
* obj1
= 0 ;
7723 char * kwnames
[] = {
7724 (char *) "self",(char *) "y", NULL
7727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7729 if (!SWIG_IsOK(res1
)) {
7730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7732 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7734 if (!SWIG_IsOK(ecode2
)) {
7735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7737 arg2
= static_cast< int >(val2
);
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= SWIG_Py_Void();
7751 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
= 0;
7753 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7759 PyObject
* obj0
= 0 ;
7760 PyObject
* obj1
= 0 ;
7761 char * kwnames
[] = {
7762 (char *) "self",(char *) "down", NULL
7765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7767 if (!SWIG_IsOK(res1
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7770 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7771 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7772 if (!SWIG_IsOK(ecode2
)) {
7773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7775 arg2
= static_cast< bool >(val2
);
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 (arg1
)->SetLeftDown(arg2
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_Py_Void();
7789 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7790 PyObject
*resultobj
= 0;
7791 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7797 PyObject
* obj0
= 0 ;
7798 PyObject
* obj1
= 0 ;
7799 char * kwnames
[] = {
7800 (char *) "self",(char *) "down", NULL
7803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7805 if (!SWIG_IsOK(res1
)) {
7806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7808 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7810 if (!SWIG_IsOK(ecode2
)) {
7811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7813 arg2
= static_cast< bool >(val2
);
7815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7816 (arg1
)->SetMiddleDown(arg2
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= SWIG_Py_Void();
7827 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
= 0;
7829 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7835 PyObject
* obj0
= 0 ;
7836 PyObject
* obj1
= 0 ;
7837 char * kwnames
[] = {
7838 (char *) "self",(char *) "down", NULL
7841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7843 if (!SWIG_IsOK(res1
)) {
7844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7846 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7847 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7848 if (!SWIG_IsOK(ecode2
)) {
7849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7851 arg2
= static_cast< bool >(val2
);
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 (arg1
)->SetRightDown(arg2
);
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_Py_Void();
7865 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
= 0;
7867 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7875 char * kwnames
[] = {
7876 (char *) "self",(char *) "down", NULL
7879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7881 if (!SWIG_IsOK(res1
)) {
7882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7884 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7885 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7886 if (!SWIG_IsOK(ecode2
)) {
7887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7889 arg2
= static_cast< bool >(val2
);
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 (arg1
)->SetControlDown(arg2
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= SWIG_Py_Void();
7903 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
= 0;
7905 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7913 char * kwnames
[] = {
7914 (char *) "self",(char *) "down", NULL
7917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7919 if (!SWIG_IsOK(res1
)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7922 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7923 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7924 if (!SWIG_IsOK(ecode2
)) {
7925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7927 arg2
= static_cast< bool >(val2
);
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 (arg1
)->SetShiftDown(arg2
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= SWIG_Py_Void();
7941 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
= 0;
7943 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7950 PyObject
* obj1
= 0 ;
7951 char * kwnames
[] = {
7952 (char *) "self",(char *) "down", NULL
7955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7957 if (!SWIG_IsOK(res1
)) {
7958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7960 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7961 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7962 if (!SWIG_IsOK(ecode2
)) {
7963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7965 arg2
= static_cast< bool >(val2
);
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 (arg1
)->SetAltDown(arg2
);
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= SWIG_Py_Void();
7979 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7980 PyObject
*resultobj
= 0;
7981 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7988 PyObject
* obj1
= 0 ;
7989 char * kwnames
[] = {
7990 (char *) "self",(char *) "down", NULL
7993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7995 if (!SWIG_IsOK(res1
)) {
7996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7998 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7999 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
8000 if (!SWIG_IsOK(ecode2
)) {
8001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
8003 arg2
= static_cast< bool >(val2
);
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 (arg1
)->SetMetaDown(arg2
);
8007 wxPyEndAllowThreads(__tstate
);
8008 if (PyErr_Occurred()) SWIG_fail
;
8010 resultobj
= SWIG_Py_Void();
8017 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8019 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8020 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
8021 return SWIG_Py_Void();
8024 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8025 return SWIG_Python_InitShadowInstance(args
);
8028 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8029 PyObject
*resultobj
= 0;
8030 wxMouseState result
;
8032 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= wxGetMouseState();
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8046 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8047 PyObject
*resultobj
= 0;
8049 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8051 if (!wxPyCheckForApp()) SWIG_fail
;
8052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 wxWakeUpMainThread();
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= SWIG_Py_Void();
8064 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8065 PyObject
*resultobj
= 0;
8067 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8069 if (!wxPyCheckForApp()) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 resultobj
= SWIG_Py_Void();
8082 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8083 PyObject
*resultobj
= 0;
8085 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8087 if (!wxPyCheckForApp()) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= SWIG_Py_Void();
8100 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8101 PyObject
*resultobj
= 0;
8102 wxMutexGuiLocker
*result
= 0 ;
8104 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8106 if (!wxPyCheckForApp()) SWIG_fail
;
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8119 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8120 PyObject
*resultobj
= 0;
8121 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8124 PyObject
*swig_obj
[1] ;
8126 if (!args
) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8132 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_Py_Void();
8147 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8150 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8151 return SWIG_Py_Void();
8154 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8155 return SWIG_Python_InitShadowInstance(args
);
8158 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8159 PyObject
*resultobj
= 0;
8162 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (bool)wxThread_IsMain();
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8178 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
= 0;
8180 wxString
*arg1
= 0 ;
8181 wxToolTip
*result
= 0 ;
8182 bool temp1
= false ;
8183 PyObject
* obj0
= 0 ;
8184 char * kwnames
[] = {
8185 (char *) "tip", NULL
8188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8190 arg1
= wxString_in_helper(obj0
);
8191 if (arg1
== NULL
) SWIG_fail
;
8195 if (!wxPyCheckForApp()) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8216 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8217 PyObject
*resultobj
= 0;
8218 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8221 PyObject
*swig_obj
[1] ;
8223 if (!args
) SWIG_fail
;
8225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8226 if (!SWIG_IsOK(res1
)) {
8227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8229 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 resultobj
= SWIG_Py_Void();
8244 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
= 0;
8246 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8247 wxString
*arg2
= 0 ;
8250 bool temp2
= false ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 char * kwnames
[] = {
8254 (char *) "self",(char *) "tip", NULL
8257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8259 if (!SWIG_IsOK(res1
)) {
8260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8262 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8264 arg2
= wxString_in_helper(obj1
);
8265 if (arg2
== NULL
) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 (arg1
)->SetTip((wxString
const &)*arg2
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= SWIG_Py_Void();
8289 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8290 PyObject
*resultobj
= 0;
8291 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8295 PyObject
*swig_obj
[1] ;
8297 if (!args
) SWIG_fail
;
8299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8300 if (!SWIG_IsOK(res1
)) {
8301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8303 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (arg1
)->GetTip();
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8323 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8324 PyObject
*resultobj
= 0;
8325 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8326 wxWindow
*result
= 0 ;
8329 PyObject
*swig_obj
[1] ;
8331 if (!args
) SWIG_fail
;
8333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8334 if (!SWIG_IsOK(res1
)) {
8335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8337 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 result
= (wxWindow
*)(arg1
)->GetWindow();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8345 resultobj
= wxPyMake_wxObject(result
, 0);
8353 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
= 0;
8358 PyObject
* obj0
= 0 ;
8359 char * kwnames
[] = {
8360 (char *) "flag", NULL
8363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8364 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8365 if (!SWIG_IsOK(ecode1
)) {
8366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8368 arg1
= static_cast< bool >(val1
);
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 wxToolTip::Enable(arg1
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= SWIG_Py_Void();
8382 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
= 0;
8387 PyObject
* obj0
= 0 ;
8388 char * kwnames
[] = {
8389 (char *) "milliseconds", NULL
8392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8393 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8394 if (!SWIG_IsOK(ecode1
)) {
8395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8397 arg1
= static_cast< long >(val1
);
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 wxToolTip::SetDelay(arg1
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_Py_Void();
8411 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8414 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8415 return SWIG_Py_Void();
8418 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8419 return SWIG_Python_InitShadowInstance(args
);
8422 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
= 0;
8424 wxWindow
*arg1
= (wxWindow
*) 0 ;
8426 wxCaret
*result
= 0 ;
8430 PyObject
* obj0
= 0 ;
8431 PyObject
* obj1
= 0 ;
8432 char * kwnames
[] = {
8433 (char *) "window",(char *) "size", NULL
8436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8438 if (!SWIG_IsOK(res1
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8441 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8444 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8447 if (!wxPyCheckForApp()) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8460 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8461 PyObject
*resultobj
= 0;
8462 wxCaret
*arg1
= (wxCaret
*) 0 ;
8465 PyObject
*swig_obj
[1] ;
8467 if (!args
) SWIG_fail
;
8469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8470 if (!SWIG_IsOK(res1
)) {
8471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8473 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= SWIG_Py_Void();
8488 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8489 PyObject
*resultobj
= 0;
8490 wxCaret
*arg1
= (wxCaret
*) 0 ;
8493 PyObject
*swig_obj
[1] ;
8495 if (!args
) SWIG_fail
;
8497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8498 if (!SWIG_IsOK(res1
)) {
8499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8501 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 wxCaret_Destroy(arg1
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= SWIG_Py_Void();
8515 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8516 PyObject
*resultobj
= 0;
8517 wxCaret
*arg1
= (wxCaret
*) 0 ;
8521 PyObject
*swig_obj
[1] ;
8523 if (!args
) SWIG_fail
;
8525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8526 if (!SWIG_IsOK(res1
)) {
8527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8529 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= (bool)(arg1
)->IsOk();
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8545 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8546 PyObject
*resultobj
= 0;
8547 wxCaret
*arg1
= (wxCaret
*) 0 ;
8551 PyObject
*swig_obj
[1] ;
8553 if (!args
) SWIG_fail
;
8555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8556 if (!SWIG_IsOK(res1
)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8559 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (bool)(arg1
)->IsVisible();
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8575 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8576 PyObject
*resultobj
= 0;
8577 wxCaret
*arg1
= (wxCaret
*) 0 ;
8581 PyObject
*swig_obj
[1] ;
8583 if (!args
) SWIG_fail
;
8585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8586 if (!SWIG_IsOK(res1
)) {
8587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8589 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 result
= (arg1
)->GetPosition();
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8603 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8604 PyObject
*resultobj
= 0;
8605 wxCaret
*arg1
= (wxCaret
*) 0 ;
8606 int *arg2
= (int *) 0 ;
8607 int *arg3
= (int *) 0 ;
8611 int res2
= SWIG_TMPOBJ
;
8613 int res3
= SWIG_TMPOBJ
;
8614 PyObject
*swig_obj
[1] ;
8618 if (!args
) SWIG_fail
;
8620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8621 if (!SWIG_IsOK(res1
)) {
8622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8624 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 (arg1
)->GetPosition(arg2
,arg3
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= SWIG_Py_Void();
8632 if (SWIG_IsTmpObj(res2
)) {
8633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8635 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8636 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8638 if (SWIG_IsTmpObj(res3
)) {
8639 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8641 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8642 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8650 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8651 PyObject
*resultobj
= 0;
8652 wxCaret
*arg1
= (wxCaret
*) 0 ;
8656 PyObject
*swig_obj
[1] ;
8658 if (!args
) SWIG_fail
;
8660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8661 if (!SWIG_IsOK(res1
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8664 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (arg1
)->GetSize();
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8678 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8679 PyObject
*resultobj
= 0;
8680 wxCaret
*arg1
= (wxCaret
*) 0 ;
8681 int *arg2
= (int *) 0 ;
8682 int *arg3
= (int *) 0 ;
8686 int res2
= SWIG_TMPOBJ
;
8688 int res3
= SWIG_TMPOBJ
;
8689 PyObject
*swig_obj
[1] ;
8693 if (!args
) SWIG_fail
;
8695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8696 if (!SWIG_IsOK(res1
)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8699 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 (arg1
)->GetSize(arg2
,arg3
);
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= SWIG_Py_Void();
8707 if (SWIG_IsTmpObj(res2
)) {
8708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8710 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8713 if (SWIG_IsTmpObj(res3
)) {
8714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8716 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8725 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8726 PyObject
*resultobj
= 0;
8727 wxCaret
*arg1
= (wxCaret
*) 0 ;
8728 wxWindow
*result
= 0 ;
8731 PyObject
*swig_obj
[1] ;
8733 if (!args
) SWIG_fail
;
8735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8736 if (!SWIG_IsOK(res1
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8739 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 result
= (wxWindow
*)(arg1
)->GetWindow();
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= wxPyMake_wxObject(result
, 0);
8755 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
= 0;
8757 wxCaret
*arg1
= (wxCaret
*) 0 ;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8768 PyObject
* obj2
= 0 ;
8769 char * kwnames
[] = {
8770 (char *) "self",(char *) "x",(char *) "y", NULL
8773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8775 if (!SWIG_IsOK(res1
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8778 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8780 if (!SWIG_IsOK(ecode2
)) {
8781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8783 arg2
= static_cast< int >(val2
);
8784 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8785 if (!SWIG_IsOK(ecode3
)) {
8786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8788 arg3
= static_cast< int >(val3
);
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 (arg1
)->Move(arg2
,arg3
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_Py_Void();
8802 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
= 0;
8804 wxCaret
*arg1
= (wxCaret
*) 0 ;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 char * kwnames
[] = {
8812 (char *) "self",(char *) "pt", NULL
8815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) 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_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8820 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8823 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 (arg1
)->Move((wxPoint
const &)*arg2
);
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= SWIG_Py_Void();
8838 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
= 0;
8840 wxCaret
*arg1
= (wxCaret
*) 0 ;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8851 PyObject
* obj2
= 0 ;
8852 char * kwnames
[] = {
8853 (char *) "self",(char *) "width",(char *) "height", NULL
8856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8858 if (!SWIG_IsOK(res1
)) {
8859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8861 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8863 if (!SWIG_IsOK(ecode2
)) {
8864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8866 arg2
= static_cast< int >(val2
);
8867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8868 if (!SWIG_IsOK(ecode3
)) {
8869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8871 arg3
= static_cast< int >(val3
);
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 (arg1
)->SetSize(arg2
,arg3
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= SWIG_Py_Void();
8885 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
= 0;
8887 wxCaret
*arg1
= (wxCaret
*) 0 ;
8892 PyObject
* obj0
= 0 ;
8893 PyObject
* obj1
= 0 ;
8894 char * kwnames
[] = {
8895 (char *) "self",(char *) "size", NULL
8898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8900 if (!SWIG_IsOK(res1
)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8903 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8906 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 (arg1
)->SetSize((wxSize
const &)*arg2
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= SWIG_Py_Void();
8921 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
= 0;
8923 wxCaret
*arg1
= (wxCaret
*) 0 ;
8924 int arg2
= (int) true ;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8931 char * kwnames
[] = {
8932 (char *) "self",(char *) "show", NULL
8935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8937 if (!SWIG_IsOK(res1
)) {
8938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8940 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8943 if (!SWIG_IsOK(ecode2
)) {
8944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8946 arg2
= static_cast< int >(val2
);
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8954 resultobj
= SWIG_Py_Void();
8961 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8962 PyObject
*resultobj
= 0;
8963 wxCaret
*arg1
= (wxCaret
*) 0 ;
8966 PyObject
*swig_obj
[1] ;
8968 if (!args
) SWIG_fail
;
8970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8971 if (!SWIG_IsOK(res1
)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8974 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 wxPyEndAllowThreads(__tstate
);
8979 if (PyErr_Occurred()) SWIG_fail
;
8981 resultobj
= SWIG_Py_Void();
8988 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8989 PyObject
*resultobj
= 0;
8992 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (int)wxCaret::GetBlinkTime();
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_From_int(static_cast< int >(result
));
9006 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
= 0;
9011 PyObject
* obj0
= 0 ;
9012 char * kwnames
[] = {
9013 (char *) "milliseconds", NULL
9016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
9017 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9018 if (!SWIG_IsOK(ecode1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
9021 arg1
= static_cast< int >(val1
);
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 wxCaret::SetBlinkTime(arg1
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= SWIG_Py_Void();
9035 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9038 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
9039 return SWIG_Py_Void();
9042 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9043 return SWIG_Python_InitShadowInstance(args
);
9046 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
= 0;
9048 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9049 wxBusyCursor
*result
= 0 ;
9052 PyObject
* obj0
= 0 ;
9053 char * kwnames
[] = {
9054 (char *) "cursor", NULL
9057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9060 if (!SWIG_IsOK(res1
)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9063 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9066 if (!wxPyCheckForApp()) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9079 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9080 PyObject
*resultobj
= 0;
9081 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9084 PyObject
*swig_obj
[1] ;
9086 if (!args
) SWIG_fail
;
9088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9089 if (!SWIG_IsOK(res1
)) {
9090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9092 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= SWIG_Py_Void();
9107 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9110 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9111 return SWIG_Py_Void();
9114 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9115 return SWIG_Python_InitShadowInstance(args
);
9118 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
= 0;
9120 wxWindow
*arg1
= (wxWindow
*) NULL
;
9121 wxWindowDisabler
*result
= 0 ;
9124 PyObject
* obj0
= 0 ;
9125 char * kwnames
[] = {
9126 (char *) "winToSkip", NULL
9129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9132 if (!SWIG_IsOK(res1
)) {
9133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9135 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9138 if (!wxPyCheckForApp()) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9151 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9152 PyObject
*resultobj
= 0;
9153 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9156 PyObject
*swig_obj
[1] ;
9158 if (!args
) SWIG_fail
;
9160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9161 if (!SWIG_IsOK(res1
)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9164 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 wxPyEndAllowThreads(__tstate
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= SWIG_Py_Void();
9179 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9182 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9183 return SWIG_Py_Void();
9186 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9187 return SWIG_Python_InitShadowInstance(args
);
9190 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
= 0;
9192 wxString
*arg1
= 0 ;
9193 wxWindow
*arg2
= (wxWindow
*) NULL
;
9194 wxBusyInfo
*result
= 0 ;
9195 bool temp1
= false ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9200 char * kwnames
[] = {
9201 (char *) "message",(char *) "parent", NULL
9204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BusyInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9206 arg1
= wxString_in_helper(obj0
);
9207 if (arg1
== NULL
) SWIG_fail
;
9211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9212 if (!SWIG_IsOK(res2
)) {
9213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BusyInfo" "', expected argument " "2"" of type '" "wxWindow *""'");
9215 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9218 if (!wxPyCheckForApp()) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
,arg2
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9239 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9240 PyObject
*resultobj
= 0;
9241 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9244 PyObject
*swig_obj
[1] ;
9246 if (!args
) SWIG_fail
;
9248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9249 if (!SWIG_IsOK(res1
)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9252 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 resultobj
= SWIG_Py_Void();
9267 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9270 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9271 return SWIG_Py_Void();
9274 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9275 return SWIG_Python_InitShadowInstance(args
);
9278 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9279 PyObject
*resultobj
= 0;
9280 wxStopWatch
*result
= 0 ;
9282 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (wxStopWatch
*)new wxStopWatch();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9296 SWIGINTERN PyObject
*_wrap_delete_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9297 PyObject
*resultobj
= 0;
9298 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9301 PyObject
*swig_obj
[1] ;
9303 if (!args
) SWIG_fail
;
9305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_DISOWN
| 0 );
9306 if (!SWIG_IsOK(res1
)) {
9307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StopWatch" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9309 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= SWIG_Py_Void();
9324 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
= 0;
9326 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9327 long arg2
= (long) 0 ;
9332 PyObject
* obj0
= 0 ;
9333 PyObject
* obj1
= 0 ;
9334 char * kwnames
[] = {
9335 (char *) "self",(char *) "t0", NULL
9338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9340 if (!SWIG_IsOK(res1
)) {
9341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9343 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9345 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9346 if (!SWIG_IsOK(ecode2
)) {
9347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9349 arg2
= static_cast< long >(val2
);
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 (arg1
)->Start(arg2
);
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= SWIG_Py_Void();
9364 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9365 PyObject
*resultobj
= 0;
9366 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9369 PyObject
*swig_obj
[1] ;
9371 if (!args
) SWIG_fail
;
9373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9374 if (!SWIG_IsOK(res1
)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9377 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= SWIG_Py_Void();
9391 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9392 PyObject
*resultobj
= 0;
9393 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9396 PyObject
*swig_obj
[1] ;
9398 if (!args
) SWIG_fail
;
9400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9401 if (!SWIG_IsOK(res1
)) {
9402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9404 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= SWIG_Py_Void();
9418 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9419 PyObject
*resultobj
= 0;
9420 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9424 PyObject
*swig_obj
[1] ;
9426 if (!args
) SWIG_fail
;
9428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9429 if (!SWIG_IsOK(res1
)) {
9430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9432 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_From_long(static_cast< long >(result
));
9446 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9449 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9450 return SWIG_Py_Void();
9453 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9454 return SWIG_Python_InitShadowInstance(args
);
9457 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
= 0;
9459 int arg1
= (int) 9 ;
9460 int arg2
= (int) wxID_FILE1
;
9461 wxFileHistory
*result
= 0 ;
9466 PyObject
* obj0
= 0 ;
9467 PyObject
* obj1
= 0 ;
9468 char * kwnames
[] = {
9469 (char *) "maxFiles",(char *) "idBase", NULL
9472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9474 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9475 if (!SWIG_IsOK(ecode1
)) {
9476 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9478 arg1
= static_cast< int >(val1
);
9481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9482 if (!SWIG_IsOK(ecode2
)) {
9483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9485 arg2
= static_cast< int >(val2
);
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9500 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9501 PyObject
*resultobj
= 0;
9502 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9505 PyObject
*swig_obj
[1] ;
9507 if (!args
) SWIG_fail
;
9509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9510 if (!SWIG_IsOK(res1
)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9513 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= SWIG_Py_Void();
9528 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
*resultobj
= 0;
9530 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9531 wxString
*arg2
= 0 ;
9534 bool temp2
= false ;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9537 char * kwnames
[] = {
9538 (char *) "self",(char *) "file", NULL
9541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9543 if (!SWIG_IsOK(res1
)) {
9544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9546 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9548 arg2
= wxString_in_helper(obj1
);
9549 if (arg2
== NULL
) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_Py_Void();
9573 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
= 0;
9575 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9583 char * kwnames
[] = {
9584 (char *) "self",(char *) "i", NULL
9587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9589 if (!SWIG_IsOK(res1
)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9592 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9594 if (!SWIG_IsOK(ecode2
)) {
9595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9597 arg2
= static_cast< int >(val2
);
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 (arg1
)->RemoveFileFromHistory(arg2
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_Py_Void();
9611 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9612 PyObject
*resultobj
= 0;
9613 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9617 PyObject
*swig_obj
[1] ;
9619 if (!args
) SWIG_fail
;
9621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9622 if (!SWIG_IsOK(res1
)) {
9623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9625 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= SWIG_From_int(static_cast< int >(result
));
9639 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
= 0;
9641 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9642 wxMenu
*arg2
= (wxMenu
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9648 PyObject
* obj1
= 0 ;
9649 char * kwnames
[] = {
9650 (char *) "self",(char *) "menu", NULL
9653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9655 if (!SWIG_IsOK(res1
)) {
9656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9658 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9660 if (!SWIG_IsOK(res2
)) {
9661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9663 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 (arg1
)->UseMenu(arg2
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= SWIG_Py_Void();
9677 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
= 0;
9679 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9680 wxMenu
*arg2
= (wxMenu
*) 0 ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9687 char * kwnames
[] = {
9688 (char *) "self",(char *) "menu", NULL
9691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9693 if (!SWIG_IsOK(res1
)) {
9694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9696 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9697 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9698 if (!SWIG_IsOK(res2
)) {
9699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9701 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 (arg1
)->RemoveMenu(arg2
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= SWIG_Py_Void();
9715 SWIGINTERN PyObject
*_wrap_FileHistory_Load(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_Load",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_Load" "', 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_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9742 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 (arg1
)->Load(*arg2
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= SWIG_Py_Void();
9756 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
= 0;
9758 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9759 wxConfigBase
*arg2
= 0 ;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9766 char * kwnames
[] = {
9767 (char *) "self",(char *) "config", NULL
9770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9772 if (!SWIG_IsOK(res1
)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9775 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9777 if (!SWIG_IsOK(res2
)) {
9778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9783 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 (arg1
)->Save(*arg2
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_Py_Void();
9797 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9798 PyObject
*resultobj
= 0;
9799 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9802 PyObject
*swig_obj
[1] ;
9804 if (!args
) SWIG_fail
;
9806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9807 if (!SWIG_IsOK(res1
)) {
9808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9810 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9813 (arg1
)->AddFilesToMenu();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= SWIG_Py_Void();
9824 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
= 0;
9826 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9827 wxMenu
*arg2
= (wxMenu
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9833 PyObject
* obj1
= 0 ;
9834 char * kwnames
[] = {
9835 (char *) "self",(char *) "menu", NULL
9838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9840 if (!SWIG_IsOK(res1
)) {
9841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9843 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9844 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9845 if (!SWIG_IsOK(res2
)) {
9846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9848 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 (arg1
)->AddFilesToMenu(arg2
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_Py_Void();
9862 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= 0;
9864 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9872 PyObject
* obj1
= 0 ;
9873 char * kwnames
[] = {
9874 (char *) "self",(char *) "i", NULL
9877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9879 if (!SWIG_IsOK(res1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9882 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9884 if (!SWIG_IsOK(ecode2
)) {
9885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9887 arg2
= static_cast< int >(val2
);
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9907 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9908 PyObject
*resultobj
= 0;
9909 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9913 PyObject
*swig_obj
[1] ;
9915 if (!args
) SWIG_fail
;
9917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9918 if (!SWIG_IsOK(res1
)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9921 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= SWIG_From_int(static_cast< int >(result
));
9935 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9938 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9939 return SWIG_Py_Void();
9942 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9943 return SWIG_Python_InitShadowInstance(args
);
9946 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
= 0;
9948 wxString
*arg1
= 0 ;
9949 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9950 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9951 wxSingleInstanceChecker
*result
= 0 ;
9952 bool temp1
= false ;
9953 bool temp2
= false ;
9954 PyObject
* obj0
= 0 ;
9955 PyObject
* obj1
= 0 ;
9956 char * kwnames
[] = {
9957 (char *) "name",(char *) "path", NULL
9960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9962 arg1
= wxString_in_helper(obj0
);
9963 if (arg1
== NULL
) SWIG_fail
;
9968 arg2
= wxString_in_helper(obj1
);
9969 if (arg2
== NULL
) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
10002 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10003 PyObject
*resultobj
= 0;
10004 wxSingleInstanceChecker
*result
= 0 ;
10006 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
10020 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10021 PyObject
*resultobj
= 0;
10022 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10025 PyObject
*swig_obj
[1] ;
10027 if (!args
) SWIG_fail
;
10028 swig_obj
[0] = args
;
10029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
10030 if (!SWIG_IsOK(res1
)) {
10031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10033 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= SWIG_Py_Void();
10048 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
= 0;
10050 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10051 wxString
*arg2
= 0 ;
10052 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10053 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10057 bool temp2
= false ;
10058 bool temp3
= false ;
10059 PyObject
* obj0
= 0 ;
10060 PyObject
* obj1
= 0 ;
10061 PyObject
* obj2
= 0 ;
10062 char * kwnames
[] = {
10063 (char *) "self",(char *) "name",(char *) "path", NULL
10066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10068 if (!SWIG_IsOK(res1
)) {
10069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
10071 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10073 arg2
= wxString_in_helper(obj1
);
10074 if (arg2
== NULL
) SWIG_fail
;
10079 arg3
= wxString_in_helper(obj2
);
10080 if (arg3
== NULL
) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10115 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10116 PyObject
*resultobj
= 0;
10117 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10121 PyObject
*swig_obj
[1] ;
10123 if (!args
) SWIG_fail
;
10124 swig_obj
[0] = args
;
10125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10126 if (!SWIG_IsOK(res1
)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10129 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10145 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10148 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10149 return SWIG_Py_Void();
10152 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10153 return SWIG_Python_InitShadowInstance(args
);
10156 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10157 PyObject
*resultobj
= 0;
10158 wxPlatformInfo
*result
= 0 ;
10160 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10174 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
= 0;
10176 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10177 wxPlatformInfo
*arg2
= 0 ;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 char * kwnames
[] = {
10186 (char *) "self",(char *) "t", NULL
10189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10191 if (!SWIG_IsOK(res1
)) {
10192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10194 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10196 if (!SWIG_IsOK(res2
)) {
10197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10202 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10218 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
= 0;
10220 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10221 wxPlatformInfo
*arg2
= 0 ;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 char * kwnames
[] = {
10230 (char *) "self",(char *) "t", NULL
10233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10235 if (!SWIG_IsOK(res1
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10238 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10240 if (!SWIG_IsOK(res2
)) {
10241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10246 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10262 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10263 PyObject
*resultobj
= 0;
10264 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10268 PyObject
*swig_obj
[1] ;
10270 if (!args
) SWIG_fail
;
10271 swig_obj
[0] = args
;
10272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10273 if (!SWIG_IsOK(res1
)) {
10274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10276 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= SWIG_From_int(static_cast< int >(result
));
10290 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10291 PyObject
*resultobj
= 0;
10292 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10296 PyObject
*swig_obj
[1] ;
10298 if (!args
) SWIG_fail
;
10299 swig_obj
[0] = args
;
10300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10301 if (!SWIG_IsOK(res1
)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10304 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_From_int(static_cast< int >(result
));
10318 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
= 0;
10320 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10330 PyObject
* obj0
= 0 ;
10331 PyObject
* obj1
= 0 ;
10332 PyObject
* obj2
= 0 ;
10333 char * kwnames
[] = {
10334 (char *) "self",(char *) "major",(char *) "minor", NULL
10337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10339 if (!SWIG_IsOK(res1
)) {
10340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10342 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10344 if (!SWIG_IsOK(ecode2
)) {
10345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "2"" of type '" "int""'");
10347 arg2
= static_cast< int >(val2
);
10348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10349 if (!SWIG_IsOK(ecode3
)) {
10350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckOSVersion" "', expected argument " "3"" of type '" "int""'");
10352 arg3
= static_cast< int >(val3
);
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckOSVersion(arg2
,arg3
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10368 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10369 PyObject
*resultobj
= 0;
10370 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10374 PyObject
*swig_obj
[1] ;
10376 if (!args
) SWIG_fail
;
10377 swig_obj
[0] = args
;
10378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10379 if (!SWIG_IsOK(res1
)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10382 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_From_int(static_cast< int >(result
));
10396 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10397 PyObject
*resultobj
= 0;
10398 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10402 PyObject
*swig_obj
[1] ;
10404 if (!args
) SWIG_fail
;
10405 swig_obj
[0] = args
;
10406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10407 if (!SWIG_IsOK(res1
)) {
10408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10410 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= SWIG_From_int(static_cast< int >(result
));
10424 SWIGINTERN PyObject
*_wrap_PlatformInformation_CheckToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10436 PyObject
* obj0
= 0 ;
10437 PyObject
* obj1
= 0 ;
10438 PyObject
* obj2
= 0 ;
10439 char * kwnames
[] = {
10440 (char *) "self",(char *) "major",(char *) "minor", NULL
10443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_CheckToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10445 if (!SWIG_IsOK(res1
)) {
10446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10448 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10450 if (!SWIG_IsOK(ecode2
)) {
10451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10453 arg2
= static_cast< int >(val2
);
10454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10455 if (!SWIG_IsOK(ecode3
)) {
10456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_CheckToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10458 arg3
= static_cast< int >(val3
);
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (bool)((wxPlatformInfo
const *)arg1
)->CheckToolkitVersion(arg2
,arg3
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10474 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10475 PyObject
*resultobj
= 0;
10476 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10480 PyObject
*swig_obj
[1] ;
10482 if (!args
) SWIG_fail
;
10483 swig_obj
[0] = args
;
10484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10485 if (!SWIG_IsOK(res1
)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10488 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10504 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10505 PyObject
*resultobj
= 0;
10506 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10507 wxOperatingSystemId result
;
10510 PyObject
*swig_obj
[1] ;
10512 if (!args
) SWIG_fail
;
10513 swig_obj
[0] = args
;
10514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10515 if (!SWIG_IsOK(res1
)) {
10516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10518 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= SWIG_From_int(static_cast< int >(result
));
10532 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10533 PyObject
*resultobj
= 0;
10534 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10538 PyObject
*swig_obj
[1] ;
10540 if (!args
) SWIG_fail
;
10541 swig_obj
[0] = args
;
10542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10543 if (!SWIG_IsOK(res1
)) {
10544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10546 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= SWIG_From_int(static_cast< int >(result
));
10560 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10561 PyObject
*resultobj
= 0;
10562 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10563 wxArchitecture result
;
10566 PyObject
*swig_obj
[1] ;
10568 if (!args
) SWIG_fail
;
10569 swig_obj
[0] = args
;
10570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10571 if (!SWIG_IsOK(res1
)) {
10572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10574 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= SWIG_From_int(static_cast< int >(result
));
10588 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10589 PyObject
*resultobj
= 0;
10590 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10591 wxEndianness result
;
10594 PyObject
*swig_obj
[1] ;
10596 if (!args
) SWIG_fail
;
10597 swig_obj
[0] = args
;
10598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10599 if (!SWIG_IsOK(res1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10602 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_From_int(static_cast< int >(result
));
10616 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10617 PyObject
*resultobj
= 0;
10618 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10622 PyObject
*swig_obj
[1] ;
10624 if (!args
) SWIG_fail
;
10625 swig_obj
[0] = args
;
10626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10627 if (!SWIG_IsOK(res1
)) {
10628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10630 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10650 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10651 PyObject
*resultobj
= 0;
10652 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10656 PyObject
*swig_obj
[1] ;
10658 if (!args
) SWIG_fail
;
10659 swig_obj
[0] = args
;
10660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10661 if (!SWIG_IsOK(res1
)) {
10662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10664 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10668 wxPyEndAllowThreads(__tstate
);
10669 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10684 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10685 PyObject
*resultobj
= 0;
10686 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10690 PyObject
*swig_obj
[1] ;
10692 if (!args
) SWIG_fail
;
10693 swig_obj
[0] = args
;
10694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10695 if (!SWIG_IsOK(res1
)) {
10696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10698 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10718 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10719 PyObject
*resultobj
= 0;
10720 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10724 PyObject
*swig_obj
[1] ;
10726 if (!args
) SWIG_fail
;
10727 swig_obj
[0] = args
;
10728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10729 if (!SWIG_IsOK(res1
)) {
10730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10732 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10752 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10753 PyObject
*resultobj
= 0;
10754 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10758 PyObject
*swig_obj
[1] ;
10760 if (!args
) SWIG_fail
;
10761 swig_obj
[0] = args
;
10762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10763 if (!SWIG_IsOK(res1
)) {
10764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10766 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10786 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10787 PyObject
*resultobj
= 0;
10788 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10792 PyObject
*swig_obj
[1] ;
10794 if (!args
) SWIG_fail
;
10795 swig_obj
[0] = args
;
10796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10797 if (!SWIG_IsOK(res1
)) {
10798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10800 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10804 wxPyEndAllowThreads(__tstate
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10820 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
= 0;
10822 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 PyObject
* obj1
= 0 ;
10833 PyObject
* obj2
= 0 ;
10834 char * kwnames
[] = {
10835 (char *) "self",(char *) "major",(char *) "minor", NULL
10838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10840 if (!SWIG_IsOK(res1
)) {
10841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10843 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10845 if (!SWIG_IsOK(ecode2
)) {
10846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10848 arg2
= static_cast< int >(val2
);
10849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10850 if (!SWIG_IsOK(ecode3
)) {
10851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10853 arg3
= static_cast< int >(val3
);
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 (arg1
)->SetOSVersion(arg2
,arg3
);
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= SWIG_Py_Void();
10867 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
= 0;
10869 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 PyObject
* obj1
= 0 ;
10880 PyObject
* obj2
= 0 ;
10881 char * kwnames
[] = {
10882 (char *) "self",(char *) "major",(char *) "minor", NULL
10885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10887 if (!SWIG_IsOK(res1
)) {
10888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10890 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10892 if (!SWIG_IsOK(ecode2
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10895 arg2
= static_cast< int >(val2
);
10896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10897 if (!SWIG_IsOK(ecode3
)) {
10898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10900 arg3
= static_cast< int >(val3
);
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= SWIG_Py_Void();
10914 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
= 0;
10916 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10917 wxOperatingSystemId arg2
;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 char * kwnames
[] = {
10925 (char *) "self",(char *) "n", NULL
10928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10930 if (!SWIG_IsOK(res1
)) {
10931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10933 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10935 if (!SWIG_IsOK(ecode2
)) {
10936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10938 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 (arg1
)->SetOperatingSystemId(arg2
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10945 resultobj
= SWIG_Py_Void();
10952 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
= 0;
10954 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10960 PyObject
* obj0
= 0 ;
10961 PyObject
* obj1
= 0 ;
10962 char * kwnames
[] = {
10963 (char *) "self",(char *) "n", NULL
10966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10968 if (!SWIG_IsOK(res1
)) {
10969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10971 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10973 if (!SWIG_IsOK(ecode2
)) {
10974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10976 arg2
= static_cast< wxPortId
>(val2
);
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 (arg1
)->SetPortId(arg2
);
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= SWIG_Py_Void();
10990 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10991 PyObject
*resultobj
= 0;
10992 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10993 wxArchitecture arg2
;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 char * kwnames
[] = {
11001 (char *) "self",(char *) "n", NULL
11004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11006 if (!SWIG_IsOK(res1
)) {
11007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11009 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11011 if (!SWIG_IsOK(ecode2
)) {
11012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
11014 arg2
= static_cast< wxArchitecture
>(val2
);
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 (arg1
)->SetArchitecture(arg2
);
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= SWIG_Py_Void();
11028 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
= 0;
11030 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11031 wxEndianness arg2
;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 char * kwnames
[] = {
11039 (char *) "self",(char *) "n", NULL
11042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11044 if (!SWIG_IsOK(res1
)) {
11045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
11047 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11049 if (!SWIG_IsOK(ecode2
)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
11052 arg2
= static_cast< wxEndianness
>(val2
);
11054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11055 (arg1
)->SetEndianness(arg2
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= SWIG_Py_Void();
11066 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11067 PyObject
*resultobj
= 0;
11068 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
11072 PyObject
*swig_obj
[1] ;
11074 if (!args
) SWIG_fail
;
11075 swig_obj
[0] = args
;
11076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
11077 if (!SWIG_IsOK(res1
)) {
11078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
11080 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11096 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11099 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
11100 return SWIG_Py_Void();
11103 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11104 return SWIG_Python_InitShadowInstance(args
);
11107 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
= 0;
11109 wxWindow
*arg1
= (wxWindow
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char * kwnames
[] = {
11119 (char *) "window",(char *) "dc", NULL
11122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
11127 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11128 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
11129 if (!SWIG_IsOK(res2
)) {
11130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
11135 arg2
= reinterpret_cast< wxDC
* >(argp2
);
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11151 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11152 PyObject
*resultobj
= 0;
11153 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11156 PyObject
*swig_obj
[1] ;
11158 if (!args
) SWIG_fail
;
11159 swig_obj
[0] = args
;
11160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
11161 if (!SWIG_IsOK(res1
)) {
11162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11164 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= SWIG_Py_Void();
11179 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11180 PyObject
*resultobj
= 0;
11181 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11185 PyObject
*swig_obj
[1] ;
11187 if (!args
) SWIG_fail
;
11188 swig_obj
[0] = args
;
11189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11190 if (!SWIG_IsOK(res1
)) {
11191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11193 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 result
= (arg1
)->GetTip();
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11213 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11214 PyObject
*resultobj
= 0;
11215 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11219 PyObject
*swig_obj
[1] ;
11221 if (!args
) SWIG_fail
;
11222 swig_obj
[0] = args
;
11223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11224 if (!SWIG_IsOK(res1
)) {
11225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11227 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (size_t)(arg1
)->GetCurrentTip();
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11241 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
= 0;
11243 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11244 wxString
*arg2
= 0 ;
11248 bool temp2
= false ;
11249 PyObject
* obj0
= 0 ;
11250 PyObject
* obj1
= 0 ;
11251 char * kwnames
[] = {
11252 (char *) "self",(char *) "tip", NULL
11255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11260 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11262 arg2
= wxString_in_helper(obj1
);
11263 if (arg2
== NULL
) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11293 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11296 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11297 return SWIG_Py_Void();
11300 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
= 0;
11303 wxPyTipProvider
*result
= 0 ;
11306 PyObject
* obj0
= 0 ;
11307 char * kwnames
[] = {
11308 (char *) "currentTip", NULL
11311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11312 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11313 if (!SWIG_IsOK(ecode1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11316 arg1
= static_cast< size_t >(val1
);
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11330 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11331 PyObject
*resultobj
= 0;
11332 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11333 PyObject
*arg2
= (PyObject
*) 0 ;
11334 PyObject
*arg3
= (PyObject
*) 0 ;
11337 PyObject
* obj0
= 0 ;
11338 PyObject
* obj1
= 0 ;
11339 PyObject
* obj2
= 0 ;
11340 char * kwnames
[] = {
11341 (char *) "self",(char *) "self",(char *) "_class", NULL
11344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11346 if (!SWIG_IsOK(res1
)) {
11347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11349 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_Py_Void();
11365 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11368 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11369 return SWIG_Py_Void();
11372 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11373 return SWIG_Python_InitShadowInstance(args
);
11376 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
= 0;
11378 wxWindow
*arg1
= (wxWindow
*) 0 ;
11379 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11380 bool arg3
= (bool) true ;
11388 PyObject
* obj0
= 0 ;
11389 PyObject
* obj1
= 0 ;
11390 PyObject
* obj2
= 0 ;
11391 char * kwnames
[] = {
11392 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11397 if (!SWIG_IsOK(res1
)) {
11398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11400 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11402 if (!SWIG_IsOK(res2
)) {
11403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11405 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11407 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11408 if (!SWIG_IsOK(ecode3
)) {
11409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11411 arg3
= static_cast< bool >(val3
);
11414 if (!wxPyCheckForApp()) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11429 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
= 0;
11431 wxString
*arg1
= 0 ;
11433 wxTipProvider
*result
= 0 ;
11434 bool temp1
= false ;
11437 PyObject
* obj0
= 0 ;
11438 PyObject
* obj1
= 0 ;
11439 char * kwnames
[] = {
11440 (char *) "filename",(char *) "currentTip", NULL
11443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11445 arg1
= wxString_in_helper(obj0
);
11446 if (arg1
== NULL
) SWIG_fail
;
11449 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11450 if (!SWIG_IsOK(ecode2
)) {
11451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11453 arg2
= static_cast< size_t >(val2
);
11455 if (!wxPyCheckForApp()) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11476 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11477 PyObject
*resultobj
= 0;
11478 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11479 int arg2
= (int) wxID_ANY
;
11480 wxPyTimer
*result
= 0 ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 char * kwnames
[] = {
11488 (char *) "owner",(char *) "id", NULL
11491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11494 if (!SWIG_IsOK(res1
)) {
11495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11497 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11501 if (!SWIG_IsOK(ecode2
)) {
11502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11504 arg2
= static_cast< int >(val2
);
11507 if (!wxPyCheckForApp()) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11520 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11521 PyObject
*resultobj
= 0;
11522 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11525 PyObject
*swig_obj
[1] ;
11527 if (!args
) SWIG_fail
;
11528 swig_obj
[0] = args
;
11529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11530 if (!SWIG_IsOK(res1
)) {
11531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11533 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11541 resultobj
= SWIG_Py_Void();
11548 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
= 0;
11550 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11551 PyObject
*arg2
= (PyObject
*) 0 ;
11552 PyObject
*arg3
= (PyObject
*) 0 ;
11553 int arg4
= (int) 0 ;
11558 PyObject
* obj0
= 0 ;
11559 PyObject
* obj1
= 0 ;
11560 PyObject
* obj2
= 0 ;
11561 PyObject
* obj3
= 0 ;
11562 char * kwnames
[] = {
11563 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11571 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11575 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11576 if (!SWIG_IsOK(ecode4
)) {
11577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11579 arg4
= static_cast< int >(val4
);
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_Py_Void();
11594 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11595 PyObject
*resultobj
= 0;
11596 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11597 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11598 int arg3
= (int) wxID_ANY
;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 PyObject
* obj2
= 0 ;
11608 char * kwnames
[] = {
11609 (char *) "self",(char *) "owner",(char *) "id", NULL
11612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11614 if (!SWIG_IsOK(res1
)) {
11615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11617 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11619 if (!SWIG_IsOK(res2
)) {
11620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11622 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11625 if (!SWIG_IsOK(ecode3
)) {
11626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11628 arg3
= static_cast< int >(val3
);
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 (arg1
)->SetOwner(arg2
,arg3
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11636 resultobj
= SWIG_Py_Void();
11643 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11644 PyObject
*resultobj
= 0;
11645 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11646 wxEvtHandler
*result
= 0 ;
11649 PyObject
*swig_obj
[1] ;
11651 if (!args
) SWIG_fail
;
11652 swig_obj
[0] = args
;
11653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11654 if (!SWIG_IsOK(res1
)) {
11655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11657 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= wxPyMake_wxObject(result
, 0);
11673 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
= 0;
11675 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11676 int arg2
= (int) -1 ;
11677 bool arg3
= (bool) false ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 char * kwnames
[] = {
11689 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11694 if (!SWIG_IsOK(res1
)) {
11695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11697 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11700 if (!SWIG_IsOK(ecode2
)) {
11701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11703 arg2
= static_cast< int >(val2
);
11706 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11707 if (!SWIG_IsOK(ecode3
)) {
11708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11710 arg3
= static_cast< bool >(val3
);
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11715 wxPyEndAllowThreads(__tstate
);
11716 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11727 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11728 PyObject
*resultobj
= 0;
11729 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11732 PyObject
*swig_obj
[1] ;
11734 if (!args
) SWIG_fail
;
11735 swig_obj
[0] = args
;
11736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11737 if (!SWIG_IsOK(res1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11740 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_Py_Void();
11754 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11755 PyObject
*resultobj
= 0;
11756 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11759 PyObject
*swig_obj
[1] ;
11761 if (!args
) SWIG_fail
;
11762 swig_obj
[0] = args
;
11763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11764 if (!SWIG_IsOK(res1
)) {
11765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11767 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= SWIG_Py_Void();
11781 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11782 PyObject
*resultobj
= 0;
11783 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11787 PyObject
*swig_obj
[1] ;
11789 if (!args
) SWIG_fail
;
11790 swig_obj
[0] = args
;
11791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11792 if (!SWIG_IsOK(res1
)) {
11793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11795 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11799 wxPyEndAllowThreads(__tstate
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11811 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11812 PyObject
*resultobj
= 0;
11813 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11817 PyObject
*swig_obj
[1] ;
11819 if (!args
) SWIG_fail
;
11820 swig_obj
[0] = args
;
11821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11822 if (!SWIG_IsOK(res1
)) {
11823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11825 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11832 resultobj
= SWIG_From_int(static_cast< int >(result
));
11839 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11840 PyObject
*resultobj
= 0;
11841 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11845 PyObject
*swig_obj
[1] ;
11847 if (!args
) SWIG_fail
;
11848 swig_obj
[0] = args
;
11849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11850 if (!SWIG_IsOK(res1
)) {
11851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11853 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= SWIG_From_int(static_cast< int >(result
));
11867 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11868 PyObject
*resultobj
= 0;
11869 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11873 PyObject
*swig_obj
[1] ;
11875 if (!args
) SWIG_fail
;
11876 swig_obj
[0] = args
;
11877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11878 if (!SWIG_IsOK(res1
)) {
11879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11881 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11897 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11900 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11901 return SWIG_Py_Void();
11904 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11905 return SWIG_Python_InitShadowInstance(args
);
11908 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
= 0;
11910 int arg1
= (int) 0 ;
11911 int arg2
= (int) 0 ;
11912 wxTimerEvent
*result
= 0 ;
11917 PyObject
* obj0
= 0 ;
11918 PyObject
* obj1
= 0 ;
11919 char * kwnames
[] = {
11920 (char *) "timerid",(char *) "interval", NULL
11923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11925 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11926 if (!SWIG_IsOK(ecode1
)) {
11927 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11929 arg1
= static_cast< int >(val1
);
11932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11933 if (!SWIG_IsOK(ecode2
)) {
11934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11936 arg2
= static_cast< int >(val2
);
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11951 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11952 PyObject
*resultobj
= 0;
11953 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11957 PyObject
*swig_obj
[1] ;
11959 if (!args
) SWIG_fail
;
11960 swig_obj
[0] = args
;
11961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11962 if (!SWIG_IsOK(res1
)) {
11963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11965 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= SWIG_From_int(static_cast< int >(result
));
11979 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11982 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11983 return SWIG_Py_Void();
11986 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11987 return SWIG_Python_InitShadowInstance(args
);
11990 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11991 PyObject
*resultobj
= 0;
11992 wxTimer
*arg1
= 0 ;
11993 wxTimerRunner
*result
= 0 ;
11997 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11999 if (!SWIG_IsOK(res1
)) {
12000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12005 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
12007 if (!wxPyCheckForApp()) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12020 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12021 PyObject
*resultobj
= 0;
12022 wxTimer
*arg1
= 0 ;
12024 bool arg3
= (bool) false ;
12025 wxTimerRunner
*result
= 0 ;
12033 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
12034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
12035 if (!SWIG_IsOK(res1
)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
12041 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
12042 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12043 if (!SWIG_IsOK(ecode2
)) {
12044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
12046 arg2
= static_cast< int >(val2
);
12048 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
12049 if (!SWIG_IsOK(ecode3
)) {
12050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
12052 arg3
= static_cast< bool >(val3
);
12055 if (!wxPyCheckForApp()) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
12068 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
12072 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
12075 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
12077 if ((argc
>= 2) && (argc
<= 3)) {
12078 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
12082 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
12087 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12088 PyObject
*resultobj
= 0;
12089 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12092 PyObject
*swig_obj
[1] ;
12094 if (!args
) SWIG_fail
;
12095 swig_obj
[0] = args
;
12096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12100 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_Py_Void();
12115 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
= 0;
12117 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
12119 bool arg3
= (bool) false ;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 PyObject
* obj2
= 0 ;
12129 char * kwnames
[] = {
12130 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
12133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
12135 if (!SWIG_IsOK(res1
)) {
12136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
12138 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
12139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12140 if (!SWIG_IsOK(ecode2
)) {
12141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
12143 arg2
= static_cast< int >(val2
);
12145 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12146 if (!SWIG_IsOK(ecode3
)) {
12147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
12149 arg3
= static_cast< bool >(val3
);
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->Start(arg2
,arg3
);
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 resultobj
= SWIG_Py_Void();
12164 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12167 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
12168 return SWIG_Py_Void();
12171 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12172 return SWIG_Python_InitShadowInstance(args
);
12175 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12176 PyObject
*resultobj
= 0;
12177 wxLog
*result
= 0 ;
12179 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= (wxLog
*)new wxLog();
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12193 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12194 PyObject
*resultobj
= 0;
12195 wxLog
*arg1
= (wxLog
*) 0 ;
12198 PyObject
*swig_obj
[1] ;
12200 if (!args
) SWIG_fail
;
12201 swig_obj
[0] = args
;
12202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12203 if (!SWIG_IsOK(res1
)) {
12204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12206 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= SWIG_Py_Void();
12221 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12222 PyObject
*resultobj
= 0;
12225 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (bool)wxLog::IsEnabled();
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12241 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
= 0;
12243 bool arg1
= (bool) true ;
12247 PyObject
* obj0
= 0 ;
12248 char * kwnames
[] = {
12249 (char *) "doIt", NULL
12252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12254 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12255 if (!SWIG_IsOK(ecode1
)) {
12256 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12258 arg1
= static_cast< bool >(val1
);
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 result
= (bool)wxLog::EnableLogging(arg1
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12275 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
= 0;
12278 wxChar
*arg2
= (wxChar
*) 0 ;
12280 unsigned long val1
;
12284 unsigned int val3
;
12286 PyObject
* obj0
= 0 ;
12287 PyObject
* obj1
= 0 ;
12288 PyObject
* obj2
= 0 ;
12289 char * kwnames
[] = {
12290 (char *) "level",(char *) "szString",(char *) "t", NULL
12293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12294 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12295 if (!SWIG_IsOK(ecode1
)) {
12296 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12298 arg1
= static_cast< wxLogLevel
>(val1
);
12299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12300 if (!SWIG_IsOK(res2
)) {
12301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12303 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12304 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12305 if (!SWIG_IsOK(ecode3
)) {
12306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12308 arg3
= static_cast< time_t >(val3
);
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= SWIG_Py_Void();
12322 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12323 PyObject
*resultobj
= 0;
12324 wxLog
*arg1
= (wxLog
*) 0 ;
12327 PyObject
*swig_obj
[1] ;
12329 if (!args
) SWIG_fail
;
12330 swig_obj
[0] = args
;
12331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12332 if (!SWIG_IsOK(res1
)) {
12333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12335 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_Py_Void();
12349 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12350 PyObject
*resultobj
= 0;
12352 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 wxLog::FlushActive();
12356 wxPyEndAllowThreads(__tstate
);
12357 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_Py_Void();
12366 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12367 PyObject
*resultobj
= 0;
12368 wxLog
*result
= 0 ;
12370 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (wxLog
*)wxLog::GetActiveTarget();
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12384 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
= 0;
12386 wxLog
*arg1
= (wxLog
*) 0 ;
12387 wxLog
*result
= 0 ;
12389 PyObject
* obj0
= 0 ;
12390 char * kwnames
[] = {
12391 (char *) "pLogger", NULL
12394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12395 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12396 if (!SWIG_IsOK(res1
)) {
12397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12412 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12413 PyObject
*resultobj
= 0;
12415 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= SWIG_Py_Void();
12429 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12430 PyObject
*resultobj
= 0;
12432 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= SWIG_Py_Void();
12446 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
= 0;
12448 bool arg1
= (bool) true ;
12451 PyObject
* obj0
= 0 ;
12452 char * kwnames
[] = {
12453 (char *) "bVerbose", NULL
12456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12458 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12459 if (!SWIG_IsOK(ecode1
)) {
12460 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12462 arg1
= static_cast< bool >(val1
);
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 wxLog::SetVerbose(arg1
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_Py_Void();
12477 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
= 0;
12480 unsigned long val1
;
12482 PyObject
* obj0
= 0 ;
12483 char * kwnames
[] = {
12484 (char *) "logLevel", NULL
12487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12488 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12489 if (!SWIG_IsOK(ecode1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12492 arg1
= static_cast< wxLogLevel
>(val1
);
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 wxLog::SetLogLevel(arg1
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= SWIG_Py_Void();
12506 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12507 PyObject
*resultobj
= 0;
12509 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 wxLog::DontCreateOnDemand();
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 resultobj
= SWIG_Py_Void();
12523 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
= 0;
12525 bool arg1
= (bool) true ;
12528 PyObject
* obj0
= 0 ;
12529 char * kwnames
[] = {
12530 (char *) "bRepetCounting", NULL
12533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12535 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12536 if (!SWIG_IsOK(ecode1
)) {
12537 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12539 arg1
= static_cast< bool >(val1
);
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 wxLog::SetRepetitionCounting(arg1
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= SWIG_Py_Void();
12554 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12555 PyObject
*resultobj
= 0;
12558 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12561 result
= (bool)wxLog::GetRepetitionCounting();
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12574 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
= 0;
12577 unsigned long val1
;
12579 PyObject
* obj0
= 0 ;
12580 char * kwnames
[] = {
12581 (char *) "ulMask", NULL
12584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12585 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12586 if (!SWIG_IsOK(ecode1
)) {
12587 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12589 arg1
= static_cast< wxTraceMask
>(val1
);
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 wxLog::SetTraceMask(arg1
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= SWIG_Py_Void();
12603 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
= 0;
12605 wxString
*arg1
= 0 ;
12606 bool temp1
= false ;
12607 PyObject
* obj0
= 0 ;
12608 char * kwnames
[] = {
12609 (char *) "str", NULL
12612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12614 arg1
= wxString_in_helper(obj0
);
12615 if (arg1
== NULL
) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 wxLog::AddTraceMask((wxString
const &)*arg1
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_Py_Void();
12639 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
= 0;
12641 wxString
*arg1
= 0 ;
12642 bool temp1
= false ;
12643 PyObject
* obj0
= 0 ;
12644 char * kwnames
[] = {
12645 (char *) "str", NULL
12648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12650 arg1
= wxString_in_helper(obj0
);
12651 if (arg1
== NULL
) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= SWIG_Py_Void();
12675 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12676 PyObject
*resultobj
= 0;
12678 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 wxLog::ClearTraceMasks();
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= SWIG_Py_Void();
12692 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12693 PyObject
*resultobj
= 0;
12694 wxArrayString
*result
= 0 ;
12696 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12701 result
= (wxArrayString
*) &_result_ref
;
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= wxArrayString2PyList_helper(*result
);
12715 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
= 0;
12717 wxChar
*arg1
= (wxChar
*) 0 ;
12720 PyObject
* obj0
= 0 ;
12721 char * kwnames
[] = {
12722 (char *) "ts", NULL
12725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12727 if (!SWIG_IsOK(res1
)) {
12728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12730 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 wxLog::SetTimestamp((wxChar
const *)arg1
);
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= SWIG_Py_Void();
12744 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12745 PyObject
*resultobj
= 0;
12748 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (bool)wxLog::GetVerbose();
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12764 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12765 PyObject
*resultobj
= 0;
12766 wxTraceMask result
;
12768 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxTraceMask
)wxLog::GetTraceMask();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12782 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
= 0;
12784 wxChar
*arg1
= (wxChar
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char * kwnames
[] = {
12790 (char *) "mask", NULL
12793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12795 if (!SWIG_IsOK(res1
)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12798 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12814 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12815 PyObject
*resultobj
= 0;
12818 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 result
= (wxLogLevel
)wxLog::GetLogLevel();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12832 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12833 PyObject
*resultobj
= 0;
12834 wxChar
*result
= 0 ;
12836 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (wxChar
*)wxLog::GetTimestamp();
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12850 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12851 PyObject
*resultobj
= 0;
12854 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 result
= wxLog_TimeStamp();
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12874 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12875 PyObject
*resultobj
= 0;
12876 wxLog
*arg1
= (wxLog
*) 0 ;
12879 PyObject
*swig_obj
[1] ;
12881 if (!args
) SWIG_fail
;
12882 swig_obj
[0] = args
;
12883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12884 if (!SWIG_IsOK(res1
)) {
12885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12887 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 wxLog_Destroy(arg1
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= SWIG_Py_Void();
12901 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12904 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12905 return SWIG_Py_Void();
12908 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12909 return SWIG_Python_InitShadowInstance(args
);
12912 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12913 PyObject
*resultobj
= 0;
12914 wxLogStderr
*result
= 0 ;
12916 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (wxLogStderr
*)new wxLogStderr();
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12930 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12933 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12934 return SWIG_Py_Void();
12937 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12938 return SWIG_Python_InitShadowInstance(args
);
12941 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
= 0;
12943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12944 wxLogTextCtrl
*result
= 0 ;
12947 PyObject
* obj0
= 0 ;
12948 char * kwnames
[] = {
12949 (char *) "pTextCtrl", NULL
12952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12954 if (!SWIG_IsOK(res1
)) {
12955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12957 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12971 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12974 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12975 return SWIG_Py_Void();
12978 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12979 return SWIG_Python_InitShadowInstance(args
);
12982 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12983 PyObject
*resultobj
= 0;
12984 wxLogGui
*result
= 0 ;
12986 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= (wxLogGui
*)new wxLogGui();
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
13000 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13003 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
13004 return SWIG_Py_Void();
13007 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13008 return SWIG_Python_InitShadowInstance(args
);
13011 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
= 0;
13013 wxFrame
*arg1
= (wxFrame
*) 0 ;
13014 wxString
*arg2
= 0 ;
13015 bool arg3
= (bool) true ;
13016 bool arg4
= (bool) true ;
13017 wxLogWindow
*result
= 0 ;
13020 bool temp2
= false ;
13025 PyObject
* obj0
= 0 ;
13026 PyObject
* obj1
= 0 ;
13027 PyObject
* obj2
= 0 ;
13028 PyObject
* obj3
= 0 ;
13029 char * kwnames
[] = {
13030 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
13033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13035 if (!SWIG_IsOK(res1
)) {
13036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
13038 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13040 arg2
= wxString_in_helper(obj1
);
13041 if (arg2
== NULL
) SWIG_fail
;
13045 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13046 if (!SWIG_IsOK(ecode3
)) {
13047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
13049 arg3
= static_cast< bool >(val3
);
13052 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13053 if (!SWIG_IsOK(ecode4
)) {
13054 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
13056 arg4
= static_cast< bool >(val4
);
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
13079 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
= 0;
13081 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13082 bool arg2
= (bool) true ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 char * kwnames
[] = {
13090 (char *) "self",(char *) "bShow", NULL
13093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13095 if (!SWIG_IsOK(res1
)) {
13096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13098 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13100 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13101 if (!SWIG_IsOK(ecode2
)) {
13102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
13104 arg2
= static_cast< bool >(val2
);
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 (arg1
)->Show(arg2
);
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13112 resultobj
= SWIG_Py_Void();
13119 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13120 PyObject
*resultobj
= 0;
13121 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13122 wxFrame
*result
= 0 ;
13125 PyObject
*swig_obj
[1] ;
13127 if (!args
) SWIG_fail
;
13128 swig_obj
[0] = args
;
13129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13130 if (!SWIG_IsOK(res1
)) {
13131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13133 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13141 resultobj
= wxPyMake_wxObject(result
, (bool)0);
13149 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13150 PyObject
*resultobj
= 0;
13151 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13152 wxLog
*result
= 0 ;
13155 PyObject
*swig_obj
[1] ;
13157 if (!args
) SWIG_fail
;
13158 swig_obj
[0] = args
;
13159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13163 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13177 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13178 PyObject
*resultobj
= 0;
13179 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13183 PyObject
*swig_obj
[1] ;
13185 if (!args
) SWIG_fail
;
13186 swig_obj
[0] = args
;
13187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13188 if (!SWIG_IsOK(res1
)) {
13189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13191 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13207 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
= 0;
13209 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 PyObject
* obj1
= 0 ;
13217 char * kwnames
[] = {
13218 (char *) "self",(char *) "bDoPass", NULL
13221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13223 if (!SWIG_IsOK(res1
)) {
13224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13226 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13227 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13228 if (!SWIG_IsOK(ecode2
)) {
13229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13231 arg2
= static_cast< bool >(val2
);
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 (arg1
)->PassMessages(arg2
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= SWIG_Py_Void();
13245 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13248 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13249 return SWIG_Py_Void();
13252 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13253 return SWIG_Python_InitShadowInstance(args
);
13256 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
= 0;
13258 wxLog
*arg1
= (wxLog
*) 0 ;
13259 wxLogChain
*result
= 0 ;
13262 PyObject
* obj0
= 0 ;
13263 char * kwnames
[] = {
13264 (char *) "logger", NULL
13267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13269 if (!SWIG_IsOK(res1
)) {
13270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13272 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= (wxLogChain
*)new wxLogChain(arg1
);
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13286 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
= 0;
13288 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13289 wxLog
*arg2
= (wxLog
*) 0 ;
13294 PyObject
* obj0
= 0 ;
13295 PyObject
* obj1
= 0 ;
13296 char * kwnames
[] = {
13297 (char *) "self",(char *) "logger", NULL
13300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13302 if (!SWIG_IsOK(res1
)) {
13303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13305 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13307 if (!SWIG_IsOK(res2
)) {
13308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13310 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 (arg1
)->SetLog(arg2
);
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= SWIG_Py_Void();
13324 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
= 0;
13326 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 char * kwnames
[] = {
13335 (char *) "self",(char *) "bDoPass", NULL
13338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13340 if (!SWIG_IsOK(res1
)) {
13341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13343 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13344 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13345 if (!SWIG_IsOK(ecode2
)) {
13346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13348 arg2
= static_cast< bool >(val2
);
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 (arg1
)->PassMessages(arg2
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= SWIG_Py_Void();
13362 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13363 PyObject
*resultobj
= 0;
13364 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13368 PyObject
*swig_obj
[1] ;
13370 if (!args
) SWIG_fail
;
13371 swig_obj
[0] = args
;
13372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13373 if (!SWIG_IsOK(res1
)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13376 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 result
= (bool)(arg1
)->IsPassingMessages();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13392 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13393 PyObject
*resultobj
= 0;
13394 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13395 wxLog
*result
= 0 ;
13398 PyObject
*swig_obj
[1] ;
13400 if (!args
) SWIG_fail
;
13401 swig_obj
[0] = args
;
13402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13403 if (!SWIG_IsOK(res1
)) {
13404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13406 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13409 result
= (wxLog
*)(arg1
)->GetOldLog();
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13420 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13423 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13424 return SWIG_Py_Void();
13427 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13428 return SWIG_Python_InitShadowInstance(args
);
13431 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13432 PyObject
*resultobj
= 0;
13433 wxLogBuffer
*result
= 0 ;
13435 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (wxLogBuffer
*)new wxLogBuffer();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13449 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13450 PyObject
*resultobj
= 0;
13451 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13452 wxString
*result
= 0 ;
13455 PyObject
*swig_obj
[1] ;
13457 if (!args
) SWIG_fail
;
13458 swig_obj
[0] = args
;
13459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13460 if (!SWIG_IsOK(res1
)) {
13461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13463 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13468 result
= (wxString
*) &_result_ref
;
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13477 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13486 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13489 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13490 return SWIG_Py_Void();
13493 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13494 return SWIG_Python_InitShadowInstance(args
);
13497 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13498 PyObject
*resultobj
= 0;
13499 unsigned long result
;
13501 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (unsigned long)wxSysErrorCode();
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13515 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
= 0;
13517 unsigned long arg1
= (unsigned long) 0 ;
13519 unsigned long val1
;
13521 PyObject
* obj0
= 0 ;
13522 char * kwnames
[] = {
13523 (char *) "nErrCode", NULL
13526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13528 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13529 if (!SWIG_IsOK(ecode1
)) {
13530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13532 arg1
= static_cast< unsigned long >(val1
);
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= wxSysErrorMsg(arg1
);
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13553 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
= 0;
13555 wxString
*arg1
= 0 ;
13556 bool temp1
= false ;
13557 PyObject
* obj0
= 0 ;
13558 char * kwnames
[] = {
13559 (char *) "msg", NULL
13562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13564 arg1
= wxString_in_helper(obj0
);
13565 if (arg1
== NULL
) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 wxPyLogFatalError((wxString
const &)*arg1
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_Py_Void();
13589 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
= 0;
13591 wxString
*arg1
= 0 ;
13592 bool temp1
= false ;
13593 PyObject
* obj0
= 0 ;
13594 char * kwnames
[] = {
13595 (char *) "msg", NULL
13598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13600 arg1
= wxString_in_helper(obj0
);
13601 if (arg1
== NULL
) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 wxPyLogError((wxString
const &)*arg1
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= SWIG_Py_Void();
13625 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13626 PyObject
*resultobj
= 0;
13627 wxString
*arg1
= 0 ;
13628 bool temp1
= false ;
13629 PyObject
* obj0
= 0 ;
13630 char * kwnames
[] = {
13631 (char *) "msg", NULL
13634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13636 arg1
= wxString_in_helper(obj0
);
13637 if (arg1
== NULL
) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 wxPyLogWarning((wxString
const &)*arg1
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= SWIG_Py_Void();
13661 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
= 0;
13663 wxString
*arg1
= 0 ;
13664 bool temp1
= false ;
13665 PyObject
* obj0
= 0 ;
13666 char * kwnames
[] = {
13667 (char *) "msg", NULL
13670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13672 arg1
= wxString_in_helper(obj0
);
13673 if (arg1
== NULL
) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 wxPyLogMessage((wxString
const &)*arg1
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 resultobj
= SWIG_Py_Void();
13697 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
= 0;
13699 wxString
*arg1
= 0 ;
13700 bool temp1
= false ;
13701 PyObject
* obj0
= 0 ;
13702 char * kwnames
[] = {
13703 (char *) "msg", NULL
13706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13708 arg1
= wxString_in_helper(obj0
);
13709 if (arg1
== NULL
) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 wxPyLogInfo((wxString
const &)*arg1
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= SWIG_Py_Void();
13733 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
= 0;
13735 wxString
*arg1
= 0 ;
13736 bool temp1
= false ;
13737 PyObject
* obj0
= 0 ;
13738 char * kwnames
[] = {
13739 (char *) "msg", NULL
13742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13744 arg1
= wxString_in_helper(obj0
);
13745 if (arg1
== NULL
) SWIG_fail
;
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 wxPyLogDebug((wxString
const &)*arg1
);
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= SWIG_Py_Void();
13769 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
= 0;
13771 wxString
*arg1
= 0 ;
13772 bool temp1
= false ;
13773 PyObject
* obj0
= 0 ;
13774 char * kwnames
[] = {
13775 (char *) "msg", NULL
13778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13780 arg1
= wxString_in_helper(obj0
);
13781 if (arg1
== NULL
) SWIG_fail
;
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 wxPyLogVerbose((wxString
const &)*arg1
);
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= SWIG_Py_Void();
13805 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13806 PyObject
*resultobj
= 0;
13807 wxString
*arg1
= 0 ;
13808 bool temp1
= false ;
13809 PyObject
* obj0
= 0 ;
13810 char * kwnames
[] = {
13811 (char *) "msg", NULL
13814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13816 arg1
= wxString_in_helper(obj0
);
13817 if (arg1
== NULL
) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 wxPyLogStatus((wxString
const &)*arg1
);
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= SWIG_Py_Void();
13841 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13842 PyObject
*resultobj
= 0;
13843 wxFrame
*arg1
= (wxFrame
*) 0 ;
13844 wxString
*arg2
= 0 ;
13847 bool temp2
= false ;
13848 PyObject
* obj0
= 0 ;
13849 PyObject
* obj1
= 0 ;
13850 char * kwnames
[] = {
13851 (char *) "pFrame",(char *) "msg", NULL
13854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13856 if (!SWIG_IsOK(res1
)) {
13857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13859 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13861 arg2
= wxString_in_helper(obj1
);
13862 if (arg2
== NULL
) SWIG_fail
;
13866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= SWIG_Py_Void();
13886 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
= 0;
13888 wxString
*arg1
= 0 ;
13889 bool temp1
= false ;
13890 PyObject
* obj0
= 0 ;
13891 char * kwnames
[] = {
13892 (char *) "msg", NULL
13895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13897 arg1
= wxString_in_helper(obj0
);
13898 if (arg1
== NULL
) SWIG_fail
;
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13903 wxPyLogSysError((wxString
const &)*arg1
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13907 resultobj
= SWIG_Py_Void();
13922 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
= 0;
13924 unsigned long arg1
;
13925 wxString
*arg2
= 0 ;
13926 unsigned long val1
;
13928 bool temp2
= false ;
13929 PyObject
* obj0
= 0 ;
13930 PyObject
* obj1
= 0 ;
13931 char * kwnames
[] = {
13932 (char *) "level",(char *) "msg", NULL
13935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13936 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13937 if (!SWIG_IsOK(ecode1
)) {
13938 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13940 arg1
= static_cast< unsigned long >(val1
);
13942 arg2
= wxString_in_helper(obj1
);
13943 if (arg2
== NULL
) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= SWIG_Py_Void();
13967 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13968 PyObject
*resultobj
= 0;
13969 unsigned long arg1
;
13970 wxString
*arg2
= 0 ;
13971 unsigned long val1
;
13973 bool temp2
= false ;
13975 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13976 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13977 if (!SWIG_IsOK(ecode1
)) {
13978 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13980 arg1
= static_cast< unsigned long >(val1
);
13982 arg2
= wxString_in_helper(swig_obj
[1]);
13983 if (arg2
== NULL
) SWIG_fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= SWIG_Py_Void();
14007 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
14008 PyObject
*resultobj
= 0;
14009 wxString
*arg1
= 0 ;
14010 wxString
*arg2
= 0 ;
14011 bool temp1
= false ;
14012 bool temp2
= false ;
14014 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
14016 arg1
= wxString_in_helper(swig_obj
[0]);
14017 if (arg1
== NULL
) SWIG_fail
;
14021 arg2
= wxString_in_helper(swig_obj
[1]);
14022 if (arg2
== NULL
) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= SWIG_Py_Void();
14054 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
14058 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
14064 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
14067 if (!_v
) goto check_1
;
14068 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
14073 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
14077 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
14082 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
= 0;
14084 wxString
*arg1
= 0 ;
14085 wxString
*arg2
= 0 ;
14086 bool temp1
= false ;
14087 bool temp2
= false ;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 char * kwnames
[] = {
14091 (char *) "title",(char *) "text", NULL
14094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14096 arg1
= wxString_in_helper(obj0
);
14097 if (arg1
== NULL
) SWIG_fail
;
14101 arg2
= wxString_in_helper(obj1
);
14102 if (arg2
== NULL
) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= SWIG_Py_Void();
14134 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14135 PyObject
*resultobj
= 0;
14136 wxLogNull
*result
= 0 ;
14138 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14141 result
= (wxLogNull
*)new wxLogNull();
14142 wxPyEndAllowThreads(__tstate
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
14152 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14153 PyObject
*resultobj
= 0;
14154 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
14157 PyObject
*swig_obj
[1] ;
14159 if (!args
) SWIG_fail
;
14160 swig_obj
[0] = args
;
14161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
14162 if (!SWIG_IsOK(res1
)) {
14163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
14165 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
14167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 wxPyEndAllowThreads(__tstate
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= SWIG_Py_Void();
14180 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14183 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14184 return SWIG_Py_Void();
14187 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14188 return SWIG_Python_InitShadowInstance(args
);
14191 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14192 PyObject
*resultobj
= 0;
14193 wxPyLog
*result
= 0 ;
14195 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= (wxPyLog
*)new wxPyLog();
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14209 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
= 0;
14211 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14212 PyObject
*arg2
= (PyObject
*) 0 ;
14213 PyObject
*arg3
= (PyObject
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 PyObject
* obj2
= 0 ;
14219 char * kwnames
[] = {
14220 (char *) "self",(char *) "self",(char *) "_class", NULL
14223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14225 if (!SWIG_IsOK(res1
)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14228 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= SWIG_Py_Void();
14244 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14246 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14247 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14248 return SWIG_Py_Void();
14251 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14252 return SWIG_Python_InitShadowInstance(args
);
14255 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14256 PyObject
*resultobj
= 0;
14258 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14259 int arg3
= (int) wxKILL_NOCHILDREN
;
14260 wxKillError result
;
14267 PyObject
* obj0
= 0 ;
14268 PyObject
* obj1
= 0 ;
14269 PyObject
* obj2
= 0 ;
14270 char * kwnames
[] = {
14271 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14275 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14276 if (!SWIG_IsOK(ecode1
)) {
14277 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14279 arg1
= static_cast< int >(val1
);
14281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14282 if (!SWIG_IsOK(ecode2
)) {
14283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14285 arg2
= static_cast< wxSignal
>(val2
);
14288 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14289 if (!SWIG_IsOK(ecode3
)) {
14290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14292 arg3
= static_cast< int >(val3
);
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= SWIG_From_int(static_cast< int >(result
));
14307 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
= 0;
14313 PyObject
* obj0
= 0 ;
14314 char * kwnames
[] = {
14315 (char *) "pid", NULL
14318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14319 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14320 if (!SWIG_IsOK(ecode1
)) {
14321 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14323 arg1
= static_cast< int >(val1
);
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (bool)wxPyProcess::Exists(arg1
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14339 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
= 0;
14341 wxString
*arg1
= 0 ;
14342 int arg2
= (int) wxEXEC_ASYNC
;
14343 wxPyProcess
*result
= 0 ;
14344 bool temp1
= false ;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 char * kwnames
[] = {
14350 (char *) "cmd",(char *) "flags", NULL
14353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14355 arg1
= wxString_in_helper(obj0
);
14356 if (arg1
== NULL
) SWIG_fail
;
14360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14361 if (!SWIG_IsOK(ecode2
)) {
14362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14364 arg2
= static_cast< int >(val2
);
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14387 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
= 0;
14389 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14390 int arg2
= (int) -1 ;
14391 wxPyProcess
*result
= 0 ;
14396 PyObject
* obj0
= 0 ;
14397 PyObject
* obj1
= 0 ;
14398 char * kwnames
[] = {
14399 (char *) "parent",(char *) "id", NULL
14402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14405 if (!SWIG_IsOK(res1
)) {
14406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14408 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14412 if (!SWIG_IsOK(ecode2
)) {
14413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14415 arg2
= static_cast< int >(val2
);
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14430 SWIGINTERN PyObject
*_wrap_delete_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14431 PyObject
*resultobj
= 0;
14432 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14435 PyObject
*swig_obj
[1] ;
14437 if (!args
) SWIG_fail
;
14438 swig_obj
[0] = args
;
14439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_DISOWN
| 0 );
14440 if (!SWIG_IsOK(res1
)) {
14441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Process" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14443 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= SWIG_Py_Void();
14458 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14459 PyObject
*resultobj
= 0;
14460 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14461 PyObject
*arg2
= (PyObject
*) 0 ;
14462 PyObject
*arg3
= (PyObject
*) 0 ;
14465 PyObject
* obj0
= 0 ;
14466 PyObject
* obj1
= 0 ;
14467 PyObject
* obj2
= 0 ;
14468 char * kwnames
[] = {
14469 (char *) "self",(char *) "self",(char *) "_class", NULL
14472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14474 if (!SWIG_IsOK(res1
)) {
14475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14477 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14486 resultobj
= SWIG_Py_Void();
14493 SWIGINTERN PyObject
*_wrap_Process_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14494 PyObject
*resultobj
= 0;
14495 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14499 PyObject
*swig_obj
[1] ;
14501 if (!args
) SWIG_fail
;
14502 swig_obj
[0] = args
;
14503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14504 if (!SWIG_IsOK(res1
)) {
14505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetPid" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14507 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (long)((wxPyProcess
const *)arg1
)->GetPid();
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= SWIG_From_long(static_cast< long >(result
));
14521 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
= 0;
14523 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14532 PyObject
* obj0
= 0 ;
14533 PyObject
* obj1
= 0 ;
14534 PyObject
* obj2
= 0 ;
14535 char * kwnames
[] = {
14536 (char *) "self",(char *) "pid",(char *) "status", NULL
14539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14541 if (!SWIG_IsOK(res1
)) {
14542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14544 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14546 if (!SWIG_IsOK(ecode2
)) {
14547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14549 arg2
= static_cast< int >(val2
);
14550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14551 if (!SWIG_IsOK(ecode3
)) {
14552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14554 arg3
= static_cast< int >(val3
);
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 (arg1
)->OnTerminate(arg2
,arg3
);
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14561 resultobj
= SWIG_Py_Void();
14568 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14569 PyObject
*resultobj
= 0;
14570 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14573 PyObject
*swig_obj
[1] ;
14575 if (!args
) SWIG_fail
;
14576 swig_obj
[0] = args
;
14577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14578 if (!SWIG_IsOK(res1
)) {
14579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14581 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 (arg1
)->Redirect();
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= SWIG_Py_Void();
14595 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14596 PyObject
*resultobj
= 0;
14597 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14601 PyObject
*swig_obj
[1] ;
14603 if (!args
) SWIG_fail
;
14604 swig_obj
[0] = args
;
14605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14606 if (!SWIG_IsOK(res1
)) {
14607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14609 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (bool)(arg1
)->IsRedirected();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14625 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14626 PyObject
*resultobj
= 0;
14627 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14630 PyObject
*swig_obj
[1] ;
14632 if (!args
) SWIG_fail
;
14633 swig_obj
[0] = args
;
14634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14635 if (!SWIG_IsOK(res1
)) {
14636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14638 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= SWIG_Py_Void();
14652 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14653 PyObject
*resultobj
= 0;
14654 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14655 wxInputStream
*result
= 0 ;
14658 PyObject
*swig_obj
[1] ;
14660 if (!args
) SWIG_fail
;
14661 swig_obj
[0] = args
;
14662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14663 if (!SWIG_IsOK(res1
)) {
14664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14666 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14674 wxPyInputStream
* _ptr
= NULL
;
14677 _ptr
= new wxPyInputStream(result
);
14679 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14687 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14688 PyObject
*resultobj
= 0;
14689 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14690 wxInputStream
*result
= 0 ;
14693 PyObject
*swig_obj
[1] ;
14695 if (!args
) SWIG_fail
;
14696 swig_obj
[0] = args
;
14697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14698 if (!SWIG_IsOK(res1
)) {
14699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14701 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14709 wxPyInputStream
* _ptr
= NULL
;
14712 _ptr
= new wxPyInputStream(result
);
14714 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14722 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14723 PyObject
*resultobj
= 0;
14724 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14725 wxOutputStream
*result
= 0 ;
14728 PyObject
*swig_obj
[1] ;
14730 if (!args
) SWIG_fail
;
14731 swig_obj
[0] = args
;
14732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14733 if (!SWIG_IsOK(res1
)) {
14734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14736 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14750 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14751 PyObject
*resultobj
= 0;
14752 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14755 PyObject
*swig_obj
[1] ;
14757 if (!args
) SWIG_fail
;
14758 swig_obj
[0] = args
;
14759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14760 if (!SWIG_IsOK(res1
)) {
14761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14763 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 (arg1
)->CloseOutput();
14767 wxPyEndAllowThreads(__tstate
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= SWIG_Py_Void();
14777 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14778 PyObject
*resultobj
= 0;
14779 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14783 PyObject
*swig_obj
[1] ;
14785 if (!args
) SWIG_fail
;
14786 swig_obj
[0] = args
;
14787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14788 if (!SWIG_IsOK(res1
)) {
14789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14791 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14807 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14808 PyObject
*resultobj
= 0;
14809 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14813 PyObject
*swig_obj
[1] ;
14815 if (!args
) SWIG_fail
;
14816 swig_obj
[0] = args
;
14817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14818 if (!SWIG_IsOK(res1
)) {
14819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14821 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14825 wxPyEndAllowThreads(__tstate
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14837 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14838 PyObject
*resultobj
= 0;
14839 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14843 PyObject
*swig_obj
[1] ;
14845 if (!args
) SWIG_fail
;
14846 swig_obj
[0] = args
;
14847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14848 if (!SWIG_IsOK(res1
)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14851 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14867 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14870 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14871 return SWIG_Py_Void();
14874 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14875 return SWIG_Python_InitShadowInstance(args
);
14878 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
= 0;
14880 int arg1
= (int) 0 ;
14881 int arg2
= (int) 0 ;
14882 int arg3
= (int) 0 ;
14883 wxProcessEvent
*result
= 0 ;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 PyObject
* obj2
= 0 ;
14893 char * kwnames
[] = {
14894 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14899 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14900 if (!SWIG_IsOK(ecode1
)) {
14901 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14903 arg1
= static_cast< int >(val1
);
14906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14907 if (!SWIG_IsOK(ecode2
)) {
14908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14910 arg2
= static_cast< int >(val2
);
14913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14914 if (!SWIG_IsOK(ecode3
)) {
14915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14917 arg3
= static_cast< int >(val3
);
14920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14921 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14932 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14933 PyObject
*resultobj
= 0;
14934 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14938 PyObject
*swig_obj
[1] ;
14940 if (!args
) SWIG_fail
;
14941 swig_obj
[0] = args
;
14942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14943 if (!SWIG_IsOK(res1
)) {
14944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14946 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (int)(arg1
)->GetPid();
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14953 resultobj
= SWIG_From_int(static_cast< int >(result
));
14960 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14961 PyObject
*resultobj
= 0;
14962 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14966 PyObject
*swig_obj
[1] ;
14968 if (!args
) SWIG_fail
;
14969 swig_obj
[0] = args
;
14970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14971 if (!SWIG_IsOK(res1
)) {
14972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14974 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 result
= (int)(arg1
)->GetExitCode();
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= SWIG_From_int(static_cast< int >(result
));
14988 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14989 PyObject
*resultobj
= 0;
14990 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14996 PyObject
*swig_obj
[2] ;
14998 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15000 if (!SWIG_IsOK(res1
)) {
15001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15003 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15004 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15005 if (!SWIG_IsOK(ecode2
)) {
15006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
15008 arg2
= static_cast< int >(val2
);
15009 if (arg1
) (arg1
)->m_pid
= arg2
;
15011 resultobj
= SWIG_Py_Void();
15018 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15019 PyObject
*resultobj
= 0;
15020 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15024 PyObject
*swig_obj
[1] ;
15026 if (!args
) SWIG_fail
;
15027 swig_obj
[0] = args
;
15028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15032 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15033 result
= (int) ((arg1
)->m_pid
);
15034 resultobj
= SWIG_From_int(static_cast< int >(result
));
15041 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15042 PyObject
*resultobj
= 0;
15043 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15049 PyObject
*swig_obj
[2] ;
15051 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
15052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15053 if (!SWIG_IsOK(res1
)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15056 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15057 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15058 if (!SWIG_IsOK(ecode2
)) {
15059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
15061 arg2
= static_cast< int >(val2
);
15062 if (arg1
) (arg1
)->m_exitcode
= arg2
;
15064 resultobj
= SWIG_Py_Void();
15071 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15072 PyObject
*resultobj
= 0;
15073 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
15077 PyObject
*swig_obj
[1] ;
15079 if (!args
) SWIG_fail
;
15080 swig_obj
[0] = args
;
15081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
15082 if (!SWIG_IsOK(res1
)) {
15083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
15085 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
15086 result
= (int) ((arg1
)->m_exitcode
);
15087 resultobj
= SWIG_From_int(static_cast< int >(result
));
15094 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15097 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
15098 return SWIG_Py_Void();
15101 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15102 return SWIG_Python_InitShadowInstance(args
);
15105 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
= 0;
15107 wxString
*arg1
= 0 ;
15108 int arg2
= (int) wxEXEC_ASYNC
;
15109 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
15111 bool temp1
= false ;
15116 PyObject
* obj0
= 0 ;
15117 PyObject
* obj1
= 0 ;
15118 PyObject
* obj2
= 0 ;
15119 char * kwnames
[] = {
15120 (char *) "command",(char *) "flags",(char *) "process", NULL
15123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15125 arg1
= wxString_in_helper(obj0
);
15126 if (arg1
== NULL
) SWIG_fail
;
15130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15131 if (!SWIG_IsOK(ecode2
)) {
15132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
15134 arg2
= static_cast< int >(val2
);
15137 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
15138 if (!SWIG_IsOK(res3
)) {
15139 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
15141 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
15144 if (!wxPyCheckForApp()) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= SWIG_From_long(static_cast< long >(result
));
15165 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
= 0;
15168 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
15169 wxKillError
*arg3
= (wxKillError
*) 0 ;
15170 int arg4
= (int) wxKILL_NOCHILDREN
;
15176 wxKillError temp3
;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 PyObject
* obj2
= 0 ;
15182 char * kwnames
[] = {
15183 (char *) "pid",(char *) "sig",(char *) "flags", NULL
15189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15190 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
15191 if (!SWIG_IsOK(ecode1
)) {
15192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
15194 arg1
= static_cast< long >(val1
);
15196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15197 if (!SWIG_IsOK(ecode2
)) {
15198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
15200 arg2
= static_cast< wxSignal
>(val2
);
15203 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
15204 if (!SWIG_IsOK(ecode4
)) {
15205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
15207 arg4
= static_cast< int >(val4
);
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 resultobj
= SWIG_From_int(static_cast< int >(result
));
15218 o
= PyInt_FromLong((long) (*arg3
));
15222 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
15231 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
= 0;
15233 int arg1
= (int) wxJOYSTICK1
;
15234 wxJoystick
*result
= 0 ;
15237 PyObject
* obj0
= 0 ;
15238 char * kwnames
[] = {
15239 (char *) "joystick", NULL
15242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15244 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15245 if (!SWIG_IsOK(ecode1
)) {
15246 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15248 arg1
= static_cast< int >(val1
);
15251 if (!wxPyCheckForApp()) SWIG_fail
;
15252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 result
= (wxJoystick
*)new wxJoystick(arg1
);
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15264 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15265 PyObject
*resultobj
= 0;
15266 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15269 PyObject
*swig_obj
[1] ;
15271 if (!args
) SWIG_fail
;
15272 swig_obj
[0] = args
;
15273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15274 if (!SWIG_IsOK(res1
)) {
15275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15277 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= SWIG_Py_Void();
15292 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15293 PyObject
*resultobj
= 0;
15294 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15298 PyObject
*swig_obj
[1] ;
15300 if (!args
) SWIG_fail
;
15301 swig_obj
[0] = args
;
15302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15303 if (!SWIG_IsOK(res1
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15306 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (arg1
)->GetPosition();
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15320 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15321 PyObject
*resultobj
= 0;
15322 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15326 PyObject
*swig_obj
[1] ;
15328 if (!args
) SWIG_fail
;
15329 swig_obj
[0] = args
;
15330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15331 if (!SWIG_IsOK(res1
)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15334 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= (int)(arg1
)->GetZPosition();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_From_int(static_cast< int >(result
));
15348 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15349 PyObject
*resultobj
= 0;
15350 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15354 PyObject
*swig_obj
[1] ;
15356 if (!args
) SWIG_fail
;
15357 swig_obj
[0] = args
;
15358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15359 if (!SWIG_IsOK(res1
)) {
15360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15362 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (int)(arg1
)->GetButtonState();
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= SWIG_From_int(static_cast< int >(result
));
15376 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15377 PyObject
*resultobj
= 0;
15378 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15382 PyObject
*swig_obj
[1] ;
15384 if (!args
) SWIG_fail
;
15385 swig_obj
[0] = args
;
15386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15387 if (!SWIG_IsOK(res1
)) {
15388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15390 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 result
= (int)(arg1
)->GetPOVPosition();
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= SWIG_From_int(static_cast< int >(result
));
15404 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15405 PyObject
*resultobj
= 0;
15406 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15410 PyObject
*swig_obj
[1] ;
15412 if (!args
) SWIG_fail
;
15413 swig_obj
[0] = args
;
15414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15415 if (!SWIG_IsOK(res1
)) {
15416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15418 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (int)(arg1
)->GetPOVCTSPosition();
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= SWIG_From_int(static_cast< int >(result
));
15432 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15433 PyObject
*resultobj
= 0;
15434 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15438 PyObject
*swig_obj
[1] ;
15440 if (!args
) SWIG_fail
;
15441 swig_obj
[0] = args
;
15442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15443 if (!SWIG_IsOK(res1
)) {
15444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15446 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 result
= (int)(arg1
)->GetRudderPosition();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_From_int(static_cast< int >(result
));
15460 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15461 PyObject
*resultobj
= 0;
15462 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15466 PyObject
*swig_obj
[1] ;
15468 if (!args
) SWIG_fail
;
15469 swig_obj
[0] = args
;
15470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15471 if (!SWIG_IsOK(res1
)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15474 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (int)(arg1
)->GetUPosition();
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= SWIG_From_int(static_cast< int >(result
));
15488 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15489 PyObject
*resultobj
= 0;
15490 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15494 PyObject
*swig_obj
[1] ;
15496 if (!args
) SWIG_fail
;
15497 swig_obj
[0] = args
;
15498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15499 if (!SWIG_IsOK(res1
)) {
15500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15502 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 result
= (int)(arg1
)->GetVPosition();
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= SWIG_From_int(static_cast< int >(result
));
15516 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15517 PyObject
*resultobj
= 0;
15518 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15522 PyObject
*swig_obj
[1] ;
15524 if (!args
) SWIG_fail
;
15525 swig_obj
[0] = args
;
15526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15527 if (!SWIG_IsOK(res1
)) {
15528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15530 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 result
= (int)(arg1
)->GetMovementThreshold();
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 resultobj
= SWIG_From_int(static_cast< int >(result
));
15544 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
= 0;
15546 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15552 PyObject
* obj0
= 0 ;
15553 PyObject
* obj1
= 0 ;
15554 char * kwnames
[] = {
15555 (char *) "self",(char *) "threshold", NULL
15558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15560 if (!SWIG_IsOK(res1
)) {
15561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15563 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15565 if (!SWIG_IsOK(ecode2
)) {
15566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15568 arg2
= static_cast< int >(val2
);
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 (arg1
)->SetMovementThreshold(arg2
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= SWIG_Py_Void();
15582 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15583 PyObject
*resultobj
= 0;
15584 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15588 PyObject
*swig_obj
[1] ;
15590 if (!args
) SWIG_fail
;
15591 swig_obj
[0] = args
;
15592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15593 if (!SWIG_IsOK(res1
)) {
15594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15596 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= (bool)(arg1
)->IsOk();
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15612 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15613 PyObject
*resultobj
= 0;
15614 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15618 PyObject
*swig_obj
[1] ;
15620 if (!args
) SWIG_fail
;
15621 swig_obj
[0] = args
;
15622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15623 if (!SWIG_IsOK(res1
)) {
15624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15626 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 result
= (int)(arg1
)->GetNumberJoysticks();
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= SWIG_From_int(static_cast< int >(result
));
15640 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15641 PyObject
*resultobj
= 0;
15642 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15646 PyObject
*swig_obj
[1] ;
15648 if (!args
) SWIG_fail
;
15649 swig_obj
[0] = args
;
15650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15651 if (!SWIG_IsOK(res1
)) {
15652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15654 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 result
= (int)(arg1
)->GetManufacturerId();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_From_int(static_cast< int >(result
));
15668 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15669 PyObject
*resultobj
= 0;
15670 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15674 PyObject
*swig_obj
[1] ;
15676 if (!args
) SWIG_fail
;
15677 swig_obj
[0] = args
;
15678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15679 if (!SWIG_IsOK(res1
)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15682 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (int)(arg1
)->GetProductId();
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 resultobj
= SWIG_From_int(static_cast< int >(result
));
15696 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15697 PyObject
*resultobj
= 0;
15698 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15702 PyObject
*swig_obj
[1] ;
15704 if (!args
) SWIG_fail
;
15705 swig_obj
[0] = args
;
15706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15707 if (!SWIG_IsOK(res1
)) {
15708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15710 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (arg1
)->GetProductName();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15730 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15731 PyObject
*resultobj
= 0;
15732 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15736 PyObject
*swig_obj
[1] ;
15738 if (!args
) SWIG_fail
;
15739 swig_obj
[0] = args
;
15740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15741 if (!SWIG_IsOK(res1
)) {
15742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15744 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (int)(arg1
)->GetXMin();
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= SWIG_From_int(static_cast< int >(result
));
15758 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15759 PyObject
*resultobj
= 0;
15760 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15764 PyObject
*swig_obj
[1] ;
15766 if (!args
) SWIG_fail
;
15767 swig_obj
[0] = args
;
15768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15769 if (!SWIG_IsOK(res1
)) {
15770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15772 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (int)(arg1
)->GetYMin();
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= SWIG_From_int(static_cast< int >(result
));
15786 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15787 PyObject
*resultobj
= 0;
15788 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15792 PyObject
*swig_obj
[1] ;
15794 if (!args
) SWIG_fail
;
15795 swig_obj
[0] = args
;
15796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15797 if (!SWIG_IsOK(res1
)) {
15798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15800 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (int)(arg1
)->GetZMin();
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 resultobj
= SWIG_From_int(static_cast< int >(result
));
15814 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15815 PyObject
*resultobj
= 0;
15816 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15820 PyObject
*swig_obj
[1] ;
15822 if (!args
) SWIG_fail
;
15823 swig_obj
[0] = args
;
15824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15825 if (!SWIG_IsOK(res1
)) {
15826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15828 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 result
= (int)(arg1
)->GetXMax();
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15835 resultobj
= SWIG_From_int(static_cast< int >(result
));
15842 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15843 PyObject
*resultobj
= 0;
15844 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15848 PyObject
*swig_obj
[1] ;
15850 if (!args
) SWIG_fail
;
15851 swig_obj
[0] = args
;
15852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15853 if (!SWIG_IsOK(res1
)) {
15854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15856 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 result
= (int)(arg1
)->GetYMax();
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 resultobj
= SWIG_From_int(static_cast< int >(result
));
15870 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15871 PyObject
*resultobj
= 0;
15872 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15876 PyObject
*swig_obj
[1] ;
15878 if (!args
) SWIG_fail
;
15879 swig_obj
[0] = args
;
15880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15881 if (!SWIG_IsOK(res1
)) {
15882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15884 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (int)(arg1
)->GetZMax();
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= SWIG_From_int(static_cast< int >(result
));
15898 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15899 PyObject
*resultobj
= 0;
15900 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15904 PyObject
*swig_obj
[1] ;
15906 if (!args
) SWIG_fail
;
15907 swig_obj
[0] = args
;
15908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15909 if (!SWIG_IsOK(res1
)) {
15910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15912 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (int)(arg1
)->GetNumberButtons();
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= SWIG_From_int(static_cast< int >(result
));
15926 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15927 PyObject
*resultobj
= 0;
15928 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15932 PyObject
*swig_obj
[1] ;
15934 if (!args
) SWIG_fail
;
15935 swig_obj
[0] = args
;
15936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15937 if (!SWIG_IsOK(res1
)) {
15938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15940 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (int)(arg1
)->GetNumberAxes();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= SWIG_From_int(static_cast< int >(result
));
15954 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15955 PyObject
*resultobj
= 0;
15956 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15960 PyObject
*swig_obj
[1] ;
15962 if (!args
) SWIG_fail
;
15963 swig_obj
[0] = args
;
15964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15965 if (!SWIG_IsOK(res1
)) {
15966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15968 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 result
= (int)(arg1
)->GetMaxButtons();
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15975 resultobj
= SWIG_From_int(static_cast< int >(result
));
15982 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15983 PyObject
*resultobj
= 0;
15984 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15988 PyObject
*swig_obj
[1] ;
15990 if (!args
) SWIG_fail
;
15991 swig_obj
[0] = args
;
15992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15993 if (!SWIG_IsOK(res1
)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15996 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 result
= (int)(arg1
)->GetMaxAxes();
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= SWIG_From_int(static_cast< int >(result
));
16010 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16011 PyObject
*resultobj
= 0;
16012 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16016 PyObject
*swig_obj
[1] ;
16018 if (!args
) SWIG_fail
;
16019 swig_obj
[0] = args
;
16020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16021 if (!SWIG_IsOK(res1
)) {
16022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16024 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (int)(arg1
)->GetPollingMin();
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= SWIG_From_int(static_cast< int >(result
));
16038 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16039 PyObject
*resultobj
= 0;
16040 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16044 PyObject
*swig_obj
[1] ;
16046 if (!args
) SWIG_fail
;
16047 swig_obj
[0] = args
;
16048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16049 if (!SWIG_IsOK(res1
)) {
16050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16052 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 result
= (int)(arg1
)->GetPollingMax();
16056 wxPyEndAllowThreads(__tstate
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16059 resultobj
= SWIG_From_int(static_cast< int >(result
));
16066 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16067 PyObject
*resultobj
= 0;
16068 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16072 PyObject
*swig_obj
[1] ;
16074 if (!args
) SWIG_fail
;
16075 swig_obj
[0] = args
;
16076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16077 if (!SWIG_IsOK(res1
)) {
16078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16080 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (int)(arg1
)->GetRudderMin();
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= SWIG_From_int(static_cast< int >(result
));
16094 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16095 PyObject
*resultobj
= 0;
16096 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16100 PyObject
*swig_obj
[1] ;
16102 if (!args
) SWIG_fail
;
16103 swig_obj
[0] = args
;
16104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16105 if (!SWIG_IsOK(res1
)) {
16106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16108 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (int)(arg1
)->GetRudderMax();
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_From_int(static_cast< int >(result
));
16122 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16123 PyObject
*resultobj
= 0;
16124 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16128 PyObject
*swig_obj
[1] ;
16130 if (!args
) SWIG_fail
;
16131 swig_obj
[0] = args
;
16132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16133 if (!SWIG_IsOK(res1
)) {
16134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16136 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (int)(arg1
)->GetUMin();
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 resultobj
= SWIG_From_int(static_cast< int >(result
));
16150 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16151 PyObject
*resultobj
= 0;
16152 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16156 PyObject
*swig_obj
[1] ;
16158 if (!args
) SWIG_fail
;
16159 swig_obj
[0] = args
;
16160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16161 if (!SWIG_IsOK(res1
)) {
16162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16164 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= (int)(arg1
)->GetUMax();
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= SWIG_From_int(static_cast< int >(result
));
16178 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16179 PyObject
*resultobj
= 0;
16180 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16184 PyObject
*swig_obj
[1] ;
16186 if (!args
) SWIG_fail
;
16187 swig_obj
[0] = args
;
16188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16189 if (!SWIG_IsOK(res1
)) {
16190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
16192 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 result
= (int)(arg1
)->GetVMin();
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= SWIG_From_int(static_cast< int >(result
));
16206 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16207 PyObject
*resultobj
= 0;
16208 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16212 PyObject
*swig_obj
[1] ;
16214 if (!args
) SWIG_fail
;
16215 swig_obj
[0] = args
;
16216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16217 if (!SWIG_IsOK(res1
)) {
16218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
16220 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (int)(arg1
)->GetVMax();
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16227 resultobj
= SWIG_From_int(static_cast< int >(result
));
16234 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16235 PyObject
*resultobj
= 0;
16236 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16240 PyObject
*swig_obj
[1] ;
16242 if (!args
) SWIG_fail
;
16243 swig_obj
[0] = args
;
16244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16245 if (!SWIG_IsOK(res1
)) {
16246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16248 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= (bool)(arg1
)->HasRudder();
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16264 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16265 PyObject
*resultobj
= 0;
16266 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16270 PyObject
*swig_obj
[1] ;
16272 if (!args
) SWIG_fail
;
16273 swig_obj
[0] = args
;
16274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16275 if (!SWIG_IsOK(res1
)) {
16276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16278 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (bool)(arg1
)->HasZ();
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16294 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16295 PyObject
*resultobj
= 0;
16296 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16300 PyObject
*swig_obj
[1] ;
16302 if (!args
) SWIG_fail
;
16303 swig_obj
[0] = args
;
16304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16305 if (!SWIG_IsOK(res1
)) {
16306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16308 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= (bool)(arg1
)->HasU();
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16324 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16325 PyObject
*resultobj
= 0;
16326 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16330 PyObject
*swig_obj
[1] ;
16332 if (!args
) SWIG_fail
;
16333 swig_obj
[0] = args
;
16334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16335 if (!SWIG_IsOK(res1
)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16338 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 result
= (bool)(arg1
)->HasV();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16354 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16355 PyObject
*resultobj
= 0;
16356 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16360 PyObject
*swig_obj
[1] ;
16362 if (!args
) SWIG_fail
;
16363 swig_obj
[0] = args
;
16364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16365 if (!SWIG_IsOK(res1
)) {
16366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16368 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= (bool)(arg1
)->HasPOV();
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16384 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16385 PyObject
*resultobj
= 0;
16386 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16390 PyObject
*swig_obj
[1] ;
16392 if (!args
) SWIG_fail
;
16393 swig_obj
[0] = args
;
16394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16395 if (!SWIG_IsOK(res1
)) {
16396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16398 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (bool)(arg1
)->HasPOV4Dir();
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16414 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16415 PyObject
*resultobj
= 0;
16416 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16420 PyObject
*swig_obj
[1] ;
16422 if (!args
) SWIG_fail
;
16423 swig_obj
[0] = args
;
16424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16425 if (!SWIG_IsOK(res1
)) {
16426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16428 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (bool)(arg1
)->HasPOVCTS();
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16444 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
= 0;
16446 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16447 wxWindow
*arg2
= (wxWindow
*) 0 ;
16448 int arg3
= (int) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 PyObject
* obj1
= 0 ;
16458 PyObject
* obj2
= 0 ;
16459 char * kwnames
[] = {
16460 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16465 if (!SWIG_IsOK(res1
)) {
16466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16468 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16469 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16470 if (!SWIG_IsOK(res2
)) {
16471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16473 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16476 if (!SWIG_IsOK(ecode3
)) {
16477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16479 arg3
= static_cast< int >(val3
);
16482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16483 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16496 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16497 PyObject
*resultobj
= 0;
16498 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16502 PyObject
*swig_obj
[1] ;
16504 if (!args
) SWIG_fail
;
16505 swig_obj
[0] = args
;
16506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16507 if (!SWIG_IsOK(res1
)) {
16508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16510 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 result
= (bool)(arg1
)->ReleaseCapture();
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16526 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16529 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16530 return SWIG_Py_Void();
16533 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16534 return SWIG_Python_InitShadowInstance(args
);
16537 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16538 PyObject
*resultobj
= 0;
16539 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16540 int arg2
= (int) 0 ;
16541 int arg3
= (int) wxJOYSTICK1
;
16542 int arg4
= (int) 0 ;
16543 wxJoystickEvent
*result
= 0 ;
16552 PyObject
* obj0
= 0 ;
16553 PyObject
* obj1
= 0 ;
16554 PyObject
* obj2
= 0 ;
16555 PyObject
* obj3
= 0 ;
16556 char * kwnames
[] = {
16557 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16562 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16563 if (!SWIG_IsOK(ecode1
)) {
16564 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16566 arg1
= static_cast< wxEventType
>(val1
);
16569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16570 if (!SWIG_IsOK(ecode2
)) {
16571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16573 arg2
= static_cast< int >(val2
);
16576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16577 if (!SWIG_IsOK(ecode3
)) {
16578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16580 arg3
= static_cast< int >(val3
);
16583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16584 if (!SWIG_IsOK(ecode4
)) {
16585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16587 arg4
= static_cast< int >(val4
);
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16602 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16603 PyObject
*resultobj
= 0;
16604 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16608 PyObject
*swig_obj
[1] ;
16610 if (!args
) SWIG_fail
;
16611 swig_obj
[0] = args
;
16612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16613 if (!SWIG_IsOK(res1
)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16616 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16630 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16631 PyObject
*resultobj
= 0;
16632 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16636 PyObject
*swig_obj
[1] ;
16638 if (!args
) SWIG_fail
;
16639 swig_obj
[0] = args
;
16640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16641 if (!SWIG_IsOK(res1
)) {
16642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16644 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_From_int(static_cast< int >(result
));
16658 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16659 PyObject
*resultobj
= 0;
16660 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16664 PyObject
*swig_obj
[1] ;
16666 if (!args
) SWIG_fail
;
16667 swig_obj
[0] = args
;
16668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16669 if (!SWIG_IsOK(res1
)) {
16670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16672 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= SWIG_From_int(static_cast< int >(result
));
16686 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16687 PyObject
*resultobj
= 0;
16688 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16692 PyObject
*swig_obj
[1] ;
16694 if (!args
) SWIG_fail
;
16695 swig_obj
[0] = args
;
16696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16697 if (!SWIG_IsOK(res1
)) {
16698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16700 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 resultobj
= SWIG_From_int(static_cast< int >(result
));
16714 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16715 PyObject
*resultobj
= 0;
16716 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16720 PyObject
*swig_obj
[1] ;
16722 if (!args
) SWIG_fail
;
16723 swig_obj
[0] = args
;
16724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16725 if (!SWIG_IsOK(res1
)) {
16726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16728 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= SWIG_From_int(static_cast< int >(result
));
16742 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
= 0;
16744 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 char * kwnames
[] = {
16753 (char *) "self",(char *) "stick", NULL
16756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16758 if (!SWIG_IsOK(res1
)) {
16759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16761 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16763 if (!SWIG_IsOK(ecode2
)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16766 arg2
= static_cast< int >(val2
);
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 (arg1
)->SetJoystick(arg2
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= SWIG_Py_Void();
16780 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
= 0;
16782 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16788 PyObject
* obj0
= 0 ;
16789 PyObject
* obj1
= 0 ;
16790 char * kwnames
[] = {
16791 (char *) "self",(char *) "state", NULL
16794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16796 if (!SWIG_IsOK(res1
)) {
16797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16799 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16800 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16801 if (!SWIG_IsOK(ecode2
)) {
16802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16804 arg2
= static_cast< int >(val2
);
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 (arg1
)->SetButtonState(arg2
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_Py_Void();
16818 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
= 0;
16820 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16826 PyObject
* obj0
= 0 ;
16827 PyObject
* obj1
= 0 ;
16828 char * kwnames
[] = {
16829 (char *) "self",(char *) "change", NULL
16832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16834 if (!SWIG_IsOK(res1
)) {
16835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16837 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16839 if (!SWIG_IsOK(ecode2
)) {
16840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16842 arg2
= static_cast< int >(val2
);
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 (arg1
)->SetButtonChange(arg2
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= SWIG_Py_Void();
16856 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
= 0;
16858 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16859 wxPoint
*arg2
= 0 ;
16863 PyObject
* obj0
= 0 ;
16864 PyObject
* obj1
= 0 ;
16865 char * kwnames
[] = {
16866 (char *) "self",(char *) "pos", NULL
16869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16871 if (!SWIG_IsOK(res1
)) {
16872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16874 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16877 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= SWIG_Py_Void();
16892 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
= 0;
16894 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16900 PyObject
* obj0
= 0 ;
16901 PyObject
* obj1
= 0 ;
16902 char * kwnames
[] = {
16903 (char *) "self",(char *) "zPos", NULL
16906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16908 if (!SWIG_IsOK(res1
)) {
16909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16911 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16913 if (!SWIG_IsOK(ecode2
)) {
16914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16916 arg2
= static_cast< int >(val2
);
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 (arg1
)->SetZPosition(arg2
);
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= SWIG_Py_Void();
16930 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16931 PyObject
*resultobj
= 0;
16932 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16936 PyObject
*swig_obj
[1] ;
16938 if (!args
) SWIG_fail
;
16939 swig_obj
[0] = args
;
16940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16941 if (!SWIG_IsOK(res1
)) {
16942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16944 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16960 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16961 PyObject
*resultobj
= 0;
16962 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16966 PyObject
*swig_obj
[1] ;
16968 if (!args
) SWIG_fail
;
16969 swig_obj
[0] = args
;
16970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16971 if (!SWIG_IsOK(res1
)) {
16972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16974 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16990 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16991 PyObject
*resultobj
= 0;
16992 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16996 PyObject
*swig_obj
[1] ;
16998 if (!args
) SWIG_fail
;
16999 swig_obj
[0] = args
;
17000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17001 if (!SWIG_IsOK(res1
)) {
17002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17004 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17020 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17021 PyObject
*resultobj
= 0;
17022 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17023 int arg2
= (int) wxJOY_BUTTON_ANY
;
17029 PyObject
* obj0
= 0 ;
17030 PyObject
* obj1
= 0 ;
17031 char * kwnames
[] = {
17032 (char *) "self",(char *) "but", NULL
17035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17037 if (!SWIG_IsOK(res1
)) {
17038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17040 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17043 if (!SWIG_IsOK(ecode2
)) {
17044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
17046 arg2
= static_cast< int >(val2
);
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
17051 wxPyEndAllowThreads(__tstate
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17063 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
= 0;
17065 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17066 int arg2
= (int) wxJOY_BUTTON_ANY
;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 char * kwnames
[] = {
17075 (char *) "self",(char *) "but", NULL
17078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17080 if (!SWIG_IsOK(res1
)) {
17081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17083 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17086 if (!SWIG_IsOK(ecode2
)) {
17087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
17089 arg2
= static_cast< int >(val2
);
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17106 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
= 0;
17108 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
17109 int arg2
= (int) wxJOY_BUTTON_ANY
;
17115 PyObject
* obj0
= 0 ;
17116 PyObject
* obj1
= 0 ;
17117 char * kwnames
[] = {
17118 (char *) "self",(char *) "but", NULL
17121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
17123 if (!SWIG_IsOK(res1
)) {
17124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
17126 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
17128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17129 if (!SWIG_IsOK(ecode2
)) {
17130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
17132 arg2
= static_cast< int >(val2
);
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17149 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17152 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
17153 return SWIG_Py_Void();
17156 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17157 return SWIG_Python_InitShadowInstance(args
);
17160 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
= 0;
17162 wxString
const &arg1_defvalue
= wxPyEmptyString
;
17163 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
17164 wxSound
*result
= 0 ;
17165 bool temp1
= false ;
17166 PyObject
* obj0
= 0 ;
17167 char * kwnames
[] = {
17168 (char *) "fileName", NULL
17171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
17174 arg1
= wxString_in_helper(obj0
);
17175 if (arg1
== NULL
) SWIG_fail
;
17180 if (!wxPyCheckForApp()) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
17201 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
= 0;
17203 PyObject
*arg1
= (PyObject
*) 0 ;
17204 wxSound
*result
= 0 ;
17205 PyObject
* obj0
= 0 ;
17206 char * kwnames
[] = {
17207 (char *) "data", NULL
17210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
17213 if (!wxPyCheckForApp()) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (wxSound
*)new_wxSound(arg1
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
17226 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17227 PyObject
*resultobj
= 0;
17228 wxSound
*arg1
= (wxSound
*) 0 ;
17231 PyObject
*swig_obj
[1] ;
17233 if (!args
) SWIG_fail
;
17234 swig_obj
[0] = args
;
17235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
17236 if (!SWIG_IsOK(res1
)) {
17237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17239 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= SWIG_Py_Void();
17254 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
= 0;
17256 wxSound
*arg1
= (wxSound
*) 0 ;
17257 wxString
*arg2
= 0 ;
17261 bool temp2
= false ;
17262 PyObject
* obj0
= 0 ;
17263 PyObject
* obj1
= 0 ;
17264 char * kwnames
[] = {
17265 (char *) "self",(char *) "fileName", NULL
17268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17270 if (!SWIG_IsOK(res1
)) {
17271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17273 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17275 arg2
= wxString_in_helper(obj1
);
17276 if (arg2
== NULL
) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17302 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17303 PyObject
*resultobj
= 0;
17304 wxSound
*arg1
= (wxSound
*) 0 ;
17305 PyObject
*arg2
= (PyObject
*) 0 ;
17309 PyObject
* obj0
= 0 ;
17310 PyObject
* obj1
= 0 ;
17311 char * kwnames
[] = {
17312 (char *) "self",(char *) "data", NULL
17315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17317 if (!SWIG_IsOK(res1
)) {
17318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17320 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17337 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17338 PyObject
*resultobj
= 0;
17339 wxSound
*arg1
= (wxSound
*) 0 ;
17343 PyObject
*swig_obj
[1] ;
17345 if (!args
) SWIG_fail
;
17346 swig_obj
[0] = args
;
17347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17348 if (!SWIG_IsOK(res1
)) {
17349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17351 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (bool)(arg1
)->IsOk();
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17367 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
= 0;
17369 wxSound
*arg1
= (wxSound
*) 0 ;
17370 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17374 unsigned int val2
;
17376 PyObject
* obj0
= 0 ;
17377 PyObject
* obj1
= 0 ;
17378 char * kwnames
[] = {
17379 (char *) "self",(char *) "flags", NULL
17382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17384 if (!SWIG_IsOK(res1
)) {
17385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17387 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17389 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17390 if (!SWIG_IsOK(ecode2
)) {
17391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17393 arg2
= static_cast< unsigned int >(val2
);
17396 if (!wxPyCheckForApp()) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17411 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
= 0;
17413 wxString
*arg1
= 0 ;
17414 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17416 bool temp1
= false ;
17417 unsigned int val2
;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 char * kwnames
[] = {
17422 (char *) "filename",(char *) "flags", NULL
17425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17427 arg1
= wxString_in_helper(obj0
);
17428 if (arg1
== NULL
) SWIG_fail
;
17432 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17433 if (!SWIG_IsOK(ecode2
)) {
17434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17436 arg2
= static_cast< unsigned int >(val2
);
17439 if (!wxPyCheckForApp()) SWIG_fail
;
17440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17441 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17462 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17463 PyObject
*resultobj
= 0;
17465 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17467 if (!wxPyCheckForApp()) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_Py_Void();
17480 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17483 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17484 return SWIG_Py_Void();
17487 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17488 return SWIG_Python_InitShadowInstance(args
);
17491 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
= 0;
17493 wxString
*arg1
= 0 ;
17494 wxString
*arg2
= 0 ;
17495 wxString
*arg3
= 0 ;
17496 wxString
*arg4
= 0 ;
17497 wxFileTypeInfo
*result
= 0 ;
17498 bool temp1
= false ;
17499 bool temp2
= false ;
17500 bool temp3
= false ;
17501 bool temp4
= false ;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 PyObject
* obj2
= 0 ;
17505 PyObject
* obj3
= 0 ;
17506 char * kwnames
[] = {
17507 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17512 arg1
= wxString_in_helper(obj0
);
17513 if (arg1
== NULL
) SWIG_fail
;
17517 arg2
= wxString_in_helper(obj1
);
17518 if (arg2
== NULL
) SWIG_fail
;
17522 arg3
= wxString_in_helper(obj2
);
17523 if (arg3
== NULL
) SWIG_fail
;
17527 arg4
= wxString_in_helper(obj3
);
17528 if (arg4
== NULL
) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17576 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
= 0;
17578 wxArrayString
*arg1
= 0 ;
17579 wxFileTypeInfo
*result
= 0 ;
17580 bool temp1
= false ;
17581 PyObject
* obj0
= 0 ;
17582 char * kwnames
[] = {
17583 (char *) "sArray", NULL
17586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17588 if (! PySequence_Check(obj0
)) {
17589 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17592 arg1
= new wxArrayString
;
17594 int i
, len
=PySequence_Length(obj0
);
17595 for (i
=0; i
<len
; i
++) {
17596 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17597 wxString
* s
= wxString_in_helper(item
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17612 if (temp1
) delete arg1
;
17617 if (temp1
) delete arg1
;
17623 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 PyObject
*resultobj
= 0;
17625 wxFileTypeInfo
*result
= 0 ;
17627 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17641 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17642 PyObject
*resultobj
= 0;
17643 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17647 PyObject
*swig_obj
[1] ;
17649 if (!args
) SWIG_fail
;
17650 swig_obj
[0] = args
;
17651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17652 if (!SWIG_IsOK(res1
)) {
17653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17655 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17671 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
= 0;
17673 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17674 wxString
*arg2
= 0 ;
17675 int arg3
= (int) 0 ;
17678 bool temp2
= false ;
17681 PyObject
* obj0
= 0 ;
17682 PyObject
* obj1
= 0 ;
17683 PyObject
* obj2
= 0 ;
17684 char * kwnames
[] = {
17685 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17690 if (!SWIG_IsOK(res1
)) {
17691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17693 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17695 arg2
= wxString_in_helper(obj1
);
17696 if (arg2
== NULL
) SWIG_fail
;
17700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17701 if (!SWIG_IsOK(ecode3
)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17704 arg3
= static_cast< int >(val3
);
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= SWIG_Py_Void();
17727 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
= 0;
17729 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17730 wxString
*arg2
= 0 ;
17733 bool temp2
= false ;
17734 PyObject
* obj0
= 0 ;
17735 PyObject
* obj1
= 0 ;
17736 char * kwnames
[] = {
17737 (char *) "self",(char *) "shortDesc", NULL
17740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17742 if (!SWIG_IsOK(res1
)) {
17743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17745 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17747 arg2
= wxString_in_helper(obj1
);
17748 if (arg2
== NULL
) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= SWIG_Py_Void();
17772 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17773 PyObject
*resultobj
= 0;
17774 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17775 wxString
*result
= 0 ;
17778 PyObject
*swig_obj
[1] ;
17780 if (!args
) SWIG_fail
;
17781 swig_obj
[0] = args
;
17782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17783 if (!SWIG_IsOK(res1
)) {
17784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17786 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17791 result
= (wxString
*) &_result_ref
;
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17800 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17809 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17810 PyObject
*resultobj
= 0;
17811 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17812 wxString
*result
= 0 ;
17815 PyObject
*swig_obj
[1] ;
17817 if (!args
) SWIG_fail
;
17818 swig_obj
[0] = args
;
17819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17820 if (!SWIG_IsOK(res1
)) {
17821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17823 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
17828 result
= (wxString
*) &_result_ref
;
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17837 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17846 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17847 PyObject
*resultobj
= 0;
17848 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17849 wxString
*result
= 0 ;
17852 PyObject
*swig_obj
[1] ;
17854 if (!args
) SWIG_fail
;
17855 swig_obj
[0] = args
;
17856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17857 if (!SWIG_IsOK(res1
)) {
17858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17860 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
17865 result
= (wxString
*) &_result_ref
;
17867 wxPyEndAllowThreads(__tstate
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17874 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17883 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17884 PyObject
*resultobj
= 0;
17885 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17886 wxString
*result
= 0 ;
17889 PyObject
*swig_obj
[1] ;
17891 if (!args
) SWIG_fail
;
17892 swig_obj
[0] = args
;
17893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17894 if (!SWIG_IsOK(res1
)) {
17895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17897 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
17902 result
= (wxString
*) &_result_ref
;
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17909 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17911 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17920 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17921 PyObject
*resultobj
= 0;
17922 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17923 wxString
*result
= 0 ;
17926 PyObject
*swig_obj
[1] ;
17928 if (!args
) SWIG_fail
;
17929 swig_obj
[0] = args
;
17930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17931 if (!SWIG_IsOK(res1
)) {
17932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17934 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
17939 result
= (wxString
*) &_result_ref
;
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17946 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17948 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17957 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17958 PyObject
*resultobj
= 0;
17959 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17960 wxArrayString
*result
= 0 ;
17963 PyObject
*swig_obj
[1] ;
17965 if (!args
) SWIG_fail
;
17966 swig_obj
[0] = args
;
17967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17968 if (!SWIG_IsOK(res1
)) {
17969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17971 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17976 result
= (wxArrayString
*) &_result_ref
;
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= wxArrayString2PyList_helper(*result
);
17990 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17991 PyObject
*resultobj
= 0;
17992 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17996 PyObject
*swig_obj
[1] ;
17998 if (!args
) SWIG_fail
;
17999 swig_obj
[0] = args
;
18000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18001 if (!SWIG_IsOK(res1
)) {
18002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18004 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18007 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
18008 wxPyEndAllowThreads(__tstate
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18011 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18018 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18019 PyObject
*resultobj
= 0;
18020 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18021 wxString
*result
= 0 ;
18024 PyObject
*swig_obj
[1] ;
18026 if (!args
) SWIG_fail
;
18027 swig_obj
[0] = args
;
18028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18029 if (!SWIG_IsOK(res1
)) {
18030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18032 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
18037 result
= (wxString
*) &_result_ref
;
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18044 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18046 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18055 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18056 PyObject
*resultobj
= 0;
18057 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
18061 PyObject
*swig_obj
[1] ;
18063 if (!args
) SWIG_fail
;
18064 swig_obj
[0] = args
;
18065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
18066 if (!SWIG_IsOK(res1
)) {
18067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
18069 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_From_int(static_cast< int >(result
));
18083 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18086 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
18087 return SWIG_Py_Void();
18090 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18091 return SWIG_Python_InitShadowInstance(args
);
18094 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
= 0;
18096 wxFileTypeInfo
*arg1
= 0 ;
18097 wxFileType
*result
= 0 ;
18100 PyObject
* obj0
= 0 ;
18101 char * kwnames
[] = {
18102 (char *) "ftInfo", NULL
18105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
18106 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18107 if (!SWIG_IsOK(res1
)) {
18108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
18113 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
18127 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18128 PyObject
*resultobj
= 0;
18129 wxFileType
*arg1
= (wxFileType
*) 0 ;
18132 PyObject
*swig_obj
[1] ;
18134 if (!args
) SWIG_fail
;
18135 swig_obj
[0] = args
;
18136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
18137 if (!SWIG_IsOK(res1
)) {
18138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
18140 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= SWIG_Py_Void();
18155 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18156 PyObject
*resultobj
= 0;
18157 wxFileType
*arg1
= (wxFileType
*) 0 ;
18158 PyObject
*result
= 0 ;
18161 PyObject
*swig_obj
[1] ;
18163 if (!args
) SWIG_fail
;
18164 swig_obj
[0] = args
;
18165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18166 if (!SWIG_IsOK(res1
)) {
18167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
18169 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 resultobj
= result
;
18183 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18184 PyObject
*resultobj
= 0;
18185 wxFileType
*arg1
= (wxFileType
*) 0 ;
18186 PyObject
*result
= 0 ;
18189 PyObject
*swig_obj
[1] ;
18191 if (!args
) SWIG_fail
;
18192 swig_obj
[0] = args
;
18193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18194 if (!SWIG_IsOK(res1
)) {
18195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
18197 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= result
;
18211 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18212 PyObject
*resultobj
= 0;
18213 wxFileType
*arg1
= (wxFileType
*) 0 ;
18214 PyObject
*result
= 0 ;
18217 PyObject
*swig_obj
[1] ;
18219 if (!args
) SWIG_fail
;
18220 swig_obj
[0] = args
;
18221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18222 if (!SWIG_IsOK(res1
)) {
18223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
18225 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= result
;
18239 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18240 PyObject
*resultobj
= 0;
18241 wxFileType
*arg1
= (wxFileType
*) 0 ;
18242 wxIcon
*result
= 0 ;
18245 PyObject
*swig_obj
[1] ;
18247 if (!args
) SWIG_fail
;
18248 swig_obj
[0] = args
;
18249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18250 if (!SWIG_IsOK(res1
)) {
18251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18253 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18267 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18268 PyObject
*resultobj
= 0;
18269 wxFileType
*arg1
= (wxFileType
*) 0 ;
18270 PyObject
*result
= 0 ;
18273 PyObject
*swig_obj
[1] ;
18275 if (!args
) SWIG_fail
;
18276 swig_obj
[0] = args
;
18277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18278 if (!SWIG_IsOK(res1
)) {
18279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18281 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= result
;
18295 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18296 PyObject
*resultobj
= 0;
18297 wxFileType
*arg1
= (wxFileType
*) 0 ;
18298 PyObject
*result
= 0 ;
18301 PyObject
*swig_obj
[1] ;
18303 if (!args
) SWIG_fail
;
18304 swig_obj
[0] = args
;
18305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18306 if (!SWIG_IsOK(res1
)) {
18307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18309 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 resultobj
= result
;
18323 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
= 0;
18325 wxFileType
*arg1
= (wxFileType
*) 0 ;
18326 wxString
*arg2
= 0 ;
18327 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18328 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18329 PyObject
*result
= 0 ;
18332 bool temp2
= false ;
18333 bool temp3
= false ;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 PyObject
* obj2
= 0 ;
18337 char * kwnames
[] = {
18338 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18343 if (!SWIG_IsOK(res1
)) {
18344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18346 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18348 arg2
= wxString_in_helper(obj1
);
18349 if (arg2
== NULL
) SWIG_fail
;
18354 arg3
= wxString_in_helper(obj2
);
18355 if (arg3
== NULL
) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= result
;
18388 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
= 0;
18390 wxFileType
*arg1
= (wxFileType
*) 0 ;
18391 wxString
*arg2
= 0 ;
18392 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18393 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18394 PyObject
*result
= 0 ;
18397 bool temp2
= false ;
18398 bool temp3
= false ;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 PyObject
* obj2
= 0 ;
18402 char * kwnames
[] = {
18403 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18408 if (!SWIG_IsOK(res1
)) {
18409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18411 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18413 arg2
= wxString_in_helper(obj1
);
18414 if (arg2
== NULL
) SWIG_fail
;
18419 arg3
= wxString_in_helper(obj2
);
18420 if (arg3
== NULL
) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18426 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18430 resultobj
= result
;
18453 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
= 0;
18455 wxFileType
*arg1
= (wxFileType
*) 0 ;
18456 wxString
*arg2
= 0 ;
18457 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18458 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18459 PyObject
*result
= 0 ;
18462 bool temp2
= false ;
18463 bool temp3
= false ;
18464 PyObject
* obj0
= 0 ;
18465 PyObject
* obj1
= 0 ;
18466 PyObject
* obj2
= 0 ;
18467 char * kwnames
[] = {
18468 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18473 if (!SWIG_IsOK(res1
)) {
18474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18476 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18478 arg2
= wxString_in_helper(obj1
);
18479 if (arg2
== NULL
) SWIG_fail
;
18484 arg3
= wxString_in_helper(obj2
);
18485 if (arg3
== NULL
) SWIG_fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18491 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 resultobj
= result
;
18518 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
= 0;
18520 wxFileType
*arg1
= (wxFileType
*) 0 ;
18521 wxString
*arg2
= 0 ;
18522 wxString
*arg3
= 0 ;
18523 bool arg4
= (bool) true ;
18527 bool temp2
= false ;
18528 bool temp3
= false ;
18531 PyObject
* obj0
= 0 ;
18532 PyObject
* obj1
= 0 ;
18533 PyObject
* obj2
= 0 ;
18534 PyObject
* obj3
= 0 ;
18535 char * kwnames
[] = {
18536 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18541 if (!SWIG_IsOK(res1
)) {
18542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18544 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18546 arg2
= wxString_in_helper(obj1
);
18547 if (arg2
== NULL
) SWIG_fail
;
18551 arg3
= wxString_in_helper(obj2
);
18552 if (arg3
== NULL
) SWIG_fail
;
18556 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18557 if (!SWIG_IsOK(ecode4
)) {
18558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18560 arg4
= static_cast< bool >(val4
);
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18564 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18565 wxPyEndAllowThreads(__tstate
);
18566 if (PyErr_Occurred()) SWIG_fail
;
18569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18593 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18594 PyObject
*resultobj
= 0;
18595 wxFileType
*arg1
= (wxFileType
*) 0 ;
18596 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18597 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18598 int arg3
= (int) 0 ;
18602 bool temp2
= false ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 PyObject
* obj2
= 0 ;
18608 char * kwnames
[] = {
18609 (char *) "self",(char *) "cmd",(char *) "index", NULL
18612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18614 if (!SWIG_IsOK(res1
)) {
18615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18617 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18620 arg2
= wxString_in_helper(obj1
);
18621 if (arg2
== NULL
) SWIG_fail
;
18626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18627 if (!SWIG_IsOK(ecode3
)) {
18628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18630 arg3
= static_cast< int >(val3
);
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18655 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18656 PyObject
*resultobj
= 0;
18657 wxFileType
*arg1
= (wxFileType
*) 0 ;
18661 PyObject
*swig_obj
[1] ;
18663 if (!args
) SWIG_fail
;
18664 swig_obj
[0] = args
;
18665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18666 if (!SWIG_IsOK(res1
)) {
18667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18669 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (bool)(arg1
)->Unassociate();
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18685 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
= 0;
18687 wxString
*arg1
= 0 ;
18688 wxString
*arg2
= 0 ;
18689 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18690 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18692 bool temp1
= false ;
18693 bool temp2
= false ;
18694 bool temp3
= false ;
18695 PyObject
* obj0
= 0 ;
18696 PyObject
* obj1
= 0 ;
18697 PyObject
* obj2
= 0 ;
18698 char * kwnames
[] = {
18699 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18704 arg1
= wxString_in_helper(obj0
);
18705 if (arg1
== NULL
) SWIG_fail
;
18709 arg2
= wxString_in_helper(obj1
);
18710 if (arg2
== NULL
) SWIG_fail
;
18715 arg3
= wxString_in_helper(obj2
);
18716 if (arg3
== NULL
) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18763 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18766 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18767 return SWIG_Py_Void();
18770 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18771 return SWIG_Python_InitShadowInstance(args
);
18774 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18775 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18780 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18781 PyObject
*pyobj
= 0;
18783 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18788 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
= 0;
18790 wxString
*arg1
= 0 ;
18791 wxString
*arg2
= 0 ;
18793 bool temp1
= false ;
18794 bool temp2
= false ;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 char * kwnames
[] = {
18798 (char *) "mimeType",(char *) "wildcard", NULL
18801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18803 arg1
= wxString_in_helper(obj0
);
18804 if (arg1
== NULL
) SWIG_fail
;
18808 arg2
= wxString_in_helper(obj1
);
18809 if (arg2
== NULL
) SWIG_fail
;
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18843 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18844 PyObject
*resultobj
= 0;
18845 wxMimeTypesManager
*result
= 0 ;
18847 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18850 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18861 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
= 0;
18863 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18864 int arg2
= (int) wxMAILCAP_ALL
;
18865 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18866 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18871 bool temp3
= false ;
18872 PyObject
* obj0
= 0 ;
18873 PyObject
* obj1
= 0 ;
18874 PyObject
* obj2
= 0 ;
18875 char * kwnames
[] = {
18876 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18881 if (!SWIG_IsOK(res1
)) {
18882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18884 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18887 if (!SWIG_IsOK(ecode2
)) {
18888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18890 arg2
= static_cast< int >(val2
);
18894 arg3
= wxString_in_helper(obj2
);
18895 if (arg3
== NULL
) SWIG_fail
;
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= SWIG_Py_Void();
18920 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18921 PyObject
*resultobj
= 0;
18922 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18925 PyObject
*swig_obj
[1] ;
18927 if (!args
) SWIG_fail
;
18928 swig_obj
[0] = args
;
18929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18930 if (!SWIG_IsOK(res1
)) {
18931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18933 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 (arg1
)->ClearData();
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 resultobj
= SWIG_Py_Void();
18947 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
= 0;
18949 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18950 wxString
*arg2
= 0 ;
18951 wxFileType
*result
= 0 ;
18954 bool temp2
= false ;
18955 PyObject
* obj0
= 0 ;
18956 PyObject
* obj1
= 0 ;
18957 char * kwnames
[] = {
18958 (char *) "self",(char *) "ext", NULL
18961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18963 if (!SWIG_IsOK(res1
)) {
18964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18966 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18968 arg2
= wxString_in_helper(obj1
);
18969 if (arg2
== NULL
) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18993 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
= 0;
18995 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18996 wxString
*arg2
= 0 ;
18997 wxFileType
*result
= 0 ;
19000 bool temp2
= false ;
19001 PyObject
* obj0
= 0 ;
19002 PyObject
* obj1
= 0 ;
19003 char * kwnames
[] = {
19004 (char *) "self",(char *) "mimeType", NULL
19007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19009 if (!SWIG_IsOK(res1
)) {
19010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19012 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19014 arg2
= wxString_in_helper(obj1
);
19015 if (arg2
== NULL
) SWIG_fail
;
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19039 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
= 0;
19041 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19042 wxString
*arg2
= 0 ;
19043 bool arg3
= (bool) false ;
19047 bool temp2
= false ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 PyObject
* obj2
= 0 ;
19053 char * kwnames
[] = {
19054 (char *) "self",(char *) "filename",(char *) "fallback", NULL
19057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19059 if (!SWIG_IsOK(res1
)) {
19060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19062 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19064 arg2
= wxString_in_helper(obj1
);
19065 if (arg2
== NULL
) SWIG_fail
;
19069 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
19070 if (!SWIG_IsOK(ecode3
)) {
19071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
19073 arg3
= static_cast< bool >(val3
);
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19098 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
= 0;
19100 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19101 wxString
*arg2
= 0 ;
19105 bool temp2
= false ;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 char * kwnames
[] = {
19109 (char *) "self",(char *) "filename", NULL
19112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19114 if (!SWIG_IsOK(res1
)) {
19115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19117 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19119 arg2
= wxString_in_helper(obj1
);
19120 if (arg2
== NULL
) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19146 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19147 PyObject
*resultobj
= 0;
19148 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19149 PyObject
*result
= 0 ;
19152 PyObject
*swig_obj
[1] ;
19154 if (!args
) SWIG_fail
;
19155 swig_obj
[0] = args
;
19156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19157 if (!SWIG_IsOK(res1
)) {
19158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19160 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= result
;
19174 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
= 0;
19176 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19177 wxFileTypeInfo
*arg2
= 0 ;
19182 PyObject
* obj0
= 0 ;
19183 PyObject
* obj1
= 0 ;
19184 char * kwnames
[] = {
19185 (char *) "self",(char *) "ft", NULL
19188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19190 if (!SWIG_IsOK(res1
)) {
19191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19193 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19195 if (!SWIG_IsOK(res2
)) {
19196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19201 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19208 resultobj
= SWIG_Py_Void();
19215 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19216 PyObject
*resultobj
= 0;
19217 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19218 wxFileTypeInfo
*arg2
= 0 ;
19219 wxFileType
*result
= 0 ;
19224 PyObject
* obj0
= 0 ;
19225 PyObject
* obj1
= 0 ;
19226 char * kwnames
[] = {
19227 (char *) "self",(char *) "ftInfo", NULL
19230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19232 if (!SWIG_IsOK(res1
)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19235 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19237 if (!SWIG_IsOK(res2
)) {
19238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19243 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19257 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
= 0;
19259 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19260 wxFileType
*arg2
= (wxFileType
*) 0 ;
19266 PyObject
* obj0
= 0 ;
19267 PyObject
* obj1
= 0 ;
19268 char * kwnames
[] = {
19269 (char *) "self",(char *) "ft", NULL
19272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19274 if (!SWIG_IsOK(res1
)) {
19275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19277 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19279 if (!SWIG_IsOK(res2
)) {
19280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19282 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19285 result
= (bool)(arg1
)->Unassociate(arg2
);
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19298 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19299 PyObject
*resultobj
= 0;
19300 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19303 PyObject
*swig_obj
[1] ;
19305 if (!args
) SWIG_fail
;
19306 swig_obj
[0] = args
;
19307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19308 if (!SWIG_IsOK(res1
)) {
19309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19311 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= SWIG_Py_Void();
19326 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19329 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19330 return SWIG_Py_Void();
19333 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19334 return SWIG_Python_InitShadowInstance(args
);
19337 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19338 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19343 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19344 PyObject
*pyobj
= 0;
19348 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19350 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19357 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19358 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19363 SWIGINTERN PyObject
*ART_MENU_get(void) {
19364 PyObject
*pyobj
= 0;
19368 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19370 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19377 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19378 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19383 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19384 PyObject
*pyobj
= 0;
19388 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19390 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19397 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19398 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19403 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19404 PyObject
*pyobj
= 0;
19408 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19410 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19417 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19418 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19423 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19424 PyObject
*pyobj
= 0;
19428 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19430 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19437 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19438 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19443 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19444 PyObject
*pyobj
= 0;
19448 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19450 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19457 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19458 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19463 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19464 PyObject
*pyobj
= 0;
19468 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19470 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19477 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19478 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19483 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19484 PyObject
*pyobj
= 0;
19488 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19490 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19497 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19498 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19503 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19504 PyObject
*pyobj
= 0;
19508 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19510 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19517 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19518 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19523 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19524 PyObject
*pyobj
= 0;
19528 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19530 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19537 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19538 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19543 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19544 PyObject
*pyobj
= 0;
19548 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19550 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19557 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19558 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19563 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19564 PyObject
*pyobj
= 0;
19568 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19570 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19577 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19578 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19583 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19584 PyObject
*pyobj
= 0;
19588 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19590 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19597 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19598 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19603 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19604 PyObject
*pyobj
= 0;
19608 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19610 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19617 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19618 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19623 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19624 PyObject
*pyobj
= 0;
19628 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19630 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19637 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19638 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19643 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19644 PyObject
*pyobj
= 0;
19648 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19650 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19657 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19658 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19663 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19664 PyObject
*pyobj
= 0;
19668 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19670 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19677 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19678 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19683 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19684 PyObject
*pyobj
= 0;
19688 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19690 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19697 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19698 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19703 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19704 PyObject
*pyobj
= 0;
19708 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19710 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19717 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19718 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19723 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19724 PyObject
*pyobj
= 0;
19728 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19730 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19737 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19738 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19743 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19744 PyObject
*pyobj
= 0;
19748 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19750 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19757 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19758 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19763 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19764 PyObject
*pyobj
= 0;
19768 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19770 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19777 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19778 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19783 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19784 PyObject
*pyobj
= 0;
19788 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19790 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19797 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19798 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19803 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19804 PyObject
*pyobj
= 0;
19808 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19810 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19817 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19818 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19823 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19824 PyObject
*pyobj
= 0;
19828 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19830 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19837 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19838 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19843 SWIGINTERN PyObject
*ART_HELP_get(void) {
19844 PyObject
*pyobj
= 0;
19848 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19850 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19857 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19858 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19863 SWIGINTERN PyObject
*ART_TIP_get(void) {
19864 PyObject
*pyobj
= 0;
19868 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19870 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19877 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19878 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19883 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19884 PyObject
*pyobj
= 0;
19888 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19890 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19897 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19898 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19903 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19904 PyObject
*pyobj
= 0;
19908 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19910 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19917 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19918 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19923 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19924 PyObject
*pyobj
= 0;
19928 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19930 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19937 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19938 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19943 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19944 PyObject
*pyobj
= 0;
19948 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19950 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19957 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19958 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19963 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19964 PyObject
*pyobj
= 0;
19968 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19970 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19977 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19978 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19983 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19984 PyObject
*pyobj
= 0;
19988 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19990 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19997 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
19998 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
20003 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
20004 PyObject
*pyobj
= 0;
20008 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
20010 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
20017 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
20018 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
20023 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
20024 PyObject
*pyobj
= 0;
20028 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20030 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
20037 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
20038 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
20043 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
20044 PyObject
*pyobj
= 0;
20048 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20050 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
20057 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
20058 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
20063 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
20064 PyObject
*pyobj
= 0;
20068 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20070 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
20077 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
20078 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
20083 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
20084 PyObject
*pyobj
= 0;
20088 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20090 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
20097 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
20098 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
20103 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
20104 PyObject
*pyobj
= 0;
20108 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20110 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
20117 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
20118 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
20123 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
20124 PyObject
*pyobj
= 0;
20128 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20130 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
20137 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
20138 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
20143 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
20144 PyObject
*pyobj
= 0;
20148 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20150 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
20157 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
20158 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
20163 SWIGINTERN PyObject
*ART_ERROR_get(void) {
20164 PyObject
*pyobj
= 0;
20168 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20170 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
20177 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
20178 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
20183 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
20184 PyObject
*pyobj
= 0;
20188 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20190 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
20197 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
20198 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
20203 SWIGINTERN PyObject
*ART_WARNING_get(void) {
20204 PyObject
*pyobj
= 0;
20208 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20210 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
20217 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
20218 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
20223 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
20224 PyObject
*pyobj
= 0;
20228 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20230 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20237 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20238 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20243 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20244 PyObject
*pyobj
= 0;
20248 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20250 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20257 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20258 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20263 SWIGINTERN PyObject
*ART_COPY_get(void) {
20264 PyObject
*pyobj
= 0;
20268 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20270 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20277 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20278 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20283 SWIGINTERN PyObject
*ART_CUT_get(void) {
20284 PyObject
*pyobj
= 0;
20288 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20290 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20297 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20298 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20303 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20304 PyObject
*pyobj
= 0;
20308 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20310 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20317 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20318 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20323 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20324 PyObject
*pyobj
= 0;
20328 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20330 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20337 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20338 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20343 SWIGINTERN PyObject
*ART_NEW_get(void) {
20344 PyObject
*pyobj
= 0;
20348 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20350 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20357 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20358 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20363 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20364 PyObject
*pyobj
= 0;
20368 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20370 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20377 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20378 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20383 SWIGINTERN PyObject
*ART_REDO_get(void) {
20384 PyObject
*pyobj
= 0;
20388 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20390 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20397 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20398 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20403 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20404 PyObject
*pyobj
= 0;
20408 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20410 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20417 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20418 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20423 SWIGINTERN PyObject
*ART_FIND_get(void) {
20424 PyObject
*pyobj
= 0;
20428 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20430 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20437 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20438 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20443 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20444 PyObject
*pyobj
= 0;
20448 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20450 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20457 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20458 PyObject
*resultobj
= 0;
20459 wxPyArtProvider
*result
= 0 ;
20461 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20463 if (!wxPyCheckForApp()) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20476 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20477 PyObject
*resultobj
= 0;
20478 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20481 PyObject
*swig_obj
[1] ;
20483 if (!args
) SWIG_fail
;
20484 swig_obj
[0] = args
;
20485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20486 if (!SWIG_IsOK(res1
)) {
20487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20489 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= SWIG_Py_Void();
20504 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
= 0;
20506 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20507 PyObject
*arg2
= (PyObject
*) 0 ;
20508 PyObject
*arg3
= (PyObject
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 PyObject
* obj1
= 0 ;
20513 PyObject
* obj2
= 0 ;
20514 char * kwnames
[] = {
20515 (char *) "self",(char *) "self",(char *) "_class", NULL
20518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20520 if (!SWIG_IsOK(res1
)) {
20521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20523 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_Py_Void();
20539 SWIGINTERN PyObject
*_wrap_ArtProvider_Push(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
= 0;
20541 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20543 PyObject
* obj0
= 0 ;
20544 char * kwnames
[] = {
20545 (char *) "provider", NULL
20548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Push",kwnames
,&obj0
)) SWIG_fail
;
20549 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20550 if (!SWIG_IsOK(res1
)) {
20551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Push" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 wxPyArtProvider::Push(arg1
);
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 resultobj
= SWIG_Py_Void();
20566 SWIGINTERN PyObject
*_wrap_ArtProvider_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
= 0;
20568 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 char * kwnames
[] = {
20572 (char *) "provider", NULL
20575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Insert",kwnames
,&obj0
)) SWIG_fail
;
20576 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20577 if (!SWIG_IsOK(res1
)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Insert" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 wxPyArtProvider::Insert(arg1
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= SWIG_Py_Void();
20593 SWIGINTERN PyObject
*_wrap_ArtProvider_Pop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20594 PyObject
*resultobj
= 0;
20597 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_Pop",0,0,0)) SWIG_fail
;
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 result
= (bool)wxPyArtProvider::Pop();
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20613 SWIGINTERN PyObject
*_wrap_ArtProvider_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
= 0;
20615 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20619 PyObject
* obj0
= 0 ;
20620 char * kwnames
[] = {
20621 (char *) "provider", NULL
20624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Delete",kwnames
,&obj0
)) SWIG_fail
;
20625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20626 if (!SWIG_IsOK(res1
)) {
20627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Delete" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20629 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (bool)wxPyArtProvider::Delete(arg1
);
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20645 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
= 0;
20647 wxString
*arg1
= 0 ;
20648 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20649 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20650 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20651 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20653 bool temp1
= false ;
20654 bool temp2
= false ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 PyObject
* obj2
= 0 ;
20659 char * kwnames
[] = {
20660 (char *) "id",(char *) "client",(char *) "size", NULL
20663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20665 arg1
= wxString_in_helper(obj0
);
20666 if (arg1
== NULL
) SWIG_fail
;
20671 arg2
= wxString_in_helper(obj1
);
20672 if (arg2
== NULL
) SWIG_fail
;
20679 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20683 if (!wxPyCheckForApp()) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20712 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20713 PyObject
*resultobj
= 0;
20714 wxString
*arg1
= 0 ;
20715 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20716 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20717 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20718 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20720 bool temp1
= false ;
20721 bool temp2
= false ;
20723 PyObject
* obj0
= 0 ;
20724 PyObject
* obj1
= 0 ;
20725 PyObject
* obj2
= 0 ;
20726 char * kwnames
[] = {
20727 (char *) "id",(char *) "client",(char *) "size", NULL
20730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20732 arg1
= wxString_in_helper(obj0
);
20733 if (arg1
== NULL
) SWIG_fail
;
20738 arg2
= wxString_in_helper(obj1
);
20739 if (arg2
== NULL
) SWIG_fail
;
20746 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20750 if (!wxPyCheckForApp()) SWIG_fail
;
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20779 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
= 0;
20781 wxString
*arg1
= 0 ;
20782 bool arg2
= (bool) false ;
20784 bool temp1
= false ;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 char * kwnames
[] = {
20790 (char *) "client",(char *) "platform_dependent", NULL
20793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20795 arg1
= wxString_in_helper(obj0
);
20796 if (arg1
== NULL
) SWIG_fail
;
20800 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20801 if (!SWIG_IsOK(ecode2
)) {
20802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20804 arg2
= static_cast< bool >(val2
);
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20827 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20828 PyObject
*resultobj
= 0;
20829 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20832 PyObject
*swig_obj
[1] ;
20834 if (!args
) SWIG_fail
;
20835 swig_obj
[0] = args
;
20836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20837 if (!SWIG_IsOK(res1
)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20840 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 wxPyArtProvider_Destroy(arg1
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_Py_Void();
20854 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20857 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20858 return SWIG_Py_Void();
20861 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20862 return SWIG_Python_InitShadowInstance(args
);
20865 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20866 PyObject
*resultobj
= 0;
20867 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20870 PyObject
*swig_obj
[1] ;
20872 if (!args
) SWIG_fail
;
20873 swig_obj
[0] = args
;
20874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20875 if (!SWIG_IsOK(res1
)) {
20876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20878 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= SWIG_Py_Void();
20893 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
= 0;
20895 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20896 wxConfigBase
*result
= 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char * kwnames
[] = {
20900 (char *) "config", NULL
20903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20904 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20905 if (!SWIG_IsOK(res1
)) {
20906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20921 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
= 0;
20923 bool arg1
= (bool) true ;
20924 wxConfigBase
*result
= 0 ;
20927 PyObject
* obj0
= 0 ;
20928 char * kwnames
[] = {
20929 (char *) "createOnDemand", NULL
20932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20934 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20935 if (!SWIG_IsOK(ecode1
)) {
20936 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20938 arg1
= static_cast< bool >(val1
);
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20953 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20954 PyObject
*resultobj
= 0;
20955 wxConfigBase
*result
= 0 ;
20957 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (wxConfigBase
*)wxConfigBase::Create();
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20971 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20972 PyObject
*resultobj
= 0;
20974 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 wxConfigBase::DontCreateOnDemand();
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 resultobj
= SWIG_Py_Void();
20988 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
= 0;
20990 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20991 wxString
*arg2
= 0 ;
20994 bool temp2
= false ;
20995 PyObject
* obj0
= 0 ;
20996 PyObject
* obj1
= 0 ;
20997 char * kwnames
[] = {
20998 (char *) "self",(char *) "path", NULL
21001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21003 if (!SWIG_IsOK(res1
)) {
21004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21006 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21008 arg2
= wxString_in_helper(obj1
);
21009 if (arg2
== NULL
) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 (arg1
)->SetPath((wxString
const &)*arg2
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= SWIG_Py_Void();
21033 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21034 PyObject
*resultobj
= 0;
21035 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21036 wxString
*result
= 0 ;
21039 PyObject
*swig_obj
[1] ;
21041 if (!args
) SWIG_fail
;
21042 swig_obj
[0] = args
;
21043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21044 if (!SWIG_IsOK(res1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21047 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
21052 result
= (wxString
*) &_result_ref
;
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21061 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21070 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21071 PyObject
*resultobj
= 0;
21072 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21073 PyObject
*result
= 0 ;
21076 PyObject
*swig_obj
[1] ;
21078 if (!args
) SWIG_fail
;
21079 swig_obj
[0] = args
;
21080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21081 if (!SWIG_IsOK(res1
)) {
21082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21084 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= result
;
21098 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
= 0;
21100 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21102 PyObject
*result
= 0 ;
21107 PyObject
* obj0
= 0 ;
21108 PyObject
* obj1
= 0 ;
21109 char * kwnames
[] = {
21110 (char *) "self",(char *) "index", NULL
21113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21115 if (!SWIG_IsOK(res1
)) {
21116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21118 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21119 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21120 if (!SWIG_IsOK(ecode2
)) {
21121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
21123 arg2
= static_cast< long >(val2
);
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 resultobj
= result
;
21137 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21138 PyObject
*resultobj
= 0;
21139 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21140 PyObject
*result
= 0 ;
21143 PyObject
*swig_obj
[1] ;
21145 if (!args
) SWIG_fail
;
21146 swig_obj
[0] = args
;
21147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21148 if (!SWIG_IsOK(res1
)) {
21149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21151 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= result
;
21165 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21166 PyObject
*resultobj
= 0;
21167 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21169 PyObject
*result
= 0 ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 char * kwnames
[] = {
21177 (char *) "self",(char *) "index", NULL
21180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21182 if (!SWIG_IsOK(res1
)) {
21183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21185 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21186 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21187 if (!SWIG_IsOK(ecode2
)) {
21188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
21190 arg2
= static_cast< long >(val2
);
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= result
;
21204 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(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_GetNumberOfEntries",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_GetNumberOfEntries" "', 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_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
21230 arg2
= static_cast< bool >(val2
);
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21234 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(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_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
= 0;
21247 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21248 bool arg2
= (bool) false ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 char * kwnames
[] = {
21257 (char *) "self",(char *) "recursive", NULL
21260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21262 if (!SWIG_IsOK(res1
)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21265 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21267 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21268 if (!SWIG_IsOK(ecode2
)) {
21269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21271 arg2
= static_cast< bool >(val2
);
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21276 wxPyEndAllowThreads(__tstate
);
21277 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21286 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
= 0;
21288 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21289 wxString
*arg2
= 0 ;
21293 bool temp2
= false ;
21294 PyObject
* obj0
= 0 ;
21295 PyObject
* obj1
= 0 ;
21296 char * kwnames
[] = {
21297 (char *) "self",(char *) "name", NULL
21300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21302 if (!SWIG_IsOK(res1
)) {
21303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21305 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21307 arg2
= wxString_in_helper(obj1
);
21308 if (arg2
== NULL
) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21334 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
= 0;
21336 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21337 wxString
*arg2
= 0 ;
21341 bool temp2
= false ;
21342 PyObject
* obj0
= 0 ;
21343 PyObject
* obj1
= 0 ;
21344 char * kwnames
[] = {
21345 (char *) "self",(char *) "name", NULL
21348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21350 if (!SWIG_IsOK(res1
)) {
21351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21353 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21355 arg2
= wxString_in_helper(obj1
);
21356 if (arg2
== NULL
) SWIG_fail
;
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21382 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
= 0;
21384 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21385 wxString
*arg2
= 0 ;
21389 bool temp2
= false ;
21390 PyObject
* obj0
= 0 ;
21391 PyObject
* obj1
= 0 ;
21392 char * kwnames
[] = {
21393 (char *) "self",(char *) "name", NULL
21396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21398 if (!SWIG_IsOK(res1
)) {
21399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21401 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21403 arg2
= wxString_in_helper(obj1
);
21404 if (arg2
== NULL
) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21430 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
= 0;
21432 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21433 wxString
*arg2
= 0 ;
21434 wxConfigBase::EntryType result
;
21437 bool temp2
= false ;
21438 PyObject
* obj0
= 0 ;
21439 PyObject
* obj1
= 0 ;
21440 char * kwnames
[] = {
21441 (char *) "self",(char *) "name", NULL
21444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21446 if (!SWIG_IsOK(res1
)) {
21447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21449 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21451 arg2
= wxString_in_helper(obj1
);
21452 if (arg2
== NULL
) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= SWIG_From_int(static_cast< int >(result
));
21476 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
= 0;
21478 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21479 wxString
*arg2
= 0 ;
21480 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21481 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21485 bool temp2
= false ;
21486 bool temp3
= false ;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 PyObject
* obj2
= 0 ;
21490 char * kwnames
[] = {
21491 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21496 if (!SWIG_IsOK(res1
)) {
21497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21499 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21501 arg2
= wxString_in_helper(obj1
);
21502 if (arg2
== NULL
) SWIG_fail
;
21507 arg3
= wxString_in_helper(obj2
);
21508 if (arg3
== NULL
) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21547 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21548 PyObject
*resultobj
= 0;
21549 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21550 wxString
*arg2
= 0 ;
21551 long arg3
= (long) 0 ;
21555 bool temp2
= false ;
21558 PyObject
* obj0
= 0 ;
21559 PyObject
* obj1
= 0 ;
21560 PyObject
* obj2
= 0 ;
21561 char * kwnames
[] = {
21562 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21567 if (!SWIG_IsOK(res1
)) {
21568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21570 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21572 arg2
= wxString_in_helper(obj1
);
21573 if (arg2
== NULL
) SWIG_fail
;
21577 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21578 if (!SWIG_IsOK(ecode3
)) {
21579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21581 arg3
= static_cast< long >(val3
);
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_From_long(static_cast< long >(result
));
21604 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
= 0;
21606 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21607 wxString
*arg2
= 0 ;
21608 double arg3
= (double) 0.0 ;
21612 bool temp2
= false ;
21615 PyObject
* obj0
= 0 ;
21616 PyObject
* obj1
= 0 ;
21617 PyObject
* obj2
= 0 ;
21618 char * kwnames
[] = {
21619 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21624 if (!SWIG_IsOK(res1
)) {
21625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21627 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21629 arg2
= wxString_in_helper(obj1
);
21630 if (arg2
== NULL
) SWIG_fail
;
21634 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21635 if (!SWIG_IsOK(ecode3
)) {
21636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21638 arg3
= static_cast< double >(val3
);
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 resultobj
= SWIG_From_double(static_cast< double >(result
));
21661 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
= 0;
21663 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21664 wxString
*arg2
= 0 ;
21665 bool arg3
= (bool) false ;
21669 bool temp2
= false ;
21672 PyObject
* obj0
= 0 ;
21673 PyObject
* obj1
= 0 ;
21674 PyObject
* obj2
= 0 ;
21675 char * kwnames
[] = {
21676 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21681 if (!SWIG_IsOK(res1
)) {
21682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21684 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21686 arg2
= wxString_in_helper(obj1
);
21687 if (arg2
== NULL
) SWIG_fail
;
21691 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21692 if (!SWIG_IsOK(ecode3
)) {
21693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21695 arg3
= static_cast< bool >(val3
);
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21720 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
= 0;
21722 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21723 wxString
*arg2
= 0 ;
21724 wxString
*arg3
= 0 ;
21728 bool temp2
= false ;
21729 bool temp3
= false ;
21730 PyObject
* obj0
= 0 ;
21731 PyObject
* obj1
= 0 ;
21732 PyObject
* obj2
= 0 ;
21733 char * kwnames
[] = {
21734 (char *) "self",(char *) "key",(char *) "value", NULL
21737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21739 if (!SWIG_IsOK(res1
)) {
21740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21742 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21744 arg2
= wxString_in_helper(obj1
);
21745 if (arg2
== NULL
) SWIG_fail
;
21749 arg3
= wxString_in_helper(obj2
);
21750 if (arg3
== NULL
) SWIG_fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21784 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
= 0;
21786 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21787 wxString
*arg2
= 0 ;
21792 bool temp2
= false ;
21795 PyObject
* obj0
= 0 ;
21796 PyObject
* obj1
= 0 ;
21797 PyObject
* obj2
= 0 ;
21798 char * kwnames
[] = {
21799 (char *) "self",(char *) "key",(char *) "value", NULL
21802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21804 if (!SWIG_IsOK(res1
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21807 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21809 arg2
= wxString_in_helper(obj1
);
21810 if (arg2
== NULL
) SWIG_fail
;
21813 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21814 if (!SWIG_IsOK(ecode3
)) {
21815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21817 arg3
= static_cast< long >(val3
);
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21841 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
= 0;
21843 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21844 wxString
*arg2
= 0 ;
21849 bool temp2
= false ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 PyObject
* obj2
= 0 ;
21855 char * kwnames
[] = {
21856 (char *) "self",(char *) "key",(char *) "value", NULL
21859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21861 if (!SWIG_IsOK(res1
)) {
21862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21864 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21866 arg2
= wxString_in_helper(obj1
);
21867 if (arg2
== NULL
) SWIG_fail
;
21870 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21871 if (!SWIG_IsOK(ecode3
)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21874 arg3
= static_cast< double >(val3
);
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21898 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
= 0;
21900 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21901 wxString
*arg2
= 0 ;
21906 bool temp2
= false ;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 PyObject
* obj2
= 0 ;
21912 char * kwnames
[] = {
21913 (char *) "self",(char *) "key",(char *) "value", NULL
21916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21918 if (!SWIG_IsOK(res1
)) {
21919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21921 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21923 arg2
= wxString_in_helper(obj1
);
21924 if (arg2
== NULL
) SWIG_fail
;
21927 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21928 if (!SWIG_IsOK(ecode3
)) {
21929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21931 arg3
= static_cast< bool >(val3
);
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21955 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
= 0;
21957 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21958 bool arg2
= (bool) false ;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 char * kwnames
[] = {
21967 (char *) "self",(char *) "currentOnly", NULL
21970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21972 if (!SWIG_IsOK(res1
)) {
21973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21975 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21977 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21978 if (!SWIG_IsOK(ecode2
)) {
21979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21981 arg2
= static_cast< bool >(val2
);
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 result
= (bool)(arg1
)->Flush(arg2
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21998 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
= 0;
22000 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22001 wxString
*arg2
= 0 ;
22002 wxString
*arg3
= 0 ;
22006 bool temp2
= false ;
22007 bool temp3
= false ;
22008 PyObject
* obj0
= 0 ;
22009 PyObject
* obj1
= 0 ;
22010 PyObject
* obj2
= 0 ;
22011 char * kwnames
[] = {
22012 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22017 if (!SWIG_IsOK(res1
)) {
22018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22020 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22022 arg2
= wxString_in_helper(obj1
);
22023 if (arg2
== NULL
) SWIG_fail
;
22027 arg3
= wxString_in_helper(obj2
);
22028 if (arg3
== NULL
) SWIG_fail
;
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22062 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
= 0;
22064 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22065 wxString
*arg2
= 0 ;
22066 wxString
*arg3
= 0 ;
22070 bool temp2
= false ;
22071 bool temp3
= false ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 PyObject
* obj2
= 0 ;
22075 char * kwnames
[] = {
22076 (char *) "self",(char *) "oldName",(char *) "newName", NULL
22079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22081 if (!SWIG_IsOK(res1
)) {
22082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22084 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22086 arg2
= wxString_in_helper(obj1
);
22087 if (arg2
== NULL
) SWIG_fail
;
22091 arg3
= wxString_in_helper(obj2
);
22092 if (arg3
== NULL
) SWIG_fail
;
22096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22097 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
22098 wxPyEndAllowThreads(__tstate
);
22099 if (PyErr_Occurred()) SWIG_fail
;
22102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22126 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
= 0;
22128 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22129 wxString
*arg2
= 0 ;
22130 bool arg3
= (bool) true ;
22134 bool temp2
= false ;
22137 PyObject
* obj0
= 0 ;
22138 PyObject
* obj1
= 0 ;
22139 PyObject
* obj2
= 0 ;
22140 char * kwnames
[] = {
22141 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
22144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22146 if (!SWIG_IsOK(res1
)) {
22147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22149 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22151 arg2
= wxString_in_helper(obj1
);
22152 if (arg2
== NULL
) SWIG_fail
;
22156 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22157 if (!SWIG_IsOK(ecode3
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
22160 arg3
= static_cast< bool >(val3
);
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22185 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22186 PyObject
*resultobj
= 0;
22187 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22188 wxString
*arg2
= 0 ;
22192 bool temp2
= false ;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 char * kwnames
[] = {
22196 (char *) "self",(char *) "key", NULL
22199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22201 if (!SWIG_IsOK(res1
)) {
22202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22204 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22206 arg2
= wxString_in_helper(obj1
);
22207 if (arg2
== NULL
) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
22213 wxPyEndAllowThreads(__tstate
);
22214 if (PyErr_Occurred()) SWIG_fail
;
22217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22233 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22234 PyObject
*resultobj
= 0;
22235 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22239 PyObject
*swig_obj
[1] ;
22241 if (!args
) SWIG_fail
;
22242 swig_obj
[0] = args
;
22243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22244 if (!SWIG_IsOK(res1
)) {
22245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22247 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 result
= (bool)(arg1
)->DeleteAll();
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22263 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
= 0;
22265 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22266 bool arg2
= (bool) true ;
22271 PyObject
* obj0
= 0 ;
22272 PyObject
* obj1
= 0 ;
22273 char * kwnames
[] = {
22274 (char *) "self",(char *) "doIt", NULL
22277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22279 if (!SWIG_IsOK(res1
)) {
22280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22282 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22284 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22285 if (!SWIG_IsOK(ecode2
)) {
22286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22288 arg2
= static_cast< bool >(val2
);
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 (arg1
)->SetExpandEnvVars(arg2
);
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 resultobj
= SWIG_Py_Void();
22303 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22304 PyObject
*resultobj
= 0;
22305 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22309 PyObject
*swig_obj
[1] ;
22311 if (!args
) SWIG_fail
;
22312 swig_obj
[0] = args
;
22313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22314 if (!SWIG_IsOK(res1
)) {
22315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22317 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22333 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22334 PyObject
*resultobj
= 0;
22335 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22336 bool arg2
= (bool) true ;
22341 PyObject
* obj0
= 0 ;
22342 PyObject
* obj1
= 0 ;
22343 char * kwnames
[] = {
22344 (char *) "self",(char *) "doIt", NULL
22347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22349 if (!SWIG_IsOK(res1
)) {
22350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22352 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22354 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22355 if (!SWIG_IsOK(ecode2
)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22358 arg2
= static_cast< bool >(val2
);
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 (arg1
)->SetRecordDefaults(arg2
);
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22366 resultobj
= SWIG_Py_Void();
22373 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22374 PyObject
*resultobj
= 0;
22375 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22379 PyObject
*swig_obj
[1] ;
22381 if (!args
) SWIG_fail
;
22382 swig_obj
[0] = args
;
22383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22384 if (!SWIG_IsOK(res1
)) {
22385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22387 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22403 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
= 0;
22405 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22406 wxString
*arg2
= 0 ;
22410 bool temp2
= false ;
22411 PyObject
* obj0
= 0 ;
22412 PyObject
* obj1
= 0 ;
22413 char * kwnames
[] = {
22414 (char *) "self",(char *) "str", NULL
22417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22419 if (!SWIG_IsOK(res1
)) {
22420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22422 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22424 arg2
= wxString_in_helper(obj1
);
22425 if (arg2
== NULL
) SWIG_fail
;
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22455 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22456 PyObject
*resultobj
= 0;
22457 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22461 PyObject
*swig_obj
[1] ;
22463 if (!args
) SWIG_fail
;
22464 swig_obj
[0] = args
;
22465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22466 if (!SWIG_IsOK(res1
)) {
22467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22469 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22472 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22489 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22490 PyObject
*resultobj
= 0;
22491 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22495 PyObject
*swig_obj
[1] ;
22497 if (!args
) SWIG_fail
;
22498 swig_obj
[0] = args
;
22499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22500 if (!SWIG_IsOK(res1
)) {
22501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22503 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22523 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
= 0;
22525 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22526 wxString
*arg2
= 0 ;
22529 bool temp2
= false ;
22530 PyObject
* obj0
= 0 ;
22531 PyObject
* obj1
= 0 ;
22532 char * kwnames
[] = {
22533 (char *) "self",(char *) "appName", NULL
22536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22538 if (!SWIG_IsOK(res1
)) {
22539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22541 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22543 arg2
= wxString_in_helper(obj1
);
22544 if (arg2
== NULL
) SWIG_fail
;
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 (arg1
)->SetAppName((wxString
const &)*arg2
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_Py_Void();
22568 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
= 0;
22570 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22571 wxString
*arg2
= 0 ;
22574 bool temp2
= false ;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 char * kwnames
[] = {
22578 (char *) "self",(char *) "vendorName", NULL
22581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22583 if (!SWIG_IsOK(res1
)) {
22584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22586 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22588 arg2
= wxString_in_helper(obj1
);
22589 if (arg2
== NULL
) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 resultobj
= SWIG_Py_Void();
22613 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22614 PyObject
*resultobj
= 0;
22615 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22621 PyObject
* obj0
= 0 ;
22622 PyObject
* obj1
= 0 ;
22623 char * kwnames
[] = {
22624 (char *) "self",(char *) "style", NULL
22627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22629 if (!SWIG_IsOK(res1
)) {
22630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22632 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22633 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22634 if (!SWIG_IsOK(ecode2
)) {
22635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22637 arg2
= static_cast< long >(val2
);
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 (arg1
)->SetStyle(arg2
);
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22644 resultobj
= SWIG_Py_Void();
22651 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22652 PyObject
*resultobj
= 0;
22653 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22657 PyObject
*swig_obj
[1] ;
22659 if (!args
) SWIG_fail
;
22660 swig_obj
[0] = args
;
22661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22662 if (!SWIG_IsOK(res1
)) {
22663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22665 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= SWIG_From_long(static_cast< long >(result
));
22679 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22682 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22683 return SWIG_Py_Void();
22686 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
= 0;
22688 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22689 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22690 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22691 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22692 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22693 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22694 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22695 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22696 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22697 wxConfig
*result
= 0 ;
22698 bool temp1
= false ;
22699 bool temp2
= false ;
22700 bool temp3
= false ;
22701 bool temp4
= false ;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 PyObject
* obj2
= 0 ;
22707 PyObject
* obj3
= 0 ;
22708 PyObject
* obj4
= 0 ;
22709 char * kwnames
[] = {
22710 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22716 arg1
= wxString_in_helper(obj0
);
22717 if (arg1
== NULL
) SWIG_fail
;
22723 arg2
= wxString_in_helper(obj1
);
22724 if (arg2
== NULL
) SWIG_fail
;
22730 arg3
= wxString_in_helper(obj2
);
22731 if (arg3
== NULL
) SWIG_fail
;
22737 arg4
= wxString_in_helper(obj3
);
22738 if (arg4
== NULL
) SWIG_fail
;
22743 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22744 if (!SWIG_IsOK(ecode5
)) {
22745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22747 arg5
= static_cast< long >(val5
);
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22794 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22795 PyObject
*resultobj
= 0;
22796 wxConfig
*arg1
= (wxConfig
*) 0 ;
22799 PyObject
*swig_obj
[1] ;
22801 if (!args
) SWIG_fail
;
22802 swig_obj
[0] = args
;
22803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22804 if (!SWIG_IsOK(res1
)) {
22805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22807 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_Py_Void();
22822 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22825 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22826 return SWIG_Py_Void();
22829 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22830 return SWIG_Python_InitShadowInstance(args
);
22833 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
= 0;
22835 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22836 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22837 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22838 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22839 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22840 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22841 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22842 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22843 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22844 wxFileConfig
*result
= 0 ;
22845 bool temp1
= false ;
22846 bool temp2
= false ;
22847 bool temp3
= false ;
22848 bool temp4
= false ;
22851 PyObject
* obj0
= 0 ;
22852 PyObject
* obj1
= 0 ;
22853 PyObject
* obj2
= 0 ;
22854 PyObject
* obj3
= 0 ;
22855 PyObject
* obj4
= 0 ;
22856 char * kwnames
[] = {
22857 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22863 arg1
= wxString_in_helper(obj0
);
22864 if (arg1
== NULL
) SWIG_fail
;
22870 arg2
= wxString_in_helper(obj1
);
22871 if (arg2
== NULL
) SWIG_fail
;
22877 arg3
= wxString_in_helper(obj2
);
22878 if (arg3
== NULL
) SWIG_fail
;
22884 arg4
= wxString_in_helper(obj3
);
22885 if (arg4
== NULL
) SWIG_fail
;
22890 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22891 if (!SWIG_IsOK(ecode5
)) {
22892 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22894 arg5
= static_cast< long >(val5
);
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22941 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22942 PyObject
*resultobj
= 0;
22943 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22946 PyObject
*swig_obj
[1] ;
22948 if (!args
) SWIG_fail
;
22949 swig_obj
[0] = args
;
22950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22951 if (!SWIG_IsOK(res1
)) {
22952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22954 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_Py_Void();
22969 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22972 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22973 return SWIG_Py_Void();
22976 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22977 return SWIG_Python_InitShadowInstance(args
);
22980 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
= 0;
22982 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22983 wxString
*arg2
= 0 ;
22984 wxConfigPathChanger
*result
= 0 ;
22987 bool temp2
= false ;
22988 PyObject
* obj0
= 0 ;
22989 PyObject
* obj1
= 0 ;
22990 char * kwnames
[] = {
22991 (char *) "config",(char *) "entry", NULL
22994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22996 if (!SWIG_IsOK(res1
)) {
22997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22999 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
23001 arg2
= wxString_in_helper(obj1
);
23002 if (arg2
== NULL
) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
23026 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23027 PyObject
*resultobj
= 0;
23028 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23031 PyObject
*swig_obj
[1] ;
23033 if (!args
) SWIG_fail
;
23034 swig_obj
[0] = args
;
23035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
23039 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_Py_Void();
23054 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23055 PyObject
*resultobj
= 0;
23056 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
23057 wxString
*result
= 0 ;
23060 PyObject
*swig_obj
[1] ;
23062 if (!args
) SWIG_fail
;
23063 swig_obj
[0] = args
;
23064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
23065 if (!SWIG_IsOK(res1
)) {
23066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
23068 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
23073 result
= (wxString
*) &_result_ref
;
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23082 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23091 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23094 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
23095 return SWIG_Py_Void();
23098 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23099 return SWIG_Python_InitShadowInstance(args
);
23102 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
= 0;
23104 wxString
*arg1
= 0 ;
23106 bool temp1
= false ;
23107 PyObject
* obj0
= 0 ;
23108 char * kwnames
[] = {
23109 (char *) "sz", NULL
23112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
23114 arg1
= wxString_in_helper(obj0
);
23115 if (arg1
== NULL
) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= wxExpandEnvVars((wxString
const &)*arg1
);
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23145 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
23146 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
23151 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
23152 PyObject
*pyobj
= 0;
23156 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23158 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
23165 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
23166 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
23171 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
23172 PyObject
*pyobj
= 0;
23176 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23178 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
23185 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
= 0;
23187 wxDateTime::Country arg1
;
23190 PyObject
* obj0
= 0 ;
23191 char * kwnames
[] = {
23192 (char *) "country", NULL
23195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
23196 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23197 if (!SWIG_IsOK(ecode1
)) {
23198 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23200 arg1
= static_cast< wxDateTime::Country
>(val1
);
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 wxDateTime::SetCountry(arg1
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_Py_Void();
23214 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23215 PyObject
*resultobj
= 0;
23216 wxDateTime::Country result
;
23218 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= SWIG_From_int(static_cast< int >(result
));
23232 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
= 0;
23234 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23238 PyObject
* obj0
= 0 ;
23239 char * kwnames
[] = {
23240 (char *) "country", NULL
23243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
23245 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23246 if (!SWIG_IsOK(ecode1
)) {
23247 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
23249 arg1
= static_cast< wxDateTime::Country
>(val1
);
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23266 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
= 0;
23268 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23272 PyObject
* obj0
= 0 ;
23273 char * kwnames
[] = {
23274 (char *) "cal", NULL
23277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23279 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23280 if (!SWIG_IsOK(ecode1
)) {
23281 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23283 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= SWIG_From_int(static_cast< int >(result
));
23298 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
= 0;
23304 PyObject
* obj0
= 0 ;
23305 char * kwnames
[] = {
23306 (char *) "year", NULL
23309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23310 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23311 if (!SWIG_IsOK(ecode1
)) {
23312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23314 arg1
= static_cast< int >(val1
);
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= SWIG_From_int(static_cast< int >(result
));
23328 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
= 0;
23330 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23331 wxDateTime::Month result
;
23334 PyObject
* obj0
= 0 ;
23335 char * kwnames
[] = {
23336 (char *) "cal", NULL
23339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23341 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23342 if (!SWIG_IsOK(ecode1
)) {
23343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23345 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23353 resultobj
= SWIG_From_int(static_cast< int >(result
));
23360 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
= 0;
23362 int arg1
= (int) wxDateTime::Inv_Year
;
23363 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 char * kwnames
[] = {
23372 (char *) "year",(char *) "cal", NULL
23375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23377 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23378 if (!SWIG_IsOK(ecode1
)) {
23379 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23381 arg1
= static_cast< int >(val1
);
23384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23385 if (!SWIG_IsOK(ecode2
)) {
23386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23388 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23405 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
= 0;
23407 int arg1
= (int) wxDateTime::Inv_Year
;
23411 PyObject
* obj0
= 0 ;
23412 char * kwnames
[] = {
23413 (char *) "year", NULL
23416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23418 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23419 if (!SWIG_IsOK(ecode1
)) {
23420 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23422 arg1
= static_cast< int >(val1
);
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 result
= (int)wxDateTime::GetCentury(arg1
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 resultobj
= SWIG_From_int(static_cast< int >(result
));
23437 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
= 0;
23440 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23446 PyObject
* obj0
= 0 ;
23447 PyObject
* obj1
= 0 ;
23448 char * kwnames
[] = {
23449 (char *) "year",(char *) "cal", NULL
23452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23453 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23454 if (!SWIG_IsOK(ecode1
)) {
23455 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23457 arg1
= static_cast< int >(val1
);
23459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23460 if (!SWIG_IsOK(ecode2
)) {
23461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23463 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= SWIG_From_int(static_cast< int >(result
));
23478 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
= 0;
23480 wxDateTime::Month arg1
;
23481 int arg2
= (int) wxDateTime::Inv_Year
;
23482 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23490 PyObject
* obj0
= 0 ;
23491 PyObject
* obj1
= 0 ;
23492 PyObject
* obj2
= 0 ;
23493 char * kwnames
[] = {
23494 (char *) "month",(char *) "year",(char *) "cal", NULL
23497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23498 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23499 if (!SWIG_IsOK(ecode1
)) {
23500 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23502 arg1
= static_cast< wxDateTime::Month
>(val1
);
23504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23505 if (!SWIG_IsOK(ecode2
)) {
23506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23508 arg2
= static_cast< int >(val2
);
23511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23512 if (!SWIG_IsOK(ecode3
)) {
23513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23515 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_From_int(static_cast< int >(result
));
23530 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
= 0;
23532 wxDateTime::Month arg1
;
23533 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char * kwnames
[] = {
23542 (char *) "month",(char *) "flags", NULL
23545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23546 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23547 if (!SWIG_IsOK(ecode1
)) {
23548 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23550 arg1
= static_cast< wxDateTime::Month
>(val1
);
23552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23553 if (!SWIG_IsOK(ecode2
)) {
23554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23556 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23560 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23577 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23578 PyObject
*resultobj
= 0;
23579 wxDateTime::WeekDay arg1
;
23580 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23586 PyObject
* obj0
= 0 ;
23587 PyObject
* obj1
= 0 ;
23588 char * kwnames
[] = {
23589 (char *) "weekday",(char *) "flags", NULL
23592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23593 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23594 if (!SWIG_IsOK(ecode1
)) {
23595 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23597 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23600 if (!SWIG_IsOK(ecode2
)) {
23601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23603 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23624 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23625 PyObject
*resultobj
= 0;
23626 PyObject
*result
= 0 ;
23628 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= result
;
23642 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
= 0;
23644 int arg1
= (int) wxDateTime::Inv_Year
;
23645 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23651 PyObject
* obj0
= 0 ;
23652 PyObject
* obj1
= 0 ;
23653 char * kwnames
[] = {
23654 (char *) "year",(char *) "country", NULL
23657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23659 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23660 if (!SWIG_IsOK(ecode1
)) {
23661 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23663 arg1
= static_cast< int >(val1
);
23666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23667 if (!SWIG_IsOK(ecode2
)) {
23668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23670 arg2
= static_cast< wxDateTime::Country
>(val2
);
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23687 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
= 0;
23689 int arg1
= (int) wxDateTime::Inv_Year
;
23690 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23696 PyObject
* obj0
= 0 ;
23697 PyObject
* obj1
= 0 ;
23698 char * kwnames
[] = {
23699 (char *) "year",(char *) "country", NULL
23702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23705 if (!SWIG_IsOK(ecode1
)) {
23706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23708 arg1
= static_cast< int >(val1
);
23711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23712 if (!SWIG_IsOK(ecode2
)) {
23713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23715 arg2
= static_cast< wxDateTime::Country
>(val2
);
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23730 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
= 0;
23732 int arg1
= (int) wxDateTime::Inv_Year
;
23733 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23739 PyObject
* obj0
= 0 ;
23740 PyObject
* obj1
= 0 ;
23741 char * kwnames
[] = {
23742 (char *) "year",(char *) "country", NULL
23745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23748 if (!SWIG_IsOK(ecode1
)) {
23749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23751 arg1
= static_cast< int >(val1
);
23754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23755 if (!SWIG_IsOK(ecode2
)) {
23756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23758 arg2
= static_cast< wxDateTime::Country
>(val2
);
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23773 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23774 PyObject
*resultobj
= 0;
23777 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= wxDateTime::Now();
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23791 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23792 PyObject
*resultobj
= 0;
23795 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= wxDateTime::UNow();
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23809 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23810 PyObject
*resultobj
= 0;
23813 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= wxDateTime::Today();
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23827 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23828 PyObject
*resultobj
= 0;
23829 wxDateTime
*result
= 0 ;
23831 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= (wxDateTime
*)new wxDateTime();
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23845 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
= 0;
23848 wxDateTime
*result
= 0 ;
23849 unsigned int val1
;
23851 PyObject
* obj0
= 0 ;
23852 char * kwnames
[] = {
23853 (char *) "timet", NULL
23856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23857 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23858 if (!SWIG_IsOK(ecode1
)) {
23859 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23861 arg1
= static_cast< time_t >(val1
);
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (wxDateTime
*)new wxDateTime(arg1
);
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23875 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23876 PyObject
*resultobj
= 0;
23878 wxDateTime
*result
= 0 ;
23881 PyObject
* obj0
= 0 ;
23882 char * kwnames
[] = {
23883 (char *) "jdn", NULL
23886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23887 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23888 if (!SWIG_IsOK(ecode1
)) {
23889 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23891 arg1
= static_cast< double >(val1
);
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (wxDateTime
*)new wxDateTime(arg1
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23905 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
= 0;
23908 int arg2
= (int) 0 ;
23909 int arg3
= (int) 0 ;
23910 int arg4
= (int) 0 ;
23911 wxDateTime
*result
= 0 ;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 PyObject
* obj2
= 0 ;
23923 PyObject
* obj3
= 0 ;
23924 char * kwnames
[] = {
23925 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23929 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23930 if (!SWIG_IsOK(ecode1
)) {
23931 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23933 arg1
= static_cast< int >(val1
);
23935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23936 if (!SWIG_IsOK(ecode2
)) {
23937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23939 arg2
= static_cast< int >(val2
);
23942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23943 if (!SWIG_IsOK(ecode3
)) {
23944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23946 arg3
= static_cast< int >(val3
);
23949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23950 if (!SWIG_IsOK(ecode4
)) {
23951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23953 arg4
= static_cast< int >(val4
);
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23968 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
= 0;
23971 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23972 int arg3
= (int) wxDateTime::Inv_Year
;
23973 int arg4
= (int) 0 ;
23974 int arg5
= (int) 0 ;
23975 int arg6
= (int) 0 ;
23976 int arg7
= (int) 0 ;
23977 wxDateTime
*result
= 0 ;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 PyObject
* obj2
= 0 ;
23995 PyObject
* obj3
= 0 ;
23996 PyObject
* obj4
= 0 ;
23997 PyObject
* obj5
= 0 ;
23998 PyObject
* obj6
= 0 ;
23999 char * kwnames
[] = {
24000 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24005 if (!SWIG_IsOK(ecode1
)) {
24006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
24008 arg1
= static_cast< int >(val1
);
24010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24011 if (!SWIG_IsOK(ecode2
)) {
24012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24014 arg2
= static_cast< wxDateTime::Month
>(val2
);
24017 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24018 if (!SWIG_IsOK(ecode3
)) {
24019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
24021 arg3
= static_cast< int >(val3
);
24024 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24025 if (!SWIG_IsOK(ecode4
)) {
24026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
24028 arg4
= static_cast< int >(val4
);
24031 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24032 if (!SWIG_IsOK(ecode5
)) {
24033 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
24035 arg5
= static_cast< int >(val5
);
24038 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24039 if (!SWIG_IsOK(ecode6
)) {
24040 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
24042 arg6
= static_cast< int >(val6
);
24045 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24046 if (!SWIG_IsOK(ecode7
)) {
24047 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
24049 arg7
= static_cast< int >(val7
);
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24064 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
= 0;
24066 wxDateTime
*arg1
= 0 ;
24067 wxDateTime
*result
= 0 ;
24070 PyObject
* obj0
= 0 ;
24071 char * kwnames
[] = {
24072 (char *) "date", NULL
24075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
24076 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
24077 if (!SWIG_IsOK(res1
)) {
24078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
24083 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24097 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24098 PyObject
*resultobj
= 0;
24099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24102 PyObject
*swig_obj
[1] ;
24104 if (!args
) SWIG_fail
;
24105 swig_obj
[0] = args
;
24106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
24107 if (!SWIG_IsOK(res1
)) {
24108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24110 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= SWIG_Py_Void();
24125 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24126 PyObject
*resultobj
= 0;
24127 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24128 wxDateTime
*result
= 0 ;
24131 PyObject
*swig_obj
[1] ;
24133 if (!args
) SWIG_fail
;
24134 swig_obj
[0] = args
;
24135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24136 if (!SWIG_IsOK(res1
)) {
24137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
24139 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
24144 result
= (wxDateTime
*) &_result_ref
;
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24156 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
= 0;
24158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24160 wxDateTime
*result
= 0 ;
24163 unsigned int val2
;
24165 PyObject
* obj0
= 0 ;
24166 PyObject
* obj1
= 0 ;
24167 char * kwnames
[] = {
24168 (char *) "self",(char *) "timet", NULL
24171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24173 if (!SWIG_IsOK(res1
)) {
24174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24176 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24177 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
24178 if (!SWIG_IsOK(ecode2
)) {
24179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
24181 arg2
= static_cast< time_t >(val2
);
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24186 result
= (wxDateTime
*) &_result_ref
;
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24198 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
= 0;
24200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24202 wxDateTime
*result
= 0 ;
24207 PyObject
* obj0
= 0 ;
24208 PyObject
* obj1
= 0 ;
24209 char * kwnames
[] = {
24210 (char *) "self",(char *) "jdn", NULL
24213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24215 if (!SWIG_IsOK(res1
)) {
24216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24218 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24219 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24220 if (!SWIG_IsOK(ecode2
)) {
24221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
24223 arg2
= static_cast< double >(val2
);
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
24228 result
= (wxDateTime
*) &_result_ref
;
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24240 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
= 0;
24242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24244 int arg3
= (int) 0 ;
24245 int arg4
= (int) 0 ;
24246 int arg5
= (int) 0 ;
24247 wxDateTime
*result
= 0 ;
24258 PyObject
* obj0
= 0 ;
24259 PyObject
* obj1
= 0 ;
24260 PyObject
* obj2
= 0 ;
24261 PyObject
* obj3
= 0 ;
24262 PyObject
* obj4
= 0 ;
24263 char * kwnames
[] = {
24264 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24269 if (!SWIG_IsOK(res1
)) {
24270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24272 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24274 if (!SWIG_IsOK(ecode2
)) {
24275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24277 arg2
= static_cast< int >(val2
);
24279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24280 if (!SWIG_IsOK(ecode3
)) {
24281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24283 arg3
= static_cast< int >(val3
);
24286 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24287 if (!SWIG_IsOK(ecode4
)) {
24288 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24290 arg4
= static_cast< int >(val4
);
24293 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24294 if (!SWIG_IsOK(ecode5
)) {
24295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24297 arg5
= static_cast< int >(val5
);
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24303 result
= (wxDateTime
*) &_result_ref
;
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24315 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
= 0;
24317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24319 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24320 int arg4
= (int) wxDateTime::Inv_Year
;
24321 int arg5
= (int) 0 ;
24322 int arg6
= (int) 0 ;
24323 int arg7
= (int) 0 ;
24324 int arg8
= (int) 0 ;
24325 wxDateTime
*result
= 0 ;
24342 PyObject
* obj0
= 0 ;
24343 PyObject
* obj1
= 0 ;
24344 PyObject
* obj2
= 0 ;
24345 PyObject
* obj3
= 0 ;
24346 PyObject
* obj4
= 0 ;
24347 PyObject
* obj5
= 0 ;
24348 PyObject
* obj6
= 0 ;
24349 PyObject
* obj7
= 0 ;
24350 char * kwnames
[] = {
24351 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24356 if (!SWIG_IsOK(res1
)) {
24357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24359 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24361 if (!SWIG_IsOK(ecode2
)) {
24362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24364 arg2
= static_cast< int >(val2
);
24366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24367 if (!SWIG_IsOK(ecode3
)) {
24368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24370 arg3
= static_cast< wxDateTime::Month
>(val3
);
24373 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24374 if (!SWIG_IsOK(ecode4
)) {
24375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24377 arg4
= static_cast< int >(val4
);
24380 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24381 if (!SWIG_IsOK(ecode5
)) {
24382 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24384 arg5
= static_cast< int >(val5
);
24387 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24388 if (!SWIG_IsOK(ecode6
)) {
24389 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24391 arg6
= static_cast< int >(val6
);
24394 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24395 if (!SWIG_IsOK(ecode7
)) {
24396 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24398 arg7
= static_cast< int >(val7
);
24401 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24402 if (!SWIG_IsOK(ecode8
)) {
24403 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24405 arg8
= static_cast< int >(val8
);
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24411 result
= (wxDateTime
*) &_result_ref
;
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24423 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24424 PyObject
*resultobj
= 0;
24425 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24426 wxDateTime
*result
= 0 ;
24429 PyObject
*swig_obj
[1] ;
24431 if (!args
) SWIG_fail
;
24432 swig_obj
[0] = args
;
24433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24434 if (!SWIG_IsOK(res1
)) {
24435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24437 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24442 result
= (wxDateTime
*) &_result_ref
;
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24454 SWIGINTERN PyObject
*_wrap_DateTime_GetDateOnly(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24455 PyObject
*resultobj
= 0;
24456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24460 PyObject
*swig_obj
[1] ;
24462 if (!args
) SWIG_fail
;
24463 swig_obj
[0] = args
;
24464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24465 if (!SWIG_IsOK(res1
)) {
24466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDateOnly" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24468 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 result
= ((wxDateTime
const *)arg1
)->GetDateOnly();
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24482 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
= 0;
24484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24486 wxDateTime
*result
= 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char * kwnames
[] = {
24494 (char *) "self",(char *) "year", NULL
24497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24499 if (!SWIG_IsOK(res1
)) {
24500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24502 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24504 if (!SWIG_IsOK(ecode2
)) {
24505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24507 arg2
= static_cast< int >(val2
);
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24512 result
= (wxDateTime
*) &_result_ref
;
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24524 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
= 0;
24526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24527 wxDateTime::Month arg2
;
24528 wxDateTime
*result
= 0 ;
24533 PyObject
* obj0
= 0 ;
24534 PyObject
* obj1
= 0 ;
24535 char * kwnames
[] = {
24536 (char *) "self",(char *) "month", NULL
24539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24541 if (!SWIG_IsOK(res1
)) {
24542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24544 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24546 if (!SWIG_IsOK(ecode2
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24549 arg2
= static_cast< wxDateTime::Month
>(val2
);
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24554 result
= (wxDateTime
*) &_result_ref
;
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24566 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
= 0;
24568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24570 wxDateTime
*result
= 0 ;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 char * kwnames
[] = {
24578 (char *) "self",(char *) "day", NULL
24581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24583 if (!SWIG_IsOK(res1
)) {
24584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24586 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24588 if (!SWIG_IsOK(ecode2
)) {
24589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24591 arg2
= static_cast< int >(val2
);
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24596 result
= (wxDateTime
*) &_result_ref
;
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24608 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
= 0;
24610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24612 wxDateTime
*result
= 0 ;
24617 PyObject
* obj0
= 0 ;
24618 PyObject
* obj1
= 0 ;
24619 char * kwnames
[] = {
24620 (char *) "self",(char *) "hour", NULL
24623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24625 if (!SWIG_IsOK(res1
)) {
24626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24628 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24630 if (!SWIG_IsOK(ecode2
)) {
24631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24633 arg2
= static_cast< int >(val2
);
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24638 result
= (wxDateTime
*) &_result_ref
;
24640 wxPyEndAllowThreads(__tstate
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24650 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24651 PyObject
*resultobj
= 0;
24652 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24654 wxDateTime
*result
= 0 ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 char * kwnames
[] = {
24662 (char *) "self",(char *) "minute", NULL
24665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24667 if (!SWIG_IsOK(res1
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24670 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24672 if (!SWIG_IsOK(ecode2
)) {
24673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24675 arg2
= static_cast< int >(val2
);
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24680 result
= (wxDateTime
*) &_result_ref
;
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24692 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
= 0;
24694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24696 wxDateTime
*result
= 0 ;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 char * kwnames
[] = {
24704 (char *) "self",(char *) "second", NULL
24707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24709 if (!SWIG_IsOK(res1
)) {
24710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24712 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24714 if (!SWIG_IsOK(ecode2
)) {
24715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24717 arg2
= static_cast< int >(val2
);
24719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24722 result
= (wxDateTime
*) &_result_ref
;
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24734 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
= 0;
24736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24738 wxDateTime
*result
= 0 ;
24743 PyObject
* obj0
= 0 ;
24744 PyObject
* obj1
= 0 ;
24745 char * kwnames
[] = {
24746 (char *) "self",(char *) "millisecond", NULL
24749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24751 if (!SWIG_IsOK(res1
)) {
24752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24754 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24756 if (!SWIG_IsOK(ecode2
)) {
24757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24759 arg2
= static_cast< int >(val2
);
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24764 result
= (wxDateTime
*) &_result_ref
;
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24776 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
= 0;
24778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24779 wxDateTime::WeekDay arg2
;
24780 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24781 wxDateTime
*result
= 0 ;
24788 PyObject
* obj0
= 0 ;
24789 PyObject
* obj1
= 0 ;
24790 PyObject
* obj2
= 0 ;
24791 char * kwnames
[] = {
24792 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24800 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24802 if (!SWIG_IsOK(ecode2
)) {
24803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24805 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24808 if (!SWIG_IsOK(ecode3
)) {
24809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24811 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24817 result
= (wxDateTime
*) &_result_ref
;
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24829 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24830 PyObject
*resultobj
= 0;
24831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24832 wxDateTime::WeekDay arg2
;
24833 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 PyObject
* obj2
= 0 ;
24844 char * kwnames
[] = {
24845 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24850 if (!SWIG_IsOK(res1
)) {
24851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24853 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24855 if (!SWIG_IsOK(ecode2
)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24858 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24861 if (!SWIG_IsOK(ecode3
)) {
24862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24864 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24872 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24879 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
= 0;
24881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24882 wxDateTime::WeekDay arg2
;
24883 wxDateTime
*result
= 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 char * kwnames
[] = {
24891 (char *) "self",(char *) "weekday", NULL
24894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24896 if (!SWIG_IsOK(res1
)) {
24897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24899 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24901 if (!SWIG_IsOK(ecode2
)) {
24902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24904 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24909 result
= (wxDateTime
*) &_result_ref
;
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24921 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
= 0;
24923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24924 wxDateTime::WeekDay arg2
;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 char * kwnames
[] = {
24933 (char *) "self",(char *) "weekday", NULL
24936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24938 if (!SWIG_IsOK(res1
)) {
24939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24941 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24943 if (!SWIG_IsOK(ecode2
)) {
24944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24946 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (arg1
)->GetNextWeekDay(arg2
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24960 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
= 0;
24962 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24963 wxDateTime::WeekDay arg2
;
24964 wxDateTime
*result
= 0 ;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 char * kwnames
[] = {
24972 (char *) "self",(char *) "weekday", NULL
24975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24977 if (!SWIG_IsOK(res1
)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24980 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24982 if (!SWIG_IsOK(ecode2
)) {
24983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24985 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24990 result
= (wxDateTime
*) &_result_ref
;
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25002 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
= 0;
25004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25005 wxDateTime::WeekDay arg2
;
25011 PyObject
* obj0
= 0 ;
25012 PyObject
* obj1
= 0 ;
25013 char * kwnames
[] = {
25014 (char *) "self",(char *) "weekday", NULL
25017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25019 if (!SWIG_IsOK(res1
)) {
25020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25022 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25024 if (!SWIG_IsOK(ecode2
)) {
25025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25027 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25030 result
= (arg1
)->GetPrevWeekDay(arg2
);
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25041 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
= 0;
25043 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25044 wxDateTime::WeekDay arg2
;
25045 int arg3
= (int) 1 ;
25046 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25047 int arg5
= (int) wxDateTime::Inv_Year
;
25059 PyObject
* obj0
= 0 ;
25060 PyObject
* obj1
= 0 ;
25061 PyObject
* obj2
= 0 ;
25062 PyObject
* obj3
= 0 ;
25063 PyObject
* obj4
= 0 ;
25064 char * kwnames
[] = {
25065 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
25068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25070 if (!SWIG_IsOK(res1
)) {
25071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25073 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25075 if (!SWIG_IsOK(ecode2
)) {
25076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25078 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25081 if (!SWIG_IsOK(ecode3
)) {
25082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
25084 arg3
= static_cast< int >(val3
);
25087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25088 if (!SWIG_IsOK(ecode4
)) {
25089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
25091 arg4
= static_cast< wxDateTime::Month
>(val4
);
25094 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25095 if (!SWIG_IsOK(ecode5
)) {
25096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
25098 arg5
= static_cast< int >(val5
);
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25115 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
= 0;
25117 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25118 wxDateTime::WeekDay arg2
;
25119 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25120 int arg4
= (int) wxDateTime::Inv_Year
;
25130 PyObject
* obj0
= 0 ;
25131 PyObject
* obj1
= 0 ;
25132 PyObject
* obj2
= 0 ;
25133 PyObject
* obj3
= 0 ;
25134 char * kwnames
[] = {
25135 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25140 if (!SWIG_IsOK(res1
)) {
25141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25143 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25145 if (!SWIG_IsOK(ecode2
)) {
25146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25148 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25151 if (!SWIG_IsOK(ecode3
)) {
25152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25154 arg3
= static_cast< wxDateTime::Month
>(val3
);
25157 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25158 if (!SWIG_IsOK(ecode4
)) {
25159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25161 arg4
= static_cast< int >(val4
);
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25178 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25179 PyObject
*resultobj
= 0;
25180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25181 wxDateTime::WeekDay arg2
;
25182 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25183 int arg4
= (int) wxDateTime::Inv_Year
;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 PyObject
* obj2
= 0 ;
25196 PyObject
* obj3
= 0 ;
25197 char * kwnames
[] = {
25198 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
25201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25203 if (!SWIG_IsOK(res1
)) {
25204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25206 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25208 if (!SWIG_IsOK(ecode2
)) {
25209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
25211 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
25213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25214 if (!SWIG_IsOK(ecode3
)) {
25215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
25217 arg3
= static_cast< wxDateTime::Month
>(val3
);
25220 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25221 if (!SWIG_IsOK(ecode4
)) {
25222 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
25224 arg4
= static_cast< int >(val4
);
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25239 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
= 0;
25241 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25243 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25244 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25254 PyObject
* obj0
= 0 ;
25255 PyObject
* obj1
= 0 ;
25256 PyObject
* obj2
= 0 ;
25257 PyObject
* obj3
= 0 ;
25258 char * kwnames
[] = {
25259 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25264 if (!SWIG_IsOK(res1
)) {
25265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25267 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25269 if (!SWIG_IsOK(ecode2
)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
25272 arg2
= static_cast< int >(val2
);
25274 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25275 if (!SWIG_IsOK(ecode3
)) {
25276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25278 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25281 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25282 if (!SWIG_IsOK(ecode4
)) {
25283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25285 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25289 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25302 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25303 PyObject
*resultobj
= 0;
25304 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25306 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25307 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 PyObject
* obj2
= 0 ;
25320 PyObject
* obj3
= 0 ;
25321 char * kwnames
[] = {
25322 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25327 if (!SWIG_IsOK(res1
)) {
25328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25330 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25332 if (!SWIG_IsOK(ecode2
)) {
25333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25335 arg2
= static_cast< int >(val2
);
25337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25338 if (!SWIG_IsOK(ecode3
)) {
25339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25341 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25344 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25345 if (!SWIG_IsOK(ecode4
)) {
25346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25348 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25356 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25363 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
= 0;
25367 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25375 PyObject
* obj0
= 0 ;
25376 PyObject
* obj1
= 0 ;
25377 PyObject
* obj2
= 0 ;
25378 char * kwnames
[] = {
25379 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25383 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25384 if (!SWIG_IsOK(ecode1
)) {
25385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25387 arg1
= static_cast< int >(val1
);
25388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25389 if (!SWIG_IsOK(ecode2
)) {
25390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25392 arg2
= static_cast< int >(val2
);
25394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25395 if (!SWIG_IsOK(ecode3
)) {
25396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25398 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25402 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25413 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
= 0;
25415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25416 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25417 int arg3
= (int) wxDateTime::Inv_Year
;
25418 wxDateTime
*result
= 0 ;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 PyObject
* obj2
= 0 ;
25428 char * kwnames
[] = {
25429 (char *) "self",(char *) "month",(char *) "year", NULL
25432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25434 if (!SWIG_IsOK(res1
)) {
25435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25437 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25440 if (!SWIG_IsOK(ecode2
)) {
25441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25443 arg2
= static_cast< wxDateTime::Month
>(val2
);
25446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25447 if (!SWIG_IsOK(ecode3
)) {
25448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25450 arg3
= static_cast< int >(val3
);
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25456 result
= (wxDateTime
*) &_result_ref
;
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25468 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
= 0;
25470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25471 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25472 int arg3
= (int) wxDateTime::Inv_Year
;
25480 PyObject
* obj0
= 0 ;
25481 PyObject
* obj1
= 0 ;
25482 PyObject
* obj2
= 0 ;
25483 char * kwnames
[] = {
25484 (char *) "self",(char *) "month",(char *) "year", NULL
25487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25489 if (!SWIG_IsOK(res1
)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25492 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25495 if (!SWIG_IsOK(ecode2
)) {
25496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25498 arg2
= static_cast< wxDateTime::Month
>(val2
);
25501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25502 if (!SWIG_IsOK(ecode3
)) {
25503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25505 arg3
= static_cast< int >(val3
);
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25520 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
= 0;
25522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25524 wxDateTime
*result
= 0 ;
25529 PyObject
* obj0
= 0 ;
25530 PyObject
* obj1
= 0 ;
25531 char * kwnames
[] = {
25532 (char *) "self",(char *) "yday", NULL
25535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25537 if (!SWIG_IsOK(res1
)) {
25538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25540 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25542 if (!SWIG_IsOK(ecode2
)) {
25543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25545 arg2
= static_cast< int >(val2
);
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25550 result
= (wxDateTime
*) &_result_ref
;
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25562 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
= 0;
25564 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 char * kwnames
[] = {
25574 (char *) "self",(char *) "yday", NULL
25577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25579 if (!SWIG_IsOK(res1
)) {
25580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25582 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25584 if (!SWIG_IsOK(ecode2
)) {
25585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25587 arg2
= static_cast< int >(val2
);
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 result
= (arg1
)->GetYearDay(arg2
);
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25594 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25601 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25602 PyObject
*resultobj
= 0;
25603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25607 PyObject
*swig_obj
[1] ;
25609 if (!args
) SWIG_fail
;
25610 swig_obj
[0] = args
;
25611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25612 if (!SWIG_IsOK(res1
)) {
25613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25615 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 result
= (double)(arg1
)->GetJulianDayNumber();
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25622 resultobj
= SWIG_From_double(static_cast< double >(result
));
25629 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25630 PyObject
*resultobj
= 0;
25631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25635 PyObject
*swig_obj
[1] ;
25637 if (!args
) SWIG_fail
;
25638 swig_obj
[0] = args
;
25639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25640 if (!SWIG_IsOK(res1
)) {
25641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25643 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 result
= (double)(arg1
)->GetJDN();
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25650 resultobj
= SWIG_From_double(static_cast< double >(result
));
25657 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25658 PyObject
*resultobj
= 0;
25659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25663 PyObject
*swig_obj
[1] ;
25665 if (!args
) SWIG_fail
;
25666 swig_obj
[0] = args
;
25667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25668 if (!SWIG_IsOK(res1
)) {
25669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25671 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25678 resultobj
= SWIG_From_double(static_cast< double >(result
));
25685 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25686 PyObject
*resultobj
= 0;
25687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25691 PyObject
*swig_obj
[1] ;
25693 if (!args
) SWIG_fail
;
25694 swig_obj
[0] = args
;
25695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25696 if (!SWIG_IsOK(res1
)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25699 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 result
= (double)(arg1
)->GetMJD();
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= SWIG_From_double(static_cast< double >(result
));
25713 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25714 PyObject
*resultobj
= 0;
25715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25719 PyObject
*swig_obj
[1] ;
25721 if (!args
) SWIG_fail
;
25722 swig_obj
[0] = args
;
25723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25727 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= (double)(arg1
)->GetRataDie();
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_From_double(static_cast< double >(result
));
25741 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
= 0;
25743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25744 wxDateTime::TimeZone
*arg2
= 0 ;
25745 bool arg3
= (bool) false ;
25749 bool temp2
= false ;
25752 PyObject
* obj0
= 0 ;
25753 PyObject
* obj1
= 0 ;
25754 PyObject
* obj2
= 0 ;
25755 char * kwnames
[] = {
25756 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25761 if (!SWIG_IsOK(res1
)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25764 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25766 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25770 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25771 if (!SWIG_IsOK(ecode3
)) {
25772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25774 arg3
= static_cast< bool >(val3
);
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25782 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25784 if (temp2
) delete arg2
;
25789 if (temp2
) delete arg2
;
25795 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
= 0;
25797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25798 wxDateTime::TimeZone
*arg2
= 0 ;
25799 bool arg3
= (bool) false ;
25800 wxDateTime
*result
= 0 ;
25803 bool temp2
= false ;
25806 PyObject
* obj0
= 0 ;
25807 PyObject
* obj1
= 0 ;
25808 PyObject
* obj2
= 0 ;
25809 char * kwnames
[] = {
25810 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25815 if (!SWIG_IsOK(res1
)) {
25816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25818 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25820 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25824 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25825 if (!SWIG_IsOK(ecode3
)) {
25826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25828 arg3
= static_cast< bool >(val3
);
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25834 result
= (wxDateTime
*) &_result_ref
;
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25841 if (temp2
) delete arg2
;
25846 if (temp2
) delete arg2
;
25852 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25853 PyObject
*resultobj
= 0;
25854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25855 wxDateTime::TimeZone
*arg2
= 0 ;
25856 bool arg3
= (bool) false ;
25860 bool temp2
= false ;
25863 PyObject
* obj0
= 0 ;
25864 PyObject
* obj1
= 0 ;
25865 PyObject
* obj2
= 0 ;
25866 char * kwnames
[] = {
25867 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25872 if (!SWIG_IsOK(res1
)) {
25873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25875 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25877 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25881 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25882 if (!SWIG_IsOK(ecode3
)) {
25883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25885 arg3
= static_cast< bool >(val3
);
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25890 wxPyEndAllowThreads(__tstate
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25893 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25895 if (temp2
) delete arg2
;
25900 if (temp2
) delete arg2
;
25906 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
= 0;
25908 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25909 wxDateTime::TimeZone
*arg2
= 0 ;
25910 bool arg3
= (bool) false ;
25911 wxDateTime
*result
= 0 ;
25914 bool temp2
= false ;
25917 PyObject
* obj0
= 0 ;
25918 PyObject
* obj1
= 0 ;
25919 PyObject
* obj2
= 0 ;
25920 char * kwnames
[] = {
25921 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25926 if (!SWIG_IsOK(res1
)) {
25927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25929 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25931 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25935 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25936 if (!SWIG_IsOK(ecode3
)) {
25937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25939 arg3
= static_cast< bool >(val3
);
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25945 result
= (wxDateTime
*) &_result_ref
;
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25952 if (temp2
) delete arg2
;
25957 if (temp2
) delete arg2
;
25963 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25964 PyObject
*resultobj
= 0;
25965 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25966 bool arg2
= (bool) false ;
25972 PyObject
* obj0
= 0 ;
25973 PyObject
* obj1
= 0 ;
25974 char * kwnames
[] = {
25975 (char *) "self",(char *) "noDST", NULL
25978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25980 if (!SWIG_IsOK(res1
)) {
25981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25983 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25985 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25986 if (!SWIG_IsOK(ecode2
)) {
25987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25989 arg2
= static_cast< bool >(val2
);
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25997 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26004 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
= 0;
26006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26007 bool arg2
= (bool) false ;
26008 wxDateTime
*result
= 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 char * kwnames
[] = {
26016 (char *) "self",(char *) "noDST", NULL
26019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26021 if (!SWIG_IsOK(res1
)) {
26022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26024 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26026 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26027 if (!SWIG_IsOK(ecode2
)) {
26028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
26030 arg2
= static_cast< bool >(val2
);
26033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26035 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
26036 result
= (wxDateTime
*) &_result_ref
;
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26048 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
= 0;
26050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26051 bool arg2
= (bool) false ;
26057 PyObject
* obj0
= 0 ;
26058 PyObject
* obj1
= 0 ;
26059 char * kwnames
[] = {
26060 (char *) "self",(char *) "noDST", NULL
26063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26065 if (!SWIG_IsOK(res1
)) {
26066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26068 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26070 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26071 if (!SWIG_IsOK(ecode2
)) {
26072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
26074 arg2
= static_cast< bool >(val2
);
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26089 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26090 PyObject
*resultobj
= 0;
26091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26092 bool arg2
= (bool) false ;
26093 wxDateTime
*result
= 0 ;
26098 PyObject
* obj0
= 0 ;
26099 PyObject
* obj1
= 0 ;
26100 char * kwnames
[] = {
26101 (char *) "self",(char *) "noDST", NULL
26104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26106 if (!SWIG_IsOK(res1
)) {
26107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
26109 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26111 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26112 if (!SWIG_IsOK(ecode2
)) {
26113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
26115 arg2
= static_cast< bool >(val2
);
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
26121 result
= (wxDateTime
*) &_result_ref
;
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26133 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
= 0;
26135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26136 bool arg2
= (bool) false ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 char * kwnames
[] = {
26145 (char *) "self",(char *) "noDST", NULL
26148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26150 if (!SWIG_IsOK(res1
)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26153 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26155 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26156 if (!SWIG_IsOK(ecode2
)) {
26157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
26159 arg2
= static_cast< bool >(val2
);
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26174 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
= 0;
26176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26177 bool arg2
= (bool) false ;
26178 wxDateTime
*result
= 0 ;
26183 PyObject
* obj0
= 0 ;
26184 PyObject
* obj1
= 0 ;
26185 char * kwnames
[] = {
26186 (char *) "self",(char *) "noDST", NULL
26189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26191 if (!SWIG_IsOK(res1
)) {
26192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
26194 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26196 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26197 if (!SWIG_IsOK(ecode2
)) {
26198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
26200 arg2
= static_cast< bool >(val2
);
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
26206 result
= (wxDateTime
*) &_result_ref
;
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26218 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26219 PyObject
*resultobj
= 0;
26220 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26221 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 char * kwnames
[] = {
26230 (char *) "self",(char *) "country", NULL
26233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26235 if (!SWIG_IsOK(res1
)) {
26236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
26238 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26241 if (!SWIG_IsOK(ecode2
)) {
26242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26244 arg2
= static_cast< wxDateTime::Country
>(val2
);
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 result
= (int)(arg1
)->IsDST(arg2
);
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= SWIG_From_int(static_cast< int >(result
));
26259 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26260 PyObject
*resultobj
= 0;
26261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26265 PyObject
*swig_obj
[1] ;
26267 if (!args
) SWIG_fail
;
26268 swig_obj
[0] = args
;
26269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26270 if (!SWIG_IsOK(res1
)) {
26271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26273 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26289 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26290 PyObject
*resultobj
= 0;
26291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26295 PyObject
*swig_obj
[1] ;
26297 if (!args
) SWIG_fail
;
26298 swig_obj
[0] = args
;
26299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26300 if (!SWIG_IsOK(res1
)) {
26301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26303 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26306 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26317 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
= 0;
26319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26320 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26321 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26325 bool temp2
= false ;
26326 PyObject
* obj0
= 0 ;
26327 PyObject
* obj1
= 0 ;
26328 char * kwnames
[] = {
26329 (char *) "self",(char *) "tz", NULL
26332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26334 if (!SWIG_IsOK(res1
)) {
26335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26337 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26340 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26346 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= SWIG_From_int(static_cast< int >(result
));
26352 if (temp2
) delete arg2
;
26357 if (temp2
) delete arg2
;
26363 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
= 0;
26365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26366 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26367 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26368 wxDateTime::Month result
;
26371 bool temp2
= false ;
26372 PyObject
* obj0
= 0 ;
26373 PyObject
* obj1
= 0 ;
26374 char * kwnames
[] = {
26375 (char *) "self",(char *) "tz", NULL
26378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26380 if (!SWIG_IsOK(res1
)) {
26381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26383 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26386 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26392 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 resultobj
= SWIG_From_int(static_cast< int >(result
));
26398 if (temp2
) delete arg2
;
26403 if (temp2
) delete arg2
;
26409 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
= 0;
26411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26412 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26413 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26417 bool temp2
= false ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char * kwnames
[] = {
26421 (char *) "self",(char *) "tz", NULL
26424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26426 if (!SWIG_IsOK(res1
)) {
26427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26429 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26432 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_From_int(static_cast< int >(result
));
26444 if (temp2
) delete arg2
;
26449 if (temp2
) delete arg2
;
26455 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
= 0;
26457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26458 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26459 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26460 wxDateTime::WeekDay result
;
26463 bool temp2
= false ;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 char * kwnames
[] = {
26467 (char *) "self",(char *) "tz", NULL
26470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26472 if (!SWIG_IsOK(res1
)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26475 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26478 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26485 wxPyEndAllowThreads(__tstate
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 resultobj
= SWIG_From_int(static_cast< int >(result
));
26490 if (temp2
) delete arg2
;
26495 if (temp2
) delete arg2
;
26501 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
= 0;
26503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26504 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26505 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26509 bool temp2
= false ;
26510 PyObject
* obj0
= 0 ;
26511 PyObject
* obj1
= 0 ;
26512 char * kwnames
[] = {
26513 (char *) "self",(char *) "tz", NULL
26516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26518 if (!SWIG_IsOK(res1
)) {
26519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26521 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26524 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26530 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_From_int(static_cast< int >(result
));
26536 if (temp2
) delete arg2
;
26541 if (temp2
) delete arg2
;
26547 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
= 0;
26549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26550 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26551 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26555 bool temp2
= false ;
26556 PyObject
* obj0
= 0 ;
26557 PyObject
* obj1
= 0 ;
26558 char * kwnames
[] = {
26559 (char *) "self",(char *) "tz", NULL
26562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26564 if (!SWIG_IsOK(res1
)) {
26565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26567 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26570 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26580 resultobj
= SWIG_From_int(static_cast< int >(result
));
26582 if (temp2
) delete arg2
;
26587 if (temp2
) delete arg2
;
26593 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
= 0;
26595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26596 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26597 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26601 bool temp2
= false ;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 char * kwnames
[] = {
26605 (char *) "self",(char *) "tz", NULL
26608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26610 if (!SWIG_IsOK(res1
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26613 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26616 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_From_int(static_cast< int >(result
));
26628 if (temp2
) delete arg2
;
26633 if (temp2
) delete arg2
;
26639 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
= 0;
26641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26642 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26643 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26647 bool temp2
= false ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char * kwnames
[] = {
26651 (char *) "self",(char *) "tz", NULL
26654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26656 if (!SWIG_IsOK(res1
)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26659 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26662 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26668 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= SWIG_From_int(static_cast< int >(result
));
26674 if (temp2
) delete arg2
;
26679 if (temp2
) delete arg2
;
26685 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26686 PyObject
*resultobj
= 0;
26687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26688 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26689 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26693 bool temp2
= false ;
26694 PyObject
* obj0
= 0 ;
26695 PyObject
* obj1
= 0 ;
26696 char * kwnames
[] = {
26697 (char *) "self",(char *) "tz", NULL
26700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26702 if (!SWIG_IsOK(res1
)) {
26703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26705 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26708 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 resultobj
= SWIG_From_int(static_cast< int >(result
));
26720 if (temp2
) delete arg2
;
26725 if (temp2
) delete arg2
;
26731 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
= 0;
26733 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26734 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26735 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26736 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26742 bool temp3
= false ;
26743 PyObject
* obj0
= 0 ;
26744 PyObject
* obj1
= 0 ;
26745 PyObject
* obj2
= 0 ;
26746 char * kwnames
[] = {
26747 (char *) "self",(char *) "flags",(char *) "tz", NULL
26750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26752 if (!SWIG_IsOK(res1
)) {
26753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26755 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26758 if (!SWIG_IsOK(ecode2
)) {
26759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26761 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26765 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26775 resultobj
= SWIG_From_int(static_cast< int >(result
));
26777 if (temp3
) delete arg3
;
26782 if (temp3
) delete arg3
;
26788 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
= 0;
26790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26791 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26792 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26793 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26799 bool temp3
= false ;
26800 PyObject
* obj0
= 0 ;
26801 PyObject
* obj1
= 0 ;
26802 PyObject
* obj2
= 0 ;
26803 char * kwnames
[] = {
26804 (char *) "self",(char *) "flags",(char *) "tz", NULL
26807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26809 if (!SWIG_IsOK(res1
)) {
26810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26812 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26815 if (!SWIG_IsOK(ecode2
)) {
26816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26818 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26822 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 resultobj
= SWIG_From_int(static_cast< int >(result
));
26834 if (temp3
) delete arg3
;
26839 if (temp3
) delete arg3
;
26845 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
= 0;
26847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26848 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26854 PyObject
* obj0
= 0 ;
26855 PyObject
* obj1
= 0 ;
26856 char * kwnames
[] = {
26857 (char *) "self",(char *) "country", NULL
26860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26862 if (!SWIG_IsOK(res1
)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26865 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26868 if (!SWIG_IsOK(ecode2
)) {
26869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26871 arg2
= static_cast< wxDateTime::Country
>(val2
);
26874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26875 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26876 wxPyEndAllowThreads(__tstate
);
26877 if (PyErr_Occurred()) SWIG_fail
;
26880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26888 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26889 PyObject
*resultobj
= 0;
26890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26891 wxDateTime
*arg2
= 0 ;
26897 PyObject
* obj0
= 0 ;
26898 PyObject
* obj1
= 0 ;
26899 char * kwnames
[] = {
26900 (char *) "self",(char *) "datetime", NULL
26903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26905 if (!SWIG_IsOK(res1
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26908 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26910 if (!SWIG_IsOK(res2
)) {
26911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26916 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26932 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
= 0;
26934 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26935 wxDateTime
*arg2
= 0 ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 char * kwnames
[] = {
26944 (char *) "self",(char *) "datetime", NULL
26947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26952 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26954 if (!SWIG_IsOK(res2
)) {
26955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26960 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26964 wxPyEndAllowThreads(__tstate
);
26965 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26976 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= 0;
26978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26979 wxDateTime
*arg2
= 0 ;
26985 PyObject
* obj0
= 0 ;
26986 PyObject
* obj1
= 0 ;
26987 char * kwnames
[] = {
26988 (char *) "self",(char *) "datetime", NULL
26991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26993 if (!SWIG_IsOK(res1
)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26996 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26998 if (!SWIG_IsOK(res2
)) {
26999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27004 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27020 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27021 PyObject
*resultobj
= 0;
27022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27023 wxDateTime
*arg2
= 0 ;
27024 wxDateTime
*arg3
= 0 ;
27032 PyObject
* obj0
= 0 ;
27033 PyObject
* obj1
= 0 ;
27034 PyObject
* obj2
= 0 ;
27035 char * kwnames
[] = {
27036 (char *) "self",(char *) "t1",(char *) "t2", NULL
27039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27041 if (!SWIG_IsOK(res1
)) {
27042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27044 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27046 if (!SWIG_IsOK(res2
)) {
27047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27052 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27053 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27054 if (!SWIG_IsOK(res3
)) {
27055 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27060 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27076 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
= 0;
27078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27079 wxDateTime
*arg2
= 0 ;
27080 wxDateTime
*arg3
= 0 ;
27088 PyObject
* obj0
= 0 ;
27089 PyObject
* obj1
= 0 ;
27090 PyObject
* obj2
= 0 ;
27091 char * kwnames
[] = {
27092 (char *) "self",(char *) "t1",(char *) "t2", NULL
27095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27097 if (!SWIG_IsOK(res1
)) {
27098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27100 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27102 if (!SWIG_IsOK(res2
)) {
27103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27108 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27109 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27110 if (!SWIG_IsOK(res3
)) {
27111 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
27116 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27132 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
= 0;
27134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27135 wxDateTime
*arg2
= 0 ;
27141 PyObject
* obj0
= 0 ;
27142 PyObject
* obj1
= 0 ;
27143 char * kwnames
[] = {
27144 (char *) "self",(char *) "dt", NULL
27147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27149 if (!SWIG_IsOK(res1
)) {
27150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27152 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27154 if (!SWIG_IsOK(res2
)) {
27155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27160 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27176 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
= 0;
27178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27179 wxDateTime
*arg2
= 0 ;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 char * kwnames
[] = {
27188 (char *) "self",(char *) "dt", NULL
27191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27193 if (!SWIG_IsOK(res1
)) {
27194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27196 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27198 if (!SWIG_IsOK(res2
)) {
27199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27204 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27220 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27221 PyObject
*resultobj
= 0;
27222 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27223 wxDateTime
*arg2
= 0 ;
27224 wxTimeSpan
*arg3
= 0 ;
27232 PyObject
* obj0
= 0 ;
27233 PyObject
* obj1
= 0 ;
27234 PyObject
* obj2
= 0 ;
27235 char * kwnames
[] = {
27236 (char *) "self",(char *) "dt",(char *) "ts", NULL
27239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27241 if (!SWIG_IsOK(res1
)) {
27242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27244 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27246 if (!SWIG_IsOK(res2
)) {
27247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27252 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27253 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27254 if (!SWIG_IsOK(res3
)) {
27255 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
27260 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
27262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27276 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27277 PyObject
*resultobj
= 0;
27278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27279 wxTimeSpan
*arg2
= 0 ;
27280 wxDateTime
*result
= 0 ;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 char * kwnames
[] = {
27288 (char *) "self",(char *) "diff", NULL
27291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27293 if (!SWIG_IsOK(res1
)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27296 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27298 if (!SWIG_IsOK(res2
)) {
27299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27304 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27309 result
= (wxDateTime
*) &_result_ref
;
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27321 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
= 0;
27323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27324 wxDateSpan
*arg2
= 0 ;
27325 wxDateTime
*result
= 0 ;
27330 PyObject
* obj0
= 0 ;
27331 PyObject
* obj1
= 0 ;
27332 char * kwnames
[] = {
27333 (char *) "self",(char *) "diff", NULL
27336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27338 if (!SWIG_IsOK(res1
)) {
27339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27341 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27343 if (!SWIG_IsOK(res2
)) {
27344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27349 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27354 result
= (wxDateTime
*) &_result_ref
;
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27366 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27367 PyObject
*resultobj
= 0;
27368 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27369 wxTimeSpan
*arg2
= 0 ;
27370 wxDateTime
*result
= 0 ;
27375 PyObject
* obj0
= 0 ;
27376 PyObject
* obj1
= 0 ;
27377 char * kwnames
[] = {
27378 (char *) "self",(char *) "diff", NULL
27381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27383 if (!SWIG_IsOK(res1
)) {
27384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27386 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27387 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27388 if (!SWIG_IsOK(res2
)) {
27389 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27394 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27399 result
= (wxDateTime
*) &_result_ref
;
27401 wxPyEndAllowThreads(__tstate
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27411 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27412 PyObject
*resultobj
= 0;
27413 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27414 wxDateSpan
*arg2
= 0 ;
27415 wxDateTime
*result
= 0 ;
27420 PyObject
* obj0
= 0 ;
27421 PyObject
* obj1
= 0 ;
27422 char * kwnames
[] = {
27423 (char *) "self",(char *) "diff", NULL
27426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27428 if (!SWIG_IsOK(res1
)) {
27429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27431 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27432 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27433 if (!SWIG_IsOK(res2
)) {
27434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27439 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27444 result
= (wxDateTime
*) &_result_ref
;
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27456 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27457 PyObject
*resultobj
= 0;
27458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27459 wxDateTime
*arg2
= 0 ;
27465 PyObject
* obj0
= 0 ;
27466 PyObject
* obj1
= 0 ;
27467 char * kwnames
[] = {
27468 (char *) "self",(char *) "dt", NULL
27471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27473 if (!SWIG_IsOK(res1
)) {
27474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27476 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27478 if (!SWIG_IsOK(res2
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27484 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27498 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27499 PyObject
*resultobj
= 0;
27500 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27501 wxTimeSpan
*arg2
= 0 ;
27502 wxDateTime
*result
= 0 ;
27508 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27510 if (!SWIG_IsOK(res1
)) {
27511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27513 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27514 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27515 if (!SWIG_IsOK(res2
)) {
27516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27521 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27526 result
= (wxDateTime
*) &_result_ref
;
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27538 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27539 PyObject
*resultobj
= 0;
27540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27541 wxDateSpan
*arg2
= 0 ;
27542 wxDateTime
*result
= 0 ;
27548 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27550 if (!SWIG_IsOK(res1
)) {
27551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27553 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27554 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27555 if (!SWIG_IsOK(res2
)) {
27556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27561 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27566 result
= (wxDateTime
*) &_result_ref
;
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27578 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27582 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27587 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27588 _v
= SWIG_CheckState(res
);
27590 if (!_v
) goto check_1
;
27591 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27596 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27600 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27605 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27606 PyObject
*resultobj
= 0;
27607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27608 wxTimeSpan
*arg2
= 0 ;
27609 wxDateTime
*result
= 0 ;
27615 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27617 if (!SWIG_IsOK(res1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27620 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27621 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27622 if (!SWIG_IsOK(res2
)) {
27623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27628 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27632 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27633 result
= (wxDateTime
*) &_result_ref
;
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27645 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27646 PyObject
*resultobj
= 0;
27647 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27648 wxDateSpan
*arg2
= 0 ;
27649 wxDateTime
*result
= 0 ;
27655 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27657 if (!SWIG_IsOK(res1
)) {
27658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27660 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27661 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27662 if (!SWIG_IsOK(res2
)) {
27663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27668 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27673 result
= (wxDateTime
*) &_result_ref
;
27675 wxPyEndAllowThreads(__tstate
);
27676 if (PyErr_Occurred()) SWIG_fail
;
27678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27685 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27689 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27694 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27695 _v
= SWIG_CheckState(res
);
27697 if (!_v
) goto check_1
;
27698 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27703 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27707 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27712 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27713 PyObject
*resultobj
= 0;
27714 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27715 wxTimeSpan
*arg2
= 0 ;
27722 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27724 if (!SWIG_IsOK(res1
)) {
27725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27727 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27728 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27729 if (!SWIG_IsOK(res2
)) {
27730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27735 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27742 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27749 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27750 PyObject
*resultobj
= 0;
27751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27752 wxDateSpan
*arg2
= 0 ;
27759 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27761 if (!SWIG_IsOK(res1
)) {
27762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27764 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27765 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27766 if (!SWIG_IsOK(res2
)) {
27767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27772 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27779 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27786 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27790 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27795 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27796 _v
= SWIG_CheckState(res
);
27798 if (!_v
) goto check_1
;
27799 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27804 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27808 Py_INCREF(Py_NotImplemented
);
27809 return Py_NotImplemented
;
27813 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27814 PyObject
*resultobj
= 0;
27815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27816 wxDateTime
*arg2
= 0 ;
27823 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27825 if (!SWIG_IsOK(res1
)) {
27826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27828 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27829 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27830 if (!SWIG_IsOK(res2
)) {
27831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27836 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27843 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27850 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27851 PyObject
*resultobj
= 0;
27852 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27853 wxTimeSpan
*arg2
= 0 ;
27860 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27862 if (!SWIG_IsOK(res1
)) {
27863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27865 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27866 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27867 if (!SWIG_IsOK(res2
)) {
27868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27873 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27880 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27887 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27888 PyObject
*resultobj
= 0;
27889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27890 wxDateSpan
*arg2
= 0 ;
27897 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27899 if (!SWIG_IsOK(res1
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27902 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27903 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27904 if (!SWIG_IsOK(res2
)) {
27905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27910 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27924 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27928 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27933 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27934 _v
= SWIG_CheckState(res
);
27936 if (!_v
) goto check_1
;
27937 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27944 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27945 _v
= SWIG_CheckState(res
);
27947 if (!_v
) goto check_2
;
27948 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27953 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27957 Py_INCREF(Py_NotImplemented
);
27958 return Py_NotImplemented
;
27962 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27963 PyObject
*resultobj
= 0;
27964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27965 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27971 PyObject
* obj0
= 0 ;
27972 PyObject
* obj1
= 0 ;
27973 char * kwnames
[] = {
27974 (char *) "self",(char *) "other", NULL
27977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27979 if (!SWIG_IsOK(res1
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27982 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27983 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27984 if (!SWIG_IsOK(res2
)) {
27985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27987 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27991 wxPyEndAllowThreads(__tstate
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28003 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28004 PyObject
*resultobj
= 0;
28005 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28006 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28012 PyObject
* obj0
= 0 ;
28013 PyObject
* obj1
= 0 ;
28014 char * kwnames
[] = {
28015 (char *) "self",(char *) "other", NULL
28018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28020 if (!SWIG_IsOK(res1
)) {
28021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28023 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28025 if (!SWIG_IsOK(res2
)) {
28026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28028 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28031 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28044 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28045 PyObject
*resultobj
= 0;
28046 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28047 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28053 PyObject
* obj0
= 0 ;
28054 PyObject
* obj1
= 0 ;
28055 char * kwnames
[] = {
28056 (char *) "self",(char *) "other", NULL
28059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28061 if (!SWIG_IsOK(res1
)) {
28062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28064 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28065 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28066 if (!SWIG_IsOK(res2
)) {
28067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28069 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28072 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28085 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
= 0;
28087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28088 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28094 PyObject
* obj0
= 0 ;
28095 PyObject
* obj1
= 0 ;
28096 char * kwnames
[] = {
28097 (char *) "self",(char *) "other", NULL
28100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28102 if (!SWIG_IsOK(res1
)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28105 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28106 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28107 if (!SWIG_IsOK(res2
)) {
28108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28110 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28126 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28127 PyObject
*resultobj
= 0;
28128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28129 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28135 PyObject
* obj0
= 0 ;
28136 PyObject
* obj1
= 0 ;
28137 char * kwnames
[] = {
28138 (char *) "self",(char *) "other", NULL
28141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28143 if (!SWIG_IsOK(res1
)) {
28144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28146 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28148 if (!SWIG_IsOK(res2
)) {
28149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28151 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
28155 wxPyEndAllowThreads(__tstate
);
28156 if (PyErr_Occurred()) SWIG_fail
;
28159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28167 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28168 PyObject
*resultobj
= 0;
28169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28170 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
28176 PyObject
* obj0
= 0 ;
28177 PyObject
* obj1
= 0 ;
28178 char * kwnames
[] = {
28179 (char *) "self",(char *) "other", NULL
28182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28184 if (!SWIG_IsOK(res1
)) {
28185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
28187 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28189 if (!SWIG_IsOK(res2
)) {
28190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
28192 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28208 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
= 0;
28210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28211 wxString
*arg2
= 0 ;
28215 bool temp2
= false ;
28216 PyObject
* obj0
= 0 ;
28217 PyObject
* obj1
= 0 ;
28218 char * kwnames
[] = {
28219 (char *) "self",(char *) "date", NULL
28222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28224 if (!SWIG_IsOK(res1
)) {
28225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
28227 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28229 arg2
= wxString_in_helper(obj1
);
28230 if (arg2
== NULL
) SWIG_fail
;
28234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28235 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
28236 wxPyEndAllowThreads(__tstate
);
28237 if (PyErr_Occurred()) SWIG_fail
;
28239 resultobj
= SWIG_From_int(static_cast< int >(result
));
28254 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28255 PyObject
*resultobj
= 0;
28256 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28257 wxString
*arg2
= 0 ;
28258 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
28259 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28260 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
28261 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
28265 bool temp2
= false ;
28266 bool temp3
= false ;
28269 PyObject
* obj0
= 0 ;
28270 PyObject
* obj1
= 0 ;
28271 PyObject
* obj2
= 0 ;
28272 PyObject
* obj3
= 0 ;
28273 char * kwnames
[] = {
28274 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
28277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28279 if (!SWIG_IsOK(res1
)) {
28280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
28282 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28284 arg2
= wxString_in_helper(obj1
);
28285 if (arg2
== NULL
) SWIG_fail
;
28290 arg3
= wxString_in_helper(obj2
);
28291 if (arg3
== NULL
) SWIG_fail
;
28296 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28297 if (!SWIG_IsOK(res4
)) {
28298 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28303 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28307 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28311 resultobj
= SWIG_From_int(static_cast< int >(result
));
28334 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28335 PyObject
*resultobj
= 0;
28336 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28337 wxString
*arg2
= 0 ;
28341 bool temp2
= false ;
28342 PyObject
* obj0
= 0 ;
28343 PyObject
* obj1
= 0 ;
28344 char * kwnames
[] = {
28345 (char *) "self",(char *) "datetime", NULL
28348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28350 if (!SWIG_IsOK(res1
)) {
28351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28353 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28355 arg2
= wxString_in_helper(obj1
);
28356 if (arg2
== NULL
) SWIG_fail
;
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28362 wxPyEndAllowThreads(__tstate
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28365 resultobj
= SWIG_From_int(static_cast< int >(result
));
28380 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
= 0;
28382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28383 wxString
*arg2
= 0 ;
28387 bool temp2
= false ;
28388 PyObject
* obj0
= 0 ;
28389 PyObject
* obj1
= 0 ;
28390 char * kwnames
[] = {
28391 (char *) "self",(char *) "date", NULL
28394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28396 if (!SWIG_IsOK(res1
)) {
28397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28399 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28401 arg2
= wxString_in_helper(obj1
);
28402 if (arg2
== NULL
) SWIG_fail
;
28406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28407 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28408 wxPyEndAllowThreads(__tstate
);
28409 if (PyErr_Occurred()) SWIG_fail
;
28411 resultobj
= SWIG_From_int(static_cast< int >(result
));
28426 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
= 0;
28428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28429 wxString
*arg2
= 0 ;
28433 bool temp2
= false ;
28434 PyObject
* obj0
= 0 ;
28435 PyObject
* obj1
= 0 ;
28436 char * kwnames
[] = {
28437 (char *) "self",(char *) "time", NULL
28440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28442 if (!SWIG_IsOK(res1
)) {
28443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28445 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28447 arg2
= wxString_in_helper(obj1
);
28448 if (arg2
== NULL
) SWIG_fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= SWIG_From_int(static_cast< int >(result
));
28472 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28473 PyObject
*resultobj
= 0;
28474 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28475 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28476 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28477 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28478 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28482 bool temp2
= false ;
28483 bool temp3
= false ;
28484 PyObject
* obj0
= 0 ;
28485 PyObject
* obj1
= 0 ;
28486 PyObject
* obj2
= 0 ;
28487 char * kwnames
[] = {
28488 (char *) "self",(char *) "format",(char *) "tz", NULL
28491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28493 if (!SWIG_IsOK(res1
)) {
28494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28496 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28499 arg2
= wxString_in_helper(obj1
);
28500 if (arg2
== NULL
) SWIG_fail
;
28506 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28513 wxPyEndAllowThreads(__tstate
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28528 if (temp3
) delete arg3
;
28537 if (temp3
) delete arg3
;
28543 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(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_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28557 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= ((wxDateTime
const *)arg1
)->FormatDate();
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_FormatTime(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_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28591 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= ((wxDateTime
const *)arg1
)->FormatTime();
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
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28612 PyObject
*resultobj
= 0;
28613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28617 PyObject
*swig_obj
[1] ;
28619 if (!args
) SWIG_fail
;
28620 swig_obj
[0] = args
;
28621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28622 if (!SWIG_IsOK(res1
)) {
28623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28625 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28645 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28646 PyObject
*resultobj
= 0;
28647 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28651 PyObject
*swig_obj
[1] ;
28653 if (!args
) SWIG_fail
;
28654 swig_obj
[0] = args
;
28655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28656 if (!SWIG_IsOK(res1
)) {
28657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28659 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28679 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28682 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28683 return SWIG_Py_Void();
28686 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28687 return SWIG_Python_InitShadowInstance(args
);
28690 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
= 0;
28696 PyObject
* obj0
= 0 ;
28697 char * kwnames
[] = {
28698 (char *) "ms", NULL
28701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28702 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28703 if (!SWIG_IsOK(ecode1
)) {
28704 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28706 arg1
= static_cast< long >(val1
);
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 result
= wxTimeSpan::Milliseconds(arg1
);
28710 wxPyEndAllowThreads(__tstate
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28713 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28720 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28721 PyObject
*resultobj
= 0;
28724 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 result
= wxTimeSpan::Millisecond();
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28738 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28739 PyObject
*resultobj
= 0;
28744 PyObject
* obj0
= 0 ;
28745 char * kwnames
[] = {
28746 (char *) "sec", NULL
28749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28750 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28751 if (!SWIG_IsOK(ecode1
)) {
28752 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28754 arg1
= static_cast< long >(val1
);
28756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28757 result
= wxTimeSpan::Seconds(arg1
);
28758 wxPyEndAllowThreads(__tstate
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28761 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28768 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28769 PyObject
*resultobj
= 0;
28772 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28775 result
= wxTimeSpan::Second();
28776 wxPyEndAllowThreads(__tstate
);
28777 if (PyErr_Occurred()) SWIG_fail
;
28779 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28786 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28787 PyObject
*resultobj
= 0;
28792 PyObject
* obj0
= 0 ;
28793 char * kwnames
[] = {
28794 (char *) "min", NULL
28797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28798 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28799 if (!SWIG_IsOK(ecode1
)) {
28800 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28802 arg1
= static_cast< long >(val1
);
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 result
= wxTimeSpan::Minutes(arg1
);
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28816 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28817 PyObject
*resultobj
= 0;
28820 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28823 result
= wxTimeSpan::Minute();
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28834 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
= 0;
28840 PyObject
* obj0
= 0 ;
28841 char * kwnames
[] = {
28842 (char *) "hours", NULL
28845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28846 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28847 if (!SWIG_IsOK(ecode1
)) {
28848 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28850 arg1
= static_cast< long >(val1
);
28852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28853 result
= wxTimeSpan::Hours(arg1
);
28854 wxPyEndAllowThreads(__tstate
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28857 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28864 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28865 PyObject
*resultobj
= 0;
28868 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 result
= wxTimeSpan::Hour();
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28882 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28883 PyObject
*resultobj
= 0;
28888 PyObject
* obj0
= 0 ;
28889 char * kwnames
[] = {
28890 (char *) "days", NULL
28893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28894 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28895 if (!SWIG_IsOK(ecode1
)) {
28896 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28898 arg1
= static_cast< long >(val1
);
28900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28901 result
= wxTimeSpan::Days(arg1
);
28902 wxPyEndAllowThreads(__tstate
);
28903 if (PyErr_Occurred()) SWIG_fail
;
28905 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28912 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28913 PyObject
*resultobj
= 0;
28916 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= wxTimeSpan::Day();
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28923 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28930 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28931 PyObject
*resultobj
= 0;
28936 PyObject
* obj0
= 0 ;
28937 char * kwnames
[] = {
28938 (char *) "days", NULL
28941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28942 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28943 if (!SWIG_IsOK(ecode1
)) {
28944 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28946 arg1
= static_cast< long >(val1
);
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 result
= wxTimeSpan::Weeks(arg1
);
28950 wxPyEndAllowThreads(__tstate
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28953 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28960 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28961 PyObject
*resultobj
= 0;
28964 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28967 result
= wxTimeSpan::Week();
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28971 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28978 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28979 PyObject
*resultobj
= 0;
28980 long arg1
= (long) 0 ;
28981 long arg2
= (long) 0 ;
28982 long arg3
= (long) 0 ;
28983 long arg4
= (long) 0 ;
28984 wxTimeSpan
*result
= 0 ;
28993 PyObject
* obj0
= 0 ;
28994 PyObject
* obj1
= 0 ;
28995 PyObject
* obj2
= 0 ;
28996 PyObject
* obj3
= 0 ;
28997 char * kwnames
[] = {
28998 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
29001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29003 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
29004 if (!SWIG_IsOK(ecode1
)) {
29005 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
29007 arg1
= static_cast< long >(val1
);
29010 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29011 if (!SWIG_IsOK(ecode2
)) {
29012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
29014 arg2
= static_cast< long >(val2
);
29017 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29018 if (!SWIG_IsOK(ecode3
)) {
29019 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
29021 arg3
= static_cast< long >(val3
);
29024 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29025 if (!SWIG_IsOK(ecode4
)) {
29026 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
29028 arg4
= static_cast< long >(val4
);
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29032 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
29043 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29044 PyObject
*resultobj
= 0;
29045 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29048 PyObject
*swig_obj
[1] ;
29050 if (!args
) SWIG_fail
;
29051 swig_obj
[0] = args
;
29052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29053 if (!SWIG_IsOK(res1
)) {
29054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29056 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29061 wxPyEndAllowThreads(__tstate
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29064 resultobj
= SWIG_Py_Void();
29071 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
= 0;
29073 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29074 wxTimeSpan
*arg2
= 0 ;
29075 wxTimeSpan
*result
= 0 ;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 char * kwnames
[] = {
29083 (char *) "self",(char *) "diff", NULL
29086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29088 if (!SWIG_IsOK(res1
)) {
29089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29091 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29092 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29093 if (!SWIG_IsOK(res2
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29099 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
29104 result
= (wxTimeSpan
*) &_result_ref
;
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29116 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
= 0;
29118 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29119 wxTimeSpan
*arg2
= 0 ;
29120 wxTimeSpan
*result
= 0 ;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 char * kwnames
[] = {
29128 (char *) "self",(char *) "diff", NULL
29131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29133 if (!SWIG_IsOK(res1
)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29136 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29137 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29138 if (!SWIG_IsOK(res2
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29144 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29148 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
29149 result
= (wxTimeSpan
*) &_result_ref
;
29151 wxPyEndAllowThreads(__tstate
);
29152 if (PyErr_Occurred()) SWIG_fail
;
29154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29161 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29162 PyObject
*resultobj
= 0;
29163 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29165 wxTimeSpan
*result
= 0 ;
29170 PyObject
* obj0
= 0 ;
29171 PyObject
* obj1
= 0 ;
29172 char * kwnames
[] = {
29173 (char *) "self",(char *) "n", NULL
29176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29178 if (!SWIG_IsOK(res1
)) {
29179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29181 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29183 if (!SWIG_IsOK(ecode2
)) {
29184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29186 arg2
= static_cast< int >(val2
);
29188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29190 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29191 result
= (wxTimeSpan
*) &_result_ref
;
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29203 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29204 PyObject
*resultobj
= 0;
29205 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29206 wxTimeSpan
*result
= 0 ;
29209 PyObject
*swig_obj
[1] ;
29211 if (!args
) SWIG_fail
;
29212 swig_obj
[0] = args
;
29213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29214 if (!SWIG_IsOK(res1
)) {
29215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29217 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
29222 result
= (wxTimeSpan
*) &_result_ref
;
29224 wxPyEndAllowThreads(__tstate
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29234 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29235 PyObject
*resultobj
= 0;
29236 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29240 PyObject
*swig_obj
[1] ;
29242 if (!args
) SWIG_fail
;
29243 swig_obj
[0] = args
;
29244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29245 if (!SWIG_IsOK(res1
)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29248 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 result
= ((wxTimeSpan
const *)arg1
)->Abs();
29252 wxPyEndAllowThreads(__tstate
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29262 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29263 PyObject
*resultobj
= 0;
29264 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29265 wxTimeSpan
*arg2
= 0 ;
29266 wxTimeSpan
*result
= 0 ;
29271 PyObject
* obj0
= 0 ;
29272 PyObject
* obj1
= 0 ;
29273 char * kwnames
[] = {
29274 (char *) "self",(char *) "diff", NULL
29277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29279 if (!SWIG_IsOK(res1
)) {
29280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29282 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29284 if (!SWIG_IsOK(res2
)) {
29285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29290 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29295 result
= (wxTimeSpan
*) &_result_ref
;
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29307 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29309 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29310 wxTimeSpan
*arg2
= 0 ;
29311 wxTimeSpan
*result
= 0 ;
29316 PyObject
* obj0
= 0 ;
29317 PyObject
* obj1
= 0 ;
29318 char * kwnames
[] = {
29319 (char *) "self",(char *) "diff", NULL
29322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29324 if (!SWIG_IsOK(res1
)) {
29325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29327 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29329 if (!SWIG_IsOK(res2
)) {
29330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29335 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29339 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29340 result
= (wxTimeSpan
*) &_result_ref
;
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29352 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
= 0;
29354 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29356 wxTimeSpan
*result
= 0 ;
29361 PyObject
* obj0
= 0 ;
29362 PyObject
* obj1
= 0 ;
29363 char * kwnames
[] = {
29364 (char *) "self",(char *) "n", NULL
29367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29369 if (!SWIG_IsOK(res1
)) {
29370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29372 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29374 if (!SWIG_IsOK(ecode2
)) {
29375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29377 arg2
= static_cast< int >(val2
);
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29381 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29382 result
= (wxTimeSpan
*) &_result_ref
;
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29394 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29395 PyObject
*resultobj
= 0;
29396 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29397 wxTimeSpan
*result
= 0 ;
29400 PyObject
*swig_obj
[1] ;
29402 if (!args
) SWIG_fail
;
29403 swig_obj
[0] = args
;
29404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29405 if (!SWIG_IsOK(res1
)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29408 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29412 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29413 result
= (wxTimeSpan
*) &_result_ref
;
29415 wxPyEndAllowThreads(__tstate
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29425 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29426 PyObject
*resultobj
= 0;
29427 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29428 wxTimeSpan
*arg2
= 0 ;
29434 PyObject
* obj0
= 0 ;
29435 PyObject
* obj1
= 0 ;
29436 char * kwnames
[] = {
29437 (char *) "self",(char *) "other", NULL
29440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29442 if (!SWIG_IsOK(res1
)) {
29443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29445 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29447 if (!SWIG_IsOK(res2
)) {
29448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29453 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29456 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29457 wxPyEndAllowThreads(__tstate
);
29458 if (PyErr_Occurred()) SWIG_fail
;
29460 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29467 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29468 PyObject
*resultobj
= 0;
29469 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29470 wxTimeSpan
*arg2
= 0 ;
29476 PyObject
* obj0
= 0 ;
29477 PyObject
* obj1
= 0 ;
29478 char * kwnames
[] = {
29479 (char *) "self",(char *) "other", NULL
29482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29484 if (!SWIG_IsOK(res1
)) {
29485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29487 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29489 if (!SWIG_IsOK(res2
)) {
29490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29495 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29509 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
= 0;
29511 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29518 PyObject
* obj0
= 0 ;
29519 PyObject
* obj1
= 0 ;
29520 char * kwnames
[] = {
29521 (char *) "self",(char *) "n", NULL
29524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29526 if (!SWIG_IsOK(res1
)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29529 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29531 if (!SWIG_IsOK(ecode2
)) {
29532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29534 arg2
= static_cast< int >(val2
);
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29537 result
= wxTimeSpan___mul__(arg1
,arg2
);
29538 wxPyEndAllowThreads(__tstate
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29548 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29549 PyObject
*resultobj
= 0;
29550 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29557 PyObject
* obj0
= 0 ;
29558 PyObject
* obj1
= 0 ;
29559 char * kwnames
[] = {
29560 (char *) "self",(char *) "n", NULL
29563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29565 if (!SWIG_IsOK(res1
)) {
29566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29568 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29570 if (!SWIG_IsOK(ecode2
)) {
29571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29573 arg2
= static_cast< int >(val2
);
29575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29577 wxPyEndAllowThreads(__tstate
);
29578 if (PyErr_Occurred()) SWIG_fail
;
29580 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29587 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
= 0;
29589 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29590 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29596 PyObject
* obj0
= 0 ;
29597 PyObject
* obj1
= 0 ;
29598 char * kwnames
[] = {
29599 (char *) "self",(char *) "other", NULL
29602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29604 if (!SWIG_IsOK(res1
)) {
29605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29607 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29608 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29609 if (!SWIG_IsOK(res2
)) {
29610 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29612 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29616 wxPyEndAllowThreads(__tstate
);
29617 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29628 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
= 0;
29630 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29631 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29637 PyObject
* obj0
= 0 ;
29638 PyObject
* obj1
= 0 ;
29639 char * kwnames
[] = {
29640 (char *) "self",(char *) "other", NULL
29643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29645 if (!SWIG_IsOK(res1
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29648 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29650 if (!SWIG_IsOK(res2
)) {
29651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29653 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29669 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29670 PyObject
*resultobj
= 0;
29671 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29672 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29678 PyObject
* obj0
= 0 ;
29679 PyObject
* obj1
= 0 ;
29680 char * kwnames
[] = {
29681 (char *) "self",(char *) "other", NULL
29684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29686 if (!SWIG_IsOK(res1
)) {
29687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29689 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29691 if (!SWIG_IsOK(res2
)) {
29692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29694 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29697 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29710 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29711 PyObject
*resultobj
= 0;
29712 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29713 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29719 PyObject
* obj0
= 0 ;
29720 PyObject
* obj1
= 0 ;
29721 char * kwnames
[] = {
29722 (char *) "self",(char *) "other", NULL
29725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29727 if (!SWIG_IsOK(res1
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29730 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29731 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29732 if (!SWIG_IsOK(res2
)) {
29733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29735 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29738 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29751 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29752 PyObject
*resultobj
= 0;
29753 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29754 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 char * kwnames
[] = {
29763 (char *) "self",(char *) "other", NULL
29766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29768 if (!SWIG_IsOK(res1
)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29771 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29773 if (!SWIG_IsOK(res2
)) {
29774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29776 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29779 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29780 wxPyEndAllowThreads(__tstate
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29792 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
= 0;
29794 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29795 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29801 PyObject
* obj0
= 0 ;
29802 PyObject
* obj1
= 0 ;
29803 char * kwnames
[] = {
29804 (char *) "self",(char *) "other", NULL
29807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29809 if (!SWIG_IsOK(res1
)) {
29810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29812 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29813 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29814 if (!SWIG_IsOK(res2
)) {
29815 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29817 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29820 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29821 wxPyEndAllowThreads(__tstate
);
29822 if (PyErr_Occurred()) SWIG_fail
;
29825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29833 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29834 PyObject
*resultobj
= 0;
29835 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29839 PyObject
*swig_obj
[1] ;
29841 if (!args
) SWIG_fail
;
29842 swig_obj
[0] = args
;
29843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29844 if (!SWIG_IsOK(res1
)) {
29845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29847 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29851 wxPyEndAllowThreads(__tstate
);
29852 if (PyErr_Occurred()) SWIG_fail
;
29855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29863 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29864 PyObject
*resultobj
= 0;
29865 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29869 PyObject
*swig_obj
[1] ;
29871 if (!args
) SWIG_fail
;
29872 swig_obj
[0] = args
;
29873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29874 if (!SWIG_IsOK(res1
)) {
29875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29877 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29893 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29894 PyObject
*resultobj
= 0;
29895 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29899 PyObject
*swig_obj
[1] ;
29901 if (!args
) SWIG_fail
;
29902 swig_obj
[0] = args
;
29903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29904 if (!SWIG_IsOK(res1
)) {
29905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29907 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29911 wxPyEndAllowThreads(__tstate
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29923 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29924 PyObject
*resultobj
= 0;
29925 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29926 wxTimeSpan
*arg2
= 0 ;
29932 PyObject
* obj0
= 0 ;
29933 PyObject
* obj1
= 0 ;
29934 char * kwnames
[] = {
29935 (char *) "self",(char *) "ts", NULL
29938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29940 if (!SWIG_IsOK(res1
)) {
29941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29943 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29945 if (!SWIG_IsOK(res2
)) {
29946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29951 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29954 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29967 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
= 0;
29969 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29970 wxTimeSpan
*arg2
= 0 ;
29976 PyObject
* obj0
= 0 ;
29977 PyObject
* obj1
= 0 ;
29978 char * kwnames
[] = {
29979 (char *) "self",(char *) "ts", NULL
29982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29984 if (!SWIG_IsOK(res1
)) {
29985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29987 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29989 if (!SWIG_IsOK(res2
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29995 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29998 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29999 wxPyEndAllowThreads(__tstate
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30011 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
= 0;
30013 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30014 wxTimeSpan
*arg2
= 0 ;
30020 PyObject
* obj0
= 0 ;
30021 PyObject
* obj1
= 0 ;
30022 char * kwnames
[] = {
30023 (char *) "self",(char *) "t", NULL
30026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30028 if (!SWIG_IsOK(res1
)) {
30029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30031 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
30033 if (!SWIG_IsOK(res2
)) {
30034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
30039 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30055 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30056 PyObject
*resultobj
= 0;
30057 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30061 PyObject
*swig_obj
[1] ;
30063 if (!args
) SWIG_fail
;
30064 swig_obj
[0] = args
;
30065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30066 if (!SWIG_IsOK(res1
)) {
30067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30069 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30072 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
30073 wxPyEndAllowThreads(__tstate
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= SWIG_From_int(static_cast< int >(result
));
30083 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30084 PyObject
*resultobj
= 0;
30085 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30089 PyObject
*swig_obj
[1] ;
30091 if (!args
) SWIG_fail
;
30092 swig_obj
[0] = args
;
30093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30094 if (!SWIG_IsOK(res1
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30097 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30104 resultobj
= SWIG_From_int(static_cast< int >(result
));
30111 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30112 PyObject
*resultobj
= 0;
30113 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30117 PyObject
*swig_obj
[1] ;
30119 if (!args
) SWIG_fail
;
30120 swig_obj
[0] = args
;
30121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30122 if (!SWIG_IsOK(res1
)) {
30123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30125 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= SWIG_From_int(static_cast< int >(result
));
30139 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30140 PyObject
*resultobj
= 0;
30141 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30145 PyObject
*swig_obj
[1] ;
30147 if (!args
) SWIG_fail
;
30148 swig_obj
[0] = args
;
30149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30150 if (!SWIG_IsOK(res1
)) {
30151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30153 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= SWIG_From_int(static_cast< int >(result
));
30167 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30168 PyObject
*resultobj
= 0;
30169 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30173 PyObject
*swig_obj
[1] ;
30175 if (!args
) SWIG_fail
;
30176 swig_obj
[0] = args
;
30177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30178 if (!SWIG_IsOK(res1
)) {
30179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30181 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30184 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
30185 wxPyEndAllowThreads(__tstate
);
30186 if (PyErr_Occurred()) SWIG_fail
;
30189 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30190 hi
= PyLong_FromLong( (&result
)->GetHi() );
30191 lo
= PyLong_FromLong( (&result
)->GetLo() );
30192 shifter
= PyLong_FromLong(32);
30193 shifted
= PyNumber_Lshift(hi
, shifter
);
30194 resultobj
= PyNumber_Or(shifted
, lo
);
30197 Py_DECREF(shifter
);
30198 Py_DECREF(shifted
);
30206 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30207 PyObject
*resultobj
= 0;
30208 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30212 PyObject
*swig_obj
[1] ;
30214 if (!args
) SWIG_fail
;
30215 swig_obj
[0] = args
;
30216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30217 if (!SWIG_IsOK(res1
)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30220 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30228 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30229 hi
= PyLong_FromLong( (&result
)->GetHi() );
30230 lo
= PyLong_FromLong( (&result
)->GetLo() );
30231 shifter
= PyLong_FromLong(32);
30232 shifted
= PyNumber_Lshift(hi
, shifter
);
30233 resultobj
= PyNumber_Or(shifted
, lo
);
30236 Py_DECREF(shifter
);
30237 Py_DECREF(shifted
);
30245 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
= 0;
30247 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
30248 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
30249 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
30253 bool temp2
= false ;
30254 PyObject
* obj0
= 0 ;
30255 PyObject
* obj1
= 0 ;
30256 char * kwnames
[] = {
30257 (char *) "self",(char *) "format", NULL
30260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
30262 if (!SWIG_IsOK(res1
)) {
30263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
30265 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
30268 arg2
= wxString_in_helper(obj1
);
30269 if (arg2
== NULL
) SWIG_fail
;
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
30276 wxPyEndAllowThreads(__tstate
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30300 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30303 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30304 return SWIG_Py_Void();
30307 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30308 return SWIG_Python_InitShadowInstance(args
);
30311 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
= 0;
30313 int arg1
= (int) 0 ;
30314 int arg2
= (int) 0 ;
30315 int arg3
= (int) 0 ;
30316 int arg4
= (int) 0 ;
30317 wxDateSpan
*result
= 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 PyObject
* obj2
= 0 ;
30329 PyObject
* obj3
= 0 ;
30330 char * kwnames
[] = {
30331 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30336 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30337 if (!SWIG_IsOK(ecode1
)) {
30338 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30340 arg1
= static_cast< int >(val1
);
30343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30344 if (!SWIG_IsOK(ecode2
)) {
30345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30347 arg2
= static_cast< int >(val2
);
30350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30351 if (!SWIG_IsOK(ecode3
)) {
30352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30354 arg3
= static_cast< int >(val3
);
30357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30358 if (!SWIG_IsOK(ecode4
)) {
30359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30361 arg4
= static_cast< int >(val4
);
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30376 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30377 PyObject
*resultobj
= 0;
30378 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30381 PyObject
*swig_obj
[1] ;
30383 if (!args
) SWIG_fail
;
30384 swig_obj
[0] = args
;
30385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30386 if (!SWIG_IsOK(res1
)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30389 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= SWIG_Py_Void();
30404 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
= 0;
30410 PyObject
* obj0
= 0 ;
30411 char * kwnames
[] = {
30412 (char *) "days", NULL
30415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30416 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30417 if (!SWIG_IsOK(ecode1
)) {
30418 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30420 arg1
= static_cast< int >(val1
);
30422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 result
= wxDateSpan::Days(arg1
);
30424 wxPyEndAllowThreads(__tstate
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30427 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30434 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30435 PyObject
*resultobj
= 0;
30438 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30441 result
= wxDateSpan::Day();
30442 wxPyEndAllowThreads(__tstate
);
30443 if (PyErr_Occurred()) SWIG_fail
;
30445 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30452 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30453 PyObject
*resultobj
= 0;
30458 PyObject
* obj0
= 0 ;
30459 char * kwnames
[] = {
30460 (char *) "weeks", NULL
30463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30464 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30465 if (!SWIG_IsOK(ecode1
)) {
30466 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30468 arg1
= static_cast< int >(val1
);
30470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30471 result
= wxDateSpan::Weeks(arg1
);
30472 wxPyEndAllowThreads(__tstate
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30475 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30482 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30483 PyObject
*resultobj
= 0;
30486 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 result
= wxDateSpan::Week();
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30500 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
= 0;
30506 PyObject
* obj0
= 0 ;
30507 char * kwnames
[] = {
30508 (char *) "mon", NULL
30511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30512 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30513 if (!SWIG_IsOK(ecode1
)) {
30514 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30516 arg1
= static_cast< int >(val1
);
30518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30519 result
= wxDateSpan::Months(arg1
);
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30530 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30531 PyObject
*resultobj
= 0;
30534 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30537 result
= wxDateSpan::Month();
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30548 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
= 0;
30554 PyObject
* obj0
= 0 ;
30555 char * kwnames
[] = {
30556 (char *) "years", NULL
30559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30560 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30561 if (!SWIG_IsOK(ecode1
)) {
30562 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30564 arg1
= static_cast< int >(val1
);
30566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30567 result
= wxDateSpan::Years(arg1
);
30568 wxPyEndAllowThreads(__tstate
);
30569 if (PyErr_Occurred()) SWIG_fail
;
30571 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30578 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30579 PyObject
*resultobj
= 0;
30582 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 result
= wxDateSpan::Year();
30586 wxPyEndAllowThreads(__tstate
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30596 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30597 PyObject
*resultobj
= 0;
30598 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30600 wxDateSpan
*result
= 0 ;
30605 PyObject
* obj0
= 0 ;
30606 PyObject
* obj1
= 0 ;
30607 char * kwnames
[] = {
30608 (char *) "self",(char *) "n", NULL
30611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30613 if (!SWIG_IsOK(res1
)) {
30614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30616 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30618 if (!SWIG_IsOK(ecode2
)) {
30619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30621 arg2
= static_cast< int >(val2
);
30623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30625 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30626 result
= (wxDateSpan
*) &_result_ref
;
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30638 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30639 PyObject
*resultobj
= 0;
30640 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30642 wxDateSpan
*result
= 0 ;
30647 PyObject
* obj0
= 0 ;
30648 PyObject
* obj1
= 0 ;
30649 char * kwnames
[] = {
30650 (char *) "self",(char *) "n", NULL
30653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30655 if (!SWIG_IsOK(res1
)) {
30656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30658 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30660 if (!SWIG_IsOK(ecode2
)) {
30661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30663 arg2
= static_cast< int >(val2
);
30665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30667 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30668 result
= (wxDateSpan
*) &_result_ref
;
30670 wxPyEndAllowThreads(__tstate
);
30671 if (PyErr_Occurred()) SWIG_fail
;
30673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30680 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30681 PyObject
*resultobj
= 0;
30682 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30684 wxDateSpan
*result
= 0 ;
30689 PyObject
* obj0
= 0 ;
30690 PyObject
* obj1
= 0 ;
30691 char * kwnames
[] = {
30692 (char *) "self",(char *) "n", NULL
30695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30697 if (!SWIG_IsOK(res1
)) {
30698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30700 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30702 if (!SWIG_IsOK(ecode2
)) {
30703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30705 arg2
= static_cast< int >(val2
);
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30709 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30710 result
= (wxDateSpan
*) &_result_ref
;
30712 wxPyEndAllowThreads(__tstate
);
30713 if (PyErr_Occurred()) SWIG_fail
;
30715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30722 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30723 PyObject
*resultobj
= 0;
30724 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30726 wxDateSpan
*result
= 0 ;
30731 PyObject
* obj0
= 0 ;
30732 PyObject
* obj1
= 0 ;
30733 char * kwnames
[] = {
30734 (char *) "self",(char *) "n", NULL
30737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30739 if (!SWIG_IsOK(res1
)) {
30740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30742 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30744 if (!SWIG_IsOK(ecode2
)) {
30745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30747 arg2
= static_cast< int >(val2
);
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30752 result
= (wxDateSpan
*) &_result_ref
;
30754 wxPyEndAllowThreads(__tstate
);
30755 if (PyErr_Occurred()) SWIG_fail
;
30757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30764 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30765 PyObject
*resultobj
= 0;
30766 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30770 PyObject
*swig_obj
[1] ;
30772 if (!args
) SWIG_fail
;
30773 swig_obj
[0] = args
;
30774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30775 if (!SWIG_IsOK(res1
)) {
30776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30778 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30781 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= SWIG_From_int(static_cast< int >(result
));
30792 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30793 PyObject
*resultobj
= 0;
30794 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30798 PyObject
*swig_obj
[1] ;
30800 if (!args
) SWIG_fail
;
30801 swig_obj
[0] = args
;
30802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30803 if (!SWIG_IsOK(res1
)) {
30804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30806 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= SWIG_From_int(static_cast< int >(result
));
30820 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30821 PyObject
*resultobj
= 0;
30822 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30826 PyObject
*swig_obj
[1] ;
30828 if (!args
) SWIG_fail
;
30829 swig_obj
[0] = args
;
30830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30831 if (!SWIG_IsOK(res1
)) {
30832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30834 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30837 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30838 wxPyEndAllowThreads(__tstate
);
30839 if (PyErr_Occurred()) SWIG_fail
;
30841 resultobj
= SWIG_From_int(static_cast< int >(result
));
30848 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30849 PyObject
*resultobj
= 0;
30850 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30854 PyObject
*swig_obj
[1] ;
30856 if (!args
) SWIG_fail
;
30857 swig_obj
[0] = args
;
30858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30859 if (!SWIG_IsOK(res1
)) {
30860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30862 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_From_int(static_cast< int >(result
));
30876 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30877 PyObject
*resultobj
= 0;
30878 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30882 PyObject
*swig_obj
[1] ;
30884 if (!args
) SWIG_fail
;
30885 swig_obj
[0] = args
;
30886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30887 if (!SWIG_IsOK(res1
)) {
30888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30890 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30897 resultobj
= SWIG_From_int(static_cast< int >(result
));
30904 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
= 0;
30906 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30907 wxDateSpan
*arg2
= 0 ;
30908 wxDateSpan
*result
= 0 ;
30913 PyObject
* obj0
= 0 ;
30914 PyObject
* obj1
= 0 ;
30915 char * kwnames
[] = {
30916 (char *) "self",(char *) "other", NULL
30919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30921 if (!SWIG_IsOK(res1
)) {
30922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30924 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30926 if (!SWIG_IsOK(res2
)) {
30927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30932 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30937 result
= (wxDateSpan
*) &_result_ref
;
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30949 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30950 PyObject
*resultobj
= 0;
30951 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30952 wxDateSpan
*arg2
= 0 ;
30953 wxDateSpan
*result
= 0 ;
30958 PyObject
* obj0
= 0 ;
30959 PyObject
* obj1
= 0 ;
30960 char * kwnames
[] = {
30961 (char *) "self",(char *) "other", NULL
30964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30966 if (!SWIG_IsOK(res1
)) {
30967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30969 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30970 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30971 if (!SWIG_IsOK(res2
)) {
30972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30977 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30982 result
= (wxDateSpan
*) &_result_ref
;
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30994 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30995 PyObject
*resultobj
= 0;
30996 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30997 wxDateSpan
*result
= 0 ;
31000 PyObject
*swig_obj
[1] ;
31002 if (!args
) SWIG_fail
;
31003 swig_obj
[0] = args
;
31004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31005 if (!SWIG_IsOK(res1
)) {
31006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31008 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31012 wxDateSpan
&_result_ref
= (arg1
)->Neg();
31013 result
= (wxDateSpan
*) &_result_ref
;
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31025 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31026 PyObject
*resultobj
= 0;
31027 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31029 wxDateSpan
*result
= 0 ;
31034 PyObject
* obj0
= 0 ;
31035 PyObject
* obj1
= 0 ;
31036 char * kwnames
[] = {
31037 (char *) "self",(char *) "factor", NULL
31040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31042 if (!SWIG_IsOK(res1
)) {
31043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31045 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31047 if (!SWIG_IsOK(ecode2
)) {
31048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
31050 arg2
= static_cast< int >(val2
);
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31054 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
31055 result
= (wxDateSpan
*) &_result_ref
;
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31067 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31068 PyObject
*resultobj
= 0;
31069 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31070 wxDateSpan
*arg2
= 0 ;
31071 wxDateSpan
*result
= 0 ;
31076 PyObject
* obj0
= 0 ;
31077 PyObject
* obj1
= 0 ;
31078 char * kwnames
[] = {
31079 (char *) "self",(char *) "other", NULL
31082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31084 if (!SWIG_IsOK(res1
)) {
31085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31087 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31088 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31089 if (!SWIG_IsOK(res2
)) {
31090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31095 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31099 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
31100 result
= (wxDateSpan
*) &_result_ref
;
31102 wxPyEndAllowThreads(__tstate
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31112 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31113 PyObject
*resultobj
= 0;
31114 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31115 wxDateSpan
*arg2
= 0 ;
31116 wxDateSpan
*result
= 0 ;
31121 PyObject
* obj0
= 0 ;
31122 PyObject
* obj1
= 0 ;
31123 char * kwnames
[] = {
31124 (char *) "self",(char *) "other", NULL
31127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31129 if (!SWIG_IsOK(res1
)) {
31130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31132 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31134 if (!SWIG_IsOK(res2
)) {
31135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31140 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31144 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
31145 result
= (wxDateSpan
*) &_result_ref
;
31147 wxPyEndAllowThreads(__tstate
);
31148 if (PyErr_Occurred()) SWIG_fail
;
31150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31157 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31158 PyObject
*resultobj
= 0;
31159 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31160 wxDateSpan
*result
= 0 ;
31163 PyObject
*swig_obj
[1] ;
31165 if (!args
) SWIG_fail
;
31166 swig_obj
[0] = args
;
31167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31168 if (!SWIG_IsOK(res1
)) {
31169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31171 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31175 wxDateSpan
&_result_ref
= (arg1
)->operator -();
31176 result
= (wxDateSpan
*) &_result_ref
;
31178 wxPyEndAllowThreads(__tstate
);
31179 if (PyErr_Occurred()) SWIG_fail
;
31181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31188 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31189 PyObject
*resultobj
= 0;
31190 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31192 wxDateSpan
*result
= 0 ;
31197 PyObject
* obj0
= 0 ;
31198 PyObject
* obj1
= 0 ;
31199 char * kwnames
[] = {
31200 (char *) "self",(char *) "factor", NULL
31203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
31205 if (!SWIG_IsOK(res1
)) {
31206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31208 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31210 if (!SWIG_IsOK(ecode2
)) {
31211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
31213 arg2
= static_cast< int >(val2
);
31215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31217 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
31218 result
= (wxDateSpan
*) &_result_ref
;
31220 wxPyEndAllowThreads(__tstate
);
31221 if (PyErr_Occurred()) SWIG_fail
;
31223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31230 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31231 PyObject
*resultobj
= 0;
31232 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31233 wxDateSpan
*arg2
= 0 ;
31239 PyObject
* obj0
= 0 ;
31240 PyObject
* obj1
= 0 ;
31241 char * kwnames
[] = {
31242 (char *) "self",(char *) "other", NULL
31245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31247 if (!SWIG_IsOK(res1
)) {
31248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31250 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31252 if (!SWIG_IsOK(res2
)) {
31253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31258 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31261 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
31262 wxPyEndAllowThreads(__tstate
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31265 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31272 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31273 PyObject
*resultobj
= 0;
31274 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31275 wxDateSpan
*arg2
= 0 ;
31281 PyObject
* obj0
= 0 ;
31282 PyObject
* obj1
= 0 ;
31283 char * kwnames
[] = {
31284 (char *) "self",(char *) "other", NULL
31287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31289 if (!SWIG_IsOK(res1
)) {
31290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31292 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31294 if (!SWIG_IsOK(res2
)) {
31295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31300 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31303 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31304 wxPyEndAllowThreads(__tstate
);
31305 if (PyErr_Occurred()) SWIG_fail
;
31307 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31314 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31315 PyObject
*resultobj
= 0;
31316 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31323 PyObject
* obj0
= 0 ;
31324 PyObject
* obj1
= 0 ;
31325 char * kwnames
[] = {
31326 (char *) "self",(char *) "n", NULL
31329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31331 if (!SWIG_IsOK(res1
)) {
31332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31334 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31336 if (!SWIG_IsOK(ecode2
)) {
31337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31339 arg2
= static_cast< int >(val2
);
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 result
= wxDateSpan___mul__(arg1
,arg2
);
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31346 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31353 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31354 PyObject
*resultobj
= 0;
31355 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31362 PyObject
* obj0
= 0 ;
31363 PyObject
* obj1
= 0 ;
31364 char * kwnames
[] = {
31365 (char *) "self",(char *) "n", NULL
31368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31370 if (!SWIG_IsOK(res1
)) {
31371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31373 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31375 if (!SWIG_IsOK(ecode2
)) {
31376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31378 arg2
= static_cast< int >(val2
);
31380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31381 result
= wxDateSpan___rmul__(arg1
,arg2
);
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31385 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31392 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31393 PyObject
*resultobj
= 0;
31394 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31395 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31401 PyObject
* obj0
= 0 ;
31402 PyObject
* obj1
= 0 ;
31403 char * kwnames
[] = {
31404 (char *) "self",(char *) "other", NULL
31407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31409 if (!SWIG_IsOK(res1
)) {
31410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31412 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31414 if (!SWIG_IsOK(res2
)) {
31415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31417 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31420 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31421 wxPyEndAllowThreads(__tstate
);
31422 if (PyErr_Occurred()) SWIG_fail
;
31425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31433 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31434 PyObject
*resultobj
= 0;
31435 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31436 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31442 PyObject
* obj0
= 0 ;
31443 PyObject
* obj1
= 0 ;
31444 char * kwnames
[] = {
31445 (char *) "self",(char *) "other", NULL
31448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31450 if (!SWIG_IsOK(res1
)) {
31451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31453 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31455 if (!SWIG_IsOK(res2
)) {
31456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31458 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31461 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31474 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31477 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31478 return SWIG_Py_Void();
31481 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31482 return SWIG_Python_InitShadowInstance(args
);
31485 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31486 PyObject
*resultobj
= 0;
31489 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31492 result
= (long)wxGetLocalTime();
31493 wxPyEndAllowThreads(__tstate
);
31494 if (PyErr_Occurred()) SWIG_fail
;
31496 resultobj
= SWIG_From_long(static_cast< long >(result
));
31503 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31504 PyObject
*resultobj
= 0;
31507 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31510 result
= (long)wxGetUTCTime();
31511 wxPyEndAllowThreads(__tstate
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31514 resultobj
= SWIG_From_long(static_cast< long >(result
));
31521 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31522 PyObject
*resultobj
= 0;
31525 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 result
= (long)wxGetCurrentTime();
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31532 resultobj
= SWIG_From_long(static_cast< long >(result
));
31539 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31540 PyObject
*resultobj
= 0;
31543 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31546 result
= wxGetLocalTimeMillis();
31547 wxPyEndAllowThreads(__tstate
);
31548 if (PyErr_Occurred()) SWIG_fail
;
31551 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31552 hi
= PyLong_FromLong( (&result
)->GetHi() );
31553 lo
= PyLong_FromLong( (&result
)->GetLo() );
31554 shifter
= PyLong_FromLong(32);
31555 shifted
= PyNumber_Lshift(hi
, shifter
);
31556 resultobj
= PyNumber_Or(shifted
, lo
);
31559 Py_DECREF(shifter
);
31560 Py_DECREF(shifted
);
31568 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31569 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31574 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31575 PyObject
*pyobj
= 0;
31577 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31582 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
= 0;
31584 wxDataFormatId arg1
;
31585 wxDataFormat
*result
= 0 ;
31588 PyObject
* obj0
= 0 ;
31589 char * kwnames
[] = {
31590 (char *) "type", NULL
31593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31594 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31595 if (!SWIG_IsOK(ecode1
)) {
31596 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31598 arg1
= static_cast< wxDataFormatId
>(val1
);
31600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31601 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31602 wxPyEndAllowThreads(__tstate
);
31603 if (PyErr_Occurred()) SWIG_fail
;
31605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31612 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31613 PyObject
*resultobj
= 0;
31614 wxString
*arg1
= 0 ;
31615 wxDataFormat
*result
= 0 ;
31616 bool temp1
= false ;
31617 PyObject
* obj0
= 0 ;
31618 char * kwnames
[] = {
31619 (char *) "format", NULL
31622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31624 arg1
= wxString_in_helper(obj0
);
31625 if (arg1
== NULL
) SWIG_fail
;
31629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31630 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31631 wxPyEndAllowThreads(__tstate
);
31632 if (PyErr_Occurred()) SWIG_fail
;
31634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31649 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31650 PyObject
*resultobj
= 0;
31651 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31654 PyObject
*swig_obj
[1] ;
31656 if (!args
) SWIG_fail
;
31657 swig_obj
[0] = args
;
31658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31659 if (!SWIG_IsOK(res1
)) {
31660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31662 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 resultobj
= SWIG_Py_Void();
31677 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31678 PyObject
*resultobj
= 0;
31679 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31680 wxDataFormatId arg2
;
31687 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31689 if (!SWIG_IsOK(res1
)) {
31690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31692 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31693 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31694 if (!SWIG_IsOK(ecode2
)) {
31695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31697 arg2
= static_cast< wxDataFormatId
>(val2
);
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31713 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31714 PyObject
*resultobj
= 0;
31715 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31716 wxDataFormatId arg2
;
31723 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31725 if (!SWIG_IsOK(res1
)) {
31726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31728 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31729 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31730 if (!SWIG_IsOK(ecode2
)) {
31731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31733 arg2
= static_cast< wxDataFormatId
>(val2
);
31735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31736 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31737 wxPyEndAllowThreads(__tstate
);
31738 if (PyErr_Occurred()) SWIG_fail
;
31741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31749 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31750 PyObject
*resultobj
= 0;
31751 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31752 wxDataFormat
*arg2
= 0 ;
31759 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31761 if (!SWIG_IsOK(res1
)) {
31762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31764 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31765 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31766 if (!SWIG_IsOK(res2
)) {
31767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31772 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31788 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31792 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31797 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31798 _v
= SWIG_CheckState(res
);
31800 if (!_v
) goto check_1
;
31801 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31806 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31810 Py_INCREF(Py_NotImplemented
);
31811 return Py_NotImplemented
;
31815 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31816 PyObject
*resultobj
= 0;
31817 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31818 wxDataFormat
*arg2
= 0 ;
31825 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31827 if (!SWIG_IsOK(res1
)) {
31828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31830 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31831 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31832 if (!SWIG_IsOK(res2
)) {
31833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31838 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31842 wxPyEndAllowThreads(__tstate
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31854 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31858 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31863 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31864 _v
= SWIG_CheckState(res
);
31866 if (!_v
) goto check_1
;
31867 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31872 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31876 Py_INCREF(Py_NotImplemented
);
31877 return Py_NotImplemented
;
31881 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31882 PyObject
*resultobj
= 0;
31883 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31884 wxDataFormatId arg2
;
31889 PyObject
* obj0
= 0 ;
31890 PyObject
* obj1
= 0 ;
31891 char * kwnames
[] = {
31892 (char *) "self",(char *) "format", NULL
31895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31897 if (!SWIG_IsOK(res1
)) {
31898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31900 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31902 if (!SWIG_IsOK(ecode2
)) {
31903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31905 arg2
= static_cast< wxDataFormatId
>(val2
);
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 (arg1
)->SetType(arg2
);
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31912 resultobj
= SWIG_Py_Void();
31919 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31920 PyObject
*resultobj
= 0;
31921 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31922 wxDataFormatId result
;
31925 PyObject
*swig_obj
[1] ;
31927 if (!args
) SWIG_fail
;
31928 swig_obj
[0] = args
;
31929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31930 if (!SWIG_IsOK(res1
)) {
31931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31933 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31937 wxPyEndAllowThreads(__tstate
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31940 resultobj
= SWIG_From_int(static_cast< int >(result
));
31947 SWIGINTERN PyObject
*_wrap_DataFormat__GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31948 PyObject
*resultobj
= 0;
31949 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31953 PyObject
*swig_obj
[1] ;
31955 if (!args
) SWIG_fail
;
31956 swig_obj
[0] = args
;
31957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31958 if (!SWIG_IsOK(res1
)) {
31959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat__GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31961 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31964 result
= ((wxDataFormat
const *)arg1
)->GetId();
31965 wxPyEndAllowThreads(__tstate
);
31966 if (PyErr_Occurred()) SWIG_fail
;
31970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31981 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31982 PyObject
*resultobj
= 0;
31983 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31984 wxString
*arg2
= 0 ;
31987 bool temp2
= false ;
31988 PyObject
* obj0
= 0 ;
31989 PyObject
* obj1
= 0 ;
31990 char * kwnames
[] = {
31991 (char *) "self",(char *) "format", NULL
31994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31996 if (!SWIG_IsOK(res1
)) {
31997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31999 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32001 arg2
= wxString_in_helper(obj1
);
32002 if (arg2
== NULL
) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32007 (arg1
)->SetId((wxString
const &)*arg2
);
32008 wxPyEndAllowThreads(__tstate
);
32009 if (PyErr_Occurred()) SWIG_fail
;
32011 resultobj
= SWIG_Py_Void();
32026 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32029 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
32030 return SWIG_Py_Void();
32033 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32034 return SWIG_Python_InitShadowInstance(args
);
32037 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
32038 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
32043 SWIGINTERN PyObject
*FormatInvalid_get(void) {
32044 PyObject
*pyobj
= 0;
32046 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
32051 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32052 PyObject
*resultobj
= 0;
32053 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32056 PyObject
*swig_obj
[1] ;
32058 if (!args
) SWIG_fail
;
32059 swig_obj
[0] = args
;
32060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32061 if (!SWIG_IsOK(res1
)) {
32062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
32064 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32069 wxPyEndAllowThreads(__tstate
);
32070 if (PyErr_Occurred()) SWIG_fail
;
32072 resultobj
= SWIG_Py_Void();
32079 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32080 PyObject
*resultobj
= 0;
32081 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32082 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32083 SwigValueWrapper
<wxDataFormat
> result
;
32088 PyObject
* obj0
= 0 ;
32089 PyObject
* obj1
= 0 ;
32090 char * kwnames
[] = {
32091 (char *) "self",(char *) "dir", NULL
32094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32096 if (!SWIG_IsOK(res1
)) {
32097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32099 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32102 if (!SWIG_IsOK(ecode2
)) {
32103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32105 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32120 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32121 PyObject
*resultobj
= 0;
32122 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32123 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32129 PyObject
* obj0
= 0 ;
32130 PyObject
* obj1
= 0 ;
32131 char * kwnames
[] = {
32132 (char *) "self",(char *) "dir", NULL
32135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32137 if (!SWIG_IsOK(res1
)) {
32138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32140 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32143 if (!SWIG_IsOK(ecode2
)) {
32144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32146 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32150 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
32151 wxPyEndAllowThreads(__tstate
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32154 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32161 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32162 PyObject
*resultobj
= 0;
32163 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32164 wxDataFormat
*arg2
= 0 ;
32165 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
32173 PyObject
* obj0
= 0 ;
32174 PyObject
* obj1
= 0 ;
32175 PyObject
* obj2
= 0 ;
32176 char * kwnames
[] = {
32177 (char *) "self",(char *) "format",(char *) "dir", NULL
32180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32182 if (!SWIG_IsOK(res1
)) {
32183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32185 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32186 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32187 if (!SWIG_IsOK(res2
)) {
32188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32191 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32193 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32195 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32196 if (!SWIG_IsOK(ecode3
)) {
32197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
32199 arg3
= static_cast< wxDataObject::Direction
>(val3
);
32202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
32204 wxPyEndAllowThreads(__tstate
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32216 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32217 PyObject
*resultobj
= 0;
32218 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32219 wxDataFormat
*arg2
= 0 ;
32225 PyObject
* obj0
= 0 ;
32226 PyObject
* obj1
= 0 ;
32227 char * kwnames
[] = {
32228 (char *) "self",(char *) "format", NULL
32231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32233 if (!SWIG_IsOK(res1
)) {
32234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
32236 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32238 if (!SWIG_IsOK(res2
)) {
32239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32244 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32251 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32258 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32259 PyObject
*resultobj
= 0;
32260 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32261 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
32262 PyObject
*result
= 0 ;
32267 PyObject
* obj0
= 0 ;
32268 PyObject
* obj1
= 0 ;
32269 char * kwnames
[] = {
32270 (char *) "self",(char *) "dir", NULL
32273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32275 if (!SWIG_IsOK(res1
)) {
32276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
32278 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32281 if (!SWIG_IsOK(ecode2
)) {
32282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
32284 arg2
= static_cast< wxDataObject::Direction
>(val2
);
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32292 resultobj
= result
;
32299 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32300 PyObject
*resultobj
= 0;
32301 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32302 wxDataFormat
*arg2
= 0 ;
32303 PyObject
*result
= 0 ;
32308 PyObject
* obj0
= 0 ;
32309 PyObject
* obj1
= 0 ;
32310 char * kwnames
[] = {
32311 (char *) "self",(char *) "format", NULL
32314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32316 if (!SWIG_IsOK(res1
)) {
32317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32319 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32321 if (!SWIG_IsOK(res2
)) {
32322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32327 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32330 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32334 resultobj
= result
;
32341 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
= 0;
32343 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32344 wxDataFormat
*arg2
= 0 ;
32345 PyObject
*arg3
= (PyObject
*) 0 ;
32351 PyObject
* obj0
= 0 ;
32352 PyObject
* obj1
= 0 ;
32353 PyObject
* obj2
= 0 ;
32354 char * kwnames
[] = {
32355 (char *) "self",(char *) "format",(char *) "data", NULL
32358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32360 if (!SWIG_IsOK(res1
)) {
32361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32363 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32365 if (!SWIG_IsOK(res2
)) {
32366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32371 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32375 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32376 wxPyEndAllowThreads(__tstate
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32388 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32391 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32392 return SWIG_Py_Void();
32395 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32396 PyObject
*resultobj
= 0;
32397 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32398 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32399 wxDataObjectSimple
*result
= 0 ;
32402 PyObject
* obj0
= 0 ;
32403 char * kwnames
[] = {
32404 (char *) "format", NULL
32407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32409 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32410 if (!SWIG_IsOK(res1
)) {
32411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32416 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32420 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32421 wxPyEndAllowThreads(__tstate
);
32422 if (PyErr_Occurred()) SWIG_fail
;
32424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32431 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32432 PyObject
*resultobj
= 0;
32433 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32434 wxDataFormat
*result
= 0 ;
32437 PyObject
*swig_obj
[1] ;
32439 if (!args
) SWIG_fail
;
32440 swig_obj
[0] = args
;
32441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32442 if (!SWIG_IsOK(res1
)) {
32443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32445 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32450 result
= (wxDataFormat
*) &_result_ref
;
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32462 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32463 PyObject
*resultobj
= 0;
32464 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32465 wxDataFormat
*arg2
= 0 ;
32470 PyObject
* obj0
= 0 ;
32471 PyObject
* obj1
= 0 ;
32472 char * kwnames
[] = {
32473 (char *) "self",(char *) "format", NULL
32476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32478 if (!SWIG_IsOK(res1
)) {
32479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32481 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32483 if (!SWIG_IsOK(res2
)) {
32484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32489 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32496 resultobj
= SWIG_Py_Void();
32503 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32504 PyObject
*resultobj
= 0;
32505 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32509 PyObject
*swig_obj
[1] ;
32511 if (!args
) SWIG_fail
;
32512 swig_obj
[0] = args
;
32513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32514 if (!SWIG_IsOK(res1
)) {
32515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32517 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32520 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32531 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32532 PyObject
*resultobj
= 0;
32533 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32534 PyObject
*result
= 0 ;
32537 PyObject
*swig_obj
[1] ;
32539 if (!args
) SWIG_fail
;
32540 swig_obj
[0] = args
;
32541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32542 if (!SWIG_IsOK(res1
)) {
32543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32545 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32548 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32549 wxPyEndAllowThreads(__tstate
);
32550 if (PyErr_Occurred()) SWIG_fail
;
32552 resultobj
= result
;
32559 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32560 PyObject
*resultobj
= 0;
32561 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32562 PyObject
*arg2
= (PyObject
*) 0 ;
32566 PyObject
* obj0
= 0 ;
32567 PyObject
* obj1
= 0 ;
32568 char * kwnames
[] = {
32569 (char *) "self",(char *) "data", NULL
32572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32574 if (!SWIG_IsOK(res1
)) {
32575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32577 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32594 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32597 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32598 return SWIG_Py_Void();
32601 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32602 return SWIG_Python_InitShadowInstance(args
);
32605 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32606 PyObject
*resultobj
= 0;
32607 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32608 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32609 wxPyDataObjectSimple
*result
= 0 ;
32612 PyObject
* obj0
= 0 ;
32613 char * kwnames
[] = {
32614 (char *) "format", NULL
32617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32619 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32620 if (!SWIG_IsOK(res1
)) {
32621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32626 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32630 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32631 wxPyEndAllowThreads(__tstate
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32641 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32642 PyObject
*resultobj
= 0;
32643 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32644 PyObject
*arg2
= (PyObject
*) 0 ;
32645 PyObject
*arg3
= (PyObject
*) 0 ;
32648 PyObject
* obj0
= 0 ;
32649 PyObject
* obj1
= 0 ;
32650 PyObject
* obj2
= 0 ;
32651 char * kwnames
[] = {
32652 (char *) "self",(char *) "self",(char *) "_class", NULL
32655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32657 if (!SWIG_IsOK(res1
)) {
32658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32660 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32666 wxPyEndAllowThreads(__tstate
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32669 resultobj
= SWIG_Py_Void();
32676 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32679 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32680 return SWIG_Py_Void();
32683 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32684 return SWIG_Python_InitShadowInstance(args
);
32687 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32688 PyObject
*resultobj
= 0;
32689 wxDataObjectComposite
*result
= 0 ;
32691 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32694 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32695 wxPyEndAllowThreads(__tstate
);
32696 if (PyErr_Occurred()) SWIG_fail
;
32698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32705 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32706 PyObject
*resultobj
= 0;
32707 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32708 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32709 bool arg3
= (bool) false ;
32715 PyObject
* obj0
= 0 ;
32716 PyObject
* obj1
= 0 ;
32717 PyObject
* obj2
= 0 ;
32718 char * kwnames
[] = {
32719 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32724 if (!SWIG_IsOK(res1
)) {
32725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32727 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32728 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32729 if (!SWIG_IsOK(res2
)) {
32730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32733 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32734 if (!SWIG_IsOK(ecode3
)) {
32735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32737 arg3
= static_cast< bool >(val3
);
32740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32741 (arg1
)->Add(arg2
,arg3
);
32742 wxPyEndAllowThreads(__tstate
);
32743 if (PyErr_Occurred()) SWIG_fail
;
32745 resultobj
= SWIG_Py_Void();
32752 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32753 PyObject
*resultobj
= 0;
32754 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32755 SwigValueWrapper
<wxDataFormat
> result
;
32758 PyObject
*swig_obj
[1] ;
32760 if (!args
) SWIG_fail
;
32761 swig_obj
[0] = args
;
32762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32763 if (!SWIG_IsOK(res1
)) {
32764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32766 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32769 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32773 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32780 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32783 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32784 return SWIG_Py_Void();
32787 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32788 return SWIG_Python_InitShadowInstance(args
);
32791 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32792 PyObject
*resultobj
= 0;
32793 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32794 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32795 wxTextDataObject
*result
= 0 ;
32796 bool temp1
= false ;
32797 PyObject
* obj0
= 0 ;
32798 char * kwnames
[] = {
32799 (char *) "text", NULL
32802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32805 arg1
= wxString_in_helper(obj0
);
32806 if (arg1
== NULL
) SWIG_fail
;
32811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32812 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32831 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32832 PyObject
*resultobj
= 0;
32833 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32837 PyObject
*swig_obj
[1] ;
32839 if (!args
) SWIG_fail
;
32840 swig_obj
[0] = args
;
32841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32842 if (!SWIG_IsOK(res1
)) {
32843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32845 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32848 result
= (size_t)(arg1
)->GetTextLength();
32849 wxPyEndAllowThreads(__tstate
);
32850 if (PyErr_Occurred()) SWIG_fail
;
32852 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32859 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32860 PyObject
*resultobj
= 0;
32861 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32865 PyObject
*swig_obj
[1] ;
32867 if (!args
) SWIG_fail
;
32868 swig_obj
[0] = args
;
32869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32870 if (!SWIG_IsOK(res1
)) {
32871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32873 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32876 result
= (arg1
)->GetText();
32877 wxPyEndAllowThreads(__tstate
);
32878 if (PyErr_Occurred()) SWIG_fail
;
32882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32893 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32894 PyObject
*resultobj
= 0;
32895 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32896 wxString
*arg2
= 0 ;
32899 bool temp2
= false ;
32900 PyObject
* obj0
= 0 ;
32901 PyObject
* obj1
= 0 ;
32902 char * kwnames
[] = {
32903 (char *) "self",(char *) "text", NULL
32906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32908 if (!SWIG_IsOK(res1
)) {
32909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32911 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32913 arg2
= wxString_in_helper(obj1
);
32914 if (arg2
== NULL
) SWIG_fail
;
32918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32919 (arg1
)->SetText((wxString
const &)*arg2
);
32920 wxPyEndAllowThreads(__tstate
);
32921 if (PyErr_Occurred()) SWIG_fail
;
32923 resultobj
= SWIG_Py_Void();
32938 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32941 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32942 return SWIG_Py_Void();
32945 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32946 return SWIG_Python_InitShadowInstance(args
);
32949 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32950 PyObject
*resultobj
= 0;
32951 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32952 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32953 wxPyTextDataObject
*result
= 0 ;
32954 bool temp1
= false ;
32955 PyObject
* obj0
= 0 ;
32956 char * kwnames
[] = {
32957 (char *) "text", NULL
32960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32963 arg1
= wxString_in_helper(obj0
);
32964 if (arg1
== NULL
) SWIG_fail
;
32969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32970 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32971 wxPyEndAllowThreads(__tstate
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32989 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32990 PyObject
*resultobj
= 0;
32991 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32992 PyObject
*arg2
= (PyObject
*) 0 ;
32993 PyObject
*arg3
= (PyObject
*) 0 ;
32996 PyObject
* obj0
= 0 ;
32997 PyObject
* obj1
= 0 ;
32998 PyObject
* obj2
= 0 ;
32999 char * kwnames
[] = {
33000 (char *) "self",(char *) "self",(char *) "_class", NULL
33003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
33005 if (!SWIG_IsOK(res1
)) {
33006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
33008 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
33012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33013 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33014 wxPyEndAllowThreads(__tstate
);
33015 if (PyErr_Occurred()) SWIG_fail
;
33017 resultobj
= SWIG_Py_Void();
33024 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
33028 return SWIG_Py_Void();
33031 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33032 return SWIG_Python_InitShadowInstance(args
);
33035 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33036 PyObject
*resultobj
= 0;
33037 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33038 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33039 wxBitmapDataObject
*result
= 0 ;
33042 PyObject
* obj0
= 0 ;
33043 char * kwnames
[] = {
33044 (char *) "bitmap", NULL
33047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33049 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33050 if (!SWIG_IsOK(res1
)) {
33051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33056 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33060 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
33061 wxPyEndAllowThreads(__tstate
);
33062 if (PyErr_Occurred()) SWIG_fail
;
33064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33071 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33072 PyObject
*resultobj
= 0;
33073 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33077 PyObject
*swig_obj
[1] ;
33079 if (!args
) SWIG_fail
;
33080 swig_obj
[0] = args
;
33081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33082 if (!SWIG_IsOK(res1
)) {
33083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
33085 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33088 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
33089 wxPyEndAllowThreads(__tstate
);
33090 if (PyErr_Occurred()) SWIG_fail
;
33092 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
33099 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33100 PyObject
*resultobj
= 0;
33101 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
33102 wxBitmap
*arg2
= 0 ;
33107 PyObject
* obj0
= 0 ;
33108 PyObject
* obj1
= 0 ;
33109 char * kwnames
[] = {
33110 (char *) "self",(char *) "bitmap", NULL
33113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
33115 if (!SWIG_IsOK(res1
)) {
33116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
33118 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
33119 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33120 if (!SWIG_IsOK(res2
)) {
33121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33124 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33126 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33129 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33130 wxPyEndAllowThreads(__tstate
);
33131 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= SWIG_Py_Void();
33140 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33143 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
33144 return SWIG_Py_Void();
33147 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33148 return SWIG_Python_InitShadowInstance(args
);
33151 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33152 PyObject
*resultobj
= 0;
33153 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
33154 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
33155 wxPyBitmapDataObject
*result
= 0 ;
33158 PyObject
* obj0
= 0 ;
33159 char * kwnames
[] = {
33160 (char *) "bitmap", NULL
33163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
33165 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33166 if (!SWIG_IsOK(res1
)) {
33167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
33172 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
33175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33176 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
33177 wxPyEndAllowThreads(__tstate
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
33187 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33188 PyObject
*resultobj
= 0;
33189 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
33190 PyObject
*arg2
= (PyObject
*) 0 ;
33191 PyObject
*arg3
= (PyObject
*) 0 ;
33194 PyObject
* obj0
= 0 ;
33195 PyObject
* obj1
= 0 ;
33196 PyObject
* obj2
= 0 ;
33197 char * kwnames
[] = {
33198 (char *) "self",(char *) "self",(char *) "_class", NULL
33201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
33203 if (!SWIG_IsOK(res1
)) {
33204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
33206 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
33210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33211 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33212 wxPyEndAllowThreads(__tstate
);
33213 if (PyErr_Occurred()) SWIG_fail
;
33215 resultobj
= SWIG_Py_Void();
33222 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33225 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
33226 return SWIG_Py_Void();
33229 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33230 return SWIG_Python_InitShadowInstance(args
);
33233 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33234 PyObject
*resultobj
= 0;
33235 wxFileDataObject
*result
= 0 ;
33237 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
33239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33240 result
= (wxFileDataObject
*)new wxFileDataObject();
33241 wxPyEndAllowThreads(__tstate
);
33242 if (PyErr_Occurred()) SWIG_fail
;
33244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
33251 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33252 PyObject
*resultobj
= 0;
33253 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33254 wxArrayString
*result
= 0 ;
33257 PyObject
*swig_obj
[1] ;
33259 if (!args
) SWIG_fail
;
33260 swig_obj
[0] = args
;
33261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33262 if (!SWIG_IsOK(res1
)) {
33263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33265 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33269 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
33270 result
= (wxArrayString
*) &_result_ref
;
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= wxArrayString2PyList_helper(*result
);
33284 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33285 PyObject
*resultobj
= 0;
33286 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
33287 wxString
*arg2
= 0 ;
33290 bool temp2
= false ;
33291 PyObject
* obj0
= 0 ;
33292 PyObject
* obj1
= 0 ;
33293 char * kwnames
[] = {
33294 (char *) "self",(char *) "filename", NULL
33297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33299 if (!SWIG_IsOK(res1
)) {
33300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33302 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33304 arg2
= wxString_in_helper(obj1
);
33305 if (arg2
== NULL
) SWIG_fail
;
33309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33310 (arg1
)->AddFile((wxString
const &)*arg2
);
33311 wxPyEndAllowThreads(__tstate
);
33312 if (PyErr_Occurred()) SWIG_fail
;
33314 resultobj
= SWIG_Py_Void();
33329 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33332 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33333 return SWIG_Py_Void();
33336 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33337 return SWIG_Python_InitShadowInstance(args
);
33340 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33341 PyObject
*resultobj
= 0;
33342 wxDataFormat
*arg1
= 0 ;
33343 wxCustomDataObject
*result
= 0 ;
33347 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33349 if (!SWIG_IsOK(res1
)) {
33350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33355 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33358 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33359 wxPyEndAllowThreads(__tstate
);
33360 if (PyErr_Occurred()) SWIG_fail
;
33362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33369 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33370 PyObject
*resultobj
= 0;
33371 wxString
*arg1
= 0 ;
33372 wxCustomDataObject
*result
= 0 ;
33373 bool temp1
= false ;
33375 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33377 arg1
= wxString_in_helper(swig_obj
[0]);
33378 if (arg1
== NULL
) SWIG_fail
;
33382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33383 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33384 wxPyEndAllowThreads(__tstate
);
33385 if (PyErr_Occurred()) SWIG_fail
;
33387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33402 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33403 PyObject
*resultobj
= 0;
33404 wxCustomDataObject
*result
= 0 ;
33406 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33409 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33410 wxPyEndAllowThreads(__tstate
);
33411 if (PyErr_Occurred()) SWIG_fail
;
33413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33420 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33424 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33427 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33433 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33436 if (!_v
) goto check_2
;
33437 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33442 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33446 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33451 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33452 PyObject
*resultobj
= 0;
33453 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33454 PyObject
*arg2
= (PyObject
*) 0 ;
33458 PyObject
* obj0
= 0 ;
33459 PyObject
* obj1
= 0 ;
33460 char * kwnames
[] = {
33461 (char *) "self",(char *) "data", NULL
33464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33466 if (!SWIG_IsOK(res1
)) {
33467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33469 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33473 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33474 wxPyEndAllowThreads(__tstate
);
33475 if (PyErr_Occurred()) SWIG_fail
;
33478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33486 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33487 PyObject
*resultobj
= 0;
33488 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33492 PyObject
*swig_obj
[1] ;
33494 if (!args
) SWIG_fail
;
33495 swig_obj
[0] = args
;
33496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33497 if (!SWIG_IsOK(res1
)) {
33498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33500 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33503 result
= (size_t)(arg1
)->GetSize();
33504 wxPyEndAllowThreads(__tstate
);
33505 if (PyErr_Occurred()) SWIG_fail
;
33507 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33514 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33515 PyObject
*resultobj
= 0;
33516 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33517 PyObject
*result
= 0 ;
33520 PyObject
*swig_obj
[1] ;
33522 if (!args
) SWIG_fail
;
33523 swig_obj
[0] = args
;
33524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33525 if (!SWIG_IsOK(res1
)) {
33526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33528 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33531 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33532 wxPyEndAllowThreads(__tstate
);
33533 if (PyErr_Occurred()) SWIG_fail
;
33535 resultobj
= result
;
33542 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33545 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33546 return SWIG_Py_Void();
33549 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33550 return SWIG_Python_InitShadowInstance(args
);
33553 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33554 PyObject
*resultobj
= 0;
33555 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33556 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33557 wxURLDataObject
*result
= 0 ;
33558 bool temp1
= false ;
33559 PyObject
* obj0
= 0 ;
33560 char * kwnames
[] = {
33561 (char *) "url", NULL
33564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33567 arg1
= wxString_in_helper(obj0
);
33568 if (arg1
== NULL
) SWIG_fail
;
33573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33574 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33593 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33594 PyObject
*resultobj
= 0;
33595 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33599 PyObject
*swig_obj
[1] ;
33601 if (!args
) SWIG_fail
;
33602 swig_obj
[0] = args
;
33603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33604 if (!SWIG_IsOK(res1
)) {
33605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33607 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33610 result
= (arg1
)->GetURL();
33611 wxPyEndAllowThreads(__tstate
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33627 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33628 PyObject
*resultobj
= 0;
33629 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33630 wxString
*arg2
= 0 ;
33633 bool temp2
= false ;
33634 PyObject
* obj0
= 0 ;
33635 PyObject
* obj1
= 0 ;
33636 char * kwnames
[] = {
33637 (char *) "self",(char *) "url", NULL
33640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33642 if (!SWIG_IsOK(res1
)) {
33643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33645 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33647 arg2
= wxString_in_helper(obj1
);
33648 if (arg2
== NULL
) SWIG_fail
;
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 (arg1
)->SetURL((wxString
const &)*arg2
);
33654 wxPyEndAllowThreads(__tstate
);
33655 if (PyErr_Occurred()) SWIG_fail
;
33657 resultobj
= SWIG_Py_Void();
33672 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33675 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33676 return SWIG_Py_Void();
33679 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33680 return SWIG_Python_InitShadowInstance(args
);
33683 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33684 PyObject
*resultobj
= 0;
33685 wxMetafileDataObject
*result
= 0 ;
33687 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33690 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33691 wxPyEndAllowThreads(__tstate
);
33692 if (PyErr_Occurred()) SWIG_fail
;
33694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33701 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33702 PyObject
*resultobj
= 0;
33703 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33704 wxMetafile
*arg2
= 0 ;
33709 PyObject
* obj0
= 0 ;
33710 PyObject
* obj1
= 0 ;
33711 char * kwnames
[] = {
33712 (char *) "self",(char *) "metafile", NULL
33715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33717 if (!SWIG_IsOK(res1
)) {
33718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
33720 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
33722 if (!SWIG_IsOK(res2
)) {
33723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
33728 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
33730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33731 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
33732 wxPyEndAllowThreads(__tstate
);
33733 if (PyErr_Occurred()) SWIG_fail
;
33735 resultobj
= SWIG_Py_Void();
33742 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33743 PyObject
*resultobj
= 0;
33744 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
33748 PyObject
*swig_obj
[1] ;
33750 if (!args
) SWIG_fail
;
33751 swig_obj
[0] = args
;
33752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
33753 if (!SWIG_IsOK(res1
)) {
33754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
33756 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
33760 wxPyEndAllowThreads(__tstate
);
33761 if (PyErr_Occurred()) SWIG_fail
;
33763 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
33770 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33773 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33774 return SWIG_Py_Void();
33777 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33778 return SWIG_Python_InitShadowInstance(args
);
33781 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33782 PyObject
*resultobj
= 0;
33783 wxDragResult arg1
;
33787 PyObject
* obj0
= 0 ;
33788 char * kwnames
[] = {
33789 (char *) "res", NULL
33792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33793 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33794 if (!SWIG_IsOK(ecode1
)) {
33795 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33797 arg1
= static_cast< wxDragResult
>(val1
);
33799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33800 result
= (bool)wxIsDragResultOk(arg1
);
33801 wxPyEndAllowThreads(__tstate
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33813 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33814 PyObject
*resultobj
= 0;
33815 wxWindow
*arg1
= (wxWindow
*) 0 ;
33816 wxCursor
const &arg2_defvalue
= wxNullCursor
;
33817 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
33818 wxCursor
const &arg3_defvalue
= wxNullCursor
;
33819 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
33820 wxCursor
const &arg4_defvalue
= wxNullCursor
;
33821 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
33822 wxPyDropSource
*result
= 0 ;
33831 PyObject
* obj0
= 0 ;
33832 PyObject
* obj1
= 0 ;
33833 PyObject
* obj2
= 0 ;
33834 PyObject
* obj3
= 0 ;
33835 char * kwnames
[] = {
33836 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33841 if (!SWIG_IsOK(res1
)) {
33842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33844 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
33847 if (!SWIG_IsOK(res2
)) {
33848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
33853 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
33856 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33857 if (!SWIG_IsOK(res3
)) {
33858 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
33863 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33866 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
33867 if (!SWIG_IsOK(res4
)) {
33868 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
33873 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
33876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33877 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
33878 wxPyEndAllowThreads(__tstate
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33888 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33889 PyObject
*resultobj
= 0;
33890 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33891 PyObject
*arg2
= (PyObject
*) 0 ;
33892 PyObject
*arg3
= (PyObject
*) 0 ;
33893 int arg4
= (int) 0 ;
33898 PyObject
* obj0
= 0 ;
33899 PyObject
* obj1
= 0 ;
33900 PyObject
* obj2
= 0 ;
33901 PyObject
* obj3
= 0 ;
33902 char * kwnames
[] = {
33903 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33908 if (!SWIG_IsOK(res1
)) {
33909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33911 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33915 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33916 if (!SWIG_IsOK(ecode4
)) {
33917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33919 arg4
= static_cast< int >(val4
);
33922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33923 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33924 wxPyEndAllowThreads(__tstate
);
33925 if (PyErr_Occurred()) SWIG_fail
;
33927 resultobj
= SWIG_Py_Void();
33934 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33935 PyObject
*resultobj
= 0;
33936 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33939 PyObject
*swig_obj
[1] ;
33941 if (!args
) SWIG_fail
;
33942 swig_obj
[0] = args
;
33943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33944 if (!SWIG_IsOK(res1
)) {
33945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33947 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33952 wxPyEndAllowThreads(__tstate
);
33953 if (PyErr_Occurred()) SWIG_fail
;
33955 resultobj
= SWIG_Py_Void();
33962 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33963 PyObject
*resultobj
= 0;
33964 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33965 wxDataObject
*arg2
= 0 ;
33970 PyObject
* obj0
= 0 ;
33971 PyObject
* obj1
= 0 ;
33972 char * kwnames
[] = {
33973 (char *) "self",(char *) "data", NULL
33976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33978 if (!SWIG_IsOK(res1
)) {
33979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33981 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33982 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33983 if (!SWIG_IsOK(res2
)) {
33984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33989 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33992 (arg1
)->SetData(*arg2
);
33993 wxPyEndAllowThreads(__tstate
);
33994 if (PyErr_Occurred()) SWIG_fail
;
33996 resultobj
= SWIG_Py_Void();
34003 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34004 PyObject
*resultobj
= 0;
34005 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34006 wxDataObject
*result
= 0 ;
34009 PyObject
*swig_obj
[1] ;
34011 if (!args
) SWIG_fail
;
34012 swig_obj
[0] = args
;
34013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34014 if (!SWIG_IsOK(res1
)) {
34015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34017 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34020 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34021 wxPyEndAllowThreads(__tstate
);
34022 if (PyErr_Occurred()) SWIG_fail
;
34024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34031 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34032 PyObject
*resultobj
= 0;
34033 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34034 wxDragResult arg2
;
34035 wxCursor
*arg3
= 0 ;
34042 PyObject
* obj0
= 0 ;
34043 PyObject
* obj1
= 0 ;
34044 PyObject
* obj2
= 0 ;
34045 char * kwnames
[] = {
34046 (char *) "self",(char *) "res",(char *) "cursor", NULL
34049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34051 if (!SWIG_IsOK(res1
)) {
34052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34054 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34056 if (!SWIG_IsOK(ecode2
)) {
34057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
34059 arg2
= static_cast< wxDragResult
>(val2
);
34060 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
34061 if (!SWIG_IsOK(res3
)) {
34062 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
34067 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
34069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34070 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
34071 wxPyEndAllowThreads(__tstate
);
34072 if (PyErr_Occurred()) SWIG_fail
;
34074 resultobj
= SWIG_Py_Void();
34081 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
= 0;
34083 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34084 int arg2
= (int) wxDrag_CopyOnly
;
34085 wxDragResult result
;
34090 PyObject
* obj0
= 0 ;
34091 PyObject
* obj1
= 0 ;
34092 char * kwnames
[] = {
34093 (char *) "self",(char *) "flags", NULL
34096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34098 if (!SWIG_IsOK(res1
)) {
34099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34101 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34104 if (!SWIG_IsOK(ecode2
)) {
34105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
34107 arg2
= static_cast< int >(val2
);
34110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34111 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
34112 wxPyEndAllowThreads(__tstate
);
34113 if (PyErr_Occurred()) SWIG_fail
;
34115 resultobj
= SWIG_From_int(static_cast< int >(result
));
34122 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34123 PyObject
*resultobj
= 0;
34124 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
34125 wxDragResult arg2
;
34131 PyObject
* obj0
= 0 ;
34132 PyObject
* obj1
= 0 ;
34133 char * kwnames
[] = {
34134 (char *) "self",(char *) "effect", NULL
34137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
34139 if (!SWIG_IsOK(res1
)) {
34140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
34142 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
34143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34144 if (!SWIG_IsOK(ecode2
)) {
34145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
34147 arg2
= static_cast< wxDragResult
>(val2
);
34149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34150 result
= (bool)(arg1
)->GiveFeedback(arg2
);
34151 wxPyEndAllowThreads(__tstate
);
34152 if (PyErr_Occurred()) SWIG_fail
;
34155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34163 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
34167 return SWIG_Py_Void();
34170 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34171 return SWIG_Python_InitShadowInstance(args
);
34174 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34175 PyObject
*resultobj
= 0;
34176 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
34177 wxPyDropTarget
*result
= 0 ;
34179 PyObject
* obj0
= 0 ;
34180 char * kwnames
[] = {
34181 (char *) "dataObject", NULL
34184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
34186 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34187 if (!SWIG_IsOK(res1
)) {
34188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
34192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34193 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
34194 wxPyEndAllowThreads(__tstate
);
34195 if (PyErr_Occurred()) SWIG_fail
;
34197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
34204 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34205 PyObject
*resultobj
= 0;
34206 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34207 PyObject
*arg2
= (PyObject
*) 0 ;
34208 PyObject
*arg3
= (PyObject
*) 0 ;
34211 PyObject
* obj0
= 0 ;
34212 PyObject
* obj1
= 0 ;
34213 PyObject
* obj2
= 0 ;
34214 char * kwnames
[] = {
34215 (char *) "self",(char *) "self",(char *) "_class", NULL
34218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34220 if (!SWIG_IsOK(res1
)) {
34221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34223 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34228 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34229 wxPyEndAllowThreads(__tstate
);
34230 if (PyErr_Occurred()) SWIG_fail
;
34232 resultobj
= SWIG_Py_Void();
34239 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34240 PyObject
*resultobj
= 0;
34241 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34244 PyObject
*swig_obj
[1] ;
34246 if (!args
) SWIG_fail
;
34247 swig_obj
[0] = args
;
34248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
34249 if (!SWIG_IsOK(res1
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34252 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34257 wxPyEndAllowThreads(__tstate
);
34258 if (PyErr_Occurred()) SWIG_fail
;
34260 resultobj
= SWIG_Py_Void();
34267 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34268 PyObject
*resultobj
= 0;
34269 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34270 wxDataObject
*result
= 0 ;
34273 PyObject
*swig_obj
[1] ;
34275 if (!args
) SWIG_fail
;
34276 swig_obj
[0] = args
;
34277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34278 if (!SWIG_IsOK(res1
)) {
34279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34281 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34284 result
= (wxDataObject
*)(arg1
)->GetDataObject();
34285 wxPyEndAllowThreads(__tstate
);
34286 if (PyErr_Occurred()) SWIG_fail
;
34288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
34295 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34296 PyObject
*resultobj
= 0;
34297 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34298 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34302 PyObject
* obj0
= 0 ;
34303 PyObject
* obj1
= 0 ;
34304 char * kwnames
[] = {
34305 (char *) "self",(char *) "dataObject", NULL
34308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34310 if (!SWIG_IsOK(res1
)) {
34311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34313 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34314 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34315 if (!SWIG_IsOK(res2
)) {
34316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
34319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34320 (arg1
)->SetDataObject(arg2
);
34321 wxPyEndAllowThreads(__tstate
);
34322 if (PyErr_Occurred()) SWIG_fail
;
34324 resultobj
= SWIG_Py_Void();
34331 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34332 PyObject
*resultobj
= 0;
34333 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34336 wxDragResult arg4
;
34337 wxDragResult result
;
34346 PyObject
* obj0
= 0 ;
34347 PyObject
* obj1
= 0 ;
34348 PyObject
* obj2
= 0 ;
34349 PyObject
* obj3
= 0 ;
34350 char * kwnames
[] = {
34351 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_OnEnter" "', 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_OnEnter" "', 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_OnEnter" "', expected argument " "3"" of type '" "int""'");
34369 arg3
= static_cast< int >(val3
);
34370 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34371 if (!SWIG_IsOK(ecode4
)) {
34372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34374 arg4
= static_cast< wxDragResult
>(val4
);
34376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34377 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34378 wxPyEndAllowThreads(__tstate
);
34379 if (PyErr_Occurred()) SWIG_fail
;
34381 resultobj
= SWIG_From_int(static_cast< int >(result
));
34388 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34389 PyObject
*resultobj
= 0;
34390 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34393 wxDragResult arg4
;
34394 wxDragResult result
;
34403 PyObject
* obj0
= 0 ;
34404 PyObject
* obj1
= 0 ;
34405 PyObject
* obj2
= 0 ;
34406 PyObject
* obj3
= 0 ;
34407 char * kwnames
[] = {
34408 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34413 if (!SWIG_IsOK(res1
)) {
34414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34416 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34418 if (!SWIG_IsOK(ecode2
)) {
34419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34421 arg2
= static_cast< int >(val2
);
34422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34423 if (!SWIG_IsOK(ecode3
)) {
34424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34426 arg3
= static_cast< int >(val3
);
34427 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34428 if (!SWIG_IsOK(ecode4
)) {
34429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34431 arg4
= static_cast< wxDragResult
>(val4
);
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34435 wxPyEndAllowThreads(__tstate
);
34436 if (PyErr_Occurred()) SWIG_fail
;
34438 resultobj
= SWIG_From_int(static_cast< int >(result
));
34445 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34446 PyObject
*resultobj
= 0;
34447 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34450 PyObject
*swig_obj
[1] ;
34452 if (!args
) SWIG_fail
;
34453 swig_obj
[0] = args
;
34454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34455 if (!SWIG_IsOK(res1
)) {
34456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34458 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34462 wxPyEndAllowThreads(__tstate
);
34463 if (PyErr_Occurred()) SWIG_fail
;
34465 resultobj
= SWIG_Py_Void();
34472 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34473 PyObject
*resultobj
= 0;
34474 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34484 PyObject
* obj0
= 0 ;
34485 PyObject
* obj1
= 0 ;
34486 PyObject
* obj2
= 0 ;
34487 char * kwnames
[] = {
34488 (char *) "self",(char *) "x",(char *) "y", NULL
34491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34493 if (!SWIG_IsOK(res1
)) {
34494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34496 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34498 if (!SWIG_IsOK(ecode2
)) {
34499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34501 arg2
= static_cast< int >(val2
);
34502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34503 if (!SWIG_IsOK(ecode3
)) {
34504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34506 arg3
= static_cast< int >(val3
);
34508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34509 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34510 wxPyEndAllowThreads(__tstate
);
34511 if (PyErr_Occurred()) SWIG_fail
;
34514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34522 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34523 PyObject
*resultobj
= 0;
34524 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34528 PyObject
*swig_obj
[1] ;
34530 if (!args
) SWIG_fail
;
34531 swig_obj
[0] = args
;
34532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34533 if (!SWIG_IsOK(res1
)) {
34534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34536 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34539 result
= (bool)(arg1
)->GetData();
34540 wxPyEndAllowThreads(__tstate
);
34541 if (PyErr_Occurred()) SWIG_fail
;
34544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34552 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34553 PyObject
*resultobj
= 0;
34554 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34555 wxDragResult arg2
;
34560 PyObject
* obj0
= 0 ;
34561 PyObject
* obj1
= 0 ;
34562 char * kwnames
[] = {
34563 (char *) "self",(char *) "action", NULL
34566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34568 if (!SWIG_IsOK(res1
)) {
34569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34571 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34573 if (!SWIG_IsOK(ecode2
)) {
34574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34576 arg2
= static_cast< wxDragResult
>(val2
);
34578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34579 (arg1
)->SetDefaultAction(arg2
);
34580 wxPyEndAllowThreads(__tstate
);
34581 if (PyErr_Occurred()) SWIG_fail
;
34583 resultobj
= SWIG_Py_Void();
34590 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34591 PyObject
*resultobj
= 0;
34592 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34593 wxDragResult result
;
34596 PyObject
*swig_obj
[1] ;
34598 if (!args
) SWIG_fail
;
34599 swig_obj
[0] = args
;
34600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34601 if (!SWIG_IsOK(res1
)) {
34602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34604 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34607 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34608 wxPyEndAllowThreads(__tstate
);
34609 if (PyErr_Occurred()) SWIG_fail
;
34611 resultobj
= SWIG_From_int(static_cast< int >(result
));
34618 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34620 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34621 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34622 return SWIG_Py_Void();
34625 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34626 return SWIG_Python_InitShadowInstance(args
);
34629 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34630 PyObject
*resultobj
= 0;
34631 wxPyTextDropTarget
*result
= 0 ;
34633 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34636 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34637 wxPyEndAllowThreads(__tstate
);
34638 if (PyErr_Occurred()) SWIG_fail
;
34640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34647 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34648 PyObject
*resultobj
= 0;
34649 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34650 PyObject
*arg2
= (PyObject
*) 0 ;
34651 PyObject
*arg3
= (PyObject
*) 0 ;
34654 PyObject
* obj0
= 0 ;
34655 PyObject
* obj1
= 0 ;
34656 PyObject
* obj2
= 0 ;
34657 char * kwnames
[] = {
34658 (char *) "self",(char *) "self",(char *) "_class", NULL
34661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34663 if (!SWIG_IsOK(res1
)) {
34664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34666 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34671 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34672 wxPyEndAllowThreads(__tstate
);
34673 if (PyErr_Occurred()) SWIG_fail
;
34675 resultobj
= SWIG_Py_Void();
34682 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34683 PyObject
*resultobj
= 0;
34684 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34687 wxString
*arg4
= 0 ;
34695 bool temp4
= false ;
34696 PyObject
* obj0
= 0 ;
34697 PyObject
* obj1
= 0 ;
34698 PyObject
* obj2
= 0 ;
34699 PyObject
* obj3
= 0 ;
34700 char * kwnames
[] = {
34701 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34706 if (!SWIG_IsOK(res1
)) {
34707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34709 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34711 if (!SWIG_IsOK(ecode2
)) {
34712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34714 arg2
= static_cast< int >(val2
);
34715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34716 if (!SWIG_IsOK(ecode3
)) {
34717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34719 arg3
= static_cast< int >(val3
);
34721 arg4
= wxString_in_helper(obj3
);
34722 if (arg4
== NULL
) SWIG_fail
;
34726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34727 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34728 wxPyEndAllowThreads(__tstate
);
34729 if (PyErr_Occurred()) SWIG_fail
;
34732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34748 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
= 0;
34750 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34753 wxDragResult arg4
;
34754 wxDragResult result
;
34763 PyObject
* obj0
= 0 ;
34764 PyObject
* obj1
= 0 ;
34765 PyObject
* obj2
= 0 ;
34766 PyObject
* obj3
= 0 ;
34767 char * kwnames
[] = {
34768 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_OnEnter" "', 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_OnEnter" "', 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_OnEnter" "', expected argument " "3"" of type '" "int""'");
34786 arg3
= static_cast< int >(val3
);
34787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34788 if (!SWIG_IsOK(ecode4
)) {
34789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34791 arg4
= static_cast< wxDragResult
>(val4
);
34793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34794 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34795 wxPyEndAllowThreads(__tstate
);
34796 if (PyErr_Occurred()) SWIG_fail
;
34798 resultobj
= SWIG_From_int(static_cast< int >(result
));
34805 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34806 PyObject
*resultobj
= 0;
34807 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34810 wxDragResult arg4
;
34811 wxDragResult result
;
34820 PyObject
* obj0
= 0 ;
34821 PyObject
* obj1
= 0 ;
34822 PyObject
* obj2
= 0 ;
34823 PyObject
* obj3
= 0 ;
34824 char * kwnames
[] = {
34825 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34830 if (!SWIG_IsOK(res1
)) {
34831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34833 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34835 if (!SWIG_IsOK(ecode2
)) {
34836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34838 arg2
= static_cast< int >(val2
);
34839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34840 if (!SWIG_IsOK(ecode3
)) {
34841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34843 arg3
= static_cast< int >(val3
);
34844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34845 if (!SWIG_IsOK(ecode4
)) {
34846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34848 arg4
= static_cast< wxDragResult
>(val4
);
34850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34851 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34852 wxPyEndAllowThreads(__tstate
);
34853 if (PyErr_Occurred()) SWIG_fail
;
34855 resultobj
= SWIG_From_int(static_cast< int >(result
));
34862 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34863 PyObject
*resultobj
= 0;
34864 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34867 PyObject
*swig_obj
[1] ;
34869 if (!args
) SWIG_fail
;
34870 swig_obj
[0] = args
;
34871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34872 if (!SWIG_IsOK(res1
)) {
34873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34875 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34879 wxPyEndAllowThreads(__tstate
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34882 resultobj
= SWIG_Py_Void();
34889 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34890 PyObject
*resultobj
= 0;
34891 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34901 PyObject
* obj0
= 0 ;
34902 PyObject
* obj1
= 0 ;
34903 PyObject
* obj2
= 0 ;
34904 char * kwnames
[] = {
34905 (char *) "self",(char *) "x",(char *) "y", NULL
34908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34910 if (!SWIG_IsOK(res1
)) {
34911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34913 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34915 if (!SWIG_IsOK(ecode2
)) {
34916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34918 arg2
= static_cast< int >(val2
);
34919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34920 if (!SWIG_IsOK(ecode3
)) {
34921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34923 arg3
= static_cast< int >(val3
);
34925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34926 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34927 wxPyEndAllowThreads(__tstate
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34939 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34940 PyObject
*resultobj
= 0;
34941 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34944 wxDragResult arg4
;
34945 wxDragResult result
;
34954 PyObject
* obj0
= 0 ;
34955 PyObject
* obj1
= 0 ;
34956 PyObject
* obj2
= 0 ;
34957 PyObject
* obj3
= 0 ;
34958 char * kwnames
[] = {
34959 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34964 if (!SWIG_IsOK(res1
)) {
34965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34967 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34969 if (!SWIG_IsOK(ecode2
)) {
34970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34972 arg2
= static_cast< int >(val2
);
34973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34974 if (!SWIG_IsOK(ecode3
)) {
34975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34977 arg3
= static_cast< int >(val3
);
34978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34979 if (!SWIG_IsOK(ecode4
)) {
34980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34982 arg4
= static_cast< wxDragResult
>(val4
);
34984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34985 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34989 resultobj
= SWIG_From_int(static_cast< int >(result
));
34996 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34999 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
35000 return SWIG_Py_Void();
35003 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35004 return SWIG_Python_InitShadowInstance(args
);
35007 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35008 PyObject
*resultobj
= 0;
35009 wxPyFileDropTarget
*result
= 0 ;
35011 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
35013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35014 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
35015 wxPyEndAllowThreads(__tstate
);
35016 if (PyErr_Occurred()) SWIG_fail
;
35018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
35025 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35026 PyObject
*resultobj
= 0;
35027 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35028 PyObject
*arg2
= (PyObject
*) 0 ;
35029 PyObject
*arg3
= (PyObject
*) 0 ;
35032 PyObject
* obj0
= 0 ;
35033 PyObject
* obj1
= 0 ;
35034 PyObject
* obj2
= 0 ;
35035 char * kwnames
[] = {
35036 (char *) "self",(char *) "self",(char *) "_class", NULL
35039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35041 if (!SWIG_IsOK(res1
)) {
35042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35044 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35049 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35050 wxPyEndAllowThreads(__tstate
);
35051 if (PyErr_Occurred()) SWIG_fail
;
35053 resultobj
= SWIG_Py_Void();
35060 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35061 PyObject
*resultobj
= 0;
35062 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35065 wxArrayString
*arg4
= 0 ;
35073 bool temp4
= false ;
35074 PyObject
* obj0
= 0 ;
35075 PyObject
* obj1
= 0 ;
35076 PyObject
* obj2
= 0 ;
35077 PyObject
* obj3
= 0 ;
35078 char * kwnames
[] = {
35079 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
35082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35084 if (!SWIG_IsOK(res1
)) {
35085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35087 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35089 if (!SWIG_IsOK(ecode2
)) {
35090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
35092 arg2
= static_cast< int >(val2
);
35093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35094 if (!SWIG_IsOK(ecode3
)) {
35095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
35097 arg3
= static_cast< int >(val3
);
35099 if (! PySequence_Check(obj3
)) {
35100 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
35103 arg4
= new wxArrayString
;
35105 int i
, len
=PySequence_Length(obj3
);
35106 for (i
=0; i
<len
; i
++) {
35107 PyObject
* item
= PySequence_GetItem(obj3
, i
);
35108 wxString
* s
= wxString_in_helper(item
);
35109 if (PyErr_Occurred()) SWIG_fail
;
35116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35117 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35125 if (temp4
) delete arg4
;
35130 if (temp4
) delete arg4
;
35136 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35137 PyObject
*resultobj
= 0;
35138 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35141 wxDragResult arg4
;
35142 wxDragResult result
;
35151 PyObject
* obj0
= 0 ;
35152 PyObject
* obj1
= 0 ;
35153 PyObject
* obj2
= 0 ;
35154 PyObject
* obj3
= 0 ;
35155 char * kwnames
[] = {
35156 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_OnEnter" "', 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_OnEnter" "', 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_OnEnter" "', expected argument " "3"" of type '" "int""'");
35174 arg3
= static_cast< int >(val3
);
35175 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35176 if (!SWIG_IsOK(ecode4
)) {
35177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
35179 arg4
= static_cast< wxDragResult
>(val4
);
35181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35182 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
35183 wxPyEndAllowThreads(__tstate
);
35184 if (PyErr_Occurred()) SWIG_fail
;
35186 resultobj
= SWIG_From_int(static_cast< int >(result
));
35193 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35194 PyObject
*resultobj
= 0;
35195 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35198 wxDragResult arg4
;
35199 wxDragResult result
;
35208 PyObject
* obj0
= 0 ;
35209 PyObject
* obj1
= 0 ;
35210 PyObject
* obj2
= 0 ;
35211 PyObject
* obj3
= 0 ;
35212 char * kwnames
[] = {
35213 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35218 if (!SWIG_IsOK(res1
)) {
35219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35221 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35223 if (!SWIG_IsOK(ecode2
)) {
35224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
35226 arg2
= static_cast< int >(val2
);
35227 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35228 if (!SWIG_IsOK(ecode3
)) {
35229 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
35231 arg3
= static_cast< int >(val3
);
35232 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35233 if (!SWIG_IsOK(ecode4
)) {
35234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
35236 arg4
= static_cast< wxDragResult
>(val4
);
35238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35239 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
35240 wxPyEndAllowThreads(__tstate
);
35241 if (PyErr_Occurred()) SWIG_fail
;
35243 resultobj
= SWIG_From_int(static_cast< int >(result
));
35250 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35251 PyObject
*resultobj
= 0;
35252 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35255 PyObject
*swig_obj
[1] ;
35257 if (!args
) SWIG_fail
;
35258 swig_obj
[0] = args
;
35259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35260 if (!SWIG_IsOK(res1
)) {
35261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35263 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35267 wxPyEndAllowThreads(__tstate
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35270 resultobj
= SWIG_Py_Void();
35277 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35278 PyObject
*resultobj
= 0;
35279 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35289 PyObject
* obj0
= 0 ;
35290 PyObject
* obj1
= 0 ;
35291 PyObject
* obj2
= 0 ;
35292 char * kwnames
[] = {
35293 (char *) "self",(char *) "x",(char *) "y", NULL
35296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35298 if (!SWIG_IsOK(res1
)) {
35299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35301 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35303 if (!SWIG_IsOK(ecode2
)) {
35304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
35306 arg2
= static_cast< int >(val2
);
35307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35308 if (!SWIG_IsOK(ecode3
)) {
35309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
35311 arg3
= static_cast< int >(val3
);
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35314 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
35315 wxPyEndAllowThreads(__tstate
);
35316 if (PyErr_Occurred()) SWIG_fail
;
35319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35327 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35328 PyObject
*resultobj
= 0;
35329 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
35332 wxDragResult arg4
;
35333 wxDragResult result
;
35342 PyObject
* obj0
= 0 ;
35343 PyObject
* obj1
= 0 ;
35344 PyObject
* obj2
= 0 ;
35345 PyObject
* obj3
= 0 ;
35346 char * kwnames
[] = {
35347 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
35350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
35352 if (!SWIG_IsOK(res1
)) {
35353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
35355 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
35356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35357 if (!SWIG_IsOK(ecode2
)) {
35358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
35360 arg2
= static_cast< int >(val2
);
35361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35362 if (!SWIG_IsOK(ecode3
)) {
35363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35365 arg3
= static_cast< int >(val3
);
35366 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35367 if (!SWIG_IsOK(ecode4
)) {
35368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35370 arg4
= static_cast< wxDragResult
>(val4
);
35372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35373 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35374 wxPyEndAllowThreads(__tstate
);
35375 if (PyErr_Occurred()) SWIG_fail
;
35377 resultobj
= SWIG_From_int(static_cast< int >(result
));
35384 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35387 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35388 return SWIG_Py_Void();
35391 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35392 return SWIG_Python_InitShadowInstance(args
);
35395 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35396 PyObject
*resultobj
= 0;
35397 wxClipboard
*result
= 0 ;
35399 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35402 result
= (wxClipboard
*)new wxClipboard();
35403 wxPyEndAllowThreads(__tstate
);
35404 if (PyErr_Occurred()) SWIG_fail
;
35406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35413 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35414 PyObject
*resultobj
= 0;
35415 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35418 PyObject
*swig_obj
[1] ;
35420 if (!args
) SWIG_fail
;
35421 swig_obj
[0] = args
;
35422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35423 if (!SWIG_IsOK(res1
)) {
35424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35426 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35434 resultobj
= SWIG_Py_Void();
35441 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35442 PyObject
*resultobj
= 0;
35443 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35447 PyObject
*swig_obj
[1] ;
35449 if (!args
) SWIG_fail
;
35450 swig_obj
[0] = args
;
35451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35452 if (!SWIG_IsOK(res1
)) {
35453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35455 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35458 result
= (bool)(arg1
)->Open();
35459 wxPyEndAllowThreads(__tstate
);
35460 if (PyErr_Occurred()) SWIG_fail
;
35463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35471 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35472 PyObject
*resultobj
= 0;
35473 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35476 PyObject
*swig_obj
[1] ;
35478 if (!args
) SWIG_fail
;
35479 swig_obj
[0] = args
;
35480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35481 if (!SWIG_IsOK(res1
)) {
35482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35484 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35488 wxPyEndAllowThreads(__tstate
);
35489 if (PyErr_Occurred()) SWIG_fail
;
35491 resultobj
= SWIG_Py_Void();
35498 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35499 PyObject
*resultobj
= 0;
35500 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35504 PyObject
*swig_obj
[1] ;
35506 if (!args
) SWIG_fail
;
35507 swig_obj
[0] = args
;
35508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35509 if (!SWIG_IsOK(res1
)) {
35510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35512 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35515 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35516 wxPyEndAllowThreads(__tstate
);
35517 if (PyErr_Occurred()) SWIG_fail
;
35520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35528 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35529 PyObject
*resultobj
= 0;
35530 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35531 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35536 PyObject
* obj0
= 0 ;
35537 PyObject
* obj1
= 0 ;
35538 char * kwnames
[] = {
35539 (char *) "self",(char *) "data", NULL
35542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35544 if (!SWIG_IsOK(res1
)) {
35545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35547 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35548 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35549 if (!SWIG_IsOK(res2
)) {
35550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35554 result
= (bool)(arg1
)->AddData(arg2
);
35555 wxPyEndAllowThreads(__tstate
);
35556 if (PyErr_Occurred()) SWIG_fail
;
35559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35567 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35568 PyObject
*resultobj
= 0;
35569 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35570 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35575 PyObject
* obj0
= 0 ;
35576 PyObject
* obj1
= 0 ;
35577 char * kwnames
[] = {
35578 (char *) "self",(char *) "data", NULL
35581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35583 if (!SWIG_IsOK(res1
)) {
35584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35586 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35587 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35588 if (!SWIG_IsOK(res2
)) {
35589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35593 result
= (bool)(arg1
)->SetData(arg2
);
35594 wxPyEndAllowThreads(__tstate
);
35595 if (PyErr_Occurred()) SWIG_fail
;
35598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35606 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35607 PyObject
*resultobj
= 0;
35608 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35609 wxDataFormat
*arg2
= 0 ;
35615 PyObject
* obj0
= 0 ;
35616 PyObject
* obj1
= 0 ;
35617 char * kwnames
[] = {
35618 (char *) "self",(char *) "format", NULL
35621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35623 if (!SWIG_IsOK(res1
)) {
35624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35626 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35627 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35628 if (!SWIG_IsOK(res2
)) {
35629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35634 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35637 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35638 wxPyEndAllowThreads(__tstate
);
35639 if (PyErr_Occurred()) SWIG_fail
;
35642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35650 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35651 PyObject
*resultobj
= 0;
35652 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35653 wxDataObject
*arg2
= 0 ;
35659 PyObject
* obj0
= 0 ;
35660 PyObject
* obj1
= 0 ;
35661 char * kwnames
[] = {
35662 (char *) "self",(char *) "data", NULL
35665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35667 if (!SWIG_IsOK(res1
)) {
35668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35670 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35672 if (!SWIG_IsOK(res2
)) {
35673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35678 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35681 result
= (bool)(arg1
)->GetData(*arg2
);
35682 wxPyEndAllowThreads(__tstate
);
35683 if (PyErr_Occurred()) SWIG_fail
;
35686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35694 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35695 PyObject
*resultobj
= 0;
35696 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35699 PyObject
*swig_obj
[1] ;
35701 if (!args
) SWIG_fail
;
35702 swig_obj
[0] = args
;
35703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35704 if (!SWIG_IsOK(res1
)) {
35705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35707 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35711 wxPyEndAllowThreads(__tstate
);
35712 if (PyErr_Occurred()) SWIG_fail
;
35714 resultobj
= SWIG_Py_Void();
35721 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35722 PyObject
*resultobj
= 0;
35723 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35727 PyObject
*swig_obj
[1] ;
35729 if (!args
) SWIG_fail
;
35730 swig_obj
[0] = args
;
35731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35732 if (!SWIG_IsOK(res1
)) {
35733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35735 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35738 result
= (bool)(arg1
)->Flush();
35739 wxPyEndAllowThreads(__tstate
);
35740 if (PyErr_Occurred()) SWIG_fail
;
35743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35751 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
= 0;
35753 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35754 bool arg2
= (bool) true ;
35759 PyObject
* obj0
= 0 ;
35760 PyObject
* obj1
= 0 ;
35761 char * kwnames
[] = {
35762 (char *) "self",(char *) "primary", NULL
35765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35767 if (!SWIG_IsOK(res1
)) {
35768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35770 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35772 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35773 if (!SWIG_IsOK(ecode2
)) {
35774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35776 arg2
= static_cast< bool >(val2
);
35779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35780 (arg1
)->UsePrimarySelection(arg2
);
35781 wxPyEndAllowThreads(__tstate
);
35782 if (PyErr_Occurred()) SWIG_fail
;
35784 resultobj
= SWIG_Py_Void();
35791 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35792 PyObject
*resultobj
= 0;
35793 wxClipboard
*result
= 0 ;
35795 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35798 result
= (wxClipboard
*)wxClipboard::Get();
35799 wxPyEndAllowThreads(__tstate
);
35800 if (PyErr_Occurred()) SWIG_fail
;
35802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35809 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35812 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35813 return SWIG_Py_Void();
35816 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35817 return SWIG_Python_InitShadowInstance(args
);
35820 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35821 PyObject
*resultobj
= 0;
35822 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35823 wxClipboardLocker
*result
= 0 ;
35826 PyObject
* obj0
= 0 ;
35827 char * kwnames
[] = {
35828 (char *) "clipboard", NULL
35831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35834 if (!SWIG_IsOK(res1
)) {
35835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35837 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35841 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35842 wxPyEndAllowThreads(__tstate
);
35843 if (PyErr_Occurred()) SWIG_fail
;
35845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35852 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35853 PyObject
*resultobj
= 0;
35854 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35857 PyObject
*swig_obj
[1] ;
35859 if (!args
) SWIG_fail
;
35860 swig_obj
[0] = args
;
35861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35862 if (!SWIG_IsOK(res1
)) {
35863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35865 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35870 wxPyEndAllowThreads(__tstate
);
35871 if (PyErr_Occurred()) SWIG_fail
;
35873 resultobj
= SWIG_Py_Void();
35880 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35881 PyObject
*resultobj
= 0;
35882 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35886 PyObject
*swig_obj
[1] ;
35888 if (!args
) SWIG_fail
;
35889 swig_obj
[0] = args
;
35890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35891 if (!SWIG_IsOK(res1
)) {
35892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35894 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35897 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35898 wxPyEndAllowThreads(__tstate
);
35899 if (PyErr_Occurred()) SWIG_fail
;
35902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35910 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35913 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35914 return SWIG_Py_Void();
35917 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35918 return SWIG_Python_InitShadowInstance(args
);
35921 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35922 PyObject
*resultobj
= 0;
35923 int arg1
= (int) 0 ;
35924 int arg2
= (int) 0 ;
35925 int arg3
= (int) 0 ;
35926 int arg4
= (int) 0 ;
35927 wxVideoMode
*result
= 0 ;
35936 PyObject
* obj0
= 0 ;
35937 PyObject
* obj1
= 0 ;
35938 PyObject
* obj2
= 0 ;
35939 PyObject
* obj3
= 0 ;
35940 char * kwnames
[] = {
35941 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35946 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35947 if (!SWIG_IsOK(ecode1
)) {
35948 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35950 arg1
= static_cast< int >(val1
);
35953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35954 if (!SWIG_IsOK(ecode2
)) {
35955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35957 arg2
= static_cast< int >(val2
);
35960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35961 if (!SWIG_IsOK(ecode3
)) {
35962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35964 arg3
= static_cast< int >(val3
);
35967 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35968 if (!SWIG_IsOK(ecode4
)) {
35969 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35971 arg4
= static_cast< int >(val4
);
35974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35975 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35976 wxPyEndAllowThreads(__tstate
);
35977 if (PyErr_Occurred()) SWIG_fail
;
35979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35986 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35987 PyObject
*resultobj
= 0;
35988 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35991 PyObject
*swig_obj
[1] ;
35993 if (!args
) SWIG_fail
;
35994 swig_obj
[0] = args
;
35995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35996 if (!SWIG_IsOK(res1
)) {
35997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35999 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36004 wxPyEndAllowThreads(__tstate
);
36005 if (PyErr_Occurred()) SWIG_fail
;
36007 resultobj
= SWIG_Py_Void();
36014 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36015 PyObject
*resultobj
= 0;
36016 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36017 wxVideoMode
*arg2
= 0 ;
36023 PyObject
* obj0
= 0 ;
36024 PyObject
* obj1
= 0 ;
36025 char * kwnames
[] = {
36026 (char *) "self",(char *) "other", NULL
36029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36031 if (!SWIG_IsOK(res1
)) {
36032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36034 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36036 if (!SWIG_IsOK(res2
)) {
36037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36042 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36045 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
36046 wxPyEndAllowThreads(__tstate
);
36047 if (PyErr_Occurred()) SWIG_fail
;
36050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36058 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36059 PyObject
*resultobj
= 0;
36060 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36064 PyObject
*swig_obj
[1] ;
36066 if (!args
) SWIG_fail
;
36067 swig_obj
[0] = args
;
36068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36069 if (!SWIG_IsOK(res1
)) {
36070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36072 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36075 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
36076 wxPyEndAllowThreads(__tstate
);
36077 if (PyErr_Occurred()) SWIG_fail
;
36079 resultobj
= SWIG_From_int(static_cast< int >(result
));
36086 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36087 PyObject
*resultobj
= 0;
36088 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36092 PyObject
*swig_obj
[1] ;
36094 if (!args
) SWIG_fail
;
36095 swig_obj
[0] = args
;
36096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36097 if (!SWIG_IsOK(res1
)) {
36098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36100 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36103 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
36104 wxPyEndAllowThreads(__tstate
);
36105 if (PyErr_Occurred()) SWIG_fail
;
36107 resultobj
= SWIG_From_int(static_cast< int >(result
));
36114 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36115 PyObject
*resultobj
= 0;
36116 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36120 PyObject
*swig_obj
[1] ;
36122 if (!args
) SWIG_fail
;
36123 swig_obj
[0] = args
;
36124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36125 if (!SWIG_IsOK(res1
)) {
36126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36128 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36131 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
36132 wxPyEndAllowThreads(__tstate
);
36133 if (PyErr_Occurred()) SWIG_fail
;
36135 resultobj
= SWIG_From_int(static_cast< int >(result
));
36142 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36143 PyObject
*resultobj
= 0;
36144 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36148 PyObject
*swig_obj
[1] ;
36150 if (!args
) SWIG_fail
;
36151 swig_obj
[0] = args
;
36152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36153 if (!SWIG_IsOK(res1
)) {
36154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
36156 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
36160 wxPyEndAllowThreads(__tstate
);
36161 if (PyErr_Occurred()) SWIG_fail
;
36164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36172 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36173 PyObject
*resultobj
= 0;
36174 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36175 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36181 PyObject
* obj0
= 0 ;
36182 PyObject
* obj1
= 0 ;
36183 char * kwnames
[] = {
36184 (char *) "self",(char *) "other", NULL
36187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36189 if (!SWIG_IsOK(res1
)) {
36190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36192 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36193 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36194 if (!SWIG_IsOK(res2
)) {
36195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36197 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36200 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
36201 wxPyEndAllowThreads(__tstate
);
36202 if (PyErr_Occurred()) SWIG_fail
;
36205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36213 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36214 PyObject
*resultobj
= 0;
36215 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36216 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
36222 PyObject
* obj0
= 0 ;
36223 PyObject
* obj1
= 0 ;
36224 char * kwnames
[] = {
36225 (char *) "self",(char *) "other", NULL
36228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36230 if (!SWIG_IsOK(res1
)) {
36231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36233 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36234 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36235 if (!SWIG_IsOK(res2
)) {
36236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
36238 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36241 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
36242 wxPyEndAllowThreads(__tstate
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36254 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36255 PyObject
*resultobj
= 0;
36256 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36262 PyObject
*swig_obj
[2] ;
36264 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
36265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36266 if (!SWIG_IsOK(res1
)) {
36267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36269 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36270 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36271 if (!SWIG_IsOK(ecode2
)) {
36272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
36274 arg2
= static_cast< int >(val2
);
36275 if (arg1
) (arg1
)->w
= arg2
;
36277 resultobj
= SWIG_Py_Void();
36284 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36285 PyObject
*resultobj
= 0;
36286 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36290 PyObject
*swig_obj
[1] ;
36292 if (!args
) SWIG_fail
;
36293 swig_obj
[0] = args
;
36294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36295 if (!SWIG_IsOK(res1
)) {
36296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36298 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36299 result
= (int) ((arg1
)->w
);
36300 resultobj
= SWIG_From_int(static_cast< int >(result
));
36307 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36308 PyObject
*resultobj
= 0;
36309 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36315 PyObject
*swig_obj
[2] ;
36317 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
36318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36319 if (!SWIG_IsOK(res1
)) {
36320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36322 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36323 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36324 if (!SWIG_IsOK(ecode2
)) {
36325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
36327 arg2
= static_cast< int >(val2
);
36328 if (arg1
) (arg1
)->h
= arg2
;
36330 resultobj
= SWIG_Py_Void();
36337 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36338 PyObject
*resultobj
= 0;
36339 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36343 PyObject
*swig_obj
[1] ;
36345 if (!args
) SWIG_fail
;
36346 swig_obj
[0] = args
;
36347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36348 if (!SWIG_IsOK(res1
)) {
36349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36351 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36352 result
= (int) ((arg1
)->h
);
36353 resultobj
= SWIG_From_int(static_cast< int >(result
));
36360 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36361 PyObject
*resultobj
= 0;
36362 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36368 PyObject
*swig_obj
[2] ;
36370 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36372 if (!SWIG_IsOK(res1
)) {
36373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36375 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36376 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36377 if (!SWIG_IsOK(ecode2
)) {
36378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36380 arg2
= static_cast< int >(val2
);
36381 if (arg1
) (arg1
)->bpp
= arg2
;
36383 resultobj
= SWIG_Py_Void();
36390 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36391 PyObject
*resultobj
= 0;
36392 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36396 PyObject
*swig_obj
[1] ;
36398 if (!args
) SWIG_fail
;
36399 swig_obj
[0] = args
;
36400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36401 if (!SWIG_IsOK(res1
)) {
36402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36404 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36405 result
= (int) ((arg1
)->bpp
);
36406 resultobj
= SWIG_From_int(static_cast< int >(result
));
36413 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36414 PyObject
*resultobj
= 0;
36415 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36421 PyObject
*swig_obj
[2] ;
36423 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36425 if (!SWIG_IsOK(res1
)) {
36426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36428 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36429 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36430 if (!SWIG_IsOK(ecode2
)) {
36431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36433 arg2
= static_cast< int >(val2
);
36434 if (arg1
) (arg1
)->refresh
= arg2
;
36436 resultobj
= SWIG_Py_Void();
36443 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36444 PyObject
*resultobj
= 0;
36445 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36449 PyObject
*swig_obj
[1] ;
36451 if (!args
) SWIG_fail
;
36452 swig_obj
[0] = args
;
36453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36454 if (!SWIG_IsOK(res1
)) {
36455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36457 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36458 result
= (int) ((arg1
)->refresh
);
36459 resultobj
= SWIG_From_int(static_cast< int >(result
));
36466 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36469 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36470 return SWIG_Py_Void();
36473 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36474 return SWIG_Python_InitShadowInstance(args
);
36477 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36478 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36483 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36484 PyObject
*pyobj
= 0;
36486 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36491 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36492 PyObject
*resultobj
= 0;
36493 unsigned int arg1
= (unsigned int) 0 ;
36494 wxDisplay
*result
= 0 ;
36495 unsigned int val1
;
36497 PyObject
* obj0
= 0 ;
36498 char * kwnames
[] = {
36499 (char *) "index", NULL
36502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36504 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
36505 if (!SWIG_IsOK(ecode1
)) {
36506 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "unsigned int""'");
36508 arg1
= static_cast< unsigned int >(val1
);
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 result
= (wxDisplay
*)new wxDisplay(arg1
);
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36523 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36524 PyObject
*resultobj
= 0;
36525 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36528 PyObject
*swig_obj
[1] ;
36530 if (!args
) SWIG_fail
;
36531 swig_obj
[0] = args
;
36532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36533 if (!SWIG_IsOK(res1
)) {
36534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36536 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36541 wxPyEndAllowThreads(__tstate
);
36542 if (PyErr_Occurred()) SWIG_fail
;
36544 resultobj
= SWIG_Py_Void();
36551 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36552 PyObject
*resultobj
= 0;
36553 unsigned int result
;
36555 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36558 result
= (unsigned int)wxDisplay::GetCount();
36559 wxPyEndAllowThreads(__tstate
);
36560 if (PyErr_Occurred()) SWIG_fail
;
36562 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
36569 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36570 PyObject
*resultobj
= 0;
36571 wxPoint
*arg1
= 0 ;
36574 PyObject
* obj0
= 0 ;
36575 char * kwnames
[] = {
36576 (char *) "pt", NULL
36579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36582 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36586 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36587 wxPyEndAllowThreads(__tstate
);
36588 if (PyErr_Occurred()) SWIG_fail
;
36590 resultobj
= SWIG_From_int(static_cast< int >(result
));
36597 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36598 PyObject
*resultobj
= 0;
36599 wxWindow
*arg1
= (wxWindow
*) 0 ;
36603 PyObject
* obj0
= 0 ;
36604 char * kwnames
[] = {
36605 (char *) "window", NULL
36608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36610 if (!SWIG_IsOK(res1
)) {
36611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36613 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36616 result
= (int)wxDisplay::GetFromWindow(arg1
);
36617 wxPyEndAllowThreads(__tstate
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36620 resultobj
= SWIG_From_int(static_cast< int >(result
));
36627 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36628 PyObject
*resultobj
= 0;
36629 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36633 PyObject
*swig_obj
[1] ;
36635 if (!args
) SWIG_fail
;
36636 swig_obj
[0] = args
;
36637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36638 if (!SWIG_IsOK(res1
)) {
36639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36641 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36644 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36645 wxPyEndAllowThreads(__tstate
);
36646 if (PyErr_Occurred()) SWIG_fail
;
36649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36657 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36658 PyObject
*resultobj
= 0;
36659 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36663 PyObject
*swig_obj
[1] ;
36665 if (!args
) SWIG_fail
;
36666 swig_obj
[0] = args
;
36667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36668 if (!SWIG_IsOK(res1
)) {
36669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36671 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36674 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36675 wxPyEndAllowThreads(__tstate
);
36676 if (PyErr_Occurred()) SWIG_fail
;
36678 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36685 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36686 PyObject
*resultobj
= 0;
36687 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
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_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36699 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36702 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36706 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36713 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36714 PyObject
*resultobj
= 0;
36715 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36719 PyObject
*swig_obj
[1] ;
36721 if (!args
) SWIG_fail
;
36722 swig_obj
[0] = args
;
36723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36724 if (!SWIG_IsOK(res1
)) {
36725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36727 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36730 result
= ((wxDisplay
const *)arg1
)->GetName();
36731 wxPyEndAllowThreads(__tstate
);
36732 if (PyErr_Occurred()) SWIG_fail
;
36736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36747 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36748 PyObject
*resultobj
= 0;
36749 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36753 PyObject
*swig_obj
[1] ;
36755 if (!args
) SWIG_fail
;
36756 swig_obj
[0] = args
;
36757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36758 if (!SWIG_IsOK(res1
)) {
36759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36761 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36764 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36765 wxPyEndAllowThreads(__tstate
);
36766 if (PyErr_Occurred()) SWIG_fail
;
36769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36777 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36778 PyObject
*resultobj
= 0;
36779 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36780 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36781 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36782 PyObject
*result
= 0 ;
36787 PyObject
* obj0
= 0 ;
36788 PyObject
* obj1
= 0 ;
36789 char * kwnames
[] = {
36790 (char *) "self",(char *) "mode", NULL
36793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36795 if (!SWIG_IsOK(res1
)) {
36796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36798 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36801 if (!SWIG_IsOK(res2
)) {
36802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36807 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36811 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36812 wxPyEndAllowThreads(__tstate
);
36813 if (PyErr_Occurred()) SWIG_fail
;
36815 resultobj
= result
;
36822 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36823 PyObject
*resultobj
= 0;
36824 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36825 wxVideoMode result
;
36828 PyObject
*swig_obj
[1] ;
36830 if (!args
) SWIG_fail
;
36831 swig_obj
[0] = args
;
36832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36833 if (!SWIG_IsOK(res1
)) {
36834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36836 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36839 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36840 wxPyEndAllowThreads(__tstate
);
36841 if (PyErr_Occurred()) SWIG_fail
;
36843 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36850 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36851 PyObject
*resultobj
= 0;
36852 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36853 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36854 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36860 PyObject
* obj0
= 0 ;
36861 PyObject
* obj1
= 0 ;
36862 char * kwnames
[] = {
36863 (char *) "self",(char *) "mode", NULL
36866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36868 if (!SWIG_IsOK(res1
)) {
36869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36871 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36873 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36874 if (!SWIG_IsOK(res2
)) {
36875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36880 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36884 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36885 wxPyEndAllowThreads(__tstate
);
36886 if (PyErr_Occurred()) SWIG_fail
;
36889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36897 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36898 PyObject
*resultobj
= 0;
36899 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36902 PyObject
*swig_obj
[1] ;
36904 if (!args
) SWIG_fail
;
36905 swig_obj
[0] = args
;
36906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36907 if (!SWIG_IsOK(res1
)) {
36908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36910 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36913 wxDisplay_ResetMode(arg1
);
36914 wxPyEndAllowThreads(__tstate
);
36915 if (PyErr_Occurred()) SWIG_fail
;
36917 resultobj
= SWIG_Py_Void();
36924 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36926 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36927 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36928 return SWIG_Py_Void();
36931 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36932 return SWIG_Python_InitShadowInstance(args
);
36935 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36936 PyObject
*resultobj
= 0;
36937 wxStandardPaths
*result
= 0 ;
36939 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36942 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36943 wxPyEndAllowThreads(__tstate
);
36944 if (PyErr_Occurred()) SWIG_fail
;
36946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36953 SWIGINTERN PyObject
*_wrap_StandardPaths_GetExecutablePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36954 PyObject
*resultobj
= 0;
36955 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36959 PyObject
*swig_obj
[1] ;
36961 if (!args
) SWIG_fail
;
36962 swig_obj
[0] = args
;
36963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36964 if (!SWIG_IsOK(res1
)) {
36965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetExecutablePath" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36967 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 result
= ((wxStandardPaths
const *)arg1
)->GetExecutablePath();
36971 wxPyEndAllowThreads(__tstate
);
36972 if (PyErr_Occurred()) SWIG_fail
;
36976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36987 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36988 PyObject
*resultobj
= 0;
36989 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36993 PyObject
*swig_obj
[1] ;
36995 if (!args
) SWIG_fail
;
36996 swig_obj
[0] = args
;
36997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36998 if (!SWIG_IsOK(res1
)) {
36999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37001 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37004 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
37005 wxPyEndAllowThreads(__tstate
);
37006 if (PyErr_Occurred()) SWIG_fail
;
37010 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37012 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37021 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37022 PyObject
*resultobj
= 0;
37023 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37027 PyObject
*swig_obj
[1] ;
37029 if (!args
) SWIG_fail
;
37030 swig_obj
[0] = args
;
37031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37032 if (!SWIG_IsOK(res1
)) {
37033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37035 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37038 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
37039 wxPyEndAllowThreads(__tstate
);
37040 if (PyErr_Occurred()) SWIG_fail
;
37044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37055 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37056 PyObject
*resultobj
= 0;
37057 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37061 PyObject
*swig_obj
[1] ;
37063 if (!args
) SWIG_fail
;
37064 swig_obj
[0] = args
;
37065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37066 if (!SWIG_IsOK(res1
)) {
37067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37069 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37072 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
37073 wxPyEndAllowThreads(__tstate
);
37074 if (PyErr_Occurred()) SWIG_fail
;
37078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37089 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37090 PyObject
*resultobj
= 0;
37091 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37095 PyObject
*swig_obj
[1] ;
37097 if (!args
) SWIG_fail
;
37098 swig_obj
[0] = args
;
37099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37100 if (!SWIG_IsOK(res1
)) {
37101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37103 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37106 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
37107 wxPyEndAllowThreads(__tstate
);
37108 if (PyErr_Occurred()) SWIG_fail
;
37112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37123 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37124 PyObject
*resultobj
= 0;
37125 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37129 PyObject
*swig_obj
[1] ;
37131 if (!args
) SWIG_fail
;
37132 swig_obj
[0] = args
;
37133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37134 if (!SWIG_IsOK(res1
)) {
37135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37137 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37140 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
37141 wxPyEndAllowThreads(__tstate
);
37142 if (PyErr_Occurred()) SWIG_fail
;
37146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37157 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37158 PyObject
*resultobj
= 0;
37159 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37163 PyObject
*swig_obj
[1] ;
37165 if (!args
) SWIG_fail
;
37166 swig_obj
[0] = args
;
37167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37168 if (!SWIG_IsOK(res1
)) {
37169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37171 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37174 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
37175 wxPyEndAllowThreads(__tstate
);
37176 if (PyErr_Occurred()) SWIG_fail
;
37180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37191 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37192 PyObject
*resultobj
= 0;
37193 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37197 PyObject
*swig_obj
[1] ;
37199 if (!args
) SWIG_fail
;
37200 swig_obj
[0] = args
;
37201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37202 if (!SWIG_IsOK(res1
)) {
37203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37205 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37208 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
37209 wxPyEndAllowThreads(__tstate
);
37210 if (PyErr_Occurred()) SWIG_fail
;
37214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37225 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37226 PyObject
*resultobj
= 0;
37227 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37231 PyObject
*swig_obj
[1] ;
37233 if (!args
) SWIG_fail
;
37234 swig_obj
[0] = args
;
37235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37236 if (!SWIG_IsOK(res1
)) {
37237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37239 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37242 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
37243 wxPyEndAllowThreads(__tstate
);
37244 if (PyErr_Occurred()) SWIG_fail
;
37248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37259 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37260 PyObject
*resultobj
= 0;
37261 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37262 wxString
*arg2
= 0 ;
37263 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
37267 bool temp2
= false ;
37270 PyObject
* obj0
= 0 ;
37271 PyObject
* obj1
= 0 ;
37272 PyObject
* obj2
= 0 ;
37273 char * kwnames
[] = {
37274 (char *) "self",(char *) "lang",(char *) "category", NULL
37277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37279 if (!SWIG_IsOK(res1
)) {
37280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37282 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37284 arg2
= wxString_in_helper(obj1
);
37285 if (arg2
== NULL
) SWIG_fail
;
37289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37290 if (!SWIG_IsOK(ecode3
)) {
37291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
37293 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
37296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37297 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
37298 wxPyEndAllowThreads(__tstate
);
37299 if (PyErr_Occurred()) SWIG_fail
;
37303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37322 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37323 PyObject
*resultobj
= 0;
37324 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37328 PyObject
*swig_obj
[1] ;
37330 if (!args
) SWIG_fail
;
37331 swig_obj
[0] = args
;
37332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37333 if (!SWIG_IsOK(res1
)) {
37334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37336 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37339 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
37340 wxPyEndAllowThreads(__tstate
);
37341 if (PyErr_Occurred()) SWIG_fail
;
37345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37356 SWIGINTERN PyObject
*_wrap_StandardPaths_GetTempDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37357 PyObject
*resultobj
= 0;
37358 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37362 PyObject
*swig_obj
[1] ;
37364 if (!args
) SWIG_fail
;
37365 swig_obj
[0] = args
;
37366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37367 if (!SWIG_IsOK(res1
)) {
37368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetTempDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37370 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37373 result
= ((wxStandardPaths
const *)arg1
)->GetTempDir();
37374 wxPyEndAllowThreads(__tstate
);
37375 if (PyErr_Occurred()) SWIG_fail
;
37379 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37381 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37390 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37391 PyObject
*resultobj
= 0;
37392 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37393 wxString
*arg2
= 0 ;
37396 bool temp2
= false ;
37397 PyObject
* obj0
= 0 ;
37398 PyObject
* obj1
= 0 ;
37399 char * kwnames
[] = {
37400 (char *) "self",(char *) "prefix", NULL
37403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37405 if (!SWIG_IsOK(res1
)) {
37406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37408 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37410 arg2
= wxString_in_helper(obj1
);
37411 if (arg2
== NULL
) SWIG_fail
;
37415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37416 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
37417 wxPyEndAllowThreads(__tstate
);
37418 if (PyErr_Occurred()) SWIG_fail
;
37420 resultobj
= SWIG_Py_Void();
37435 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37436 PyObject
*resultobj
= 0;
37437 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37441 PyObject
*swig_obj
[1] ;
37443 if (!args
) SWIG_fail
;
37444 swig_obj
[0] = args
;
37445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37446 if (!SWIG_IsOK(res1
)) {
37447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
37449 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37452 result
= wxStandardPaths_GetInstallPrefix(arg1
);
37453 wxPyEndAllowThreads(__tstate
);
37454 if (PyErr_Occurred()) SWIG_fail
;
37458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37469 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37472 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37473 return SWIG_Py_Void();
37476 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37477 PyObject
*resultobj
= 0;
37479 wxPowerEvent
*result
= 0 ;
37482 PyObject
* obj0
= 0 ;
37483 char * kwnames
[] = {
37484 (char *) "evtType", NULL
37487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37489 if (!SWIG_IsOK(ecode1
)) {
37490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37492 arg1
= static_cast< wxEventType
>(val1
);
37494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37495 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37496 wxPyEndAllowThreads(__tstate
);
37497 if (PyErr_Occurred()) SWIG_fail
;
37499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37506 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37507 PyObject
*resultobj
= 0;
37508 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37511 PyObject
*swig_obj
[1] ;
37513 if (!args
) SWIG_fail
;
37514 swig_obj
[0] = args
;
37515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37516 if (!SWIG_IsOK(res1
)) {
37517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37519 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37523 wxPyEndAllowThreads(__tstate
);
37524 if (PyErr_Occurred()) SWIG_fail
;
37526 resultobj
= SWIG_Py_Void();
37533 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37534 PyObject
*resultobj
= 0;
37535 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37539 PyObject
*swig_obj
[1] ;
37541 if (!args
) SWIG_fail
;
37542 swig_obj
[0] = args
;
37543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37544 if (!SWIG_IsOK(res1
)) {
37545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37547 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37550 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37551 wxPyEndAllowThreads(__tstate
);
37552 if (PyErr_Occurred()) SWIG_fail
;
37555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37563 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37566 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37567 return SWIG_Py_Void();
37570 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37571 return SWIG_Python_InitShadowInstance(args
);
37574 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37575 PyObject
*resultobj
= 0;
37576 wxPowerType result
;
37578 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 result
= (wxPowerType
)wxGetPowerType();
37582 wxPyEndAllowThreads(__tstate
);
37583 if (PyErr_Occurred()) SWIG_fail
;
37585 resultobj
= SWIG_From_int(static_cast< int >(result
));
37592 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37593 PyObject
*resultobj
= 0;
37594 wxBatteryState result
;
37596 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37599 result
= (wxBatteryState
)wxGetBatteryState();
37600 wxPyEndAllowThreads(__tstate
);
37601 if (PyErr_Occurred()) SWIG_fail
;
37603 resultobj
= SWIG_From_int(static_cast< int >(result
));
37610 SWIGINTERN PyObject
*_wrap_new_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37611 PyObject
*resultobj
= 0;
37612 wxAboutDialogInfo
*result
= 0 ;
37614 if (!SWIG_Python_UnpackTuple(args
,"new_AboutDialogInfo",0,0,0)) SWIG_fail
;
37616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37617 result
= (wxAboutDialogInfo
*)new wxAboutDialogInfo();
37618 wxPyEndAllowThreads(__tstate
);
37619 if (PyErr_Occurred()) SWIG_fail
;
37621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_NEW
| 0 );
37628 SWIGINTERN PyObject
*_wrap_delete_AboutDialogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37629 PyObject
*resultobj
= 0;
37630 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37633 PyObject
*swig_obj
[1] ;
37635 if (!args
) SWIG_fail
;
37636 swig_obj
[0] = args
;
37637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, SWIG_POINTER_DISOWN
| 0 );
37638 if (!SWIG_IsOK(res1
)) {
37639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AboutDialogInfo" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37641 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37646 wxPyEndAllowThreads(__tstate
);
37647 if (PyErr_Occurred()) SWIG_fail
;
37649 resultobj
= SWIG_Py_Void();
37656 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37657 PyObject
*resultobj
= 0;
37658 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37659 wxString
*arg2
= 0 ;
37662 bool temp2
= false ;
37663 PyObject
* obj0
= 0 ;
37664 PyObject
* obj1
= 0 ;
37665 char * kwnames
[] = {
37666 (char *) "self",(char *) "name", NULL
37669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37671 if (!SWIG_IsOK(res1
)) {
37672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37674 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37676 arg2
= wxString_in_helper(obj1
);
37677 if (arg2
== NULL
) SWIG_fail
;
37681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37682 (arg1
)->SetName((wxString
const &)*arg2
);
37683 wxPyEndAllowThreads(__tstate
);
37684 if (PyErr_Occurred()) SWIG_fail
;
37686 resultobj
= SWIG_Py_Void();
37701 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37702 PyObject
*resultobj
= 0;
37703 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37707 PyObject
*swig_obj
[1] ;
37709 if (!args
) SWIG_fail
;
37710 swig_obj
[0] = args
;
37711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37712 if (!SWIG_IsOK(res1
)) {
37713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetName" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37715 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37718 result
= ((wxAboutDialogInfo
const *)arg1
)->GetName();
37719 wxPyEndAllowThreads(__tstate
);
37720 if (PyErr_Occurred()) SWIG_fail
;
37724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37735 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37736 PyObject
*resultobj
= 0;
37737 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37738 wxString
*arg2
= 0 ;
37741 bool temp2
= false ;
37742 PyObject
* obj0
= 0 ;
37743 PyObject
* obj1
= 0 ;
37744 char * kwnames
[] = {
37745 (char *) "self",(char *) "version", NULL
37748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37750 if (!SWIG_IsOK(res1
)) {
37751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37753 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37755 arg2
= wxString_in_helper(obj1
);
37756 if (arg2
== NULL
) SWIG_fail
;
37760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37761 (arg1
)->SetVersion((wxString
const &)*arg2
);
37762 wxPyEndAllowThreads(__tstate
);
37763 if (PyErr_Occurred()) SWIG_fail
;
37765 resultobj
= SWIG_Py_Void();
37780 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37781 PyObject
*resultobj
= 0;
37782 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37786 PyObject
*swig_obj
[1] ;
37788 if (!args
) SWIG_fail
;
37789 swig_obj
[0] = args
;
37790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37791 if (!SWIG_IsOK(res1
)) {
37792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37794 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37797 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasVersion();
37798 wxPyEndAllowThreads(__tstate
);
37799 if (PyErr_Occurred()) SWIG_fail
;
37802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37810 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37811 PyObject
*resultobj
= 0;
37812 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37816 PyObject
*swig_obj
[1] ;
37818 if (!args
) SWIG_fail
;
37819 swig_obj
[0] = args
;
37820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37821 if (!SWIG_IsOK(res1
)) {
37822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetVersion" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37824 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37827 result
= ((wxAboutDialogInfo
const *)arg1
)->GetVersion();
37828 wxPyEndAllowThreads(__tstate
);
37829 if (PyErr_Occurred()) SWIG_fail
;
37833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37844 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37845 PyObject
*resultobj
= 0;
37846 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37847 wxString
*arg2
= 0 ;
37850 bool temp2
= false ;
37851 PyObject
* obj0
= 0 ;
37852 PyObject
* obj1
= 0 ;
37853 char * kwnames
[] = {
37854 (char *) "self",(char *) "desc", NULL
37857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDescription",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37859 if (!SWIG_IsOK(res1
)) {
37860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37862 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37864 arg2
= wxString_in_helper(obj1
);
37865 if (arg2
== NULL
) SWIG_fail
;
37869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37870 (arg1
)->SetDescription((wxString
const &)*arg2
);
37871 wxPyEndAllowThreads(__tstate
);
37872 if (PyErr_Occurred()) SWIG_fail
;
37874 resultobj
= SWIG_Py_Void();
37889 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37890 PyObject
*resultobj
= 0;
37891 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37895 PyObject
*swig_obj
[1] ;
37897 if (!args
) SWIG_fail
;
37898 swig_obj
[0] = args
;
37899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37900 if (!SWIG_IsOK(res1
)) {
37901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37903 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37906 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDescription();
37907 wxPyEndAllowThreads(__tstate
);
37908 if (PyErr_Occurred()) SWIG_fail
;
37911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37919 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37920 PyObject
*resultobj
= 0;
37921 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37925 PyObject
*swig_obj
[1] ;
37927 if (!args
) SWIG_fail
;
37928 swig_obj
[0] = args
;
37929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37930 if (!SWIG_IsOK(res1
)) {
37931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
37933 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37936 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescription();
37937 wxPyEndAllowThreads(__tstate
);
37938 if (PyErr_Occurred()) SWIG_fail
;
37942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37953 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37954 PyObject
*resultobj
= 0;
37955 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
37956 wxString
*arg2
= 0 ;
37959 bool temp2
= false ;
37960 PyObject
* obj0
= 0 ;
37961 PyObject
* obj1
= 0 ;
37962 char * kwnames
[] = {
37963 (char *) "self",(char *) "copyright", NULL
37966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetCopyright",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
37968 if (!SWIG_IsOK(res1
)) {
37969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
37971 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
37973 arg2
= wxString_in_helper(obj1
);
37974 if (arg2
== NULL
) SWIG_fail
;
37978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37979 (arg1
)->SetCopyright((wxString
const &)*arg2
);
37980 wxPyEndAllowThreads(__tstate
);
37981 if (PyErr_Occurred()) SWIG_fail
;
37983 resultobj
= SWIG_Py_Void();
37998 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37999 PyObject
*resultobj
= 0;
38000 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38004 PyObject
*swig_obj
[1] ;
38006 if (!args
) SWIG_fail
;
38007 swig_obj
[0] = args
;
38008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38009 if (!SWIG_IsOK(res1
)) {
38010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38012 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38015 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasCopyright();
38016 wxPyEndAllowThreads(__tstate
);
38017 if (PyErr_Occurred()) SWIG_fail
;
38020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38028 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetCopyright(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38029 PyObject
*resultobj
= 0;
38030 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38034 PyObject
*swig_obj
[1] ;
38036 if (!args
) SWIG_fail
;
38037 swig_obj
[0] = args
;
38038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38039 if (!SWIG_IsOK(res1
)) {
38040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetCopyright" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38042 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38045 result
= ((wxAboutDialogInfo
const *)arg1
)->GetCopyright();
38046 wxPyEndAllowThreads(__tstate
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38062 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38063 PyObject
*resultobj
= 0;
38064 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38065 wxString
*arg2
= 0 ;
38068 bool temp2
= false ;
38069 PyObject
* obj0
= 0 ;
38070 PyObject
* obj1
= 0 ;
38071 char * kwnames
[] = {
38072 (char *) "self",(char *) "licence", NULL
38075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicence",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38077 if (!SWIG_IsOK(res1
)) {
38078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38080 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38082 arg2
= wxString_in_helper(obj1
);
38083 if (arg2
== NULL
) SWIG_fail
;
38087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38088 (arg1
)->SetLicence((wxString
const &)*arg2
);
38089 wxPyEndAllowThreads(__tstate
);
38090 if (PyErr_Occurred()) SWIG_fail
;
38092 resultobj
= SWIG_Py_Void();
38107 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetLicense(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38108 PyObject
*resultobj
= 0;
38109 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38110 wxString
*arg2
= 0 ;
38113 bool temp2
= false ;
38114 PyObject
* obj0
= 0 ;
38115 PyObject
* obj1
= 0 ;
38116 char * kwnames
[] = {
38117 (char *) "self",(char *) "licence", NULL
38120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetLicense",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38122 if (!SWIG_IsOK(res1
)) {
38123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetLicense" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38125 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38127 arg2
= wxString_in_helper(obj1
);
38128 if (arg2
== NULL
) SWIG_fail
;
38132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38133 (arg1
)->SetLicense((wxString
const &)*arg2
);
38134 wxPyEndAllowThreads(__tstate
);
38135 if (PyErr_Occurred()) SWIG_fail
;
38137 resultobj
= SWIG_Py_Void();
38152 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38153 PyObject
*resultobj
= 0;
38154 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38158 PyObject
*swig_obj
[1] ;
38160 if (!args
) SWIG_fail
;
38161 swig_obj
[0] = args
;
38162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38163 if (!SWIG_IsOK(res1
)) {
38164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38166 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38169 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasLicence();
38170 wxPyEndAllowThreads(__tstate
);
38171 if (PyErr_Occurred()) SWIG_fail
;
38174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38182 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetLicence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38183 PyObject
*resultobj
= 0;
38184 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38188 PyObject
*swig_obj
[1] ;
38190 if (!args
) SWIG_fail
;
38191 swig_obj
[0] = args
;
38192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38193 if (!SWIG_IsOK(res1
)) {
38194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetLicence" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38196 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38199 result
= ((wxAboutDialogInfo
const *)arg1
)->GetLicence();
38200 wxPyEndAllowThreads(__tstate
);
38201 if (PyErr_Occurred()) SWIG_fail
;
38205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38216 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38217 PyObject
*resultobj
= 0;
38218 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38224 PyObject
* obj0
= 0 ;
38225 PyObject
* obj1
= 0 ;
38226 char * kwnames
[] = {
38227 (char *) "self",(char *) "icon", NULL
38230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38232 if (!SWIG_IsOK(res1
)) {
38233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38235 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38237 if (!SWIG_IsOK(res2
)) {
38238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutDialogInfo_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38243 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38246 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
38247 wxPyEndAllowThreads(__tstate
);
38248 if (PyErr_Occurred()) SWIG_fail
;
38250 resultobj
= SWIG_Py_Void();
38257 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38258 PyObject
*resultobj
= 0;
38259 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38263 PyObject
*swig_obj
[1] ;
38265 if (!args
) SWIG_fail
;
38266 swig_obj
[0] = args
;
38267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38268 if (!SWIG_IsOK(res1
)) {
38269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38271 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38274 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasIcon();
38275 wxPyEndAllowThreads(__tstate
);
38276 if (PyErr_Occurred()) SWIG_fail
;
38279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38287 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38288 PyObject
*resultobj
= 0;
38289 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38293 PyObject
*swig_obj
[1] ;
38295 if (!args
) SWIG_fail
;
38296 swig_obj
[0] = args
;
38297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38298 if (!SWIG_IsOK(res1
)) {
38299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetIcon" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38301 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38304 result
= ((wxAboutDialogInfo
const *)arg1
)->GetIcon();
38305 wxPyEndAllowThreads(__tstate
);
38306 if (PyErr_Occurred()) SWIG_fail
;
38308 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
38315 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__SetWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38316 PyObject
*resultobj
= 0;
38317 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38318 wxString
*arg2
= 0 ;
38319 wxString
const &arg3_defvalue
= wxEmptyString
;
38320 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
38323 bool temp2
= false ;
38324 bool temp3
= false ;
38325 PyObject
* obj0
= 0 ;
38326 PyObject
* obj1
= 0 ;
38327 PyObject
* obj2
= 0 ;
38328 char * kwnames
[] = {
38329 (char *) "self",(char *) "url",(char *) "desc", NULL
38332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:AboutDialogInfo__SetWebSite",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38334 if (!SWIG_IsOK(res1
)) {
38335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__SetWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38337 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38339 arg2
= wxString_in_helper(obj1
);
38340 if (arg2
== NULL
) SWIG_fail
;
38345 arg3
= wxString_in_helper(obj2
);
38346 if (arg3
== NULL
) SWIG_fail
;
38351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38352 (arg1
)->SetWebSite((wxString
const &)*arg2
,(wxString
const &)*arg3
);
38353 wxPyEndAllowThreads(__tstate
);
38354 if (PyErr_Occurred()) SWIG_fail
;
38356 resultobj
= SWIG_Py_Void();
38379 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38380 PyObject
*resultobj
= 0;
38381 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38385 PyObject
*swig_obj
[1] ;
38387 if (!args
) SWIG_fail
;
38388 swig_obj
[0] = args
;
38389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38390 if (!SWIG_IsOK(res1
)) {
38391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteURL" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38393 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38396 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteURL();
38397 wxPyEndAllowThreads(__tstate
);
38398 if (PyErr_Occurred()) SWIG_fail
;
38402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38413 SWIGINTERN PyObject
*_wrap_AboutDialogInfo__GetWebSiteDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38414 PyObject
*resultobj
= 0;
38415 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38419 PyObject
*swig_obj
[1] ;
38421 if (!args
) SWIG_fail
;
38422 swig_obj
[0] = args
;
38423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38424 if (!SWIG_IsOK(res1
)) {
38425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo__GetWebSiteDescription" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38427 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38430 result
= ((wxAboutDialogInfo
const *)arg1
)->GetWebSiteDescription();
38431 wxPyEndAllowThreads(__tstate
);
38432 if (PyErr_Occurred()) SWIG_fail
;
38436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38447 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasWebSite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38448 PyObject
*resultobj
= 0;
38449 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38453 PyObject
*swig_obj
[1] ;
38455 if (!args
) SWIG_fail
;
38456 swig_obj
[0] = args
;
38457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38458 if (!SWIG_IsOK(res1
)) {
38459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasWebSite" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38461 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38464 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasWebSite();
38465 wxPyEndAllowThreads(__tstate
);
38466 if (PyErr_Occurred()) SWIG_fail
;
38469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38477 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38478 PyObject
*resultobj
= 0;
38479 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38480 wxArrayString
*arg2
= 0 ;
38483 bool temp2
= false ;
38484 PyObject
* obj0
= 0 ;
38485 PyObject
* obj1
= 0 ;
38486 char * kwnames
[] = {
38487 (char *) "self",(char *) "developers", NULL
38490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDevelopers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38492 if (!SWIG_IsOK(res1
)) {
38493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38495 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38497 if (! PySequence_Check(obj1
)) {
38498 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38501 arg2
= new wxArrayString
;
38503 int i
, len
=PySequence_Length(obj1
);
38504 for (i
=0; i
<len
; i
++) {
38505 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38506 wxString
* s
= wxString_in_helper(item
);
38507 if (PyErr_Occurred()) SWIG_fail
;
38514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38515 (arg1
)->SetDevelopers((wxArrayString
const &)*arg2
);
38516 wxPyEndAllowThreads(__tstate
);
38517 if (PyErr_Occurred()) SWIG_fail
;
38519 resultobj
= SWIG_Py_Void();
38521 if (temp2
) delete arg2
;
38526 if (temp2
) delete arg2
;
38532 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDeveloper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38533 PyObject
*resultobj
= 0;
38534 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38535 wxString
*arg2
= 0 ;
38538 bool temp2
= false ;
38539 PyObject
* obj0
= 0 ;
38540 PyObject
* obj1
= 0 ;
38541 char * kwnames
[] = {
38542 (char *) "self",(char *) "developer", NULL
38545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDeveloper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38547 if (!SWIG_IsOK(res1
)) {
38548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDeveloper" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38550 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38552 arg2
= wxString_in_helper(obj1
);
38553 if (arg2
== NULL
) SWIG_fail
;
38557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38558 (arg1
)->AddDeveloper((wxString
const &)*arg2
);
38559 wxPyEndAllowThreads(__tstate
);
38560 if (PyErr_Occurred()) SWIG_fail
;
38562 resultobj
= SWIG_Py_Void();
38577 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38578 PyObject
*resultobj
= 0;
38579 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38583 PyObject
*swig_obj
[1] ;
38585 if (!args
) SWIG_fail
;
38586 swig_obj
[0] = args
;
38587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38588 if (!SWIG_IsOK(res1
)) {
38589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38591 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38594 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDevelopers();
38595 wxPyEndAllowThreads(__tstate
);
38596 if (PyErr_Occurred()) SWIG_fail
;
38599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38607 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDevelopers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38608 PyObject
*resultobj
= 0;
38609 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38610 wxArrayString
*result
= 0 ;
38613 PyObject
*swig_obj
[1] ;
38615 if (!args
) SWIG_fail
;
38616 swig_obj
[0] = args
;
38617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38618 if (!SWIG_IsOK(res1
)) {
38619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDevelopers" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38621 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38625 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDevelopers();
38626 result
= (wxArrayString
*) &_result_ref
;
38628 wxPyEndAllowThreads(__tstate
);
38629 if (PyErr_Occurred()) SWIG_fail
;
38632 resultobj
= wxArrayString2PyList_helper(*result
);
38640 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38641 PyObject
*resultobj
= 0;
38642 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38643 wxArrayString
*arg2
= 0 ;
38646 bool temp2
= false ;
38647 PyObject
* obj0
= 0 ;
38648 PyObject
* obj1
= 0 ;
38649 char * kwnames
[] = {
38650 (char *) "self",(char *) "docwriters", NULL
38653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetDocWriters",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38655 if (!SWIG_IsOK(res1
)) {
38656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38658 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38660 if (! PySequence_Check(obj1
)) {
38661 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38664 arg2
= new wxArrayString
;
38666 int i
, len
=PySequence_Length(obj1
);
38667 for (i
=0; i
<len
; i
++) {
38668 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38669 wxString
* s
= wxString_in_helper(item
);
38670 if (PyErr_Occurred()) SWIG_fail
;
38677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38678 (arg1
)->SetDocWriters((wxArrayString
const &)*arg2
);
38679 wxPyEndAllowThreads(__tstate
);
38680 if (PyErr_Occurred()) SWIG_fail
;
38682 resultobj
= SWIG_Py_Void();
38684 if (temp2
) delete arg2
;
38689 if (temp2
) delete arg2
;
38695 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddDocWriter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38696 PyObject
*resultobj
= 0;
38697 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38698 wxString
*arg2
= 0 ;
38701 bool temp2
= false ;
38702 PyObject
* obj0
= 0 ;
38703 PyObject
* obj1
= 0 ;
38704 char * kwnames
[] = {
38705 (char *) "self",(char *) "docwriter", NULL
38708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddDocWriter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38710 if (!SWIG_IsOK(res1
)) {
38711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddDocWriter" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38713 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38715 arg2
= wxString_in_helper(obj1
);
38716 if (arg2
== NULL
) SWIG_fail
;
38720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38721 (arg1
)->AddDocWriter((wxString
const &)*arg2
);
38722 wxPyEndAllowThreads(__tstate
);
38723 if (PyErr_Occurred()) SWIG_fail
;
38725 resultobj
= SWIG_Py_Void();
38740 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38741 PyObject
*resultobj
= 0;
38742 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38746 PyObject
*swig_obj
[1] ;
38748 if (!args
) SWIG_fail
;
38749 swig_obj
[0] = args
;
38750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38751 if (!SWIG_IsOK(res1
)) {
38752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38754 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38757 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasDocWriters();
38758 wxPyEndAllowThreads(__tstate
);
38759 if (PyErr_Occurred()) SWIG_fail
;
38762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38770 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDocWriters(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38771 PyObject
*resultobj
= 0;
38772 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38773 wxArrayString
*result
= 0 ;
38776 PyObject
*swig_obj
[1] ;
38778 if (!args
) SWIG_fail
;
38779 swig_obj
[0] = args
;
38780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38781 if (!SWIG_IsOK(res1
)) {
38782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDocWriters" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38784 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38788 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetDocWriters();
38789 result
= (wxArrayString
*) &_result_ref
;
38791 wxPyEndAllowThreads(__tstate
);
38792 if (PyErr_Occurred()) SWIG_fail
;
38795 resultobj
= wxArrayString2PyList_helper(*result
);
38803 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38804 PyObject
*resultobj
= 0;
38805 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38806 wxArrayString
*arg2
= 0 ;
38809 bool temp2
= false ;
38810 PyObject
* obj0
= 0 ;
38811 PyObject
* obj1
= 0 ;
38812 char * kwnames
[] = {
38813 (char *) "self",(char *) "artists", NULL
38816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetArtists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38818 if (!SWIG_IsOK(res1
)) {
38819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38821 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38823 if (! PySequence_Check(obj1
)) {
38824 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38827 arg2
= new wxArrayString
;
38829 int i
, len
=PySequence_Length(obj1
);
38830 for (i
=0; i
<len
; i
++) {
38831 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38832 wxString
* s
= wxString_in_helper(item
);
38833 if (PyErr_Occurred()) SWIG_fail
;
38840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38841 (arg1
)->SetArtists((wxArrayString
const &)*arg2
);
38842 wxPyEndAllowThreads(__tstate
);
38843 if (PyErr_Occurred()) SWIG_fail
;
38845 resultobj
= SWIG_Py_Void();
38847 if (temp2
) delete arg2
;
38852 if (temp2
) delete arg2
;
38858 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddArtist(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38859 PyObject
*resultobj
= 0;
38860 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38861 wxString
*arg2
= 0 ;
38864 bool temp2
= false ;
38865 PyObject
* obj0
= 0 ;
38866 PyObject
* obj1
= 0 ;
38867 char * kwnames
[] = {
38868 (char *) "self",(char *) "artist", NULL
38871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddArtist",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38873 if (!SWIG_IsOK(res1
)) {
38874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddArtist" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38876 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38878 arg2
= wxString_in_helper(obj1
);
38879 if (arg2
== NULL
) SWIG_fail
;
38883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38884 (arg1
)->AddArtist((wxString
const &)*arg2
);
38885 wxPyEndAllowThreads(__tstate
);
38886 if (PyErr_Occurred()) SWIG_fail
;
38888 resultobj
= SWIG_Py_Void();
38903 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38904 PyObject
*resultobj
= 0;
38905 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38909 PyObject
*swig_obj
[1] ;
38911 if (!args
) SWIG_fail
;
38912 swig_obj
[0] = args
;
38913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38914 if (!SWIG_IsOK(res1
)) {
38915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38917 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38920 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasArtists();
38921 wxPyEndAllowThreads(__tstate
);
38922 if (PyErr_Occurred()) SWIG_fail
;
38925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38933 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetArtists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38934 PyObject
*resultobj
= 0;
38935 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38936 wxArrayString
*result
= 0 ;
38939 PyObject
*swig_obj
[1] ;
38941 if (!args
) SWIG_fail
;
38942 swig_obj
[0] = args
;
38943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38944 if (!SWIG_IsOK(res1
)) {
38945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetArtists" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
38947 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38951 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetArtists();
38952 result
= (wxArrayString
*) &_result_ref
;
38954 wxPyEndAllowThreads(__tstate
);
38955 if (PyErr_Occurred()) SWIG_fail
;
38958 resultobj
= wxArrayString2PyList_helper(*result
);
38966 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_SetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38967 PyObject
*resultobj
= 0;
38968 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
38969 wxArrayString
*arg2
= 0 ;
38972 bool temp2
= false ;
38973 PyObject
* obj0
= 0 ;
38974 PyObject
* obj1
= 0 ;
38975 char * kwnames
[] = {
38976 (char *) "self",(char *) "translators", NULL
38979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_SetTranslators",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
38981 if (!SWIG_IsOK(res1
)) {
38982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_SetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
38984 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
38986 if (! PySequence_Check(obj1
)) {
38987 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
38990 arg2
= new wxArrayString
;
38992 int i
, len
=PySequence_Length(obj1
);
38993 for (i
=0; i
<len
; i
++) {
38994 PyObject
* item
= PySequence_GetItem(obj1
, i
);
38995 wxString
* s
= wxString_in_helper(item
);
38996 if (PyErr_Occurred()) SWIG_fail
;
39003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39004 (arg1
)->SetTranslators((wxArrayString
const &)*arg2
);
39005 wxPyEndAllowThreads(__tstate
);
39006 if (PyErr_Occurred()) SWIG_fail
;
39008 resultobj
= SWIG_Py_Void();
39010 if (temp2
) delete arg2
;
39015 if (temp2
) delete arg2
;
39021 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_AddTranslator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39022 PyObject
*resultobj
= 0;
39023 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39024 wxString
*arg2
= 0 ;
39027 bool temp2
= false ;
39028 PyObject
* obj0
= 0 ;
39029 PyObject
* obj1
= 0 ;
39030 char * kwnames
[] = {
39031 (char *) "self",(char *) "translator", NULL
39034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AboutDialogInfo_AddTranslator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39036 if (!SWIG_IsOK(res1
)) {
39037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_AddTranslator" "', expected argument " "1"" of type '" "wxAboutDialogInfo *""'");
39039 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39041 arg2
= wxString_in_helper(obj1
);
39042 if (arg2
== NULL
) SWIG_fail
;
39046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39047 (arg1
)->AddTranslator((wxString
const &)*arg2
);
39048 wxPyEndAllowThreads(__tstate
);
39049 if (PyErr_Occurred()) SWIG_fail
;
39051 resultobj
= SWIG_Py_Void();
39066 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_HasTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39067 PyObject
*resultobj
= 0;
39068 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39072 PyObject
*swig_obj
[1] ;
39074 if (!args
) SWIG_fail
;
39075 swig_obj
[0] = args
;
39076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39077 if (!SWIG_IsOK(res1
)) {
39078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_HasTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39080 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39083 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->HasTranslators();
39084 wxPyEndAllowThreads(__tstate
);
39085 if (PyErr_Occurred()) SWIG_fail
;
39088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39096 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetTranslators(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39097 PyObject
*resultobj
= 0;
39098 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39099 wxArrayString
*result
= 0 ;
39102 PyObject
*swig_obj
[1] ;
39104 if (!args
) SWIG_fail
;
39105 swig_obj
[0] = args
;
39106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39107 if (!SWIG_IsOK(res1
)) {
39108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetTranslators" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39110 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39114 wxArrayString
const &_result_ref
= ((wxAboutDialogInfo
const *)arg1
)->GetTranslators();
39115 result
= (wxArrayString
*) &_result_ref
;
39117 wxPyEndAllowThreads(__tstate
);
39118 if (PyErr_Occurred()) SWIG_fail
;
39121 resultobj
= wxArrayString2PyList_helper(*result
);
39129 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_IsSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39130 PyObject
*resultobj
= 0;
39131 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39135 PyObject
*swig_obj
[1] ;
39137 if (!args
) SWIG_fail
;
39138 swig_obj
[0] = args
;
39139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39140 if (!SWIG_IsOK(res1
)) {
39141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_IsSimple" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39143 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39146 result
= (bool)((wxAboutDialogInfo
const *)arg1
)->IsSimple();
39147 wxPyEndAllowThreads(__tstate
);
39148 if (PyErr_Occurred()) SWIG_fail
;
39151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39159 SWIGINTERN PyObject
*_wrap_AboutDialogInfo_GetDescriptionAndCredits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39160 PyObject
*resultobj
= 0;
39161 wxAboutDialogInfo
*arg1
= (wxAboutDialogInfo
*) 0 ;
39165 PyObject
*swig_obj
[1] ;
39167 if (!args
) SWIG_fail
;
39168 swig_obj
[0] = args
;
39169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0 );
39170 if (!SWIG_IsOK(res1
)) {
39171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutDialogInfo_GetDescriptionAndCredits" "', expected argument " "1"" of type '" "wxAboutDialogInfo const *""'");
39173 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39176 result
= ((wxAboutDialogInfo
const *)arg1
)->GetDescriptionAndCredits();
39177 wxPyEndAllowThreads(__tstate
);
39178 if (PyErr_Occurred()) SWIG_fail
;
39182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39193 SWIGINTERN PyObject
*AboutDialogInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39196 SWIG_TypeNewClientData(SWIGTYPE_p_wxAboutDialogInfo
, SWIG_NewClientData(obj
));
39197 return SWIG_Py_Void();
39200 SWIGINTERN PyObject
*AboutDialogInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39201 return SWIG_Python_InitShadowInstance(args
);
39204 SWIGINTERN PyObject
*_wrap_AboutBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39205 PyObject
*resultobj
= 0;
39206 wxAboutDialogInfo
*arg1
= 0 ;
39209 PyObject
* obj0
= 0 ;
39210 char * kwnames
[] = {
39211 (char *) "info", NULL
39214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AboutBox",kwnames
,&obj0
)) SWIG_fail
;
39215 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxAboutDialogInfo
, 0 | 0);
39216 if (!SWIG_IsOK(res1
)) {
39217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AboutBox" "', expected argument " "1"" of type '" "wxAboutDialogInfo const &""'");
39222 arg1
= reinterpret_cast< wxAboutDialogInfo
* >(argp1
);
39224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39225 wxAboutBox((wxAboutDialogInfo
const &)*arg1
);
39226 wxPyEndAllowThreads(__tstate
);
39227 if (PyErr_Occurred()) SWIG_fail
;
39229 resultobj
= SWIG_Py_Void();
39236 static PyMethodDef SwigMethods
[] = {
39237 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
39242 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
39244 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
39245 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
39252 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
39253 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
39254 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
39256 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"GetStockHelpString", (PyCFunction
) _wrap_GetStockHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
39261 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
39262 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
39264 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
39265 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
39267 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
39268 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
39269 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
39270 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
39271 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
39272 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
39279 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
39280 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
39281 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
39282 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
39283 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
39284 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
39286 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
39287 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
39298 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
39299 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
39300 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
39301 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
39302 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
39303 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
39304 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
39305 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
39306 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
39308 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
39310 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
39311 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
39312 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
39318 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
39319 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
39320 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
39321 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
39322 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
39323 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
39324 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
39325 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
39326 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
39327 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
39328 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
39329 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
39339 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
39340 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
39341 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
39342 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
39343 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
39344 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
39345 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
39346 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
39347 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
39348 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
39349 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
39351 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
39353 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
39354 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
39357 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
39358 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
39360 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
39361 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
39362 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
39363 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
39364 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
39365 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
39366 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
39367 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
39368 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
39374 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
39375 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
39377 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
39378 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
39380 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
39381 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
39382 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
39384 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
39385 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
39386 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
39388 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
39389 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
39390 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
39391 { (char *)"delete_StopWatch", (PyCFunction
)_wrap_delete_StopWatch
, METH_O
, NULL
},
39392 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
39394 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
39395 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
39396 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
39397 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
39398 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
39400 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
39403 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
39408 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
39411 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
39412 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
39413 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
39415 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
39416 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
39418 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
39419 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
39420 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
39421 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
39424 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
39425 { (char *)"PlatformInformation_CheckOSVersion", (PyCFunction
) _wrap_PlatformInformation_CheckOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
39427 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
39428 { (char *)"PlatformInformation_CheckToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_CheckToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
39430 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
39431 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
39432 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
39433 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
39434 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
39435 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
39436 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
39437 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
39438 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
39439 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
39440 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
39447 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
39448 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
39449 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
39451 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
39452 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
39453 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
39455 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
39458 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
39459 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
39463 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
39466 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
39468 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
39469 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
39470 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
39471 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
39472 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
39473 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
39474 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
39475 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
39477 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
39478 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
39479 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
39480 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
39481 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
39483 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
39484 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
39485 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
39486 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
39487 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
39490 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
39491 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
39492 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
39494 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
39495 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39498 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
39500 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
39504 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
39505 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
39507 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
39508 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
39510 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
39511 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
39512 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
39513 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
39514 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
39515 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
39516 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
39517 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
39518 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
39520 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
39521 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
39522 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
39523 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
39524 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
39527 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
39528 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
39529 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
39531 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
39532 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
39536 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
39537 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
39538 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
39539 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
39540 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
39541 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
39542 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
39543 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
39544 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
39557 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
39559 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
39560 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
39561 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
39562 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
39563 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
39565 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
39566 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"delete_Process", (PyCFunction
)_wrap_delete_Process
, METH_O
, NULL
},
39571 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"Process_GetPid", (PyCFunction
)_wrap_Process_GetPid
, METH_O
, NULL
},
39573 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
39575 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
39576 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
39577 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
39578 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
39579 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
39580 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
39581 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
39582 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
39583 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
39584 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
39585 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
39586 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
39588 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
39589 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
39590 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
39591 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
39592 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
39593 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
39594 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
39595 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
39599 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
39600 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
39601 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
39602 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
39603 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
39604 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
39605 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
39606 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
39607 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
39608 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
39610 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
39611 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
39612 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
39613 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
39614 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
39615 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
39616 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
39617 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
39618 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
39619 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
39620 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
39621 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
39622 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
39623 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
39624 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
39625 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
39626 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
39627 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
39628 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
39629 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
39630 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
39631 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
39632 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
39633 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
39634 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
39635 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
39636 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
39637 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
39638 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
39639 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
39641 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
39642 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
39643 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
39645 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
39646 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
39647 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
39648 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
39649 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
39655 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
39656 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
39657 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
39661 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
39662 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
39665 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
39668 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
39671 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
39672 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
39673 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
39676 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
39677 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
39680 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
39681 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
39682 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
39683 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
39684 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
39685 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
39686 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
39687 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
39688 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
39689 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
39690 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
39692 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
39693 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
39694 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
39695 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
39696 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
39697 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
39698 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
39704 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
39706 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
39707 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
39709 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
39711 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
39716 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
39720 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
39721 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
39722 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
39723 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
39724 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"ArtProvider_Push", (PyCFunction
) _wrap_ArtProvider_Push
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"ArtProvider_Insert", (PyCFunction
) _wrap_ArtProvider_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"ArtProvider_Pop", (PyCFunction
)_wrap_ArtProvider_Pop
, METH_NOARGS
, NULL
},
39728 { (char *)"ArtProvider_Delete", (PyCFunction
) _wrap_ArtProvider_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
39733 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
39734 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
39735 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
39736 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
39739 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
39740 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
39742 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
39743 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
39745 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
39766 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
39768 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
39770 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
39772 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
39773 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39774 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
39777 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
39778 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
39780 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
39781 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
39782 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
39784 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
39785 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
39786 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
39788 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
39789 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
39790 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
39791 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
39794 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
39805 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
39809 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
39810 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
39811 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
39812 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
39818 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
39819 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
39824 { (char *)"DateTime_GetDateOnly", (PyCFunction
)_wrap_DateTime_GetDateOnly
, METH_O
, NULL
},
39825 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
39849 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
39850 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
39851 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
39852 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
39853 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
39865 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
39866 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39871 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39888 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
39892 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
39893 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
39894 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
39895 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
39908 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
39909 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
39910 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
39911 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
39912 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
39913 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
39915 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
39917 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
39919 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
39921 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
39923 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
39925 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
39927 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
39931 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
39932 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
39936 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
39947 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
39948 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
39949 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
39953 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
39954 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
39955 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
39956 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
39957 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
39958 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
39960 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
39961 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
39963 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
39965 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
39967 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
39969 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
39971 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
39976 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
39977 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
39978 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
39979 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
39980 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39981 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
39983 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39984 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39985 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
39987 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39988 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39991 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39992 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39994 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
39995 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
39996 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
39997 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
39998 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
39999 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
40000 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40001 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
40003 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
40004 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
40005 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
40007 { (char *)"DataFormat__GetId", (PyCFunction
)_wrap_DataFormat__GetId
, METH_O
, NULL
},
40008 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
40010 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
40011 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
40012 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40013 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40016 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40017 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40018 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40019 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
40020 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
40022 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
40024 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
40025 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
40027 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
40028 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40029 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40030 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
40031 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
40032 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
40033 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
40035 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
40036 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
40037 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40038 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
40039 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
40040 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
40042 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
40043 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
40046 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
40047 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
40049 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
40051 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
40052 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40054 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
40055 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
40056 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
40057 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
40058 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40059 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
40060 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
40061 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
40062 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40063 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
40064 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
40065 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
40066 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
40067 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
40069 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
40071 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
40072 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
40073 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40074 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
40075 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
40076 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
40077 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40078 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40079 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
40081 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
40083 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40084 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
40087 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
40088 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
40091 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
40092 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40094 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
40096 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
40098 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40099 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
40100 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
40101 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
40102 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
40103 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40104 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40105 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40107 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
40108 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40110 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
40111 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
40112 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
40113 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
40118 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
40121 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
40122 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
40123 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
40124 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
40125 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
40126 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
40127 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40129 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40131 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
40132 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
40133 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40134 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
40135 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
40136 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
40137 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40138 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
40139 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
40140 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
40141 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
40142 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40143 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
40144 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
40146 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
40147 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
40148 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
40149 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40150 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40151 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
40152 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
40153 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
40154 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
40155 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
40156 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
40157 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
40158 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
40159 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
40160 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
40161 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40162 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
40163 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
40164 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40165 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
40167 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
40168 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
40169 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
40170 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
40171 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40172 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
40173 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
40175 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
40176 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
40177 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
40178 { (char *)"StandardPaths_GetExecutablePath", (PyCFunction
)_wrap_StandardPaths_GetExecutablePath
, METH_O
, NULL
},
40179 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
40180 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
40181 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
40182 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
40183 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
40184 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
40185 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
40186 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
40187 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40188 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
40189 { (char *)"StandardPaths_GetTempDir", (PyCFunction
)_wrap_StandardPaths_GetTempDir
, METH_O
, NULL
},
40190 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40191 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
40192 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
40193 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40194 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
40195 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
40196 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
40197 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
40198 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
40199 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
40200 { (char *)"new_AboutDialogInfo", (PyCFunction
)_wrap_new_AboutDialogInfo
, METH_NOARGS
, NULL
},
40201 { (char *)"delete_AboutDialogInfo", (PyCFunction
)_wrap_delete_AboutDialogInfo
, METH_O
, NULL
},
40202 { (char *)"AboutDialogInfo_SetName", (PyCFunction
) _wrap_AboutDialogInfo_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40203 { (char *)"AboutDialogInfo_GetName", (PyCFunction
)_wrap_AboutDialogInfo_GetName
, METH_O
, NULL
},
40204 { (char *)"AboutDialogInfo_SetVersion", (PyCFunction
) _wrap_AboutDialogInfo_SetVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40205 { (char *)"AboutDialogInfo_HasVersion", (PyCFunction
)_wrap_AboutDialogInfo_HasVersion
, METH_O
, NULL
},
40206 { (char *)"AboutDialogInfo_GetVersion", (PyCFunction
)_wrap_AboutDialogInfo_GetVersion
, METH_O
, NULL
},
40207 { (char *)"AboutDialogInfo_SetDescription", (PyCFunction
) _wrap_AboutDialogInfo_SetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40208 { (char *)"AboutDialogInfo_HasDescription", (PyCFunction
)_wrap_AboutDialogInfo_HasDescription
, METH_O
, NULL
},
40209 { (char *)"AboutDialogInfo_GetDescription", (PyCFunction
)_wrap_AboutDialogInfo_GetDescription
, METH_O
, NULL
},
40210 { (char *)"AboutDialogInfo_SetCopyright", (PyCFunction
) _wrap_AboutDialogInfo_SetCopyright
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40211 { (char *)"AboutDialogInfo_HasCopyright", (PyCFunction
)_wrap_AboutDialogInfo_HasCopyright
, METH_O
, NULL
},
40212 { (char *)"AboutDialogInfo_GetCopyright", (PyCFunction
)_wrap_AboutDialogInfo_GetCopyright
, METH_O
, NULL
},
40213 { (char *)"AboutDialogInfo_SetLicence", (PyCFunction
) _wrap_AboutDialogInfo_SetLicence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40214 { (char *)"AboutDialogInfo_SetLicense", (PyCFunction
) _wrap_AboutDialogInfo_SetLicense
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40215 { (char *)"AboutDialogInfo_HasLicence", (PyCFunction
)_wrap_AboutDialogInfo_HasLicence
, METH_O
, NULL
},
40216 { (char *)"AboutDialogInfo_GetLicence", (PyCFunction
)_wrap_AboutDialogInfo_GetLicence
, METH_O
, NULL
},
40217 { (char *)"AboutDialogInfo_SetIcon", (PyCFunction
) _wrap_AboutDialogInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40218 { (char *)"AboutDialogInfo_HasIcon", (PyCFunction
)_wrap_AboutDialogInfo_HasIcon
, METH_O
, NULL
},
40219 { (char *)"AboutDialogInfo_GetIcon", (PyCFunction
)_wrap_AboutDialogInfo_GetIcon
, METH_O
, NULL
},
40220 { (char *)"AboutDialogInfo__SetWebSite", (PyCFunction
) _wrap_AboutDialogInfo__SetWebSite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40221 { (char *)"AboutDialogInfo__GetWebSiteURL", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteURL
, METH_O
, NULL
},
40222 { (char *)"AboutDialogInfo__GetWebSiteDescription", (PyCFunction
)_wrap_AboutDialogInfo__GetWebSiteDescription
, METH_O
, NULL
},
40223 { (char *)"AboutDialogInfo_HasWebSite", (PyCFunction
)_wrap_AboutDialogInfo_HasWebSite
, METH_O
, NULL
},
40224 { (char *)"AboutDialogInfo_SetDevelopers", (PyCFunction
) _wrap_AboutDialogInfo_SetDevelopers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40225 { (char *)"AboutDialogInfo_AddDeveloper", (PyCFunction
) _wrap_AboutDialogInfo_AddDeveloper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40226 { (char *)"AboutDialogInfo_HasDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_HasDevelopers
, METH_O
, NULL
},
40227 { (char *)"AboutDialogInfo_GetDevelopers", (PyCFunction
)_wrap_AboutDialogInfo_GetDevelopers
, METH_O
, NULL
},
40228 { (char *)"AboutDialogInfo_SetDocWriters", (PyCFunction
) _wrap_AboutDialogInfo_SetDocWriters
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40229 { (char *)"AboutDialogInfo_AddDocWriter", (PyCFunction
) _wrap_AboutDialogInfo_AddDocWriter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40230 { (char *)"AboutDialogInfo_HasDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_HasDocWriters
, METH_O
, NULL
},
40231 { (char *)"AboutDialogInfo_GetDocWriters", (PyCFunction
)_wrap_AboutDialogInfo_GetDocWriters
, METH_O
, NULL
},
40232 { (char *)"AboutDialogInfo_SetArtists", (PyCFunction
) _wrap_AboutDialogInfo_SetArtists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40233 { (char *)"AboutDialogInfo_AddArtist", (PyCFunction
) _wrap_AboutDialogInfo_AddArtist
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40234 { (char *)"AboutDialogInfo_HasArtists", (PyCFunction
)_wrap_AboutDialogInfo_HasArtists
, METH_O
, NULL
},
40235 { (char *)"AboutDialogInfo_GetArtists", (PyCFunction
)_wrap_AboutDialogInfo_GetArtists
, METH_O
, NULL
},
40236 { (char *)"AboutDialogInfo_SetTranslators", (PyCFunction
) _wrap_AboutDialogInfo_SetTranslators
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40237 { (char *)"AboutDialogInfo_AddTranslator", (PyCFunction
) _wrap_AboutDialogInfo_AddTranslator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40238 { (char *)"AboutDialogInfo_HasTranslators", (PyCFunction
)_wrap_AboutDialogInfo_HasTranslators
, METH_O
, NULL
},
40239 { (char *)"AboutDialogInfo_GetTranslators", (PyCFunction
)_wrap_AboutDialogInfo_GetTranslators
, METH_O
, NULL
},
40240 { (char *)"AboutDialogInfo_IsSimple", (PyCFunction
)_wrap_AboutDialogInfo_IsSimple
, METH_O
, NULL
},
40241 { (char *)"AboutDialogInfo_GetDescriptionAndCredits", (PyCFunction
)_wrap_AboutDialogInfo_GetDescriptionAndCredits
, METH_O
, NULL
},
40242 { (char *)"AboutDialogInfo_swigregister", AboutDialogInfo_swigregister
, METH_VARARGS
, NULL
},
40243 { (char *)"AboutDialogInfo_swiginit", AboutDialogInfo_swiginit
, METH_VARARGS
, NULL
},
40244 { (char *)"AboutBox", (PyCFunction
) _wrap_AboutBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40245 { NULL
, NULL
, 0, NULL
}
40249 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40251 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40252 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40254 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40255 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40257 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40258 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40260 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40261 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40263 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40264 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40266 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40267 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40269 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
40270 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
40272 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
40273 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
40275 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40276 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40278 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40279 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40281 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40282 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40284 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
40285 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40287 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40288 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40290 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
40291 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
40293 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40294 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40296 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40297 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40299 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40300 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40302 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40303 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40305 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40306 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40308 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40309 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40311 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40312 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40314 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40315 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40317 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
40318 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
40320 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40321 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40323 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40324 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40326 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
40327 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40329 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40330 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40332 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40333 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40335 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40336 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40338 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40339 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40341 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40342 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40344 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40345 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40347 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40348 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40350 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40351 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40353 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
40354 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
40356 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40357 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40359 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40360 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40362 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40363 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40365 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40366 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40368 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40369 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40371 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40372 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40374 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40375 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40377 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
40378 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
40380 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
40381 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
40383 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
40384 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40386 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
40387 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40389 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
40390 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
40392 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
40393 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40395 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
40396 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
40398 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
40399 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40401 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
40402 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40404 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
40405 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40407 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
40408 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40410 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
40411 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40413 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
40414 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40416 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
40417 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
40419 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
40420 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40422 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
40423 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
40425 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40426 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
40428 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
40429 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
40431 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40432 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
40434 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
40435 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
40437 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40438 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
40440 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
40441 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
40443 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
40444 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
40446 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40447 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40449 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40450 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40452 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40455 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40456 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40458 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
40459 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
40461 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40462 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40464 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40465 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40467 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40468 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40470 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
40471 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
40473 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40474 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40476 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
40477 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
40479 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
40480 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
40482 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40483 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40485 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
40486 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
40488 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40489 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40491 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40492 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40494 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40497 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40498 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40500 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40501 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40503 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40504 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40506 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40507 return (void *)((wxObject
*) ((wxSizer
*) x
));
40509 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40510 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40512 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
40513 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
40515 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40518 static void *_p_wxEventTo_p_wxObject(void *x
) {
40519 return (void *)((wxObject
*) ((wxEvent
*) x
));
40521 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40522 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40524 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40525 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40527 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40528 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40530 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40533 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40534 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40536 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40537 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40539 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40540 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40542 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40543 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40545 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40546 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40548 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40549 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40551 static void *_p_wxControlTo_p_wxObject(void *x
) {
40552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40554 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40555 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40557 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
40558 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
40560 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
40561 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
40563 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40564 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40566 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
40567 return (void *)((wxObject
*) ((wxClipboard
*) x
));
40569 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40570 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40572 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40573 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40575 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40578 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40579 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40581 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
40582 return (void *)((wxObject
*) ((wxToolTip
*) x
));
40584 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40585 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40587 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40590 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40591 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40593 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40594 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40596 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40597 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40599 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40600 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40602 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40603 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40605 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40606 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40608 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40609 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40611 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40612 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40614 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40615 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40617 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40618 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40620 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40621 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40623 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40624 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40626 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40627 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40629 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40630 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40632 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40633 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40635 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40636 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40638 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40639 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40641 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40642 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40644 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40645 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40647 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40648 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40650 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40651 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40653 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40654 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40656 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40657 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40659 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40660 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40662 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40663 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40665 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40666 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40668 static void *_p_wxImageTo_p_wxObject(void *x
) {
40669 return (void *)((wxObject
*) ((wxImage
*) x
));
40671 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40672 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40674 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
40675 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
40677 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
40678 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
40680 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40681 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40683 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40684 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40686 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40687 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40689 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40690 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40692 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40693 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40695 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40698 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
40699 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
40701 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40702 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40704 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40705 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40707 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40708 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40710 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40711 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40713 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40714 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40716 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40717 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40719 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40720 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40722 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
40723 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
40725 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40726 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40728 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40729 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40731 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40732 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40734 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40735 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40737 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40738 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40740 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
40741 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
40743 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40744 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40746 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40749 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40750 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40752 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
40753 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
40755 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
40756 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
40758 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
40759 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
40761 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
40762 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
40764 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
40765 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
40767 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
40768 return (void *)((wxLog
*) ((wxLogChain
*) x
));
40770 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
40771 return (void *)((wxLog
*) ((wxLogGui
*) x
));
40773 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
40774 return (void *)((wxLog
*) ((wxPyLog
*) x
));
40776 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40777 return (void *)((wxWindow
*) ((wxControl
*) x
));
40779 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40780 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40782 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40783 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40785 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
40786 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
40788 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
40789 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
40791 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40792 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};
40793 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40794 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40795 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40796 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
40797 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40798 static swig_type_info _swigt__p_wxAboutDialogInfo
= {"_p_wxAboutDialogInfo", "wxAboutDialogInfo *", 0, 0, (void*)0, 0};
40799 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
40800 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40801 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
40802 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
40803 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
40804 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
40805 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40806 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
40807 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
40808 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40809 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
40810 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
40811 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
40812 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40813 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
40814 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40815 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
40816 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
40817 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
40818 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
40819 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
40820 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
40821 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
40822 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
40823 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40824 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
40825 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40826 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40827 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40828 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40829 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40830 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40831 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40832 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40833 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40834 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40835 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40836 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40837 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40838 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40839 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40840 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40841 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40842 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40843 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40844 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40845 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40846 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40847 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40848 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40849 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40850 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40851 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40852 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40853 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40854 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40855 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40856 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40857 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40858 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40859 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40860 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40861 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40862 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40863 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
40864 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40865 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40866 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40867 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40868 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40869 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40870 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40871 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
40872 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
40873 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
40874 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
40875 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
40876 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40877 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
40878 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40879 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
40880 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
40881 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
40882 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
40883 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
40884 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
40885 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
40886 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
40887 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
40888 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
40889 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
40890 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
40891 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
40892 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
40893 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
40894 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
40895 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
40896 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40897 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40898 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40899 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40900 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40901 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40902 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40903 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40904 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40905 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40906 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40907 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40908 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40909 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40910 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40911 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40912 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40913 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40914 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40915 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40916 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40917 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40918 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40919 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40920 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40921 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40922 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40923 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40924 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40925 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40926 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
40927 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40928 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
40929 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40930 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
40931 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40932 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
40933 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
40934 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
40935 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
40936 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
40937 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
40938 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
40939 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
40940 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
40941 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
40942 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
40943 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
40944 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
40945 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
40946 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40947 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
40948 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40949 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
40950 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
40951 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
40952 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40953 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
40954 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
40955 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
40956 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
40957 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
40958 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
40959 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
40960 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
40961 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
40962 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
40963 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
40964 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
40965 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40966 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
40968 static swig_type_info
*swig_type_initial
[] = {
40970 &_swigt__p_form_ops_t
,
40972 &_swigt__p_unsigned_char
,
40973 &_swigt__p_unsigned_int
,
40974 &_swigt__p_unsigned_long
,
40976 &_swigt__p_wxANIHandler
,
40977 &_swigt__p_wxAboutDialogInfo
,
40978 &_swigt__p_wxAcceleratorTable
,
40979 &_swigt__p_wxActivateEvent
,
40980 &_swigt__p_wxArrayString
,
40981 &_swigt__p_wxBMPHandler
,
40982 &_swigt__p_wxBitmap
,
40983 &_swigt__p_wxBitmapDataObject
,
40984 &_swigt__p_wxBoxSizer
,
40985 &_swigt__p_wxBusyCursor
,
40986 &_swigt__p_wxBusyInfo
,
40987 &_swigt__p_wxCURHandler
,
40988 &_swigt__p_wxCaret
,
40990 &_swigt__p_wxChildFocusEvent
,
40991 &_swigt__p_wxClipboard
,
40992 &_swigt__p_wxClipboardLocker
,
40993 &_swigt__p_wxClipboardTextEvent
,
40994 &_swigt__p_wxCloseEvent
,
40995 &_swigt__p_wxColour
,
40996 &_swigt__p_wxCommandEvent
,
40997 &_swigt__p_wxConfig
,
40998 &_swigt__p_wxConfigBase
,
40999 &_swigt__p_wxConfigPathChanger
,
41000 &_swigt__p_wxContextMenuEvent
,
41001 &_swigt__p_wxControl
,
41002 &_swigt__p_wxControlWithItems
,
41003 &_swigt__p_wxCursor
,
41004 &_swigt__p_wxCustomDataObject
,
41006 &_swigt__p_wxDataFormat
,
41007 &_swigt__p_wxDataObject
,
41008 &_swigt__p_wxDataObjectComposite
,
41009 &_swigt__p_wxDataObjectSimple
,
41010 &_swigt__p_wxDateEvent
,
41011 &_swigt__p_wxDateSpan
,
41012 &_swigt__p_wxDateTime
,
41013 &_swigt__p_wxDateTime__TimeZone
,
41014 &_swigt__p_wxDisplay
,
41015 &_swigt__p_wxDisplayChangedEvent
,
41016 &_swigt__p_wxDropFilesEvent
,
41017 &_swigt__p_wxDuplexMode
,
41018 &_swigt__p_wxEraseEvent
,
41019 &_swigt__p_wxEvent
,
41020 &_swigt__p_wxEventBlocker
,
41021 &_swigt__p_wxEvtHandler
,
41022 &_swigt__p_wxFSFile
,
41023 &_swigt__p_wxFileConfig
,
41024 &_swigt__p_wxFileDataObject
,
41025 &_swigt__p_wxFileHistory
,
41026 &_swigt__p_wxFileSystem
,
41027 &_swigt__p_wxFileType
,
41028 &_swigt__p_wxFileTypeInfo
,
41029 &_swigt__p_wxFlexGridSizer
,
41030 &_swigt__p_wxFocusEvent
,
41032 &_swigt__p_wxFrame
,
41033 &_swigt__p_wxGBSizerItem
,
41034 &_swigt__p_wxGIFHandler
,
41035 &_swigt__p_wxGridBagSizer
,
41036 &_swigt__p_wxGridSizer
,
41037 &_swigt__p_wxICOHandler
,
41039 &_swigt__p_wxIconizeEvent
,
41040 &_swigt__p_wxIdleEvent
,
41041 &_swigt__p_wxImage
,
41042 &_swigt__p_wxImageHandler
,
41043 &_swigt__p_wxIndividualLayoutConstraint
,
41044 &_swigt__p_wxInitDialogEvent
,
41045 &_swigt__p_wxJPEGHandler
,
41046 &_swigt__p_wxJoystick
,
41047 &_swigt__p_wxJoystickEvent
,
41048 &_swigt__p_wxKeyEvent
,
41049 &_swigt__p_wxKillError
,
41050 &_swigt__p_wxLayoutConstraints
,
41052 &_swigt__p_wxLogBuffer
,
41053 &_swigt__p_wxLogChain
,
41054 &_swigt__p_wxLogGui
,
41055 &_swigt__p_wxLogNull
,
41056 &_swigt__p_wxLogStderr
,
41057 &_swigt__p_wxLogTextCtrl
,
41058 &_swigt__p_wxLogWindow
,
41059 &_swigt__p_wxMaximizeEvent
,
41061 &_swigt__p_wxMenuBar
,
41062 &_swigt__p_wxMenuEvent
,
41063 &_swigt__p_wxMenuItem
,
41064 &_swigt__p_wxMetafile
,
41065 &_swigt__p_wxMetafileDataObject
,
41066 &_swigt__p_wxMimeTypesManager
,
41067 &_swigt__p_wxMouseCaptureChangedEvent
,
41068 &_swigt__p_wxMouseCaptureLostEvent
,
41069 &_swigt__p_wxMouseEvent
,
41070 &_swigt__p_wxMouseState
,
41071 &_swigt__p_wxMoveEvent
,
41072 &_swigt__p_wxMutexGuiLocker
,
41073 &_swigt__p_wxNavigationKeyEvent
,
41074 &_swigt__p_wxNcPaintEvent
,
41075 &_swigt__p_wxNotifyEvent
,
41076 &_swigt__p_wxObject
,
41077 &_swigt__p_wxOutputStream
,
41078 &_swigt__p_wxPCXHandler
,
41079 &_swigt__p_wxPNGHandler
,
41080 &_swigt__p_wxPNMHandler
,
41081 &_swigt__p_wxPaintEvent
,
41082 &_swigt__p_wxPaletteChangedEvent
,
41083 &_swigt__p_wxPaperSize
,
41084 &_swigt__p_wxPlatformInfo
,
41085 &_swigt__p_wxPoint
,
41086 &_swigt__p_wxPowerEvent
,
41087 &_swigt__p_wxProcessEvent
,
41088 &_swigt__p_wxPyApp
,
41089 &_swigt__p_wxPyArtProvider
,
41090 &_swigt__p_wxPyBitmapDataObject
,
41091 &_swigt__p_wxPyCommandEvent
,
41092 &_swigt__p_wxPyDataObjectSimple
,
41093 &_swigt__p_wxPyDropSource
,
41094 &_swigt__p_wxPyDropTarget
,
41095 &_swigt__p_wxPyEvent
,
41096 &_swigt__p_wxPyFileDropTarget
,
41097 &_swigt__p_wxPyImageHandler
,
41098 &_swigt__p_wxPyLog
,
41099 &_swigt__p_wxPyProcess
,
41100 &_swigt__p_wxPySizer
,
41101 &_swigt__p_wxPyTextDataObject
,
41102 &_swigt__p_wxPyTextDropTarget
,
41103 &_swigt__p_wxPyTimer
,
41104 &_swigt__p_wxPyTipProvider
,
41105 &_swigt__p_wxPyValidator
,
41106 &_swigt__p_wxQueryNewPaletteEvent
,
41108 &_swigt__p_wxScrollEvent
,
41109 &_swigt__p_wxScrollWinEvent
,
41110 &_swigt__p_wxSetCursorEvent
,
41111 &_swigt__p_wxShowEvent
,
41112 &_swigt__p_wxSingleInstanceChecker
,
41114 &_swigt__p_wxSizeEvent
,
41115 &_swigt__p_wxSizer
,
41116 &_swigt__p_wxSizerItem
,
41117 &_swigt__p_wxSound
,
41118 &_swigt__p_wxStandardPaths
,
41119 &_swigt__p_wxStaticBoxSizer
,
41120 &_swigt__p_wxStdDialogButtonSizer
,
41121 &_swigt__p_wxStopWatch
,
41122 &_swigt__p_wxString
,
41123 &_swigt__p_wxSysColourChangedEvent
,
41124 &_swigt__p_wxSystemOptions
,
41125 &_swigt__p_wxSystemSettings
,
41126 &_swigt__p_wxTGAHandler
,
41127 &_swigt__p_wxTIFFHandler
,
41128 &_swigt__p_wxTextCtrl
,
41129 &_swigt__p_wxTextDataObject
,
41130 &_swigt__p_wxTimeSpan
,
41131 &_swigt__p_wxTimer
,
41132 &_swigt__p_wxTimerEvent
,
41133 &_swigt__p_wxTimerRunner
,
41134 &_swigt__p_wxTipProvider
,
41135 &_swigt__p_wxToolTip
,
41136 &_swigt__p_wxURLDataObject
,
41137 &_swigt__p_wxUpdateUIEvent
,
41138 &_swigt__p_wxValidator
,
41139 &_swigt__p_wxVideoMode
,
41140 &_swigt__p_wxWindow
,
41141 &_swigt__p_wxWindowCreateEvent
,
41142 &_swigt__p_wxWindowDestroyEvent
,
41143 &_swigt__p_wxWindowDisabler
,
41144 &_swigt__p_wxXPMHandler
,
41147 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41148 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41149 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41150 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41151 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41152 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41153 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41154 static swig_cast_info _swigc__p_wxAboutDialogInfo
[] = { {&_swigt__p_wxAboutDialogInfo
, 0, 0, 0},{0, 0, 0, 0}};
41155 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
41156 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41157 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}};
41158 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
41159 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
41160 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
41161 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41162 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
41163 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
41164 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41165 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
41166 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}};
41167 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
41168 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41169 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41170 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
41171 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
41172 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}};
41173 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
41174 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}};
41175 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
41176 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
41177 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
41178 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
41179 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41180 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41181 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41185 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41186 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41189 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41190 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41191 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41192 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41195 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41196 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41197 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41198 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41199 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41200 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41201 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41202 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41203 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41204 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41205 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41206 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41207 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41208 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41210 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41211 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41212 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41213 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41216 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41217 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41218 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}};
41219 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41220 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41222 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41223 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41224 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
41226 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}};
41227 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
41228 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41229 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
41230 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
41231 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
41232 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41233 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
41234 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41235 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
41236 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
41237 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
41238 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}};
41239 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
41240 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
41241 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
41242 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
41243 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
41244 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41245 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
41246 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41247 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
41248 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41249 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
41250 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
41251 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
41252 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41253 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41254 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41255 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41256 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41257 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41258 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41259 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41260 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41261 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41262 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41263 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41264 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41265 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41266 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41267 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41268 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41269 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41270 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41271 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41272 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41273 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41274 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41275 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41276 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41277 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41278 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41279 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41280 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41281 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41282 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41283 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}};
41284 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
41285 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41286 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
41287 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41288 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41289 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
41290 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
41291 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41292 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
41293 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
41294 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}};
41295 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41296 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
41297 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
41298 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41299 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
41300 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
41301 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
41302 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41303 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
41304 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41305 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
41306 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
41307 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
41308 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41309 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
41310 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
41311 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
41312 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}};
41313 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
41314 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
41315 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
41316 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
41317 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}};
41318 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
41319 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
41320 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
41321 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}};
41322 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
41324 static swig_cast_info
*swig_cast_initial
[] = {
41326 _swigc__p_form_ops_t
,
41328 _swigc__p_unsigned_char
,
41329 _swigc__p_unsigned_int
,
41330 _swigc__p_unsigned_long
,
41332 _swigc__p_wxANIHandler
,
41333 _swigc__p_wxAboutDialogInfo
,
41334 _swigc__p_wxAcceleratorTable
,
41335 _swigc__p_wxActivateEvent
,
41336 _swigc__p_wxArrayString
,
41337 _swigc__p_wxBMPHandler
,
41338 _swigc__p_wxBitmap
,
41339 _swigc__p_wxBitmapDataObject
,
41340 _swigc__p_wxBoxSizer
,
41341 _swigc__p_wxBusyCursor
,
41342 _swigc__p_wxBusyInfo
,
41343 _swigc__p_wxCURHandler
,
41346 _swigc__p_wxChildFocusEvent
,
41347 _swigc__p_wxClipboard
,
41348 _swigc__p_wxClipboardLocker
,
41349 _swigc__p_wxClipboardTextEvent
,
41350 _swigc__p_wxCloseEvent
,
41351 _swigc__p_wxColour
,
41352 _swigc__p_wxCommandEvent
,
41353 _swigc__p_wxConfig
,
41354 _swigc__p_wxConfigBase
,
41355 _swigc__p_wxConfigPathChanger
,
41356 _swigc__p_wxContextMenuEvent
,
41357 _swigc__p_wxControl
,
41358 _swigc__p_wxControlWithItems
,
41359 _swigc__p_wxCursor
,
41360 _swigc__p_wxCustomDataObject
,
41362 _swigc__p_wxDataFormat
,
41363 _swigc__p_wxDataObject
,
41364 _swigc__p_wxDataObjectComposite
,
41365 _swigc__p_wxDataObjectSimple
,
41366 _swigc__p_wxDateEvent
,
41367 _swigc__p_wxDateSpan
,
41368 _swigc__p_wxDateTime
,
41369 _swigc__p_wxDateTime__TimeZone
,
41370 _swigc__p_wxDisplay
,
41371 _swigc__p_wxDisplayChangedEvent
,
41372 _swigc__p_wxDropFilesEvent
,
41373 _swigc__p_wxDuplexMode
,
41374 _swigc__p_wxEraseEvent
,
41376 _swigc__p_wxEventBlocker
,
41377 _swigc__p_wxEvtHandler
,
41378 _swigc__p_wxFSFile
,
41379 _swigc__p_wxFileConfig
,
41380 _swigc__p_wxFileDataObject
,
41381 _swigc__p_wxFileHistory
,
41382 _swigc__p_wxFileSystem
,
41383 _swigc__p_wxFileType
,
41384 _swigc__p_wxFileTypeInfo
,
41385 _swigc__p_wxFlexGridSizer
,
41386 _swigc__p_wxFocusEvent
,
41389 _swigc__p_wxGBSizerItem
,
41390 _swigc__p_wxGIFHandler
,
41391 _swigc__p_wxGridBagSizer
,
41392 _swigc__p_wxGridSizer
,
41393 _swigc__p_wxICOHandler
,
41395 _swigc__p_wxIconizeEvent
,
41396 _swigc__p_wxIdleEvent
,
41398 _swigc__p_wxImageHandler
,
41399 _swigc__p_wxIndividualLayoutConstraint
,
41400 _swigc__p_wxInitDialogEvent
,
41401 _swigc__p_wxJPEGHandler
,
41402 _swigc__p_wxJoystick
,
41403 _swigc__p_wxJoystickEvent
,
41404 _swigc__p_wxKeyEvent
,
41405 _swigc__p_wxKillError
,
41406 _swigc__p_wxLayoutConstraints
,
41408 _swigc__p_wxLogBuffer
,
41409 _swigc__p_wxLogChain
,
41410 _swigc__p_wxLogGui
,
41411 _swigc__p_wxLogNull
,
41412 _swigc__p_wxLogStderr
,
41413 _swigc__p_wxLogTextCtrl
,
41414 _swigc__p_wxLogWindow
,
41415 _swigc__p_wxMaximizeEvent
,
41417 _swigc__p_wxMenuBar
,
41418 _swigc__p_wxMenuEvent
,
41419 _swigc__p_wxMenuItem
,
41420 _swigc__p_wxMetafile
,
41421 _swigc__p_wxMetafileDataObject
,
41422 _swigc__p_wxMimeTypesManager
,
41423 _swigc__p_wxMouseCaptureChangedEvent
,
41424 _swigc__p_wxMouseCaptureLostEvent
,
41425 _swigc__p_wxMouseEvent
,
41426 _swigc__p_wxMouseState
,
41427 _swigc__p_wxMoveEvent
,
41428 _swigc__p_wxMutexGuiLocker
,
41429 _swigc__p_wxNavigationKeyEvent
,
41430 _swigc__p_wxNcPaintEvent
,
41431 _swigc__p_wxNotifyEvent
,
41432 _swigc__p_wxObject
,
41433 _swigc__p_wxOutputStream
,
41434 _swigc__p_wxPCXHandler
,
41435 _swigc__p_wxPNGHandler
,
41436 _swigc__p_wxPNMHandler
,
41437 _swigc__p_wxPaintEvent
,
41438 _swigc__p_wxPaletteChangedEvent
,
41439 _swigc__p_wxPaperSize
,
41440 _swigc__p_wxPlatformInfo
,
41442 _swigc__p_wxPowerEvent
,
41443 _swigc__p_wxProcessEvent
,
41445 _swigc__p_wxPyArtProvider
,
41446 _swigc__p_wxPyBitmapDataObject
,
41447 _swigc__p_wxPyCommandEvent
,
41448 _swigc__p_wxPyDataObjectSimple
,
41449 _swigc__p_wxPyDropSource
,
41450 _swigc__p_wxPyDropTarget
,
41451 _swigc__p_wxPyEvent
,
41452 _swigc__p_wxPyFileDropTarget
,
41453 _swigc__p_wxPyImageHandler
,
41455 _swigc__p_wxPyProcess
,
41456 _swigc__p_wxPySizer
,
41457 _swigc__p_wxPyTextDataObject
,
41458 _swigc__p_wxPyTextDropTarget
,
41459 _swigc__p_wxPyTimer
,
41460 _swigc__p_wxPyTipProvider
,
41461 _swigc__p_wxPyValidator
,
41462 _swigc__p_wxQueryNewPaletteEvent
,
41464 _swigc__p_wxScrollEvent
,
41465 _swigc__p_wxScrollWinEvent
,
41466 _swigc__p_wxSetCursorEvent
,
41467 _swigc__p_wxShowEvent
,
41468 _swigc__p_wxSingleInstanceChecker
,
41470 _swigc__p_wxSizeEvent
,
41472 _swigc__p_wxSizerItem
,
41474 _swigc__p_wxStandardPaths
,
41475 _swigc__p_wxStaticBoxSizer
,
41476 _swigc__p_wxStdDialogButtonSizer
,
41477 _swigc__p_wxStopWatch
,
41478 _swigc__p_wxString
,
41479 _swigc__p_wxSysColourChangedEvent
,
41480 _swigc__p_wxSystemOptions
,
41481 _swigc__p_wxSystemSettings
,
41482 _swigc__p_wxTGAHandler
,
41483 _swigc__p_wxTIFFHandler
,
41484 _swigc__p_wxTextCtrl
,
41485 _swigc__p_wxTextDataObject
,
41486 _swigc__p_wxTimeSpan
,
41488 _swigc__p_wxTimerEvent
,
41489 _swigc__p_wxTimerRunner
,
41490 _swigc__p_wxTipProvider
,
41491 _swigc__p_wxToolTip
,
41492 _swigc__p_wxURLDataObject
,
41493 _swigc__p_wxUpdateUIEvent
,
41494 _swigc__p_wxValidator
,
41495 _swigc__p_wxVideoMode
,
41496 _swigc__p_wxWindow
,
41497 _swigc__p_wxWindowCreateEvent
,
41498 _swigc__p_wxWindowDestroyEvent
,
41499 _swigc__p_wxWindowDisabler
,
41500 _swigc__p_wxXPMHandler
,
41504 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41506 static swig_const_info swig_const_table
[] = {
41507 {0, 0, 0, 0.0, 0, 0}};
41512 /* -----------------------------------------------------------------------------
41513 * Type initialization:
41514 * This problem is tough by the requirement that no dynamic
41515 * memory is used. Also, since swig_type_info structures store pointers to
41516 * swig_cast_info structures and swig_cast_info structures store pointers back
41517 * to swig_type_info structures, we need some lookup code at initialization.
41518 * The idea is that swig generates all the structures that are needed.
41519 * The runtime then collects these partially filled structures.
41520 * The SWIG_InitializeModule function takes these initial arrays out of
41521 * swig_module, and does all the lookup, filling in the swig_module.types
41522 * array with the correct data and linking the correct swig_cast_info
41523 * structures together.
41525 * The generated swig_type_info structures are assigned staticly to an initial
41526 * array. We just loop though that array, and handle each type individually.
41527 * First we lookup if this type has been already loaded, and if so, use the
41528 * loaded structure instead of the generated one. Then we have to fill in the
41529 * cast linked list. The cast data is initially stored in something like a
41530 * two-dimensional array. Each row corresponds to a type (there are the same
41531 * number of rows as there are in the swig_type_initial array). Each entry in
41532 * a column is one of the swig_cast_info structures for that type.
41533 * The cast_initial array is actually an array of arrays, because each row has
41534 * a variable number of columns. So to actually build the cast linked list,
41535 * we find the array of casts associated with the type, and loop through it
41536 * adding the casts to the list. The one last trick we need to do is making
41537 * sure the type pointer in the swig_cast_info struct is correct.
41539 * First off, we lookup the cast->type name to see if it is already loaded.
41540 * There are three cases to handle:
41541 * 1) If the cast->type has already been loaded AND the type we are adding
41542 * casting info to has not been loaded (it is in this module), THEN we
41543 * replace the cast->type pointer with the type pointer that has already
41545 * 2) If BOTH types (the one we are adding casting info to, and the
41546 * cast->type) are loaded, THEN the cast info has already been loaded by
41547 * the previous module so we just ignore it.
41548 * 3) Finally, if cast->type has not already been loaded, then we add that
41549 * swig_cast_info to the linked list (because the cast->type) pointer will
41551 * ----------------------------------------------------------------------------- */
41561 #define SWIGRUNTIME_DEBUG
41565 SWIG_InitializeModule(void *clientdata
) {
41567 swig_module_info
*module_head
;
41568 static int init_run
= 0;
41570 clientdata
= clientdata
;
41572 if (init_run
) return;
41575 /* Initialize the swig_module */
41576 swig_module
.type_initial
= swig_type_initial
;
41577 swig_module
.cast_initial
= swig_cast_initial
;
41579 /* Try and load any already created modules */
41580 module_head
= SWIG_GetModule(clientdata
);
41582 swig_module
.next
= module_head
->next
;
41583 module_head
->next
= &swig_module
;
41585 /* This is the first module loaded */
41586 swig_module
.next
= &swig_module
;
41587 SWIG_SetModule(clientdata
, &swig_module
);
41590 /* Now work on filling in swig_module.types */
41591 #ifdef SWIGRUNTIME_DEBUG
41592 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41594 for (i
= 0; i
< swig_module
.size
; ++i
) {
41595 swig_type_info
*type
= 0;
41596 swig_type_info
*ret
;
41597 swig_cast_info
*cast
;
41599 #ifdef SWIGRUNTIME_DEBUG
41600 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41603 /* if there is another module already loaded */
41604 if (swig_module
.next
!= &swig_module
) {
41605 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41608 /* Overwrite clientdata field */
41609 #ifdef SWIGRUNTIME_DEBUG
41610 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41612 if (swig_module
.type_initial
[i
]->clientdata
) {
41613 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41614 #ifdef SWIGRUNTIME_DEBUG
41615 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41619 type
= swig_module
.type_initial
[i
];
41622 /* Insert casting types */
41623 cast
= swig_module
.cast_initial
[i
];
41624 while (cast
->type
) {
41625 /* Don't need to add information already in the list */
41627 #ifdef SWIGRUNTIME_DEBUG
41628 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41630 if (swig_module
.next
!= &swig_module
) {
41631 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41632 #ifdef SWIGRUNTIME_DEBUG
41633 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41637 if (type
== swig_module
.type_initial
[i
]) {
41638 #ifdef SWIGRUNTIME_DEBUG
41639 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41644 /* Check for casting already in the list */
41645 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41646 #ifdef SWIGRUNTIME_DEBUG
41647 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41649 if (!ocast
) ret
= 0;
41654 #ifdef SWIGRUNTIME_DEBUG
41655 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41658 type
->cast
->prev
= cast
;
41659 cast
->next
= type
->cast
;
41665 /* Set entry in modules->types array equal to the type */
41666 swig_module
.types
[i
] = type
;
41668 swig_module
.types
[i
] = 0;
41670 #ifdef SWIGRUNTIME_DEBUG
41671 printf("**** SWIG_InitializeModule: Cast List ******\n");
41672 for (i
= 0; i
< swig_module
.size
; ++i
) {
41674 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41675 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41676 while (cast
->type
) {
41677 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41681 printf("---- Total casts: %d\n",j
);
41683 printf("**** SWIG_InitializeModule: Cast List ******\n");
41687 /* This function will propagate the clientdata field of type to
41688 * any new swig_type_info structures that have been added into the list
41689 * of equivalent types. It is like calling
41690 * SWIG_TypeClientData(type, clientdata) a second time.
41693 SWIG_PropagateClientData(void) {
41695 swig_cast_info
*equiv
;
41696 static int init_run
= 0;
41698 if (init_run
) return;
41701 for (i
= 0; i
< swig_module
.size
; i
++) {
41702 if (swig_module
.types
[i
]->clientdata
) {
41703 equiv
= swig_module
.types
[i
]->cast
;
41705 if (!equiv
->converter
) {
41706 if (equiv
->type
&& !equiv
->type
->clientdata
)
41707 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41709 equiv
= equiv
->next
;
41729 /* Python-specific SWIG API */
41730 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41731 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41732 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41734 /* -----------------------------------------------------------------------------
41735 * global variable support code.
41736 * ----------------------------------------------------------------------------- */
41738 typedef struct swig_globalvar
{
41739 char *name
; /* Name of global variable */
41740 PyObject
*(*get_attr
)(void); /* Return the current value */
41741 int (*set_attr
)(PyObject
*); /* Set the value */
41742 struct swig_globalvar
*next
;
41745 typedef struct swig_varlinkobject
{
41747 swig_globalvar
*vars
;
41748 } swig_varlinkobject
;
41750 SWIGINTERN PyObject
*
41751 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41752 return PyString_FromString("<Swig global variables>");
41755 SWIGINTERN PyObject
*
41756 swig_varlink_str(swig_varlinkobject
*v
) {
41757 PyObject
*str
= PyString_FromString("(");
41758 swig_globalvar
*var
;
41759 for (var
= v
->vars
; var
; var
=var
->next
) {
41760 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41761 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41763 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41768 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41769 PyObject
*str
= swig_varlink_str(v
);
41770 fprintf(fp
,"Swig global variables ");
41771 fprintf(fp
,"%s\n", PyString_AsString(str
));
41777 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41778 swig_globalvar
*var
= v
->vars
;
41780 swig_globalvar
*n
= var
->next
;
41787 SWIGINTERN PyObject
*
41788 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41789 PyObject
*res
= NULL
;
41790 swig_globalvar
*var
= v
->vars
;
41792 if (strcmp(var
->name
,n
) == 0) {
41793 res
= (*var
->get_attr
)();
41798 if (res
== NULL
&& !PyErr_Occurred()) {
41799 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41805 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41807 swig_globalvar
*var
= v
->vars
;
41809 if (strcmp(var
->name
,n
) == 0) {
41810 res
= (*var
->set_attr
)(p
);
41815 if (res
== 1 && !PyErr_Occurred()) {
41816 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41821 SWIGINTERN PyTypeObject
*
41822 swig_varlink_type(void) {
41823 static char varlink__doc__
[] = "Swig var link object";
41824 static PyTypeObject varlink_type
;
41825 static int type_init
= 0;
41827 const PyTypeObject tmp
41829 PyObject_HEAD_INIT(NULL
)
41830 0, /* Number of items in variable part (ob_size) */
41831 (char *)"swigvarlink", /* Type name (tp_name) */
41832 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41833 0, /* Itemsize (tp_itemsize) */
41834 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41835 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41836 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41837 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41838 0, /* tp_compare */
41839 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41840 0, /* tp_as_number */
41841 0, /* tp_as_sequence */
41842 0, /* tp_as_mapping */
41845 (reprfunc
)swig_varlink_str
, /* tp_str */
41846 0, /* tp_getattro */
41847 0, /* tp_setattro */
41848 0, /* tp_as_buffer */
41850 varlink__doc__
, /* tp_doc */
41851 0, /* tp_traverse */
41853 0, /* tp_richcompare */
41854 0, /* tp_weaklistoffset */
41855 #if PY_VERSION_HEX >= 0x02020000
41856 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41858 #if PY_VERSION_HEX >= 0x02030000
41861 #ifdef COUNT_ALLOCS
41862 0,0,0,0 /* tp_alloc -> tp_next */
41865 varlink_type
= tmp
;
41866 varlink_type
.ob_type
= &PyType_Type
;
41869 return &varlink_type
;
41872 /* Create a variable linking object for use later */
41873 SWIGINTERN PyObject
*
41874 SWIG_Python_newvarlink(void) {
41875 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41879 return ((PyObject
*) result
);
41883 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41884 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41885 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41887 size_t size
= strlen(name
)+1;
41888 gv
->name
= (char *)malloc(size
);
41890 strncpy(gv
->name
,name
,size
);
41891 gv
->get_attr
= get_attr
;
41892 gv
->set_attr
= set_attr
;
41893 gv
->next
= v
->vars
;
41899 SWIGINTERN PyObject
*
41901 static PyObject
*_SWIG_globals
= 0;
41902 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41903 return _SWIG_globals
;
41906 /* -----------------------------------------------------------------------------
41907 * constants/methods manipulation
41908 * ----------------------------------------------------------------------------- */
41910 /* Install Constants */
41912 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41915 for (i
= 0; constants
[i
].type
; ++i
) {
41916 switch(constants
[i
].type
) {
41917 case SWIG_PY_POINTER
:
41918 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41920 case SWIG_PY_BINARY
:
41921 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41928 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41934 /* -----------------------------------------------------------------------------*/
41935 /* Fix SwigMethods to carry the callback ptrs when needed */
41936 /* -----------------------------------------------------------------------------*/
41939 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41940 swig_const_info
*const_table
,
41941 swig_type_info
**types
,
41942 swig_type_info
**types_initial
) {
41944 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41945 const char *c
= methods
[i
].ml_doc
;
41946 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41948 swig_const_info
*ci
= 0;
41949 const char *name
= c
+ 10;
41950 for (j
= 0; const_table
[j
].type
; ++j
) {
41951 if (strncmp(const_table
[j
].name
, name
,
41952 strlen(const_table
[j
].name
)) == 0) {
41953 ci
= &(const_table
[j
]);
41958 size_t shift
= (ci
->ptype
) - types
;
41959 swig_type_info
*ty
= types_initial
[shift
];
41960 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41961 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41962 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41965 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41967 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41969 strncpy(buff
, "swig_ptr: ", 10);
41971 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41972 methods
[i
].ml_doc
= ndoc
;
41984 /* -----------------------------------------------------------------------------*
41985 * Partial Init method
41986 * -----------------------------------------------------------------------------*/
41991 SWIGEXPORT
void SWIG_init(void) {
41994 /* Fix SwigMethods to carry the callback ptrs when needed */
41995 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41997 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41998 d
= PyModule_GetDict(m
);
42000 SWIG_InitializeModule(0);
42001 SWIG_InstallConstants(d
,swig_const_table
);
42004 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
42005 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
42006 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
42007 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
42008 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
42009 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
42010 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
42011 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
42012 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
42013 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
42014 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
42015 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
42016 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
42017 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
42018 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
42019 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
42020 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
42021 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
42022 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
42023 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
42024 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
42025 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
42026 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
42027 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
42028 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
42029 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
42030 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
42031 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
42032 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
42033 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
42034 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
42035 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
42036 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
42037 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
42038 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
42039 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
42040 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
42041 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
42042 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
42043 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
42044 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
42045 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
42046 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
42047 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
42048 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
42049 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
42050 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
42051 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
42052 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
42053 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
42054 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
42055 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
42056 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
42057 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
42058 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
42059 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
42060 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
42061 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
42062 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
42063 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
42064 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
42065 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
42066 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
42067 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
42068 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
42069 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
42070 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
42071 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
42072 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
42073 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
42074 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
42075 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
42076 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
42077 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
42078 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
42079 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
42080 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
42081 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
42082 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
42083 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
42084 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
42085 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
42086 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
42087 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
42088 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
42089 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
42090 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
42091 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
42092 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
42093 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
42094 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
42095 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
42096 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42097 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
42098 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
42099 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
42100 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
42101 SWIG_Python_SetConstant(d
, "STOCK_NOFLAGS",SWIG_From_int(static_cast< int >(wxSTOCK_NOFLAGS
)));
42102 SWIG_Python_SetConstant(d
, "STOCK_WITH_MNEMONIC",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_MNEMONIC
)));
42103 SWIG_Python_SetConstant(d
, "STOCK_WITH_ACCELERATOR",SWIG_From_int(static_cast< int >(wxSTOCK_WITH_ACCELERATOR
)));
42104 SWIG_Python_SetConstant(d
, "STOCK_MENU",SWIG_From_int(static_cast< int >(wxSTOCK_MENU
)));
42105 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
42106 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
42107 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
42108 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
42109 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
42110 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
42111 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
42112 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
42113 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
42114 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
42115 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
42116 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
42117 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
42118 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
42119 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
42120 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
42121 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
42122 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
42123 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
42124 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
42125 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
42126 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
42127 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
42128 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
42129 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
42130 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
42131 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
42132 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
42133 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
42134 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
42135 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
42136 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
42137 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
42138 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
42139 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
42140 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
42141 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
42142 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
42143 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
42144 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
42145 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
42146 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
42147 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
42148 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
42149 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
42150 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
42151 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
42153 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
42155 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
42156 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
42157 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
42158 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
42159 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
42160 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
42161 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
42162 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
42163 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
42164 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
42165 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
42166 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
42167 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
42168 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
42169 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
42170 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
42171 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
42172 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
42173 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
42174 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
42175 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
42176 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
42177 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
42178 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
42179 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
42180 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
42181 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
42182 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
42183 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
42184 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
42185 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
42186 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
42187 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
42188 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
42189 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
42190 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
42191 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
42192 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
42193 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
42194 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
42195 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
42196 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
42197 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
42198 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
42199 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
42200 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
42201 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
42202 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
42203 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
42204 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
42205 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
42206 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
42207 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
42209 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
42211 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
42212 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
42213 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
42214 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
42215 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
42216 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
42217 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
42218 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
42219 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
42220 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
42221 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
42222 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
42223 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
42224 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
42225 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
42226 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
42227 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
42228 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
42229 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
42230 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
42231 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
42232 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
42233 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
42234 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
42235 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
42236 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
42237 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
42238 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
42239 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
42240 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
42241 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
42242 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
42243 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
42244 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
42245 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
42246 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
42247 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
42248 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
42249 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
42250 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
42251 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
42252 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
42253 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
42254 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
42255 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
42256 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
42257 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
42258 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
42259 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
42260 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
42261 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
42262 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
42263 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
42264 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
42265 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
42266 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
42267 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
42268 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
42269 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
42270 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
42271 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
42272 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
42273 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
42274 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
42275 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
42276 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
42277 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
42278 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
42279 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
42280 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
42281 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
42282 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
42283 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
42284 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
42285 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
42286 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
42288 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
42290 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
42291 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
42292 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
42293 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
42294 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
42295 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
42296 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
42297 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
42298 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
42299 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
42300 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
42301 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
42302 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
42303 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
42304 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
42305 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
42306 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
42307 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
42308 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
42309 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
42310 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
42311 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
42312 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
42313 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
42314 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
42315 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
42316 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
42317 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
42318 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
42319 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
42320 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
42321 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
42322 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
42323 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
42324 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
42325 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
42326 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
42327 SWIG_Python_SetConstant(d
, "DateTime_GMT13",SWIG_From_int(static_cast< int >(wxDateTime::GMT13
)));
42328 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
42329 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
42330 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
42331 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
42332 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
42333 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
42334 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
42335 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
42336 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
42337 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
42338 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
42339 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
42340 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
42341 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
42342 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
42343 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
42344 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
42345 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
42346 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
42347 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
42348 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
42349 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
42350 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
42351 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
42352 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
42353 SWIG_Python_SetConstant(d
, "DateTime_NZST",SWIG_From_int(static_cast< int >(wxDateTime::NZST
)));
42354 SWIG_Python_SetConstant(d
, "DateTime_NZDT",SWIG_From_int(static_cast< int >(wxDateTime::NZDT
)));
42355 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
42356 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
42357 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
42358 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
42359 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
42360 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
42361 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
42362 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
42363 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
42364 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
42365 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
42366 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
42367 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
42368 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
42369 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
42370 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
42371 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
42372 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
42373 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
42374 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
42375 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
42376 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
42377 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
42378 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
42379 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
42380 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
42381 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
42382 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
42383 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
42384 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
42385 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
42386 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
42387 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
42388 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
42389 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
42390 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
42391 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
42392 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
42393 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
42394 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
42395 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
42396 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
42397 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
42398 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
42399 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
42400 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
42401 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
42402 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
42403 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
42404 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
42405 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
42406 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
42407 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
42408 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
42409 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
42410 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
42411 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
42412 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
42413 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
42414 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
42415 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
42416 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
42417 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
42418 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
42419 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
42420 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
42421 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
42422 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
42423 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
42424 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
42425 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
42426 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
42427 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
42428 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
42429 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
42430 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
42431 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
42432 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
42433 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
42434 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
42435 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
42436 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
42437 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
42438 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
42439 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
42440 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
42441 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
42442 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
42443 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
42444 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
42445 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
42446 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
42447 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
42448 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
42449 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
42450 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
42451 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
42452 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
42453 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
42454 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
42455 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
42456 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
42457 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
42458 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
42459 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
42460 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
42461 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
42462 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
42463 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
42464 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
42465 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
42466 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
42467 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
42468 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
42469 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
42470 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
42471 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
42472 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
42473 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
42474 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
42475 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
42476 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
42477 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
42478 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
42479 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
42480 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
42481 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
42482 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
42483 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
42484 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
42485 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
42486 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
42487 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
42488 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
42489 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
42490 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
42491 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
42492 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
42494 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
42495 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
42496 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
42497 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
42499 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
42500 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
42501 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
42502 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
42503 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
42504 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
42505 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
42506 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
42507 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
42508 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
42509 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
42510 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
42511 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
42512 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
42513 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
42514 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));